mirror of
https://gitlab.com/upRootNutrition/zookeeper.git
synced 2025-06-16 18:35:13 -05:00
feat: init
This commit is contained in:
parent
8379d09058
commit
2cfa016090
2929 changed files with 299087 additions and 3 deletions
30
node_modules/magic-bytes.js/dist/model/tree.d.ts
generated
vendored
Normal file
30
node_modules/magic-bytes.js/dist/model/tree.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
export declare type PathlessNewNode = {
|
||||
info: Info;
|
||||
typename: string;
|
||||
};
|
||||
export declare type NewNode = PathlessNewNode & {
|
||||
bytes: string[];
|
||||
};
|
||||
export declare type GuessedFile = Info & {
|
||||
typename: string;
|
||||
};
|
||||
export declare type Info = {
|
||||
mime?: string;
|
||||
extension?: string;
|
||||
};
|
||||
export declare type Node = {
|
||||
matches?: GuessedFile[];
|
||||
bytes: {
|
||||
[nextbyte: string]: Node;
|
||||
};
|
||||
};
|
||||
export declare type Tree = {
|
||||
noOffset: Node | null;
|
||||
offset: {
|
||||
[offsetByte: string]: Node;
|
||||
};
|
||||
};
|
||||
export declare const merge: (node: NewNode, tree: Node) => Node;
|
||||
export declare const createNode: (typename: string, bytes: string[], info?: Info | undefined) => NewNode;
|
||||
export declare const createComplexNode: (typename: string, bytes: string[], info?: Info | undefined) => Node;
|
||||
//# sourceMappingURL=tree.d.ts.map
|
Loading…
Add table
Add a link
Reference in a new issue