mirror of
https://codeberg.org/Kankys/NewLukasBlog.git
synced 2026-11-11 14:14:36 +01:00
OpravyPoAI
This commit is contained in:
1 parent
99aa797101
commit
24fd53c94c
4746 files changed
+700320
-12
No files matched your search
+17
@@ -0,0 +1,17 @@
|
||||
import type { Node } from '../nodes/Node';
|
||||
import type { Schema } from '../schema/Schema';
|
||||
import type { CollectionTag, ScalarTag } from '../schema/types';
|
||||
import type { Replacer } from './Document';
|
||||
export interface CreateNodeContext {
|
||||
aliasDuplicateObjects: boolean;
|
||||
keepUndefined: boolean;
|
||||
onAnchor: (source: unknown) => string;
|
||||
onTagObj?: (tagObj: ScalarTag | CollectionTag) => void;
|
||||
sourceObjects: Map<unknown, {
|
||||
anchor: string | null;
|
||||
node: Node | null;
|
||||
}>;
|
||||
replacer?: Replacer;
|
||||
schema: Schema;
|
||||
}
|
||||
export declare function createNode(value: unknown, tagName: string | undefined, ctx: CreateNodeContext): Node;
|
||||
Reference in new issue
Block a user