mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-18 15:44:36 +00:00
comment
This commit is contained in:
1 parent
6b1f456753
commit
59f65be1f3
1 file changed
+6
@@ -32,12 +32,18 @@ export enum UploaderStates {
|
||||
imageCreateError,
|
||||
}
|
||||
|
||||
// NB(bt,2025-05-27): This is also declared in "editor3d".
|
||||
// I'm duplicating here to remove a circular dependency.
|
||||
// We should consolidate definitions eventually.
|
||||
export interface UploaderState {
|
||||
status: UploaderStates;
|
||||
errorMessage?: string;
|
||||
data?: string;
|
||||
}
|
||||
|
||||
// NB(bt,2025-05-27): This is also declared in "editor3d".
|
||||
// I'm duplicating here to remove a circular dependency.
|
||||
// We should consolidate definitions eventually.
|
||||
export const initialUploaderState = {
|
||||
status: UploaderStates.ready,
|
||||
};
|
||||
Reference in new issue
Block a user