tuil
ReferencePackages@mwillbanks/tuil-registryAPI

RegistryIndexEntry

interface exported by @mwillbanks/tuil-registry.

View rawEdit

interface

Public interface exported by @mwillbanks/tuil-registry.

export interface RegistryIndexEntry {
  readonly name: string;
  readonly type: RegistryItemType;
  readonly title: string;
  readonly description: string;
  readonly tier?: 1 | 2 | 3 | 4;
  readonly version?: string;
  readonly packageName?: string;
  readonly ownership?: RegistryItem["ownership"];
  readonly integrity?: string;
  readonly compatibility?: RegistryItem["compatibility"];
  readonly deprecated?: RegistryItem["deprecated"];
  readonly codemods?: RegistryItem["codemods"];
  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?: RegistryItem["provenance"];
  readonly files?: readonly Pick<RegistryFile, "path" | "target" | "source">[];
}

Members

MemberTypeRequiredDescriptionRelated types
namestringYesThe name member uses the string contract.
typeRegistryItemTypeYesThe type member uses the RegistryItemType contract.RegistryItemType
titlestringYesThe title member uses the string contract.
descriptionstringYesThe description member uses the string contract.
tier1 | 2 | 3 | 4 | undefinedNoThe tier member uses the 1 | 2 | 3 | 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&#123; readonly tuil?: string; readonly renderers?: readonly string[]; readonly capabilities?: readonly string[]; &#125; | undefinedNoThe compatibility member uses the &#123; readonly tuil?: string; readonly renderers?: readonly string[]; readonly capabilities?: readonly string[]; &#125; | undefined contract.
deprecated&#123; readonly message: string; readonly replacement?: string; readonly since?: string; &#125; | undefinedNoThe deprecated member uses the &#123; readonly message: string; readonly replacement?: string; readonly since?: string; &#125; | undefined contract.
codemodsreadonly RegistryCodemod[] | undefinedNoThe codemods member uses the readonly RegistryCodemod[] | undefined contract.RegistryCodemod
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&#123; readonly source: string; readonly license?: string; readonly mode?: "use" | "wrap" | "adapt" | "replace" | "reference"; &#125; | undefinedNoThe provenance member uses the &#123; readonly source: string; readonly license?: string; readonly mode?: "use" | "wrap" | "adapt" | "replace" | "reference"; &#125; | undefined contract.
filesreadonly Pick<RegistryFile, "source" | "path" | "target">[] | undefinedNoThe files member uses the readonly Pick<RegistryFile, "source" | "path" | "target">[] | undefined 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-registry

On this page