tuil
ReferencePackages@mwillbanks/tuil-cliAPI

RegistryItem

export exported by @mwillbanks/tuil-cli.

View rawEdit

export

Public export exported by @mwillbanks/tuil-cli.

export interface RegistryItem {
  readonly name: string;
  readonly registryName?: string;
  readonly sourceId?: string;
  readonly type: RegistryItemType;
  readonly tier?: 1 | 2 | 3 | 4;
  readonly version?: string;
  readonly packageName?: string;
  readonly ownership?: "source" | "package" | "plugin";
  readonly integrity?: string;
  readonly compatibility?: {
    readonly tuil?: string;
    readonly renderers?: readonly string[];
    readonly capabilities?: readonly string[];
  };
  readonly deprecated?: {
    readonly message: string;
    readonly replacement?: string;
    readonly since?: string;
  };
  readonly codemods?: readonly RegistryCodemod[];
  readonly title: string;
  readonly description: string;
  readonly renderer?: string;
  readonly capabilities?: readonly string[];
  readonly semantics?: readonly string[];
  readonly dependencies?: readonly string[];
  readonly registryDependencies?: readonly string[];
  readonly slots?: readonly string[];
  readonly provenance?: {
    readonly source: string;
    readonly license?: string;
    readonly mode?: "use" | "wrap" | "adapt" | "replace" | "reference";
  };
  readonly files: readonly RegistryFile[];
}

Members

MemberTypeRequiredDescriptionRelated types
namestringYesThe name member uses the string contract.
registryNamestring | undefinedNoThe registryName member uses the string | undefined contract.
sourceIdstring | undefinedNoThe sourceId member uses the string | undefined contract.
typeRegistryItemTypeYesThe type member uses the RegistryItemType contract.RegistryItemType
tier3 | 1 | 2 | 4 | undefinedNoThe tier member uses the 3 | 1 | 2 | 4 | undefined contract.
versionstring | undefinedNoThe version member uses the string | undefined contract.
packageNamestring | undefinedNoThe packageName member uses the string | undefined contract.
ownership"plugin" | "source" | "package" | undefinedNoThe ownership member uses the "plugin" | "source" | "package" | undefined contract.
integritystring | undefinedNoThe integrity member uses the string | undefined contract.
compatibility{ readonly tuil?: string; readonly renderers?: readonly string[]; readonly capabilities?: readonly string[]; } | undefinedNoThe compatibility member uses the { readonly tuil?: string; readonly renderers?: readonly string[]; readonly capabilities?: readonly string[]; } | undefined contract.
deprecated{ readonly message: string; readonly replacement?: string; readonly since?: string; } | undefinedNoThe deprecated member uses the { readonly message: string; readonly replacement?: string; readonly since?: string; } | undefined contract.
codemodsreadonly RegistryCodemod[] | undefinedNoThe codemods member uses the readonly RegistryCodemod[] | undefined contract.RegistryCodemod
titlestringYesThe title member uses the string contract.
descriptionstringYesThe description member uses the string contract.
rendererstring | undefinedNoThe renderer member uses the string | undefined contract.
capabilitiesreadonly string[] | undefinedNoThe capabilities member uses the readonly string[] | undefined contract.
semanticsreadonly string[] | undefinedNoThe semantics member uses the readonly string[] | undefined contract.
dependenciesreadonly string[] | undefinedNoThe dependencies member uses the readonly string[] | undefined contract.
registryDependenciesreadonly string[] | undefinedNoThe registryDependencies member uses the readonly string[] | undefined contract.
slotsreadonly string[] | undefinedNoThe slots member uses the readonly string[] | undefined contract.
provenance{ readonly source: string; readonly license?: string; readonly mode?: "use" | "wrap" | "adapt" | "replace" | "reference"; } | undefinedNoThe provenance member uses the { readonly source: string; readonly license?: string; readonly mode?: "use" | "wrap" | "adapt" | "replace" | "reference"; } | undefined contract.
filesreadonly RegistryFile[]YesThe files member uses the readonly RegistryFile[] contract.RegistryFile

Parameters

This declaration has no public members.

Returns

This declaration does not return a value.

Throws

No thrown errors are documented for this declaration.

Source

View the secondary source reference

Package

@mwillbanks/tuil-cli

On this page