feat(web): classify and route complete Blender inventory
Some checks failed
M6 deployable RC / quick (push) Has been cancelled
M6 deployable RC / chromium (push) Has been cancelled
M6 deployable RC / release (push) Has been cancelled

This commit is contained in:
mes123456
2026-09-06 21:10:31 +08:00
parent 66d3f4e0f4
commit e2e81c7c00
41 changed files with 116672 additions and 37 deletions

View File

@@ -290,18 +290,20 @@ export interface RNAPropertyDescriptor {
identifier: string;
name: string;
description?: string;
type: "BOOLEAN" | "INT" | "FLOAT" | "STRING" | "ENUM";
type: "BOOLEAN" | "INT" | "FLOAT" | "STRING" | "ENUM" | "COLLECTION";
subtype?: number;
arrayLength: number;
readonly: boolean;
value?: RNAPropertyValue | RNAPropertyValue[];
enumItems?: Array<{ identifier: string; name: string; value: number }>;
collection?: { itemType?: string; nestedPath?: string };
}
export interface RNACollectionDescriptor {
identifier: string;
name: string;
itemType?: string;
items: Array<{ name: string; type?: string }>;
path?: string;
items: Array<{ name?: string; index?: number; type?: string; items?: Array<unknown> }>;
}
/** Read-only commands supported by the stable Worker-to-WASM JSON facade. */
@@ -315,6 +317,10 @@ export type WebEngineJsonCommand =
| "redo"
| "listBlenderOperators"
| "invokeBlenderOperator"
| "listBlenderMacros"
| "invokeBlenderMacro"
| "listFeatureRoutes"
| "invokeFeatureRoute"
| "assetMark"
| "assetCatalog"
| "libraryLink"
@@ -323,7 +329,11 @@ export type WebEngineJsonCommand =
| "listRNADataBlocks"
| "readRNAProperties"
| "setRNAProperty"
| "listRNACollections";
| "listRNACollections"
| "readRNAPropertySchema"
| "setRNAArrayProperty"
| "setRNAEnumProperty"
| "readRNACollection";
export type WebEngineRequest =
| { requestId: string; command: { type: "init" } }