mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
feat(ui): organize migrations files
This commit is contained in:
parent
8d99113bef
commit
0d9a546d74
@ -1,4 +1,4 @@
|
||||
import { FieldType, StatefulFieldType } from '../../field';
|
||||
import { FieldType, StatefulFieldType } from '../field';
|
||||
import { FieldTypeV1 } from './workflowV1';
|
||||
|
||||
/**
|
@ -1,11 +1,11 @@
|
||||
import { t } from 'i18next';
|
||||
import { forEach, isString } from 'lodash-es';
|
||||
import { z } from 'zod';
|
||||
import { WorkflowVersionError } from '../error';
|
||||
import { zSemVer } from '../semver';
|
||||
import { WorkflowV2, zWorkflowV2 } from '../workflow';
|
||||
import { FIELD_TYPE_V1_TO_FIELD_TYPE_V2_MAPPING } from './v1/fieldTypeMap';
|
||||
import { WorkflowV1, zWorkflowV1 } from './v1/workflowV1';
|
||||
import { t } from 'i18next';
|
||||
import { WorkflowVersionError } from '../../types/error';
|
||||
import { zSemVer } from '../../types/semver';
|
||||
import { FIELD_TYPE_V1_TO_FIELD_TYPE_V2_MAPPING } from '../../types/v1/fieldTypeMap';
|
||||
import { WorkflowV1, zWorkflowV1 } from '../../types/v1/workflowV1';
|
||||
import { WorkflowV2, zWorkflowV2 } from '../../types/workflow';
|
||||
|
||||
/**
|
||||
* Helper schema to extract the version from a workflow.
|
@ -4,7 +4,7 @@ import { keyBy } from 'lodash-es';
|
||||
import { JsonObject } from 'type-fest';
|
||||
import { getNeedsUpdate } from '../node/nodeUpdate';
|
||||
import { InvocationTemplate } from '../../types/invocation';
|
||||
import { parseAndMigrateWorkflow } from '../../types/migration/migrations';
|
||||
import { parseAndMigrateWorkflow } from './migrations';
|
||||
import { WorkflowV2, isWorkflowInvocationNode } from '../../types/workflow';
|
||||
|
||||
type WorkflowWarning = {
|
||||
|
Loading…
Reference in New Issue
Block a user