1 parent
0d821cfa22
commit
bfdb70fcaf
1 file changed
+1
-1
@@ -158,7 +158,7 @@ export const imageToolDefinitions: ImageToolDefinition[] = [
|
|||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
export const defaultImageQuickToolIds: ImageQuickToolId[] = ["info", "reversePrompt", "annotation", "maskEdit", "emotion", "crop", "angle"];
|
export const defaultImageQuickToolIds: ImageQuickToolId[] = ["info", "download", "maskEdit", "emotion", "crop", "angle"];
|
||||||
|
|
||||||
export function isImageQuickToolId(value: string): value is ImageQuickToolId {
|
export function isImageQuickToolId(value: string): value is ImageQuickToolId {
|
||||||
return defaultBaseToolIds.some((id) => id === value) || imageToolDefinitions.some((tool) => tool.id === value);
|
return defaultBaseToolIds.some((id) => id === value) || imageToolDefinitions.some((tool) => tool.id === value);
|
||||||
|
|||||||
Reference in new issue
Block a user