feat(web): classify and route complete Blender inventory
This commit is contained in:
@@ -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" } }
|
||||
|
||||
Reference in New Issue
Block a user