@pgpmjs/migrate-client 0.15.5 → 0.15.7
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.
|
@@ -246,6 +246,7 @@ export interface SqlAction {
|
|
|
246
246
|
revert?: string | null;
|
|
247
247
|
verify?: string | null;
|
|
248
248
|
createdAt?: string | null;
|
|
249
|
+
category?: string | null;
|
|
249
250
|
action?: string | null;
|
|
250
251
|
actionId?: string | null;
|
|
251
252
|
actorId?: string | null;
|
|
@@ -283,6 +284,7 @@ export type SqlActionSelect = {
|
|
|
283
284
|
revert?: boolean;
|
|
284
285
|
verify?: boolean;
|
|
285
286
|
createdAt?: boolean;
|
|
287
|
+
category?: boolean;
|
|
286
288
|
action?: boolean;
|
|
287
289
|
actionId?: boolean;
|
|
288
290
|
actorId?: boolean;
|
|
@@ -320,6 +322,8 @@ export interface SqlActionFilter {
|
|
|
320
322
|
verify?: StringFilter;
|
|
321
323
|
/** Filter by the object’s `createdAt` field. */
|
|
322
324
|
createdAt?: DatetimeFilter;
|
|
325
|
+
/** Filter by the object’s `category` field. */
|
|
326
|
+
category?: StringFilter;
|
|
323
327
|
/** Filter by the object’s `action` field. */
|
|
324
328
|
action?: StringFilter;
|
|
325
329
|
/** Filter by the object’s `actionId` field. */
|
|
@@ -334,7 +338,7 @@ export interface SqlActionFilter {
|
|
|
334
338
|
not?: SqlActionFilter;
|
|
335
339
|
}
|
|
336
340
|
export type MigrateFileOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
337
|
-
export type SqlActionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
|
|
341
|
+
export type SqlActionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
|
|
338
342
|
export interface CreateMigrateFileInput {
|
|
339
343
|
clientMutationId?: string;
|
|
340
344
|
migrateFile: {
|
|
@@ -367,6 +371,7 @@ export interface CreateSqlActionInput {
|
|
|
367
371
|
content?: string;
|
|
368
372
|
revert?: string;
|
|
369
373
|
verify?: string;
|
|
374
|
+
category?: string;
|
|
370
375
|
action?: string;
|
|
371
376
|
actionId?: string;
|
|
372
377
|
actorId?: string;
|
|
@@ -381,6 +386,7 @@ export interface SqlActionPatch {
|
|
|
381
386
|
content?: string | null;
|
|
382
387
|
revert?: string | null;
|
|
383
388
|
verify?: string | null;
|
|
389
|
+
category?: string | null;
|
|
384
390
|
action?: string | null;
|
|
385
391
|
actionId?: string | null;
|
|
386
392
|
actorId?: string | null;
|
|
@@ -449,6 +455,29 @@ export interface ConstructiveInternalTypeUploadFilter {
|
|
|
449
455
|
/** Contained by the specified JSON. */
|
|
450
456
|
containedBy?: ConstructiveInternalTypeUpload;
|
|
451
457
|
}
|
|
458
|
+
/** An input for mutations affecting `MigrateFile` */
|
|
459
|
+
export interface MigrateFileInput {
|
|
460
|
+
id?: string;
|
|
461
|
+
databaseId?: string;
|
|
462
|
+
upload?: ConstructiveInternalTypeUpload;
|
|
463
|
+
}
|
|
464
|
+
/** An input for mutations affecting `SqlAction` */
|
|
465
|
+
export interface SqlActionInput {
|
|
466
|
+
id?: number;
|
|
467
|
+
name?: string;
|
|
468
|
+
databaseId?: string;
|
|
469
|
+
deploy?: string;
|
|
470
|
+
deps?: string[];
|
|
471
|
+
payload?: Record<string, unknown>;
|
|
472
|
+
content?: string;
|
|
473
|
+
revert?: string;
|
|
474
|
+
verify?: string;
|
|
475
|
+
createdAt?: string;
|
|
476
|
+
category?: string;
|
|
477
|
+
action?: string;
|
|
478
|
+
actionId?: string;
|
|
479
|
+
actorId?: string;
|
|
480
|
+
}
|
|
452
481
|
export interface ExecuteSqlPayload {
|
|
453
482
|
clientMutationId?: string | null;
|
|
454
483
|
}
|
|
@@ -246,6 +246,7 @@ export interface SqlAction {
|
|
|
246
246
|
revert?: string | null;
|
|
247
247
|
verify?: string | null;
|
|
248
248
|
createdAt?: string | null;
|
|
249
|
+
category?: string | null;
|
|
249
250
|
action?: string | null;
|
|
250
251
|
actionId?: string | null;
|
|
251
252
|
actorId?: string | null;
|
|
@@ -283,6 +284,7 @@ export type SqlActionSelect = {
|
|
|
283
284
|
revert?: boolean;
|
|
284
285
|
verify?: boolean;
|
|
285
286
|
createdAt?: boolean;
|
|
287
|
+
category?: boolean;
|
|
286
288
|
action?: boolean;
|
|
287
289
|
actionId?: boolean;
|
|
288
290
|
actorId?: boolean;
|
|
@@ -320,6 +322,8 @@ export interface SqlActionFilter {
|
|
|
320
322
|
verify?: StringFilter;
|
|
321
323
|
/** Filter by the object’s `createdAt` field. */
|
|
322
324
|
createdAt?: DatetimeFilter;
|
|
325
|
+
/** Filter by the object’s `category` field. */
|
|
326
|
+
category?: StringFilter;
|
|
323
327
|
/** Filter by the object’s `action` field. */
|
|
324
328
|
action?: StringFilter;
|
|
325
329
|
/** Filter by the object’s `actionId` field. */
|
|
@@ -334,7 +338,7 @@ export interface SqlActionFilter {
|
|
|
334
338
|
not?: SqlActionFilter;
|
|
335
339
|
}
|
|
336
340
|
export type MigrateFileOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
337
|
-
export type SqlActionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
|
|
341
|
+
export type SqlActionOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'ACTION_ASC' | 'ACTION_DESC' | 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC';
|
|
338
342
|
export interface CreateMigrateFileInput {
|
|
339
343
|
clientMutationId?: string;
|
|
340
344
|
migrateFile: {
|
|
@@ -367,6 +371,7 @@ export interface CreateSqlActionInput {
|
|
|
367
371
|
content?: string;
|
|
368
372
|
revert?: string;
|
|
369
373
|
verify?: string;
|
|
374
|
+
category?: string;
|
|
370
375
|
action?: string;
|
|
371
376
|
actionId?: string;
|
|
372
377
|
actorId?: string;
|
|
@@ -381,6 +386,7 @@ export interface SqlActionPatch {
|
|
|
381
386
|
content?: string | null;
|
|
382
387
|
revert?: string | null;
|
|
383
388
|
verify?: string | null;
|
|
389
|
+
category?: string | null;
|
|
384
390
|
action?: string | null;
|
|
385
391
|
actionId?: string | null;
|
|
386
392
|
actorId?: string | null;
|
|
@@ -449,6 +455,29 @@ export interface ConstructiveInternalTypeUploadFilter {
|
|
|
449
455
|
/** Contained by the specified JSON. */
|
|
450
456
|
containedBy?: ConstructiveInternalTypeUpload;
|
|
451
457
|
}
|
|
458
|
+
/** An input for mutations affecting `MigrateFile` */
|
|
459
|
+
export interface MigrateFileInput {
|
|
460
|
+
id?: string;
|
|
461
|
+
databaseId?: string;
|
|
462
|
+
upload?: ConstructiveInternalTypeUpload;
|
|
463
|
+
}
|
|
464
|
+
/** An input for mutations affecting `SqlAction` */
|
|
465
|
+
export interface SqlActionInput {
|
|
466
|
+
id?: number;
|
|
467
|
+
name?: string;
|
|
468
|
+
databaseId?: string;
|
|
469
|
+
deploy?: string;
|
|
470
|
+
deps?: string[];
|
|
471
|
+
payload?: Record<string, unknown>;
|
|
472
|
+
content?: string;
|
|
473
|
+
revert?: string;
|
|
474
|
+
verify?: string;
|
|
475
|
+
createdAt?: string;
|
|
476
|
+
category?: string;
|
|
477
|
+
action?: string;
|
|
478
|
+
actionId?: string;
|
|
479
|
+
actorId?: string;
|
|
480
|
+
}
|
|
452
481
|
export interface ExecuteSqlPayload {
|
|
453
482
|
clientMutationId?: string | null;
|
|
454
483
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/migrate-client",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.7",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Typed GraphQL ORM client for the Constructive Migrate API (db_migrate schema)",
|
|
6
6
|
"main": "index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@0no-co/graphql.web": "^1.1.2",
|
|
43
|
-
"@constructive-io/graphql-query": "^3.27.
|
|
43
|
+
"@constructive-io/graphql-query": "^3.27.7",
|
|
44
44
|
"@constructive-io/graphql-types": "^3.12.0",
|
|
45
45
|
"gql-ast": "^3.11.0",
|
|
46
46
|
"graphql": "16.13.0"
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"makage": "^0.3.0",
|
|
51
51
|
"typescript": "^5.9.3"
|
|
52
52
|
},
|
|
53
|
-
"gitHead": "
|
|
53
|
+
"gitHead": "16c2ae1c30850db1d71c021346c9d34361361d8e"
|
|
54
54
|
}
|