合并master并保留Spine序列帧修复
合并master当前工程、后端、前端和文档更新 按已确认方案解决Spine序列帧多模态、帧数和快速编辑冲突 保留当前分支底部工具栏宽度与隐藏滚动条样式
This commit is contained in:
@@ -23,6 +23,7 @@ export interface ExternalGenerationJobStatusRecord {
|
||||
progress: number;
|
||||
error?: string | null;
|
||||
warning?: string | null;
|
||||
result?: unknown;
|
||||
updatedAtMicros: number;
|
||||
}
|
||||
|
||||
|
||||
@@ -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 =
|
||||
@@ -555,6 +567,7 @@ export interface GameIterationVersion {
|
||||
resourceBindings: GameIterationVersionResourceBinding[];
|
||||
createdReason: GameIterationVersionCreatedReason;
|
||||
createdAt: number;
|
||||
editPrompt?: string | null;
|
||||
}
|
||||
|
||||
export interface GameCreationAppManifest {
|
||||
|
||||
Reference in New Issue
Block a user