@pgpmjs/migrate-client 0.22.7 → 1.0.0

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.
@@ -248,6 +248,7 @@ export interface SqlAction {
248
248
  actionId?: string | null;
249
249
  actionName?: string | null;
250
250
  actorId?: string | null;
251
+ category?: string | null;
251
252
  content?: string | null;
252
253
  createdAt?: string | null;
253
254
  databaseId?: string | null;
@@ -295,6 +296,7 @@ export type SqlActionSelect = {
295
296
  actionId?: boolean;
296
297
  actionName?: boolean;
297
298
  actorId?: boolean;
299
+ category?: boolean;
298
300
  content?: boolean;
299
301
  createdAt?: boolean;
300
302
  databaseId?: boolean;
@@ -349,6 +351,8 @@ export interface SqlActionFilter {
349
351
  actorId?: UUIDFilter;
350
352
  /** Checks for all expressions in this list. */
351
353
  and?: SqlActionFilter[];
354
+ /** Filter by the object’s `category` field. */
355
+ category?: StringFilter;
352
356
  /** Filter by the object’s `content` field. */
353
357
  content?: StringFilter;
354
358
  /** Filter by the object’s `createdAt` field. */
@@ -373,7 +377,7 @@ export interface SqlActionFilter {
373
377
  verify?: StringFilter;
374
378
  }
375
379
  export type AstMigrationOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOYS_ASC' | 'DEPLOYS_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REQUIRES_ASC' | 'REQUIRES_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
376
- export type SqlActionOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
380
+ export type SqlActionOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
377
381
  export interface CreateAstMigrationInput {
378
382
  clientMutationId?: string;
379
383
  astMigration: {
@@ -418,6 +422,7 @@ export interface CreateSqlActionInput {
418
422
  actionId: string;
419
423
  actionName?: string;
420
424
  actorId: string;
425
+ category?: string;
421
426
  content?: string;
422
427
  databaseId: string;
423
428
  deploy?: string;
@@ -432,6 +437,7 @@ export interface SqlActionPatch {
432
437
  actionId?: string | null;
433
438
  actionName?: string | null;
434
439
  actorId?: string | null;
440
+ category?: string | null;
435
441
  content?: string | null;
436
442
  databaseId?: string | null;
437
443
  deploy?: string | null;
@@ -248,6 +248,7 @@ export interface SqlAction {
248
248
  actionId?: string | null;
249
249
  actionName?: string | null;
250
250
  actorId?: string | null;
251
+ category?: string | null;
251
252
  content?: string | null;
252
253
  createdAt?: string | null;
253
254
  databaseId?: string | null;
@@ -295,6 +296,7 @@ export type SqlActionSelect = {
295
296
  actionId?: boolean;
296
297
  actionName?: boolean;
297
298
  actorId?: boolean;
299
+ category?: boolean;
298
300
  content?: boolean;
299
301
  createdAt?: boolean;
300
302
  databaseId?: boolean;
@@ -349,6 +351,8 @@ export interface SqlActionFilter {
349
351
  actorId?: UUIDFilter;
350
352
  /** Checks for all expressions in this list. */
351
353
  and?: SqlActionFilter[];
354
+ /** Filter by the object’s `category` field. */
355
+ category?: StringFilter;
352
356
  /** Filter by the object’s `content` field. */
353
357
  content?: StringFilter;
354
358
  /** Filter by the object’s `createdAt` field. */
@@ -373,7 +377,7 @@ export interface SqlActionFilter {
373
377
  verify?: StringFilter;
374
378
  }
375
379
  export type AstMigrationOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOYS_ASC' | 'DEPLOYS_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REQUIRES_ASC' | 'REQUIRES_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
376
- export type SqlActionOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
380
+ export type SqlActionOrderBy = 'ACTION_ID_ASC' | 'ACTION_ID_DESC' | 'ACTION_NAME_ASC' | 'ACTION_NAME_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'CATEGORY_ASC' | 'CATEGORY_DESC' | 'CONTENT_ASC' | 'CONTENT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEPLOY_ASC' | 'DEPLOY_DESC' | 'DEPS_ASC' | 'DEPS_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'NATURAL' | 'PAYLOAD_ASC' | 'PAYLOAD_DESC' | 'REVERT_ASC' | 'REVERT_DESC' | 'VERIFY_ASC' | 'VERIFY_DESC';
377
381
  export interface CreateAstMigrationInput {
378
382
  clientMutationId?: string;
379
383
  astMigration: {
@@ -418,6 +422,7 @@ export interface CreateSqlActionInput {
418
422
  actionId: string;
419
423
  actionName?: string;
420
424
  actorId: string;
425
+ category?: string;
421
426
  content?: string;
422
427
  databaseId: string;
423
428
  deploy?: string;
@@ -432,6 +437,7 @@ export interface SqlActionPatch {
432
437
  actionId?: string | null;
433
438
  actionName?: string | null;
434
439
  actorId?: string | null;
440
+ category?: string | null;
435
441
  content?: string | null;
436
442
  databaseId?: string | null;
437
443
  deploy?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/migrate-client",
3
- "version": "0.22.7",
3
+ "version": "1.0.0",
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.34.6",
43
+ "@constructive-io/graphql-query": "^4.0.0",
44
44
  "@constructive-io/graphql-types": "^3.15.0",
45
45
  "gql-ast": "^3.13.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": "08b12923f099191b2d1592b9c897f9f04b4950aa"
53
+ "gitHead": "278757de075dcdaf3d7aca114644d64c10e49ba7"
54
54
  }