EdgeAIG's picture
download
raw
662 Bytes
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;

Xet Storage Details

Size:
662 Bytes
·
Xet hash:
5eec36a3fb09320921109637de86c7acb6d36e29de5d43cc9512d4a3eae39178

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.