@pgpmjs/migrate-client 1.20.4 → 1.20.6

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.
@@ -461,17 +461,17 @@ export interface ProvisionBucketInput {
461
461
  ownerId?: string;
462
462
  }
463
463
  export interface ProvisionBucketPayload {
464
- /** The logical bucket row that was queued for reconciliation. */
464
+ /** The logical bucket row whose reconciliation was requested. */
465
465
  bucketId: string;
466
466
  bucketKey: string;
467
- /** The reconciler job enqueued to provision this bucket. */
468
- jobId: string;
469
467
  /** The physical bucket name already recorded, or null when reconciliation has not completed. */
470
468
  physicalName?: string | null;
469
+ /** When reconciliation was last requested for this bucket. */
470
+ provisionRequestedAt: string;
471
471
  }
472
472
  export type ProvisionBucketPayloadSelect = {
473
473
  bucketId?: boolean;
474
474
  bucketKey?: boolean;
475
- jobId?: boolean;
476
475
  physicalName?: boolean;
476
+ provisionRequestedAt?: boolean;
477
477
  };
@@ -10,10 +10,11 @@ import type { ProvisionBucketInput, ProvisionBucketPayload, ProvisionBucketPaylo
10
10
  /**
11
11
  * Variables for provisionBucket
12
12
  * Reconcile an S3 bucket for a logical bucket in the database.
13
- Reads the bucket config via RLS, then enqueues the same
14
- storage:provision_bucket job used by the INSERT trigger. This is
15
- idempotent for an already-reconciled bucket; enqueue failures become
16
- GraphQL errors.
13
+ Records the request on the bucket row via RLS; the bucket's job
14
+ trigger then enqueues the same storage:provision_bucket job used on
15
+ INSERT, and repeated requests collapse into one pending job. This is
16
+ idempotent for an already-reconciled bucket; failures become GraphQL
17
+ errors.
17
18
  */
18
19
  export interface ProvisionBucketVariables {
19
20
  input: ProvisionBucketInput;
@@ -461,17 +461,17 @@ export interface ProvisionBucketInput {
461
461
  ownerId?: string;
462
462
  }
463
463
  export interface ProvisionBucketPayload {
464
- /** The logical bucket row that was queued for reconciliation. */
464
+ /** The logical bucket row whose reconciliation was requested. */
465
465
  bucketId: string;
466
466
  bucketKey: string;
467
- /** The reconciler job enqueued to provision this bucket. */
468
- jobId: string;
469
467
  /** The physical bucket name already recorded, or null when reconciliation has not completed. */
470
468
  physicalName?: string | null;
469
+ /** When reconciliation was last requested for this bucket. */
470
+ provisionRequestedAt: string;
471
471
  }
472
472
  export type ProvisionBucketPayloadSelect = {
473
473
  bucketId?: boolean;
474
474
  bucketKey?: boolean;
475
- jobId?: boolean;
476
475
  physicalName?: boolean;
476
+ provisionRequestedAt?: boolean;
477
477
  };
@@ -10,10 +10,11 @@ import type { ProvisionBucketInput, ProvisionBucketPayload, ProvisionBucketPaylo
10
10
  /**
11
11
  * Variables for provisionBucket
12
12
  * Reconcile an S3 bucket for a logical bucket in the database.
13
- Reads the bucket config via RLS, then enqueues the same
14
- storage:provision_bucket job used by the INSERT trigger. This is
15
- idempotent for an already-reconciled bucket; enqueue failures become
16
- GraphQL errors.
13
+ Records the request on the bucket row via RLS; the bucket's job
14
+ trigger then enqueues the same storage:provision_bucket job used on
15
+ INSERT, and repeated requests collapse into one pending job. This is
16
+ idempotent for an already-reconciled bucket; failures become GraphQL
17
+ errors.
17
18
  */
18
19
  export interface ProvisionBucketVariables {
19
20
  input: ProvisionBucketInput;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/migrate-client",
3
- "version": "1.20.4",
3
+ "version": "1.20.6",
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.3.3",
43
- "@constructive-io/graphql-query": "^4.21.4",
43
+ "@constructive-io/graphql-query": "^4.21.5",
44
44
  "@constructive-io/graphql-types": "^3.36.1",
45
45
  "gql-ast": "^3.26.0",
46
46
  "graphql": "16.13.0"
@@ -50,5 +50,5 @@
50
50
  "makage": "^0.8.0",
51
51
  "typescript": "^6.0.3"
52
52
  },
53
- "gitHead": "b6c80da2ba0532a4aaf0d0154901efa7911974d8"
53
+ "gitHead": "a94434095095bc1f1c06d8878e06f88d37b121b4"
54
54
  }