完善资源管理工作台与有界预览

将资源卡本体化并补齐分区缩放滚动与依赖聚类

增加全进程三槽预览调度范围取消与安全分块读取

保持布局 CAS 预览缓存回收和依赖图权威合同

补齐资源管理前端 Tauri AppSurface 回归并同步文档
This commit is contained in:
2026-08-11 18:04:11 +08:00
parent 3c457feb4c
commit ffb4cb5d62
32 changed files with 8777 additions and 1566 deletions
@@ -471,6 +471,7 @@ export interface GameCreationAppAssetManifestEntry {
export const GAME_CREATION_RESOURCE_LAYOUT_SCHEMA_VERSION =
'game-creator-resource-layout.v1' as const;
export const GAME_CREATION_RESOURCE_LAYOUT_MAX_SAFE_REVISION = 9_007_199_254_740_991;
export const GAME_CREATION_RESOURCE_LAYOUT_MAX_COORDINATE = 1_000_000;
export function isSafeProjectResourceCanvasLayoutRevision(
value: unknown,
@@ -483,6 +484,17 @@ export function isSafeProjectResourceCanvasLayoutRevision(
);
}
export function isSafeProjectResourceCanvasCoordinate(
value: unknown,
): value is number {
return (
typeof value === 'number' &&
Number.isSafeInteger(value) &&
value >= 0 &&
value <= GAME_CREATION_RESOURCE_LAYOUT_MAX_COORDINATE
);
}
export type ProjectResourceCanvasLayoutMode = 'dependency' | 'type';
export type ProjectResourceCanvasSection =