@gluonjs/core / packages/language-server/src / GluonApiManifest
Interface: GluonApiManifest
Properties
concepts
readonlyconcepts: readonlystring[]
diagnostics
readonlydiagnostics:Readonly<{catalog:string;stableCodes:true; }>
framework
readonlyframework:"gluon"
packageContract
readonlypackageContract:string
packages
readonlypackages: readonlyGluonApiManifestPackage[]
schemaVersion
readonlyschemaVersion:1
validation
readonlyvalidation: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);