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
|
Line | |
---|
1 | import { MAP, SCALAR, SEQ } from '../nodes/identity.js';
|
---|
2 | import type { Pair } from '../nodes/Pair.js';
|
---|
3 | import type { SchemaOptions, ToStringOptions } from '../options.js';
|
---|
4 | import type { CollectionTag, ScalarTag } from './types.js';
|
---|
5 | export 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.