validateSourceManifest
function validateSourceManifest(manifest: unknown, options?: ManifestValidationOptions): ManifestValidationResult;Validate a source manifest.json in full — shape, credential lint, the four
type-system fields, location and its cloud-eligibility predicate, and the
optional schedule, fanOut, formatting and directory declarations.
Returns every problem it finds rather than throwing on the first, so a tool can print the whole list and an author fixes the manifest once.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
manifest | unknown | The parsed manifest object to validate. |
options | ManifestValidationOptions | What the caller knows that the manifest cannot say — whether the source has code (which also switches on catalog-strength requiredness) and which directory providers exist. Omit while authoring. |
Returns
Section titled “Returns”{ valid, errors } — valid: true with an empty errors array on success.