@gluonjs/quarks / packages/quarks/src / UiPackageManifest
Interface: UiPackageManifest
Properties
entries
readonlyentries: readonlyUiContractEntry[]
layer
readonlylayer:"atom"|"molecule"|"organism"|"quark"
package
readonlypackage:`@gluonjs/${string}`
schemaVersion
readonlyschemaVersion:1
Example
Consume the versioned public inventory that identifies a UI package, its layer, and every supported contract entry:
import { quarkManifest, type UiContractEntry, type UiPackageManifest } from '@gluonjs/quarks';
const manifest: UiPackageManifest = quarkManifest;
const dialog: UiContractEntry | undefined = manifest.entries.find((entry) => entry.name === 'Dialog');
console.log(manifest.package, manifest.layer, dialog?.accessibility, dialog?.tests);