Skip to content

Commit

Permalink
feat(nx-dev): mark internal properties
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann committed Oct 17, 2023
1 parent c053374 commit 16ac1e1
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,14 @@ export const ParameterView = (props: {
Deprecated
</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) && (
<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
Expand Down

0 comments on commit 16ac1e1

Please sign in to comment.