diff --git a/packages/core/src/alteration/index.ts b/packages/core/src/alteration/index.ts index 705546663..4edfd3430 100644 --- a/packages/core/src/alteration/index.ts +++ b/packages/core/src/alteration/index.ts @@ -7,7 +7,7 @@ import { AlterationScript, AlterationState, alterationStateGuard, -} from '@logto/schemas/alterations/types'; +} from '@logto/schemas/lib/types/alteration'; import { conditionalString } from '@silverhand/essentials'; import chalk from 'chalk'; import { DatabasePool, sql } from 'slonik'; diff --git a/packages/schemas/alterations/types.ts b/packages/schemas/src/types/alteration.ts similarity index 86% rename from packages/schemas/alterations/types.ts rename to packages/schemas/src/types/alteration.ts index ba47571a9..70c189ed0 100644 --- a/packages/schemas/alterations/types.ts +++ b/packages/schemas/src/types/alteration.ts @@ -1,4 +1,4 @@ -import { DatabaseTransactionConnection } from 'slonik'; +import type { DatabaseTransactionConnection } from 'slonik'; import { z } from 'zod'; export const alterationStateGuard = z.object({