Skip to content

YamlSchema

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:5

The yaml node, tag and visitor model, re-exported so a caller can write a custom tag without taking its own dependency on yaml.

Names are Yaml-prefixed rather than kept as upstream. This package’s index is a flat export *, so a bare Node, Document, Scalar or Schema would sit beside YamlParseStream and parseYaml under names that say nothing about YAML — and Node and Document are DOM globals, which this package, being portable, is expected to be imported alongside.

new YamlSchema(__namedParameters): Schema

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:15

SchemaOptions

Schema

readonly [MAP]: YamlCollectionTag

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:12


readonly [SCALAR]: YamlScalarTag

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:13


readonly [SEQ]: YamlCollectionTag

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:14


compat: (YamlScalarTag | YamlCollectionTag)[] | null

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:6


knownTags: Record<string, YamlCollectionTag | YamlScalarTag>

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:7


name: string

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:8


sortMapEntries: ((a, b) => number) | null

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:9


tags: (YamlScalarTag | YamlCollectionTag)[]

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:10


toStringOptions: Readonly<ToStringOptions> | null

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:11

clone(): Schema

Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:16

Schema