Manifest
interface type-only low-levelDeclaration
export interface Manifest {
readonly name: string;
readonly requires: Readonly<Record<string, Requirement>>;
readonly provides: Readonly<Record<string, string>>;
readonly contributes: Readonly<
Record<string, ReadonlyArray<{ readonly id: string } & JsonObject>>
>;
readonly context?: ContextDecl;
readonly children: ReadonlyArray<ChildRef>;
/**
* Aliases in `provides` that are FORWARDED from a child: the module exports what one of
* its children provides under that interface, so the subtree's other provisions stay
* private to it. Resolved at boot to the child declaring the interface (else the one
* child whose provision satisfies it).
*/
readonly exports?: ReadonlyArray<string>;
/** What the class was declared as: a component exports itself, a module exports others. Informational. */
readonly kind?: "module" | "component";
}Members (8)
name
readonly name: stringrequires
readonly requires: Readonly<Record<string, Requirement>>provides
readonly provides: Readonly<Record<string, string>>contributes
readonly contributes: Readonly<Record<string, ReadonlyArray<{ readonly id: string } & JsonObject>>>context
readonly context?: ContextDeclexports
readonly exports?: ReadonlyArray<string>Aliases in provides that are FORWARDED from a child: the module exports what one of
its children provides under that interface, so the subtree's other provisions stay
private to it. Resolved at boot to the child declaring the interface (else the one
child whose provision satisfies it).
kind
readonly kind?: "module" | "component"What the class was declared as: a component exports itself, a module exports others. Informational.