feat(nx-dev): mark internal properties (#19659)
This commit is contained in:
parent
4ee29167a2
commit
d551351c51
@ -39,6 +39,14 @@ export const ParameterView = (props: {
|
|||||||
Deprecated
|
Deprecated
|
||||||
</span>
|
</span>
|
||||||
)}
|
)}
|
||||||
|
{props.schema['x-priority'] === 'internal' && (
|
||||||
|
<span
|
||||||
|
data-tooltip="Intended for use by other generators"
|
||||||
|
className="relative -top-0.5 inline-flex rounded-md bg-yellow-300 px-2 text-xs font-semibold uppercase leading-5 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-100"
|
||||||
|
>
|
||||||
|
Internal
|
||||||
|
</span>
|
||||||
|
)}
|
||||||
{((props.schema as any)['hidden'] as boolean) && (
|
{((props.schema as any)['hidden'] as boolean) && (
|
||||||
<span className="relative -top-0.5 inline-flex rounded-md bg-yellow-300 px-2 text-xs font-semibold uppercase leading-5 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-100">
|
<span className="relative -top-0.5 inline-flex rounded-md bg-yellow-300 px-2 text-xs font-semibold uppercase leading-5 text-yellow-800 dark:bg-yellow-800 dark:text-yellow-100">
|
||||||
Hidden
|
Hidden
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user