0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-24 22:41:28 -05:00

fix(core,schemas): move alteration types into schemas src ()

This commit is contained in:
wangsijie 2022-09-26 17:29:44 +08:00 committed by GitHub
parent 2cb4091039
commit 10c1be6eb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
packages
core/src/alteration
schemas/src/types

View file

@ -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';

View file

@ -1,4 +1,4 @@
import { DatabaseTransactionConnection } from 'slonik';
import type { DatabaseTransactionConnection } from 'slonik';
import { z } from 'zod';
export const alterationStateGuard = z.object({