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?
readonlyoptionaldescription?:string
extends?
readonlyoptionalextends?:AstmProfile| readonlyAstmProfile[]
name
readonlyname:string
provenance?
readonlyoptionalprovenance?:AstmProfileProvenance
tolerate?
readonlyoptionaltolerate?: readonlyAstmQuirkTolerance[]
transport?
readonlyoptionaltransport?:AstmFraming