feat(canvas): TapNow - 支持公开画布导入 (#255)

(cherry picked from commit 9b96135a5e409b4718e6204ab4212b7ef22635aa)
This commit is contained in:
kinoko
2026-08-19 11:34:23 +08:00
committed by ddCat
parent de00e211b3
commit 0e272f3b83
13 changed files with 1097 additions and 12 deletions

View File

@@ -142,16 +142,24 @@ export type CanvasSkillSnapshot = {
};
export type CanvasNodeMetadata = {
importSource?: {
provider: "libtv";
projectUuid: string;
nodeKey: string;
batchId: string;
sourceType?: string;
styleAssetUuid?: string;
styleVersionUuid?: string;
styleName?: string;
};
importSource?:
| {
provider: "libtv";
projectUuid: string;
nodeKey: string;
batchId: string;
sourceType?: string;
styleAssetUuid?: string;
styleVersionUuid?: string;
styleName?: string;
}
| {
provider: "tapnow";
shareId: string;
nodeId: string;
batchId: string;
sourceType?: string;
};
content?: string;
previewContent?: string;
richText?: Record<string, unknown>;