@constructive-io/sdk 1.20.5 → 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 +2 -2
- 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
|
@@ -70,10 +70,11 @@ export interface PlatformSecretsSetVariables {
|
|
|
70
70
|
/**
|
|
71
71
|
* Variables for provisionBucket
|
|
72
72
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
73
|
-
|
|
74
|
-
storage:provision_bucket job used
|
|
75
|
-
|
|
76
|
-
GraphQL
|
|
73
|
+
Records the request on the bucket row via RLS; the bucket's job
|
|
74
|
+
trigger then enqueues the same storage:provision_bucket job used on
|
|
75
|
+
INSERT, and repeated requests collapse into one pending job. This is
|
|
76
|
+
idempotent for an already-reconciled bucket; failures become GraphQL
|
|
77
|
+
errors.
|
|
77
78
|
*/
|
|
78
79
|
export interface ProvisionBucketVariables {
|
|
79
80
|
input: ProvisionBucketInput;
|
|
@@ -3199,19 +3199,19 @@ export type ProvisionAppUsersBulkPayloadSelect = {
|
|
|
3199
3199
|
};
|
|
3200
3200
|
};
|
|
3201
3201
|
export interface ProvisionBucketPayload {
|
|
3202
|
-
/** The logical bucket row
|
|
3202
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
3203
3203
|
bucketId: string;
|
|
3204
3204
|
bucketKey: string;
|
|
3205
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
3206
|
-
jobId: string;
|
|
3207
3205
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
3208
3206
|
physicalName?: string | null;
|
|
3207
|
+
/** When reconciliation was last requested for this bucket. */
|
|
3208
|
+
provisionRequestedAt: string;
|
|
3209
3209
|
}
|
|
3210
3210
|
export type ProvisionBucketPayloadSelect = {
|
|
3211
3211
|
bucketId?: boolean;
|
|
3212
3212
|
bucketKey?: boolean;
|
|
3213
|
-
jobId?: boolean;
|
|
3214
3213
|
physicalName?: boolean;
|
|
3214
|
+
provisionRequestedAt?: boolean;
|
|
3215
3215
|
};
|
|
3216
3216
|
export interface ProvisionOrgUserPayload {
|
|
3217
3217
|
clientMutationId?: string | null;
|
|
@@ -22,10 +22,11 @@ export interface ProvisionAppUsersBulkVariables {
|
|
|
22
22
|
/**
|
|
23
23
|
* Variables for provisionBucket
|
|
24
24
|
* Reconcile an S3 bucket for a logical bucket in the database.
|
|
25
|
-
|
|
26
|
-
storage:provision_bucket job used
|
|
27
|
-
|
|
28
|
-
GraphQL
|
|
25
|
+
Records the request on the bucket row via RLS; the bucket's job
|
|
26
|
+
trigger then enqueues the same storage:provision_bucket job used on
|
|
27
|
+
INSERT, and repeated requests collapse into one pending job. This is
|
|
28
|
+
idempotent for an already-reconciled bucket; failures become GraphQL
|
|
29
|
+
errors.
|
|
29
30
|
*/
|
|
30
31
|
export interface ProvisionBucketVariables {
|
|
31
32
|
input: ProvisionBucketInput;
|
|
@@ -6357,19 +6357,19 @@ export interface FullTextFilter {
|
|
|
6357
6357
|
notIn?: string[];
|
|
6358
6358
|
}
|
|
6359
6359
|
export interface ProvisionBucketPayload {
|
|
6360
|
-
/** The logical bucket row
|
|
6360
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
6361
6361
|
bucketId: string;
|
|
6362
6362
|
bucketKey: string;
|
|
6363
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
6364
|
-
jobId: string;
|
|
6365
6363
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
6366
6364
|
physicalName?: string | null;
|
|
6365
|
+
/** When reconciliation was last requested for this bucket. */
|
|
6366
|
+
provisionRequestedAt: string;
|
|
6367
6367
|
}
|
|
6368
6368
|
export type ProvisionBucketPayloadSelect = {
|
|
6369
6369
|
bucketId?: boolean;
|
|
6370
6370
|
bucketKey?: boolean;
|
|
6371
|
-
jobId?: boolean;
|
|
6372
6371
|
physicalName?: boolean;
|
|
6372
|
+
provisionRequestedAt?: boolean;
|
|
6373
6373
|
};
|
|
6374
6374
|
export interface CreateAgentPayload {
|
|
6375
6375
|
/** The `Agent` that was created by this mutation. */
|
|
@@ -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
|
-
|
|
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;
|
package/esm/api/orm/index.d.ts
CHANGED
|
@@ -28,7 +28,6 @@ import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
|
28
28
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
29
29
|
import { FunctionModel } from './models/function';
|
|
30
30
|
import { GetSitePreviewsRecordModel } from './models/getSitePreviewsRecord';
|
|
31
|
-
import { HostnameBindingModel } from './models/hostnameBinding';
|
|
32
31
|
import { IdentityProviderRegistryModel } from './models/identityProviderRegistry';
|
|
33
32
|
import { IndexModel } from './models/index';
|
|
34
33
|
import { ListSuspendedDatabasesRecordModel } from './models/listSuspendedDatabasesRecord';
|
|
@@ -63,7 +62,6 @@ import { PrimaryKeyConstraintModel } from './models/primaryKeyConstraint';
|
|
|
63
62
|
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
64
63
|
import { RedirectModel } from './models/redirect';
|
|
65
64
|
import { RlsSettingModel } from './models/rlsSetting';
|
|
66
|
-
import { RouteBindingModel } from './models/routeBinding';
|
|
67
65
|
import { RouteModel } from './models/route';
|
|
68
66
|
import { SchemaModel } from './models/schema';
|
|
69
67
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
@@ -151,7 +149,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
151
149
|
fullTextSearch: FullTextSearchModel;
|
|
152
150
|
function: FunctionModel;
|
|
153
151
|
getSitePreviewsRecord: GetSitePreviewsRecordModel;
|
|
154
|
-
hostnameBinding: HostnameBindingModel;
|
|
155
152
|
identityProviderRegistry: IdentityProviderRegistryModel;
|
|
156
153
|
index: IndexModel;
|
|
157
154
|
listSuspendedDatabasesRecord: ListSuspendedDatabasesRecordModel;
|
|
@@ -186,7 +183,6 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
186
183
|
pubkeySetting: PubkeySettingModel;
|
|
187
184
|
redirect: RedirectModel;
|
|
188
185
|
rlsSetting: RlsSettingModel;
|
|
189
|
-
routeBinding: RouteBindingModel;
|
|
190
186
|
route: RouteModel;
|
|
191
187
|
schema: SchemaModel;
|
|
192
188
|
schemaGrant: SchemaGrantModel;
|
|
@@ -225,6 +221,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
225
221
|
}) => import("./query-builder").QueryBuilder<{
|
|
226
222
|
applyRegistryDefaults: unknown | null;
|
|
227
223
|
}>;
|
|
224
|
+
emailSharedAccount: (options?: {
|
|
225
|
+
select?: Record<string, unknown>;
|
|
226
|
+
}) => import("./query-builder").QueryBuilder<{
|
|
227
|
+
emailSharedAccount: unknown | null;
|
|
228
|
+
}>;
|
|
228
229
|
getSitePreviewCommit: (args: import("./query").GetSitePreviewCommitVariables, options?: {
|
|
229
230
|
select?: Record<string, unknown>;
|
|
230
231
|
}) => import("./query-builder").QueryBuilder<{
|
|
@@ -317,6 +318,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
317
318
|
} & import("./select-types").StrictSelect<S, import("./input-types").CancelDatabaseTransferPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
318
319
|
cancelDatabaseTransfer: import("./select-types").InferSelectResult<import("./input-types").CancelDatabaseTransferPayload, S> | null;
|
|
319
320
|
}>;
|
|
321
|
+
createFunctionFromSource: <S extends import("./input-types").CreateFunctionPayloadSelect>(args: import("./mutation").CreateFunctionFromSourceVariables, options: {
|
|
322
|
+
select: S;
|
|
323
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CreateFunctionPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
324
|
+
createFunctionFromSource: import("./select-types").InferSelectResult<import("./input-types").CreateFunctionPayload, S> | null;
|
|
325
|
+
}>;
|
|
320
326
|
deleteSitePreview: <S extends import("./input-types").DeleteSitePreviewPayloadSelect>(args: import("./mutation").DeleteSitePreviewVariables, options: {
|
|
321
327
|
select: S;
|
|
322
328
|
} & import("./select-types").StrictSelect<S, import("./input-types").DeleteSitePreviewPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -447,5 +453,10 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
447
453
|
} & import("./select-types").StrictSelect<S, import("./input-types").UnsuspendDatabasePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
448
454
|
unsuspendDatabase: import("./select-types").InferSelectResult<import("./input-types").UnsuspendDatabasePayload, S> | null;
|
|
449
455
|
}>;
|
|
456
|
+
updateFunctionFromSource: <S extends import("./input-types").UpdateFunctionPayloadSelect>(args: import("./mutation").UpdateFunctionFromSourceVariables, options: {
|
|
457
|
+
select: S;
|
|
458
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").UpdateFunctionPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
459
|
+
updateFunctionFromSource: import("./select-types").InferSelectResult<import("./input-types").UpdateFunctionPayload, S> | null;
|
|
460
|
+
}>;
|
|
450
461
|
};
|
|
451
462
|
};
|
package/esm/api/orm/index.js
CHANGED
|
@@ -33,7 +33,6 @@ import { ForeignKeyConstraintModel } from './models/foreignKeyConstraint';
|
|
|
33
33
|
import { FullTextSearchModel } from './models/fullTextSearch';
|
|
34
34
|
import { FunctionModel } from './models/function';
|
|
35
35
|
import { GetSitePreviewsRecordModel } from './models/getSitePreviewsRecord';
|
|
36
|
-
import { HostnameBindingModel } from './models/hostnameBinding';
|
|
37
36
|
import { IdentityProviderRegistryModel } from './models/identityProviderRegistry';
|
|
38
37
|
import { IndexModel } from './models/index';
|
|
39
38
|
import { ListSuspendedDatabasesRecordModel } from './models/listSuspendedDatabasesRecord';
|
|
@@ -68,7 +67,6 @@ import { PrimaryKeyConstraintModel } from './models/primaryKeyConstraint';
|
|
|
68
67
|
import { PubkeySettingModel } from './models/pubkeySetting';
|
|
69
68
|
import { RedirectModel } from './models/redirect';
|
|
70
69
|
import { RlsSettingModel } from './models/rlsSetting';
|
|
71
|
-
import { RouteBindingModel } from './models/routeBinding';
|
|
72
70
|
import { RouteModel } from './models/route';
|
|
73
71
|
import { SchemaModel } from './models/schema';
|
|
74
72
|
import { SchemaGrantModel } from './models/schemaGrant';
|
|
@@ -159,7 +157,6 @@ export function createClient(config) {
|
|
|
159
157
|
fullTextSearch: new FullTextSearchModel(client),
|
|
160
158
|
function: new FunctionModel(client),
|
|
161
159
|
getSitePreviewsRecord: new GetSitePreviewsRecordModel(client),
|
|
162
|
-
hostnameBinding: new HostnameBindingModel(client),
|
|
163
160
|
identityProviderRegistry: new IdentityProviderRegistryModel(client),
|
|
164
161
|
index: new IndexModel(client),
|
|
165
162
|
listSuspendedDatabasesRecord: new ListSuspendedDatabasesRecordModel(client),
|
|
@@ -194,7 +191,6 @@ export function createClient(config) {
|
|
|
194
191
|
pubkeySetting: new PubkeySettingModel(client),
|
|
195
192
|
redirect: new RedirectModel(client),
|
|
196
193
|
rlsSetting: new RlsSettingModel(client),
|
|
197
|
-
routeBinding: new RouteBindingModel(client),
|
|
198
194
|
route: new RouteModel(client),
|
|
199
195
|
schema: new SchemaModel(client),
|
|
200
196
|
schemaGrant: new SchemaGrantModel(client),
|