Skip to main content
Version: v0.0.4

Interface: DefineAstmProfileOptions

Options accepted by defineAstmProfile. Mirrors the AstmProfile shape minus the derived lineage/describe, plus the extends input key. Every field except name is optional.

Example

import { defineAstmProfile, type DefineAstmProfileOptions } from "@cosyte/astm";
const opts: DefineAstmProfileOptions = {
name: "my-analyzer",
transport: "raw",
tolerate: [{ code: "ASTM_RECORD_UNKNOWN_TYPE", rationale: "partial vendor grammar" }],
};
const p = defineAstmProfile(opts);

Properties

description?

readonly optional description?: string


extends?

readonly optional extends?: AstmProfile | readonly AstmProfile[]


name

readonly name: string


provenance?

readonly optional provenance?: AstmProfileProvenance


tolerate?

readonly optional tolerate?: readonly AstmQuirkTolerance[]


transport?

readonly optional transport?: AstmFraming