@constructive-io/sdk 0.12.3 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/esm/public/orm/index.d.ts +4 -4
- package/esm/public/orm/index.js +4 -4
- package/esm/public/orm/input-types.d.ts +118 -247
- package/esm/public/orm/input-types.js +0 -1
- package/esm/public/orm/models/index.d.ts +2 -2
- package/esm/public/orm/models/index.js +2 -2
- package/esm/public/orm/models/migrateFile.d.ts +38 -0
- package/esm/public/orm/models/migrateFile.js +72 -0
- package/esm/public/orm/models/sqlAction.d.ts +38 -0
- package/esm/public/orm/models/{sqlMigration.js → sqlAction.js} +17 -17
- package/package.json +4 -4
- package/public/orm/index.d.ts +4 -4
- package/public/orm/index.js +4 -4
- package/public/orm/input-types.d.ts +118 -247
- package/public/orm/input-types.js +0 -1
- package/public/orm/models/index.d.ts +2 -2
- package/public/orm/models/index.js +7 -7
- package/public/orm/models/migrateFile.d.ts +38 -0
- package/public/orm/models/{sqlMigration.js → migrateFile.js} +19 -19
- package/public/orm/models/sqlAction.d.ts +38 -0
- package/public/orm/models/sqlAction.js +76 -0
- package/esm/public/orm/models/fieldModule.d.ts +0 -56
- package/esm/public/orm/models/fieldModule.js +0 -96
- package/esm/public/orm/models/sqlMigration.d.ts +0 -38
- package/public/orm/models/fieldModule.d.ts +0 -56
- package/public/orm/models/fieldModule.js +0 -100
- package/public/orm/models/sqlMigration.d.ts +0 -38
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* SqlMigration model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { SqlMigrationWithRelations, SqlMigrationSelect, SqlMigrationFilter, SqlMigrationOrderBy, CreateSqlMigrationInput } from '../input-types';
|
|
10
|
-
export declare class SqlMigrationModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends SqlMigrationSelect>(args: FindManyArgs<S, SqlMigrationFilter, never, SqlMigrationOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, SqlMigrationSelect>): QueryBuilder<{
|
|
16
|
-
sqlMigrations: ConnectionResult<InferSelectResult<SqlMigrationWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends SqlMigrationSelect>(args: FindFirstArgs<S, SqlMigrationFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, SqlMigrationSelect>): QueryBuilder<{
|
|
21
|
-
sqlMigrations: {
|
|
22
|
-
nodes: InferSelectResult<SqlMigrationWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends SqlMigrationSelect>(args: {
|
|
26
|
-
id: number;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, SqlMigrationSelect>): QueryBuilder<{
|
|
29
|
-
sqlMigration: InferSelectResult<SqlMigrationWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends SqlMigrationSelect>(args: CreateArgs<S, CreateSqlMigrationInput['sqlMigration']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, SqlMigrationSelect>): QueryBuilder<{
|
|
34
|
-
createSqlMigration: {
|
|
35
|
-
sqlMigration: InferSelectResult<SqlMigrationWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
}
|