mirror of
https://github.com/strapi/strapi.git
synced 2025-12-28 07:33:17 +00:00
fix: move ID type definition in databse
This commit is contained in:
parent
79f025e7aa
commit
52b37c3fcf
2
packages/core/database/lib/index.d.ts
vendored
2
packages/core/database/lib/index.d.ts
vendored
@ -3,6 +3,8 @@ import { LifecycleProvider } from './lifecycles';
|
||||
import { MigrationProvider } from './migrations';
|
||||
import { SchemaProvider } from './schema';
|
||||
|
||||
type ID = number | string;
|
||||
|
||||
type LogicalOperators<T> = {
|
||||
$and?: WhereParams<T>[];
|
||||
$or?: WhereParams<T>[];
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
import { Database } from '@strapi/database';
|
||||
import { Strapi } from '../../';
|
||||
import type { ID } from '@strapi/database';
|
||||
|
||||
type ID = number | string;
|
||||
import { Strapi } from '../../';
|
||||
|
||||
type EntityServiceAction =
|
||||
| 'findMany'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user