Change to use tasks for mj (#65)

Co-authored-by: Germey <germey@acedata.cloud>
This commit is contained in:
GermeyandGermey authored and GitHub committed 2024-07-02 16:29:11 +00:00
1 parent 4d179f306a
commit 01d44e75f2
16 files changed
+194 -67

No files matched your search

+8 -4
View File
@@ -1,15 +1,19 @@
import { IApplication, ICredential, IMidjourneyImagineTask, IMidjourneyPreset, IService, Status } from '@/models';
import { IApplication, ICredential, IMidjourneyPreset, IMidjourneyTask, IService, Status } from '@/models';
export interface IMidjourneyState {
service: IService | undefined;
application: IApplication | undefined;
imagineTasks: IMidjourneyImagineTask[] | undefined;
imagineTasksTotal: number | undefined;
tasks:
| {
items: IMidjourneyTask[] | undefined;
total: number | undefined;
}
| undefined;
credential: ICredential | undefined;
preset: IMidjourneyPreset;
status: {
getService: Status;
getApplication: Status;
getImagineTasks: Status;
getTasks: Status;
};
}