chore: checkpoint web Blender migration source, tools and docs
Accumulated uncommitted work: GHOST Web backend, WebGL/GPU web layer, web workflow engine and protocol, tooling, docs and task records. Large generated evidence, user-testing archives, build snapshots and imported test assets remain untracked. Co-Authored-By: Claude Code <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,18 @@
|
||||
export type BlenderOperatorPropertyType = "boolean" | "number" | "enum" | "string";
|
||||
export type BlenderOperatorPropertyType = "boolean" | "number" | "enum" | "string" | "pointer" | "collection" | "number-array" | "boolean-array" | "enum-set";
|
||||
|
||||
export type BlenderOperatorPropertyValue = string | number | boolean;
|
||||
/** Local embedded-bpy pointer input, including nested dictionary/collection fields.
|
||||
* `$rna` is a native RNA path relative to bpy.data (default) or the selected
|
||||
* bpy.context after editor/mode override. It is not a Python expression.
|
||||
* The tag distinguishes references from literal PropertyGroup dictionaries.
|
||||
* Existing string and {name, type?} ID references remain supported.
|
||||
*/
|
||||
export interface BlenderOperatorRNAReference {
|
||||
$rna: string;
|
||||
root?: "data" | "context";
|
||||
type?: string;
|
||||
}
|
||||
|
||||
export type BlenderOperatorPropertyValue = string | number | boolean | null | number[] | boolean[] | string[] | Record<string, unknown> | Array<Record<string, unknown>>;
|
||||
|
||||
export interface BlenderOperatorEnumItem {
|
||||
value: string;
|
||||
@@ -16,6 +28,15 @@ export interface BlenderOperatorPropertySpec {
|
||||
defaultValue?: BlenderOperatorPropertyValue;
|
||||
min?: number;
|
||||
max?: number;
|
||||
integer?: boolean;
|
||||
arrayLength?: number;
|
||||
pointerType?: string;
|
||||
pointerValueKind?: "reference" | "properties";
|
||||
collectionItemType?: string;
|
||||
/** Live RNA fields of a property dictionary or one collection item. */
|
||||
properties?: BlenderOperatorPropertySpec[];
|
||||
subtype?: string;
|
||||
unit?: string;
|
||||
enumItems?: BlenderOperatorEnumItem[];
|
||||
}
|
||||
|
||||
@@ -43,7 +64,7 @@ export interface BlenderOperatorInvocation {
|
||||
export type BlenderFeatureRoute = "WEB_MAIN" | "SERVER_NATIVE" | "BROWSER_EQUIVALENT" | "UNAVAILABLE";
|
||||
|
||||
/** Browser-owned replacements for desktop context/window operators. */
|
||||
export type BlenderBrowserActionGroup = "OPEN" | "SAVE" | "WORKSPACE" | "SELECTION" | "VIEW" | "EDITOR";
|
||||
export type BlenderBrowserActionGroup = "OPEN" | "SAVE" | "AUTOSAVE" | "RECOVERY" | "LAST_SESSION" | "WORKSPACE" | "SELECTION" | "VIEW" | "EDITOR";
|
||||
|
||||
export interface BlenderBrowserEquivalentInvocation {
|
||||
command: "invokeBrowserEquivalent";
|
||||
@@ -88,7 +109,7 @@ export interface BlenderFeatureRouteInvocation {
|
||||
baseRevision?: number;
|
||||
}
|
||||
|
||||
/** SERVER_NATIVE jobs deliberately carry only typed scalar operator properties. */
|
||||
/** SERVER_NATIVE accepts bounded scalars, fixed RNA arrays and enum flag sets. */
|
||||
export const BLENDER_OPERATOR_BACKGROUND_CONTEXT = "BACKGROUND" as const;
|
||||
|
||||
export type BlenderMacroStepKind = "MAIN_COMMAND" | "SERVER_NATIVE" | "CONTEXT_DEPENDENT";
|
||||
|
||||
Reference in New Issue
Block a user