source: node_modules/yaml/dist/schema/Schema.d.ts

main
Last change on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 819 bytes
RevLine 
[d24f17c]1import { MAP, SCALAR, SEQ } from '../nodes/identity.js';
2import type { Pair } from '../nodes/Pair.js';
3import type { SchemaOptions, ToStringOptions } from '../options.js';
4import type { CollectionTag, ScalarTag } from './types.js';
5export declare class Schema {
6 compat: Array<CollectionTag | ScalarTag> | null;
7 knownTags: Record<string, CollectionTag | ScalarTag>;
8 merge: boolean;
9 name: string;
10 sortMapEntries: ((a: Pair, b: Pair) => number) | null;
11 tags: Array<CollectionTag | ScalarTag>;
12 toStringOptions: Readonly<ToStringOptions> | null;
13 readonly [MAP]: CollectionTag;
14 readonly [SCALAR]: ScalarTag;
15 readonly [SEQ]: CollectionTag;
16 constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }: SchemaOptions);
17 clone(): Schema;
18}
Note: See TracBrowser for help on using the repository browser.