@constructive-io/sdk 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.
- package/admin/orm/input-types.d.ts +4 -4
- package/admin/orm/mutation/index.d.ts +5 -4
- package/agent/orm/input-types.d.ts +4 -4
- package/agent/orm/mutation/index.d.ts +5 -4
- package/api/orm/index.d.ts +15 -4
- package/api/orm/index.js +0 -4
- package/api/orm/input-types.d.ts +96 -439
- package/api/orm/models/index.d.ts +0 -2
- package/api/orm/models/index.js +2 -6
- package/api/orm/mutation/index.d.ts +30 -5
- package/api/orm/mutation/index.js +24 -0
- package/api/orm/query/index.d.ts +5 -0
- package/api/orm/query/index.js +7 -0
- package/auth/orm/input-types.d.ts +5 -29
- package/auth/orm/mutation/index.d.ts +5 -4
- package/compute/orm/input-types.d.ts +50 -6
- package/compute/orm/mutation/index.d.ts +5 -4
- package/config/orm/input-types.d.ts +4 -4
- package/config/orm/mutation/index.d.ts +5 -4
- package/esm/admin/orm/input-types.d.ts +4 -4
- package/esm/admin/orm/mutation/index.d.ts +5 -4
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/api/orm/index.d.ts +15 -4
- package/esm/api/orm/index.js +0 -4
- package/esm/api/orm/input-types.d.ts +96 -439
- package/esm/api/orm/models/index.d.ts +0 -2
- package/esm/api/orm/models/index.js +0 -2
- package/esm/api/orm/mutation/index.d.ts +30 -5
- package/esm/api/orm/mutation/index.js +24 -0
- package/esm/api/orm/query/index.d.ts +5 -0
- package/esm/api/orm/query/index.js +7 -0
- package/esm/auth/orm/input-types.d.ts +5 -29
- package/esm/auth/orm/mutation/index.d.ts +5 -4
- package/esm/compute/orm/input-types.d.ts +50 -6
- package/esm/compute/orm/mutation/index.d.ts +5 -4
- package/esm/config/orm/input-types.d.ts +4 -4
- package/esm/config/orm/mutation/index.d.ts +5 -4
- package/esm/infra/orm/input-types.d.ts +4 -4
- package/esm/infra/orm/mutation/index.d.ts +5 -4
- package/esm/modules/orm/input-types.d.ts +72 -21
- package/esm/modules/orm/mutation/index.d.ts +6 -5
- package/esm/objects/orm/input-types.d.ts +4 -4
- package/esm/objects/orm/mutation/index.d.ts +5 -4
- package/esm/remote/orm/input-types.d.ts +4 -4
- package/esm/remote/orm/mutation/index.d.ts +5 -4
- package/esm/storage/orm/input-types.d.ts +34 -6
- package/esm/storage/orm/mutation/index.d.ts +7 -6
- package/esm/usage/orm/input-types.d.ts +4 -4
- package/esm/usage/orm/mutation/index.d.ts +5 -4
- package/infra/orm/input-types.d.ts +4 -4
- package/infra/orm/mutation/index.d.ts +5 -4
- package/modules/orm/input-types.d.ts +72 -21
- package/modules/orm/mutation/index.d.ts +6 -5
- package/objects/orm/input-types.d.ts +4 -4
- package/objects/orm/mutation/index.d.ts +5 -4
- package/package.json +4 -4
- package/remote/orm/input-types.d.ts +4 -4
- package/remote/orm/mutation/index.d.ts +5 -4
- package/storage/orm/input-types.d.ts +34 -6
- package/storage/orm/mutation/index.d.ts +7 -6
- package/usage/orm/input-types.d.ts +4 -4
- package/usage/orm/mutation/index.d.ts +5 -4
- package/api/orm/models/hostnameBinding.d.ts +0 -54
- package/api/orm/models/hostnameBinding.js +0 -104
- package/api/orm/models/routeBinding.d.ts +0 -54
- package/api/orm/models/routeBinding.js +0 -104
- package/esm/api/orm/models/hostnameBinding.d.ts +0 -54
- package/esm/api/orm/models/hostnameBinding.js +0 -100
- package/esm/api/orm/models/routeBinding.d.ts +0 -54
- package/esm/api/orm/models/routeBinding.js +0 -100
|
@@ -13,10 +13,11 @@ export interface MachinesEnrollVariables {
|
|
|
13
13
|
/**
|
|
14
14
|
* Variables for provisionBucket
|
|
15
15
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
16
|
-
|
|
17
|
-
storage:provision_bucket job used
|
|
18
|
-
|
|
19
|
-
GraphQL
|
|
16
|
+
Records the request on the bucket row via RLS; the bucket's job
|
|
17
|
+
trigger then enqueues the same storage:provision_bucket job used on
|
|
18
|
+
INSERT, and repeated requests collapse into one pending job. This is
|
|
19
|
+
idempotent for an already-reconciled bucket; failures become GraphQL
|
|
20
|
+
errors.
|
|
20
21
|
*/
|
|
21
22
|
export interface ProvisionBucketVariables {
|
|
22
23
|
input: ProvisionBucketInput;
|
|
@@ -254,10 +254,14 @@ export interface Bucket {
|
|
|
254
254
|
isPublic?: boolean | null;
|
|
255
255
|
/** Unique bucket identifier used in S3 key paths (e.g. avatars, documents, temp) */
|
|
256
256
|
key?: string | null;
|
|
257
|
+
/** The most files one bulk-upload call accepts for this bucket. Batches larger than this are refused with BULK_UPLOAD_FILES_EXCEEDED. */
|
|
258
|
+
maxBulkFiles?: number | null;
|
|
257
259
|
/** Maximum file size in bytes allowed in this bucket (NULL = no limit, enforcement deferred) */
|
|
258
260
|
maxFileSize?: string | null;
|
|
259
261
|
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
260
262
|
physicalName?: string | null;
|
|
263
|
+
/** When re-provisioning was last requested (provisionBucket); NULL until requested */
|
|
264
|
+
provisionRequestedAt?: string | null;
|
|
261
265
|
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
262
266
|
stagingTtl?: string | null;
|
|
263
267
|
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
@@ -325,10 +329,14 @@ export interface PlatformBucket {
|
|
|
325
329
|
isPublic?: boolean | null;
|
|
326
330
|
/** Unique bucket identifier used in S3 key paths (e.g. avatars, documents, temp) */
|
|
327
331
|
key?: string | null;
|
|
332
|
+
/** The most files one bulk-upload call accepts for this bucket. Batches larger than this are refused with BULK_UPLOAD_FILES_EXCEEDED. */
|
|
333
|
+
maxBulkFiles?: number | null;
|
|
328
334
|
/** Maximum file size in bytes allowed in this bucket (NULL = no limit, enforcement deferred) */
|
|
329
335
|
maxFileSize?: string | null;
|
|
330
336
|
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
331
337
|
physicalName?: string | null;
|
|
338
|
+
/** When re-provisioning was last requested (provisionBucket); NULL until requested */
|
|
339
|
+
provisionRequestedAt?: string | null;
|
|
332
340
|
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
333
341
|
stagingTtl?: string | null;
|
|
334
342
|
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
@@ -417,8 +425,10 @@ export type BucketSelect = {
|
|
|
417
425
|
id?: boolean;
|
|
418
426
|
isPublic?: boolean;
|
|
419
427
|
key?: boolean;
|
|
428
|
+
maxBulkFiles?: boolean;
|
|
420
429
|
maxFileSize?: boolean;
|
|
421
430
|
physicalName?: boolean;
|
|
431
|
+
provisionRequestedAt?: boolean;
|
|
422
432
|
stagingTtl?: boolean;
|
|
423
433
|
tags?: boolean;
|
|
424
434
|
type?: boolean;
|
|
@@ -475,8 +485,10 @@ export type PlatformBucketSelect = {
|
|
|
475
485
|
id?: boolean;
|
|
476
486
|
isPublic?: boolean;
|
|
477
487
|
key?: boolean;
|
|
488
|
+
maxBulkFiles?: boolean;
|
|
478
489
|
maxFileSize?: boolean;
|
|
479
490
|
physicalName?: boolean;
|
|
491
|
+
provisionRequestedAt?: boolean;
|
|
480
492
|
stagingTtl?: boolean;
|
|
481
493
|
tags?: boolean;
|
|
482
494
|
type?: boolean;
|
|
@@ -566,6 +578,8 @@ export interface BucketFilter {
|
|
|
566
578
|
or?: BucketFilter[];
|
|
567
579
|
/** Filter by the object’s `physicalName` field. */
|
|
568
580
|
physicalName?: StringFilter;
|
|
581
|
+
/** Filter by the object’s `provisionRequestedAt` field. */
|
|
582
|
+
provisionRequestedAt?: DatetimeFilter;
|
|
569
583
|
/** Filter by the object’s `stagingTtl` field. */
|
|
570
584
|
stagingTtl?: IntervalFilter;
|
|
571
585
|
/** Filter by the object’s `tags` field. */
|
|
@@ -664,6 +678,8 @@ export interface PlatformBucketFilter {
|
|
|
664
678
|
platformFilesByBucketId?: PlatformBucketToManyPlatformFileFilter;
|
|
665
679
|
/** `platformFilesByBucketId` exist. */
|
|
666
680
|
platformFilesByBucketIdExist?: boolean;
|
|
681
|
+
/** Filter by the object’s `provisionRequestedAt` field. */
|
|
682
|
+
provisionRequestedAt?: DatetimeFilter;
|
|
667
683
|
/** Filter by the object’s `stagingTtl` field. */
|
|
668
684
|
stagingTtl?: IntervalFilter;
|
|
669
685
|
/** Filter by the object’s `tags` field. */
|
|
@@ -717,9 +733,9 @@ export interface PlatformFileFilter {
|
|
|
717
733
|
/** Filter by the object’s `upload` field. */
|
|
718
734
|
upload?: ConstructiveInternalTypeUploadFilter;
|
|
719
735
|
}
|
|
720
|
-
export type BucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
736
|
+
export type BucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVISION_REQUESTED_AT_ASC' | 'PROVISION_REQUESTED_AT_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
721
737
|
export type FileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
722
|
-
export type PlatformBucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
738
|
+
export type PlatformBucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVISION_REQUESTED_AT_ASC' | 'PROVISION_REQUESTED_AT_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
723
739
|
export type PlatformFileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
724
740
|
export interface CreateBucketInput {
|
|
725
741
|
clientMutationId?: string;
|
|
@@ -735,6 +751,7 @@ export interface CreateBucketInput {
|
|
|
735
751
|
key: string;
|
|
736
752
|
maxFileSize?: string;
|
|
737
753
|
physicalName?: string;
|
|
754
|
+
provisionRequestedAt?: string;
|
|
738
755
|
stagingTtl?: IntervalInput;
|
|
739
756
|
tags?: string[];
|
|
740
757
|
type?: BucketType;
|
|
@@ -752,6 +769,7 @@ export interface BucketPatch {
|
|
|
752
769
|
key?: string | null;
|
|
753
770
|
maxFileSize?: string | null;
|
|
754
771
|
physicalName?: string | null;
|
|
772
|
+
provisionRequestedAt?: string | null;
|
|
755
773
|
stagingTtl?: IntervalInput | null;
|
|
756
774
|
tags?: string[] | null;
|
|
757
775
|
type?: BucketType | null;
|
|
@@ -823,6 +841,7 @@ export interface CreatePlatformBucketInput {
|
|
|
823
841
|
key: string;
|
|
824
842
|
maxFileSize?: string;
|
|
825
843
|
physicalName?: string;
|
|
844
|
+
provisionRequestedAt?: string;
|
|
826
845
|
stagingTtl?: IntervalInput;
|
|
827
846
|
tags?: string[];
|
|
828
847
|
type?: BucketType;
|
|
@@ -839,6 +858,7 @@ export interface PlatformBucketPatch {
|
|
|
839
858
|
key?: string | null;
|
|
840
859
|
maxFileSize?: string | null;
|
|
841
860
|
physicalName?: string | null;
|
|
861
|
+
provisionRequestedAt?: string | null;
|
|
842
862
|
stagingTtl?: IntervalInput | null;
|
|
843
863
|
tags?: string[] | null;
|
|
844
864
|
type?: BucketType | null;
|
|
@@ -1136,6 +1156,8 @@ export interface BucketInput {
|
|
|
1136
1156
|
maxFileSize?: string;
|
|
1137
1157
|
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
1138
1158
|
physicalName?: string;
|
|
1159
|
+
/** When re-provisioning was last requested (provisionBucket); NULL until requested */
|
|
1160
|
+
provisionRequestedAt?: string;
|
|
1139
1161
|
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
1140
1162
|
stagingTtl?: IntervalInput;
|
|
1141
1163
|
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
@@ -1219,6 +1241,8 @@ export interface PlatformBucketInput {
|
|
|
1219
1241
|
maxFileSize?: string;
|
|
1220
1242
|
/** Physical S3/MinIO bucket name recorded at provision time (NULL until the physical bucket exists) */
|
|
1221
1243
|
physicalName?: string;
|
|
1244
|
+
/** When re-provisioning was last requested (provisionBucket); NULL until requested */
|
|
1245
|
+
provisionRequestedAt?: string;
|
|
1222
1246
|
/** For a temp bucket, how long an unpromoted staged file survives before it is eligible for expiry. NULL on non-temp buckets; required on temp buckets. */
|
|
1223
1247
|
stagingTtl?: IntervalInput;
|
|
1224
1248
|
/** Selector labels for capability resolution and grouping (e.g. uploads, variants, exports). A function's required bucket key is matched against these plus type. */
|
|
@@ -1329,6 +1353,8 @@ export interface BucketFilter {
|
|
|
1329
1353
|
or?: BucketFilter[];
|
|
1330
1354
|
/** Filter by the object’s `physicalName` field. */
|
|
1331
1355
|
physicalName?: StringFilter;
|
|
1356
|
+
/** Filter by the object’s `provisionRequestedAt` field. */
|
|
1357
|
+
provisionRequestedAt?: DatetimeFilter;
|
|
1332
1358
|
/** Filter by the object’s `stagingTtl` field. */
|
|
1333
1359
|
stagingTtl?: IntervalFilter;
|
|
1334
1360
|
/** Filter by the object’s `tags` field. */
|
|
@@ -1429,6 +1455,8 @@ export interface PlatformBucketFilter {
|
|
|
1429
1455
|
platformFilesByBucketId?: PlatformBucketToManyPlatformFileFilter;
|
|
1430
1456
|
/** `platformFilesByBucketId` exist. */
|
|
1431
1457
|
platformFilesByBucketIdExist?: boolean;
|
|
1458
|
+
/** Filter by the object’s `provisionRequestedAt` field. */
|
|
1459
|
+
provisionRequestedAt?: DatetimeFilter;
|
|
1432
1460
|
/** Filter by the object’s `stagingTtl` field. */
|
|
1433
1461
|
stagingTtl?: IntervalFilter;
|
|
1434
1462
|
/** Filter by the object’s `tags` field. */
|
|
@@ -1728,19 +1756,19 @@ export type PlatformFilesRenamePayloadSelect = {
|
|
|
1728
1756
|
};
|
|
1729
1757
|
};
|
|
1730
1758
|
export interface ProvisionBucketPayload {
|
|
1731
|
-
/** The logical bucket row
|
|
1759
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
1732
1760
|
bucketId: string;
|
|
1733
1761
|
bucketKey: string;
|
|
1734
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
1735
|
-
jobId: string;
|
|
1736
1762
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
1737
1763
|
physicalName?: string | null;
|
|
1764
|
+
/** When reconciliation was last requested for this bucket. */
|
|
1765
|
+
provisionRequestedAt: string;
|
|
1738
1766
|
}
|
|
1739
1767
|
export type ProvisionBucketPayloadSelect = {
|
|
1740
1768
|
bucketId?: boolean;
|
|
1741
1769
|
bucketKey?: boolean;
|
|
1742
|
-
jobId?: boolean;
|
|
1743
1770
|
physicalName?: boolean;
|
|
1771
|
+
provisionRequestedAt?: boolean;
|
|
1744
1772
|
};
|
|
1745
1773
|
export interface UploadFilePayload {
|
|
1746
1774
|
/** Whether this file was deduplicated (content already exists) */
|
|
@@ -16,10 +16,11 @@ export interface PlatformFilesRenameVariables {
|
|
|
16
16
|
/**
|
|
17
17
|
* Variables for provisionBucket
|
|
18
18
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
19
|
-
|
|
20
|
-
storage:provision_bucket job used
|
|
21
|
-
|
|
22
|
-
GraphQL
|
|
19
|
+
Records the request on the bucket row via RLS; the bucket's job
|
|
20
|
+
trigger then enqueues the same storage:provision_bucket job used on
|
|
21
|
+
INSERT, and repeated requests collapse into one pending job. This is
|
|
22
|
+
idempotent for an already-reconciled bucket; failures become GraphQL
|
|
23
|
+
errors.
|
|
23
24
|
*/
|
|
24
25
|
export interface ProvisionBucketVariables {
|
|
25
26
|
input: ProvisionBucketInput;
|
|
@@ -33,7 +34,7 @@ export interface UploadFileVariables {
|
|
|
33
34
|
}
|
|
34
35
|
/**
|
|
35
36
|
* Variables for uploadFiles
|
|
36
|
-
* Upload multiple files: resolves the bucket by key, creates file rows, and returns presigned PUT URLs for each.
|
|
37
|
+
* Upload multiple files: resolves the bucket by key, creates file rows, and returns presigned PUT URLs for each. Accepts at most the bucket's `maxBulkFiles` files per call.
|
|
37
38
|
*/
|
|
38
39
|
export interface UploadFilesVariables {
|
|
39
40
|
input: UploadFileBulkInput;
|
|
@@ -47,7 +48,7 @@ export interface UploadPlatformFileVariables {
|
|
|
47
48
|
}
|
|
48
49
|
/**
|
|
49
50
|
* Variables for uploadPlatformFiles
|
|
50
|
-
* Upload multiple files: resolves the bucket by key, creates file rows, and returns presigned PUT URLs for each.
|
|
51
|
+
* Upload multiple files: resolves the bucket by key, creates file rows, and returns presigned PUT URLs for each. Accepts at most the bucket's `maxBulkFiles` files per call.
|
|
51
52
|
*/
|
|
52
53
|
export interface UploadPlatformFilesVariables {
|
|
53
54
|
input: UploadPlatformFileBulkInput;
|
|
@@ -2527,19 +2527,19 @@ export interface DatetimeFilter {
|
|
|
2527
2527
|
notIn?: string[];
|
|
2528
2528
|
}
|
|
2529
2529
|
export interface ProvisionBucketPayload {
|
|
2530
|
-
/** The logical bucket row
|
|
2530
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
2531
2531
|
bucketId: string;
|
|
2532
2532
|
bucketKey: string;
|
|
2533
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
2534
|
-
jobId: string;
|
|
2535
2533
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
2536
2534
|
physicalName?: string | null;
|
|
2535
|
+
/** When reconciliation was last requested for this bucket. */
|
|
2536
|
+
provisionRequestedAt: string;
|
|
2537
2537
|
}
|
|
2538
2538
|
export type ProvisionBucketPayloadSelect = {
|
|
2539
2539
|
bucketId?: boolean;
|
|
2540
2540
|
bucketKey?: boolean;
|
|
2541
|
-
jobId?: boolean;
|
|
2542
2541
|
physicalName?: boolean;
|
|
2542
|
+
provisionRequestedAt?: boolean;
|
|
2543
2543
|
};
|
|
2544
2544
|
export interface SeedAppLimitCapsDefaultsPayload {
|
|
2545
2545
|
clientMutationId?: string | null;
|
|
@@ -10,10 +10,11 @@ import type { ProvisionBucketInput, SeedAppLimitCapsDefaultsInput, SeedAppLimitD
|
|
|
10
10
|
/**
|
|
11
11
|
* Variables for provisionBucket
|
|
12
12
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
13
|
-
|
|
14
|
-
storage:provision_bucket job used
|
|
15
|
-
|
|
16
|
-
GraphQL
|
|
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;
|
|
@@ -1502,19 +1502,19 @@ export type PlatformInfraSetManyAndCommitPayloadSelect = {
|
|
|
1502
1502
|
};
|
|
1503
1503
|
};
|
|
1504
1504
|
export interface ProvisionBucketPayload {
|
|
1505
|
-
/** The logical bucket row
|
|
1505
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
1506
1506
|
bucketId: string;
|
|
1507
1507
|
bucketKey: string;
|
|
1508
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
1509
|
-
jobId: string;
|
|
1510
1508
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
1511
1509
|
physicalName?: string | null;
|
|
1510
|
+
/** When reconciliation was last requested for this bucket. */
|
|
1511
|
+
provisionRequestedAt: string;
|
|
1512
1512
|
}
|
|
1513
1513
|
export type ProvisionBucketPayloadSelect = {
|
|
1514
1514
|
bucketId?: boolean;
|
|
1515
1515
|
bucketKey?: boolean;
|
|
1516
|
-
jobId?: boolean;
|
|
1517
1516
|
physicalName?: boolean;
|
|
1517
|
+
provisionRequestedAt?: boolean;
|
|
1518
1518
|
};
|
|
1519
1519
|
export interface CreateContentPresetPayload {
|
|
1520
1520
|
clientMutationId?: string | null;
|
|
@@ -28,10 +28,11 @@ export interface PlatformInfraSetManyAndCommitVariables {
|
|
|
28
28
|
/**
|
|
29
29
|
* Variables for provisionBucket
|
|
30
30
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
31
|
-
|
|
32
|
-
storage:provision_bucket job used
|
|
33
|
-
|
|
34
|
-
GraphQL
|
|
31
|
+
Records the request on the bucket row via RLS; the bucket's job
|
|
32
|
+
trigger then enqueues the same storage:provision_bucket job used on
|
|
33
|
+
INSERT, and repeated requests collapse into one pending job. This is
|
|
34
|
+
idempotent for an already-reconciled bucket; failures become GraphQL
|
|
35
|
+
errors.
|
|
35
36
|
*/
|
|
36
37
|
export interface ProvisionBucketVariables {
|
|
37
38
|
input: ProvisionBucketInput;
|