修复了一点bug,然后增加了图层拆分更多的功能
This commit is contained in:
1 parent
1305a9cdd8
commit
ce8372e878
31 files changed
+2567
-391
No files matched your search
@@ -0,0 +1,28 @@
|
||||
export type SeedreamLayerBox = [number, number, number, number];
|
||||
|
||||
export type SeedreamLayerSource = "provider" | "upload" | "library" | "seedream-edit";
|
||||
|
||||
export type SeedreamCompositionLayer = {
|
||||
id: string;
|
||||
assetId: string;
|
||||
name: string;
|
||||
description?: string;
|
||||
visible: boolean;
|
||||
box: SeedreamLayerBox;
|
||||
rotation: number;
|
||||
source: SeedreamLayerSource;
|
||||
editJobId?: string;
|
||||
originalAssetId?: string;
|
||||
};
|
||||
|
||||
export type SeedreamLayerComposition = {
|
||||
jobId: string;
|
||||
baseAssetId: string;
|
||||
baseVisible: boolean;
|
||||
layers: SeedreamCompositionLayer[];
|
||||
version: number;
|
||||
createdAt: string;
|
||||
updatedAt: string;
|
||||
};
|
||||
|
||||
export type SeedreamLayerDraft = Pick<SeedreamLayerComposition, "baseAssetId" | "baseVisible" | "layers">;
|
||||
Reference in new issue
Block a user