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.
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new YamlSchema(
__namedParameters):Schema
Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:15
Parameters
Section titled “Parameters”__namedParameters
Section titled “__namedParameters”SchemaOptions
Returns
Section titled “Returns”Schema
Properties
Section titled “Properties”
readonly[MAP]:YamlCollectionTag
Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:12
[SCALAR]
Section titled “[SCALAR]”
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
Section titled “compat”compat: (
YamlScalarTag|YamlCollectionTag)[] |null
Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:6
knownTags
Section titled “knownTags”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
Section titled “sortMapEntries”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
Section titled “toStringOptions”toStringOptions:
Readonly<ToStringOptions> |null
Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:11
Methods
Section titled “Methods”clone()
Section titled “clone()”clone():
Schema
Defined in: node_modules/.store/yaml-npm-2.9.1-d61da744fe/package/dist/schema/Schema.d.ts:16
Returns
Section titled “Returns”Schema