Skip to content

@gluonjs/core / packages/language-server/src / GluonApiManifest

Interface: GluonApiManifest ​

Properties ​

concepts ​

readonly concepts: readonly string[]


diagnostics ​

readonly diagnostics: Readonly<{ catalog: string; stableCodes: true; }>


framework ​

readonly framework: "gluon"


packageContract ​

readonly packageContract: string


packages ​

readonly packages: readonly GluonApiManifestPackage[]


schemaVersion ​

readonly schemaVersion: 1


validation ​

readonly validation: Readonly<{ json: true; projectAnalysis: string; templateCheck: string; }>

Example ​

Type a machine-readable Gluon API manifest returned by the language tooling:

ts
import { GLUON_API_MANIFEST, getGluonApiManifest, type GluonApiManifest, type GluonApiManifestPackage } from '@gluonjs/language-server';
const manifest: GluonApiManifest = getGluonApiManifest();
const packageEntry: GluonApiManifestPackage | undefined = manifest.packages.find((entry) => entry.name === '@gluonjs/core');
console.log(GLUON_API_MANIFEST.framework, manifest.concepts, packageEntry?.exports);

Version-matched documentation. Examples are checked against the public package contracts.