完成后端类型与平台配置目录分组
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import type { PoolClient, QueryResult } from 'pg'
|
||||
|
||||
import { query, withTransaction } from '../db/client.js'
|
||||
import type { OrderItemReplaceInput } from '../types/repository-inputs.js'
|
||||
import type { OrderItemRow } from '../types/repository-rows.js'
|
||||
import type { OrderItemReplaceInput } from '../types/repository/inputs.js'
|
||||
import type { OrderItemRow } from '../types/repository/rows.js'
|
||||
|
||||
type QueryExecutor = (text: string, params?: unknown[]) => Promise<QueryResult<any>>
|
||||
|
||||
|
||||
@@ -3,12 +3,12 @@ import type {
|
||||
OrderCreateInput,
|
||||
OrderListQueryInput,
|
||||
OrderUpdateInput,
|
||||
} from '../types/repository-inputs.js'
|
||||
} from '../types/repository/inputs.js'
|
||||
import type {
|
||||
OrderListQueryResult,
|
||||
OrderListRow,
|
||||
OrderRow,
|
||||
} from '../types/repository-rows.js'
|
||||
} from '../types/repository/rows.js'
|
||||
|
||||
type OrderPlatformLookupInput = {
|
||||
provider?: string
|
||||
|
||||
@@ -6,11 +6,11 @@ import type {
|
||||
TaskListQueryInput,
|
||||
TaskRuntimeContextPatch,
|
||||
TaskUpdatePatch,
|
||||
} from '../types/repository-inputs.js'
|
||||
} from '../types/repository/inputs.js'
|
||||
import type {
|
||||
TaskListQueryResult,
|
||||
TaskRow,
|
||||
} from '../types/repository-rows.js'
|
||||
} from '../types/repository/rows.js'
|
||||
|
||||
type TaskQueryExecutor = (text: string, params?: unknown[]) => Promise<{ rows: unknown[] }>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user