This commit is contained in:
Ubuntu
2026-07-03 16:58:28 +08:00
commit 32b43f85bd
6240 changed files with 1987678 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
import { Node } from "unist-builder";
export interface UnistNode extends Node {
type: string;
name?: string;
tagName?: string;
value?: string;
attributes?: {
name: string;
value: unknown;
type?: string;
}[];
properties?: {
__src__?: string;
__npmCommand__?: string;
__yarnCommand__?: string;
__pnpmCommand__?: string;
__bunCommand__?: string;
className?: string[];
};
children?: UnistNode[];
}
export interface UnistTree extends Node {
type: "root";
children: UnistNode[];
}
export interface NpmCommands {
__npmCommand__?: string;
__yarnCommand__?: string;
__pnpmCommand__?: string;
__bunCommand__?: string;
}