Skip to content

Commit

Permalink
feat(nx-dev): mark internal properties (#19659)
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacplmann authored Oct 18, 2023
1 parent 4ee2916 commit d551351
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

1 comment on commit d551351

@vercel
Copy link

@vercel vercel bot commented on d551351 Oct 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev
nx-five.vercel.app

Please sign in to comment.