mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 14:14:36 +01:00
refactor
This commit is contained in:
1 parent
fc2547bd59
commit
231006e61d
2143 files changed
No files matched your search
+18
@@ -0,0 +1,18 @@
|
||||
import { MAP, SCALAR, SEQ } from '../nodes/identity.js';
|
||||
import type { Pair } from '../nodes/Pair.js';
|
||||
import type { SchemaOptions, ToStringOptions } from '../options.js';
|
||||
import type { CollectionTag, ScalarTag } from './types.js';
|
||||
export declare class Schema {
|
||||
compat: Array<CollectionTag | ScalarTag> | null;
|
||||
knownTags: Record<string, CollectionTag | ScalarTag>;
|
||||
merge: boolean;
|
||||
name: string;
|
||||
sortMapEntries: ((a: Pair, b: Pair) => number) | null;
|
||||
tags: Array<CollectionTag | ScalarTag>;
|
||||
toStringOptions: Readonly<ToStringOptions> | null;
|
||||
readonly [MAP]: CollectionTag;
|
||||
readonly [SCALAR]: ScalarTag;
|
||||
readonly [SEQ]: CollectionTag;
|
||||
constructor({ compat, customTags, merge, resolveKnownTags, schema, sortMapEntries, toStringDefaults }: SchemaOptions);
|
||||
clone(): Schema;
|
||||
}
|
||||
Reference in new issue
Block a user