@constructive-io/react 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/admin/schema-types.d.ts +3 -3
- package/agent/orm/input-types.d.ts +4 -4
- package/agent/orm/mutation/index.d.ts +5 -4
- package/agent/schema-types.d.ts +3 -3
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +0 -12
- package/api/hooks/invalidation.js +0 -32
- package/api/hooks/mutation-keys.d.ts +4 -24
- package/api/hooks/mutation-keys.js +8 -16
- package/api/hooks/mutations/index.d.ts +2 -6
- package/api/hooks/mutations/index.js +2 -6
- package/api/hooks/mutations/useCreateFunctionFromSourceMutation.d.ts +20 -0
- package/api/hooks/mutations/{useCreateHostnameBindingMutation.js → useCreateFunctionFromSourceMutation.js} +6 -14
- package/api/hooks/mutations/useUpdateFunctionFromSourceMutation.d.ts +20 -0
- package/api/hooks/mutations/useUpdateFunctionFromSourceMutation.js +26 -0
- package/api/hooks/queries/index.d.ts +1 -4
- package/api/hooks/queries/index.js +1 -4
- package/api/hooks/queries/useEmailSharedAccountQuery.d.ts +45 -0
- package/api/hooks/queries/useEmailSharedAccountQuery.js +49 -0
- package/api/hooks/query-keys.d.ts +2 -28
- package/api/hooks/query-keys.js +3 -18
- 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/api/schema-types.d.ts +39 -273
- package/api/types.d.ts +3 -28
- package/auth/orm/input-types.d.ts +5 -29
- package/auth/orm/mutation/index.d.ts +5 -4
- package/auth/schema-types.d.ts +4 -16
- package/compute/orm/input-types.d.ts +50 -6
- package/compute/orm/mutation/index.d.ts +5 -4
- package/compute/schema-types.d.ts +29 -5
- package/compute/types.d.ts +4 -0
- package/config/orm/input-types.d.ts +4 -4
- package/config/orm/mutation/index.d.ts +5 -4
- package/config/schema-types.d.ts +3 -3
- package/esm/admin/orm/input-types.d.ts +4 -4
- package/esm/admin/orm/mutation/index.d.ts +5 -4
- package/esm/admin/schema-types.d.ts +3 -3
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/orm/mutation/index.d.ts +5 -4
- package/esm/agent/schema-types.d.ts +3 -3
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +0 -12
- package/esm/api/hooks/invalidation.js +1 -33
- package/esm/api/hooks/mutation-keys.d.ts +4 -24
- package/esm/api/hooks/mutation-keys.js +6 -14
- package/esm/api/hooks/mutations/index.d.ts +2 -6
- package/esm/api/hooks/mutations/index.js +2 -6
- package/esm/api/hooks/mutations/useCreateFunctionFromSourceMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/useCreateFunctionFromSourceMutation.js +23 -0
- package/esm/api/hooks/mutations/useUpdateFunctionFromSourceMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/useUpdateFunctionFromSourceMutation.js +23 -0
- package/esm/api/hooks/queries/index.d.ts +1 -4
- package/esm/api/hooks/queries/index.js +1 -4
- package/esm/api/hooks/queries/useEmailSharedAccountQuery.d.ts +45 -0
- package/esm/api/hooks/queries/useEmailSharedAccountQuery.js +43 -0
- package/esm/api/hooks/query-keys.d.ts +2 -28
- package/esm/api/hooks/query-keys.js +1 -16
- 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/api/schema-types.d.ts +39 -273
- package/esm/api/types.d.ts +3 -28
- package/esm/auth/orm/input-types.d.ts +5 -29
- package/esm/auth/orm/mutation/index.d.ts +5 -4
- package/esm/auth/schema-types.d.ts +4 -16
- package/esm/compute/orm/input-types.d.ts +50 -6
- package/esm/compute/orm/mutation/index.d.ts +5 -4
- package/esm/compute/schema-types.d.ts +29 -5
- package/esm/compute/types.d.ts +4 -0
- package/esm/config/orm/input-types.d.ts +4 -4
- package/esm/config/orm/mutation/index.d.ts +5 -4
- package/esm/config/schema-types.d.ts +3 -3
- package/esm/infra/orm/input-types.d.ts +4 -4
- package/esm/infra/orm/mutation/index.d.ts +5 -4
- package/esm/infra/schema-types.d.ts +3 -3
- package/esm/modules/orm/input-types.d.ts +72 -21
- package/esm/modules/orm/mutation/index.d.ts +6 -5
- package/esm/modules/schema-types.d.ts +41 -15
- package/esm/modules/types.d.ts +8 -1
- package/esm/objects/orm/input-types.d.ts +4 -4
- package/esm/objects/orm/mutation/index.d.ts +5 -4
- package/esm/objects/schema-types.d.ts +3 -3
- package/esm/remote/orm/input-types.d.ts +4 -4
- package/esm/remote/orm/mutation/index.d.ts +5 -4
- package/esm/remote/schema-types.d.ts +3 -3
- package/esm/storage/orm/input-types.d.ts +34 -6
- package/esm/storage/orm/mutation/index.d.ts +7 -6
- package/esm/storage/schema-types.d.ts +17 -5
- package/esm/storage/types.d.ts +4 -0
- package/esm/usage/orm/input-types.d.ts +4 -4
- package/esm/usage/orm/mutation/index.d.ts +5 -4
- package/esm/usage/schema-types.d.ts +3 -3
- package/infra/orm/input-types.d.ts +4 -4
- package/infra/orm/mutation/index.d.ts +5 -4
- package/infra/schema-types.d.ts +3 -3
- package/modules/orm/input-types.d.ts +72 -21
- package/modules/orm/mutation/index.d.ts +6 -5
- package/modules/schema-types.d.ts +41 -15
- package/modules/types.d.ts +8 -1
- package/objects/orm/input-types.d.ts +4 -4
- package/objects/orm/mutation/index.d.ts +5 -4
- package/objects/schema-types.d.ts +3 -3
- package/package.json +2 -2
- package/remote/orm/input-types.d.ts +4 -4
- package/remote/orm/mutation/index.d.ts +5 -4
- package/remote/schema-types.d.ts +3 -3
- package/storage/orm/input-types.d.ts +34 -6
- package/storage/orm/mutation/index.d.ts +7 -6
- package/storage/schema-types.d.ts +17 -5
- package/storage/types.d.ts +4 -0
- package/usage/orm/input-types.d.ts +4 -4
- package/usage/orm/mutation/index.d.ts +5 -4
- package/usage/schema-types.d.ts +3 -3
- package/api/hooks/mutations/useCreateHostnameBindingMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateRouteBindingMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateRouteBindingMutation.js +0 -34
- package/api/hooks/mutations/useDeleteHostnameBindingMutation.d.ts +0 -38
- package/api/hooks/mutations/useDeleteHostnameBindingMutation.js +0 -39
- package/api/hooks/mutations/useDeleteRouteBindingMutation.d.ts +0 -38
- package/api/hooks/mutations/useDeleteRouteBindingMutation.js +0 -39
- package/api/hooks/mutations/useUpdateHostnameBindingMutation.d.ts +0 -40
- package/api/hooks/mutations/useUpdateHostnameBindingMutation.js +0 -40
- package/api/hooks/mutations/useUpdateRouteBindingMutation.d.ts +0 -40
- package/api/hooks/mutations/useUpdateRouteBindingMutation.js +0 -40
- package/api/hooks/queries/useHostnameBindingQuery.d.ts +0 -65
- package/api/hooks/queries/useHostnameBindingQuery.js +0 -53
- package/api/hooks/queries/useHostnameBindingsQuery.d.ts +0 -69
- package/api/hooks/queries/useHostnameBindingsQuery.js +0 -38
- package/api/hooks/queries/useRouteBindingQuery.d.ts +0 -65
- package/api/hooks/queries/useRouteBindingQuery.js +0 -53
- package/api/hooks/queries/useRouteBindingsQuery.d.ts +0 -69
- package/api/hooks/queries/useRouteBindingsQuery.js +0 -38
- 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/hooks/mutations/useCreateHostnameBindingMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateHostnameBindingMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateRouteBindingMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateRouteBindingMutation.js +0 -31
- package/esm/api/hooks/mutations/useDeleteHostnameBindingMutation.d.ts +0 -38
- package/esm/api/hooks/mutations/useDeleteHostnameBindingMutation.js +0 -36
- package/esm/api/hooks/mutations/useDeleteRouteBindingMutation.d.ts +0 -38
- package/esm/api/hooks/mutations/useDeleteRouteBindingMutation.js +0 -36
- package/esm/api/hooks/mutations/useUpdateHostnameBindingMutation.d.ts +0 -40
- package/esm/api/hooks/mutations/useUpdateHostnameBindingMutation.js +0 -37
- package/esm/api/hooks/mutations/useUpdateRouteBindingMutation.d.ts +0 -40
- package/esm/api/hooks/mutations/useUpdateRouteBindingMutation.js +0 -37
- package/esm/api/hooks/queries/useHostnameBindingQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useHostnameBindingQuery.js +0 -47
- package/esm/api/hooks/queries/useHostnameBindingsQuery.d.ts +0 -69
- package/esm/api/hooks/queries/useHostnameBindingsQuery.js +0 -32
- package/esm/api/hooks/queries/useRouteBindingQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useRouteBindingQuery.js +0 -47
- package/esm/api/hooks/queries/useRouteBindingsQuery.d.ts +0 -69
- package/esm/api/hooks/queries/useRouteBindingsQuery.js +0 -32
- 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
|
@@ -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;
|
package/admin/schema-types.d.ts
CHANGED
|
@@ -2617,13 +2617,13 @@ export interface ProvisionAppUsersBulkPayload {
|
|
|
2617
2617
|
result?: ProvisionAppUsersBulkRecord[] | null;
|
|
2618
2618
|
}
|
|
2619
2619
|
export interface ProvisionBucketPayload {
|
|
2620
|
-
/** The logical bucket row
|
|
2620
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
2621
2621
|
bucketId: string;
|
|
2622
2622
|
bucketKey: string;
|
|
2623
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
2624
|
-
jobId: string;
|
|
2625
2623
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
2626
2624
|
physicalName?: string | null;
|
|
2625
|
+
/** When reconciliation was last requested for this bucket. */
|
|
2626
|
+
provisionRequestedAt: string;
|
|
2627
2627
|
}
|
|
2628
2628
|
export interface ProvisionOrgUserPayload {
|
|
2629
2629
|
clientMutationId?: string | null;
|
|
@@ -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/agent/schema-types.d.ts
CHANGED
|
@@ -3731,13 +3731,13 @@ export interface DeletePlatformAgentThreadPayload {
|
|
|
3731
3731
|
platformAgentThreadEdge?: PlatformAgentThreadEdge | null;
|
|
3732
3732
|
}
|
|
3733
3733
|
export interface ProvisionBucketPayload {
|
|
3734
|
-
/** The logical bucket row
|
|
3734
|
+
/** The logical bucket row whose reconciliation was requested. */
|
|
3735
3735
|
bucketId: string;
|
|
3736
3736
|
bucketKey: string;
|
|
3737
|
-
/** The reconciler job enqueued to provision this bucket. */
|
|
3738
|
-
jobId: string;
|
|
3739
3737
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
3740
3738
|
physicalName?: string | null;
|
|
3739
|
+
/** When reconciliation was last requested for this bucket. */
|
|
3740
|
+
provisionRequestedAt: string;
|
|
3741
3741
|
}
|
|
3742
3742
|
export interface UpdateAgentPayload {
|
|
3743
3743
|
/** The `Agent` that was updated by this mutation. */
|
package/api/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord,
|
|
5
|
+
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord, IdentityProviderRegistry, Index, ListSuspendedDatabasesRecord, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformSiteAppLink, PlatformSite, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, Schema, SchemaGrant, SiteAppLink, Site, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, TableBehavior, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraintBehavior, UniqueConstraint, ViewBehavior, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
package/api/hooks/index.js
CHANGED
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
* GraphQL SDK
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
*
|
|
21
|
-
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord,
|
|
21
|
+
* Tables: Api, ApiSchema, ApiSetting, AstMigration, CheckConstraint, CompositeType, CorsSetting, Database, DatabaseSetting, DatabaseTransfer, DefaultPrivilege, Derive, Domain, DomainEvent, DomainType, DomainVerification, EmailIdentity, EmailProviderAccount, EmailSiteIdentity, EmbeddingChunk, Enum, ExclusionConstraint, FieldBehavior, Field, ForeignKeyConstraintBehavior, ForeignKeyConstraint, FullTextSearch, Function, GetSitePreviewsRecord, IdentityProviderRegistry, Index, ListSuspendedDatabasesRecord, ManagedDomain, NodeTypeRegistry, Page, Partition, PlatformApi, PlatformApiSchema, PlatformApiSetting, PlatformCorsSetting, PlatformDomain, PlatformDomainEvent, PlatformDomainVerification, PlatformEmailIdentity, PlatformEmailProviderAccount, PlatformEmailSiteIdentity, PlatformGetSitePreviewsRecord, PlatformManagedDomain, PlatformPage, PlatformSiteAppLink, PlatformSite, PlatformSiteDeepLink, PlatformSiteErrorPage, PlatformSiteMetadatum, PlatformSiteModule, PlatformSiteRelease, PlatformSiteTheme, PlatformSiteWebConfig, Policy, PrimaryKeyConstraint, PubkeySetting, Redirect, RlsSetting, Route, Schema, SchemaGrant, SiteAppLink, Site, SiteDeepLink, SiteErrorPage, SiteMetadatum, SiteModule, SiteRelease, SiteTheme, SiteWebConfig, SpatialRelation, SqlAction, TableBehavior, Table, TableGrant, Trigger, TriggerFunction, UniqueConstraintBehavior, UniqueConstraint, ViewBehavior, View, ViewGrant, ViewRule, ViewTable, WebauthnSetting
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|
|
@@ -169,11 +169,6 @@ export declare const invalidate: {
|
|
|
169
169
|
/** Invalidate getSitePreviewsRecord list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
170
170
|
/** Invalidate a specific getSitePreviewsRecord */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
171
171
|
};
|
|
172
|
-
/** Invalidate hostnameBinding queries */ readonly hostnameBinding: {
|
|
173
|
-
/** Invalidate all hostnameBinding queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
174
|
-
/** Invalidate hostnameBinding list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
175
|
-
/** Invalidate a specific hostnameBinding */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
176
|
-
};
|
|
177
172
|
/** Invalidate identityProviderRegistry queries */ readonly identityProviderRegistry: {
|
|
178
173
|
/** Invalidate all identityProviderRegistry queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
179
174
|
/** Invalidate identityProviderRegistry list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -344,11 +339,6 @@ export declare const invalidate: {
|
|
|
344
339
|
/** Invalidate rlsSetting list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
345
340
|
/** Invalidate a specific rlsSetting */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
346
341
|
};
|
|
347
|
-
/** Invalidate routeBinding queries */ readonly routeBinding: {
|
|
348
|
-
/** Invalidate all routeBinding queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
349
|
-
/** Invalidate routeBinding list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
350
|
-
/** Invalidate a specific routeBinding */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
351
|
-
};
|
|
352
342
|
/** Invalidate route queries */ readonly route: {
|
|
353
343
|
/** Invalidate all route queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
354
344
|
/** Invalidate route list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -526,7 +516,6 @@ export declare const remove: {
|
|
|
526
516
|
/** Remove fullTextSearch from cache */ readonly fullTextSearch: (queryClient: QueryClient, id: string | number) => void;
|
|
527
517
|
/** Remove function from cache */ readonly function: (queryClient: QueryClient, id: string | number) => void;
|
|
528
518
|
/** Remove getSitePreviewsRecord from cache */ readonly getSitePreviewsRecord: (queryClient: QueryClient, id: string | number) => void;
|
|
529
|
-
/** Remove hostnameBinding from cache */ readonly hostnameBinding: (queryClient: QueryClient, id: string | number) => void;
|
|
530
519
|
/** Remove identityProviderRegistry from cache */ readonly identityProviderRegistry: (queryClient: QueryClient, id: string | number) => void;
|
|
531
520
|
/** Remove index from cache */ readonly index: (queryClient: QueryClient, id: string | number) => void;
|
|
532
521
|
/** Remove listSuspendedDatabasesRecord from cache */ readonly listSuspendedDatabasesRecord: (queryClient: QueryClient, id: string | number) => void;
|
|
@@ -561,7 +550,6 @@ export declare const remove: {
|
|
|
561
550
|
/** Remove pubkeySetting from cache */ readonly pubkeySetting: (queryClient: QueryClient, id: string | number) => void;
|
|
562
551
|
/** Remove redirect from cache */ readonly redirect: (queryClient: QueryClient, id: string | number) => void;
|
|
563
552
|
/** Remove rlsSetting from cache */ readonly rlsSetting: (queryClient: QueryClient, id: string | number) => void;
|
|
564
|
-
/** Remove routeBinding from cache */ readonly routeBinding: (queryClient: QueryClient, id: string | number) => void;
|
|
565
553
|
/** Remove route from cache */ readonly route: (queryClient: QueryClient, id: string | number) => void;
|
|
566
554
|
/** Remove schema from cache */ readonly schema: (queryClient: QueryClient, id: string | number) => void;
|
|
567
555
|
/** Remove schemaGrant from cache */ readonly schemaGrant: (queryClient: QueryClient, id: string | number) => void;
|
|
@@ -346,17 +346,6 @@ exports.invalidate = {
|
|
|
346
346
|
queryKey: query_keys_1.getSitePreviewsRecordKeys.detail(id),
|
|
347
347
|
}),
|
|
348
348
|
},
|
|
349
|
-
/** Invalidate hostnameBinding queries */ hostnameBinding: {
|
|
350
|
-
/** Invalidate all hostnameBinding queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
351
|
-
queryKey: query_keys_1.hostnameBindingKeys.all,
|
|
352
|
-
}),
|
|
353
|
-
/** Invalidate hostnameBinding list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
354
|
-
queryKey: query_keys_1.hostnameBindingKeys.lists(),
|
|
355
|
-
}),
|
|
356
|
-
/** Invalidate a specific hostnameBinding */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
357
|
-
queryKey: query_keys_1.hostnameBindingKeys.detail(id),
|
|
358
|
-
}),
|
|
359
|
-
},
|
|
360
349
|
/** Invalidate identityProviderRegistry queries */ identityProviderRegistry: {
|
|
361
350
|
/** Invalidate all identityProviderRegistry queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
362
351
|
queryKey: query_keys_1.identityProviderRegistryKeys.all,
|
|
@@ -731,17 +720,6 @@ exports.invalidate = {
|
|
|
731
720
|
queryKey: query_keys_1.rlsSettingKeys.detail(id),
|
|
732
721
|
}),
|
|
733
722
|
},
|
|
734
|
-
/** Invalidate routeBinding queries */ routeBinding: {
|
|
735
|
-
/** Invalidate all routeBinding queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
736
|
-
queryKey: query_keys_1.routeBindingKeys.all,
|
|
737
|
-
}),
|
|
738
|
-
/** Invalidate routeBinding list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
739
|
-
queryKey: query_keys_1.routeBindingKeys.lists(),
|
|
740
|
-
}),
|
|
741
|
-
/** Invalidate a specific routeBinding */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
742
|
-
queryKey: query_keys_1.routeBindingKeys.detail(id),
|
|
743
|
-
}),
|
|
744
|
-
},
|
|
745
723
|
/** Invalidate route queries */ route: {
|
|
746
724
|
/** Invalidate all route queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
747
725
|
queryKey: query_keys_1.routeKeys.all,
|
|
@@ -1197,11 +1175,6 @@ exports.remove = {
|
|
|
1197
1175
|
queryKey: query_keys_1.getSitePreviewsRecordKeys.detail(id),
|
|
1198
1176
|
});
|
|
1199
1177
|
},
|
|
1200
|
-
/** Remove hostnameBinding from cache */ hostnameBinding: (queryClient, id) => {
|
|
1201
|
-
queryClient.removeQueries({
|
|
1202
|
-
queryKey: query_keys_1.hostnameBindingKeys.detail(id),
|
|
1203
|
-
});
|
|
1204
|
-
},
|
|
1205
1178
|
/** Remove identityProviderRegistry from cache */ identityProviderRegistry: (queryClient, id) => {
|
|
1206
1179
|
queryClient.removeQueries({
|
|
1207
1180
|
queryKey: query_keys_1.identityProviderRegistryKeys.detail(id),
|
|
@@ -1372,11 +1345,6 @@ exports.remove = {
|
|
|
1372
1345
|
queryKey: query_keys_1.rlsSettingKeys.detail(id),
|
|
1373
1346
|
});
|
|
1374
1347
|
},
|
|
1375
|
-
/** Remove routeBinding from cache */ routeBinding: (queryClient, id) => {
|
|
1376
|
-
queryClient.removeQueries({
|
|
1377
|
-
queryKey: query_keys_1.routeBindingKeys.detail(id),
|
|
1378
|
-
});
|
|
1379
|
-
},
|
|
1380
1348
|
/** Remove route from cache */ route: (queryClient, id) => {
|
|
1381
1349
|
queryClient.removeQueries({
|
|
1382
1350
|
queryKey: query_keys_1.routeKeys.detail(id),
|
|
@@ -177,12 +177,6 @@ export declare const getSitePreviewsRecordMutationKeys: {
|
|
|
177
177
|
/** Update getSitePreviewsRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "getsitepreviewsrecord", "update", string | number];
|
|
178
178
|
/** Delete getSitePreviewsRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "getsitepreviewsrecord", "delete", string | number];
|
|
179
179
|
};
|
|
180
|
-
export declare const hostnameBindingMutationKeys: {
|
|
181
|
-
/** All hostnameBinding mutation keys */ readonly all: readonly ["mutation", "hostnamebinding"];
|
|
182
|
-
/** Create hostnameBinding mutation key */ readonly create: () => readonly ["mutation", "hostnamebinding", "create"];
|
|
183
|
-
/** Update hostnameBinding mutation key */ readonly update: (id: string | number) => readonly ["mutation", "hostnamebinding", "update", string | number];
|
|
184
|
-
/** Delete hostnameBinding mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "hostnamebinding", "delete", string | number];
|
|
185
|
-
};
|
|
186
180
|
export declare const identityProviderRegistryMutationKeys: {
|
|
187
181
|
/** All identityProviderRegistry mutation keys */ readonly all: readonly ["mutation", "identityproviderregistry"];
|
|
188
182
|
/** Create identityProviderRegistry mutation key */ readonly create: () => readonly ["mutation", "identityproviderregistry", "create"];
|
|
@@ -387,12 +381,6 @@ export declare const rlsSettingMutationKeys: {
|
|
|
387
381
|
/** Update rlsSetting mutation key */ readonly update: (id: string | number) => readonly ["mutation", "rlssetting", "update", string | number];
|
|
388
382
|
/** Delete rlsSetting mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "rlssetting", "delete", string | number];
|
|
389
383
|
};
|
|
390
|
-
export declare const routeBindingMutationKeys: {
|
|
391
|
-
/** All routeBinding mutation keys */ readonly all: readonly ["mutation", "routebinding"];
|
|
392
|
-
/** Create routeBinding mutation key */ readonly create: () => readonly ["mutation", "routebinding", "create"];
|
|
393
|
-
/** Update routeBinding mutation key */ readonly update: (id: string | number) => readonly ["mutation", "routebinding", "update", string | number];
|
|
394
|
-
/** Delete routeBinding mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "routebinding", "delete", string | number];
|
|
395
|
-
};
|
|
396
384
|
export declare const routeMutationKeys: {
|
|
397
385
|
/** All route mutation keys */ readonly all: readonly ["mutation", "route"];
|
|
398
386
|
/** Create route mutation key */ readonly create: () => readonly ["mutation", "route", "create"];
|
|
@@ -559,6 +547,7 @@ export declare const customMutationKeys: {
|
|
|
559
547
|
/** Mutation key for acceptDatabaseTransfer */ readonly acceptDatabaseTransfer: (identifier?: string) => readonly ["mutation", "acceptDatabaseTransfer", string] | readonly ["mutation", "acceptDatabaseTransfer"];
|
|
560
548
|
/** Mutation key for applyRls */ readonly applyRls: (identifier?: string) => readonly ["mutation", "applyRls", string] | readonly ["mutation", "applyRls"];
|
|
561
549
|
/** Mutation key for cancelDatabaseTransfer */ readonly cancelDatabaseTransfer: (identifier?: string) => readonly ["mutation", "cancelDatabaseTransfer", string] | readonly ["mutation", "cancelDatabaseTransfer"];
|
|
550
|
+
/** Mutation key for createFunctionFromSource */ readonly createFunctionFromSource: (identifier?: string) => readonly ["mutation", "createFunctionFromSource", string] | readonly ["mutation", "createFunctionFromSource"];
|
|
562
551
|
/** Mutation key for deleteSitePreview */ readonly deleteSitePreview: (identifier?: string) => readonly ["mutation", "deleteSitePreview", string] | readonly ["mutation", "deleteSitePreview"];
|
|
563
552
|
/** Mutation key for domainsAssignSubdomain */ readonly domainsAssignSubdomain: (identifier?: string) => readonly ["mutation", "domainsAssignSubdomain", string] | readonly ["mutation", "domainsAssignSubdomain"];
|
|
564
553
|
/** Mutation key for mintSitePreviewToken */ readonly mintSitePreviewToken: (identifier?: string) => readonly ["mutation", "mintSitePreviewToken", string] | readonly ["mutation", "mintSitePreviewToken"];
|
|
@@ -585,6 +574,7 @@ export declare const customMutationKeys: {
|
|
|
585
574
|
/** Mutation key for sitesProvisionStaticSite */ readonly sitesProvisionStaticSite: (identifier?: string) => readonly ["mutation", "sitesProvisionStaticSite", string] | readonly ["mutation", "sitesProvisionStaticSite"];
|
|
586
575
|
/** Mutation key for suspendDatabase */ readonly suspendDatabase: (identifier?: string) => readonly ["mutation", "suspendDatabase", string] | readonly ["mutation", "suspendDatabase"];
|
|
587
576
|
/** Mutation key for unsuspendDatabase */ readonly unsuspendDatabase: (identifier?: string) => readonly ["mutation", "unsuspendDatabase", string] | readonly ["mutation", "unsuspendDatabase"];
|
|
577
|
+
/** Mutation key for updateFunctionFromSource */ readonly updateFunctionFromSource: (identifier?: string) => readonly ["mutation", "updateFunctionFromSource", string] | readonly ["mutation", "updateFunctionFromSource"];
|
|
588
578
|
};
|
|
589
579
|
/**
|
|
590
580
|
|
|
@@ -783,12 +773,6 @@ export declare const mutationKeys: {
|
|
|
783
773
|
/** Update getSitePreviewsRecord mutation key */ readonly update: (id: string | number) => readonly ["mutation", "getsitepreviewsrecord", "update", string | number];
|
|
784
774
|
/** Delete getSitePreviewsRecord mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "getsitepreviewsrecord", "delete", string | number];
|
|
785
775
|
};
|
|
786
|
-
readonly hostnameBinding: {
|
|
787
|
-
/** All hostnameBinding mutation keys */ readonly all: readonly ["mutation", "hostnamebinding"];
|
|
788
|
-
/** Create hostnameBinding mutation key */ readonly create: () => readonly ["mutation", "hostnamebinding", "create"];
|
|
789
|
-
/** Update hostnameBinding mutation key */ readonly update: (id: string | number) => readonly ["mutation", "hostnamebinding", "update", string | number];
|
|
790
|
-
/** Delete hostnameBinding mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "hostnamebinding", "delete", string | number];
|
|
791
|
-
};
|
|
792
776
|
readonly identityProviderRegistry: {
|
|
793
777
|
/** All identityProviderRegistry mutation keys */ readonly all: readonly ["mutation", "identityproviderregistry"];
|
|
794
778
|
/** Create identityProviderRegistry mutation key */ readonly create: () => readonly ["mutation", "identityproviderregistry", "create"];
|
|
@@ -993,12 +977,6 @@ export declare const mutationKeys: {
|
|
|
993
977
|
/** Update rlsSetting mutation key */ readonly update: (id: string | number) => readonly ["mutation", "rlssetting", "update", string | number];
|
|
994
978
|
/** Delete rlsSetting mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "rlssetting", "delete", string | number];
|
|
995
979
|
};
|
|
996
|
-
readonly routeBinding: {
|
|
997
|
-
/** All routeBinding mutation keys */ readonly all: readonly ["mutation", "routebinding"];
|
|
998
|
-
/** Create routeBinding mutation key */ readonly create: () => readonly ["mutation", "routebinding", "create"];
|
|
999
|
-
/** Update routeBinding mutation key */ readonly update: (id: string | number) => readonly ["mutation", "routebinding", "update", string | number];
|
|
1000
|
-
/** Delete routeBinding mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "routebinding", "delete", string | number];
|
|
1001
|
-
};
|
|
1002
980
|
readonly route: {
|
|
1003
981
|
/** All route mutation keys */ readonly all: readonly ["mutation", "route"];
|
|
1004
982
|
/** Create route mutation key */ readonly create: () => readonly ["mutation", "route", "create"];
|
|
@@ -1165,6 +1143,7 @@ export declare const mutationKeys: {
|
|
|
1165
1143
|
/** Mutation key for acceptDatabaseTransfer */ readonly acceptDatabaseTransfer: (identifier?: string) => readonly ["mutation", "acceptDatabaseTransfer", string] | readonly ["mutation", "acceptDatabaseTransfer"];
|
|
1166
1144
|
/** Mutation key for applyRls */ readonly applyRls: (identifier?: string) => readonly ["mutation", "applyRls", string] | readonly ["mutation", "applyRls"];
|
|
1167
1145
|
/** Mutation key for cancelDatabaseTransfer */ readonly cancelDatabaseTransfer: (identifier?: string) => readonly ["mutation", "cancelDatabaseTransfer", string] | readonly ["mutation", "cancelDatabaseTransfer"];
|
|
1146
|
+
/** Mutation key for createFunctionFromSource */ readonly createFunctionFromSource: (identifier?: string) => readonly ["mutation", "createFunctionFromSource", string] | readonly ["mutation", "createFunctionFromSource"];
|
|
1168
1147
|
/** Mutation key for deleteSitePreview */ readonly deleteSitePreview: (identifier?: string) => readonly ["mutation", "deleteSitePreview", string] | readonly ["mutation", "deleteSitePreview"];
|
|
1169
1148
|
/** Mutation key for domainsAssignSubdomain */ readonly domainsAssignSubdomain: (identifier?: string) => readonly ["mutation", "domainsAssignSubdomain", string] | readonly ["mutation", "domainsAssignSubdomain"];
|
|
1170
1149
|
/** Mutation key for mintSitePreviewToken */ readonly mintSitePreviewToken: (identifier?: string) => readonly ["mutation", "mintSitePreviewToken", string] | readonly ["mutation", "mintSitePreviewToken"];
|
|
@@ -1191,5 +1170,6 @@ export declare const mutationKeys: {
|
|
|
1191
1170
|
/** Mutation key for sitesProvisionStaticSite */ readonly sitesProvisionStaticSite: (identifier?: string) => readonly ["mutation", "sitesProvisionStaticSite", string] | readonly ["mutation", "sitesProvisionStaticSite"];
|
|
1192
1171
|
/** Mutation key for suspendDatabase */ readonly suspendDatabase: (identifier?: string) => readonly ["mutation", "suspendDatabase", string] | readonly ["mutation", "suspendDatabase"];
|
|
1193
1172
|
/** Mutation key for unsuspendDatabase */ readonly unsuspendDatabase: (identifier?: string) => readonly ["mutation", "unsuspendDatabase", string] | readonly ["mutation", "unsuspendDatabase"];
|
|
1173
|
+
/** Mutation key for updateFunctionFromSource */ readonly updateFunctionFromSource: (identifier?: string) => readonly ["mutation", "updateFunctionFromSource", string] | readonly ["mutation", "updateFunctionFromSource"];
|
|
1194
1174
|
};
|
|
1195
1175
|
};
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.platformPageMutationKeys = exports.platformManagedDomainMutationKeys = exports.platformGetSitePreviewsRecordMutationKeys = exports.platformEmailSiteIdentityMutationKeys = exports.platformEmailProviderAccountMutationKeys = exports.platformEmailIdentityMutationKeys = exports.platformDomainVerificationMutationKeys = exports.platformDomainEventMutationKeys = exports.platformDomainMutationKeys = exports.platformCorsSettingMutationKeys = exports.platformApiSettingMutationKeys = exports.platformApiSchemaMutationKeys = exports.platformApiMutationKeys = exports.partitionMutationKeys = exports.pageMutationKeys = exports.nodeTypeRegistryMutationKeys = exports.managedDomainMutationKeys = exports.listSuspendedDatabasesRecordMutationKeys = exports.indexMutationKeys = exports.identityProviderRegistryMutationKeys = exports.
|
|
9
|
-
exports.mutationKeys = exports.customMutationKeys = exports.webauthnSettingMutationKeys = exports.viewTableMutationKeys = exports.viewRuleMutationKeys = exports.viewGrantMutationKeys = exports.viewMutationKeys = exports.viewBehaviorMutationKeys = exports.uniqueConstraintMutationKeys = exports.uniqueConstraintBehaviorMutationKeys = exports.triggerFunctionMutationKeys = exports.triggerMutationKeys = exports.tableGrantMutationKeys = exports.tableMutationKeys = exports.tableBehaviorMutationKeys = exports.sqlActionMutationKeys = exports.spatialRelationMutationKeys = exports.siteWebConfigMutationKeys = exports.siteThemeMutationKeys = exports.siteReleaseMutationKeys = exports.siteModuleMutationKeys = exports.siteMetadatumMutationKeys = exports.siteErrorPageMutationKeys = exports.siteDeepLinkMutationKeys = exports.siteMutationKeys = exports.siteAppLinkMutationKeys = exports.schemaGrantMutationKeys = exports.schemaMutationKeys = exports.routeMutationKeys = exports.
|
|
8
|
+
exports.platformSiteAppLinkMutationKeys = exports.platformPageMutationKeys = exports.platformManagedDomainMutationKeys = exports.platformGetSitePreviewsRecordMutationKeys = exports.platformEmailSiteIdentityMutationKeys = exports.platformEmailProviderAccountMutationKeys = exports.platformEmailIdentityMutationKeys = exports.platformDomainVerificationMutationKeys = exports.platformDomainEventMutationKeys = exports.platformDomainMutationKeys = exports.platformCorsSettingMutationKeys = exports.platformApiSettingMutationKeys = exports.platformApiSchemaMutationKeys = exports.platformApiMutationKeys = exports.partitionMutationKeys = exports.pageMutationKeys = exports.nodeTypeRegistryMutationKeys = exports.managedDomainMutationKeys = exports.listSuspendedDatabasesRecordMutationKeys = exports.indexMutationKeys = exports.identityProviderRegistryMutationKeys = exports.getSitePreviewsRecordMutationKeys = exports.functionMutationKeys = exports.fullTextSearchMutationKeys = exports.foreignKeyConstraintMutationKeys = exports.foreignKeyConstraintBehaviorMutationKeys = exports.fieldMutationKeys = exports.fieldBehaviorMutationKeys = exports.exclusionConstraintMutationKeys = exports.enumMutationKeys = exports.embeddingChunkMutationKeys = exports.emailSiteIdentityMutationKeys = exports.emailProviderAccountMutationKeys = exports.emailIdentityMutationKeys = exports.domainVerificationMutationKeys = exports.domainTypeMutationKeys = exports.domainEventMutationKeys = exports.domainMutationKeys = exports.deriveMutationKeys = exports.defaultPrivilegeMutationKeys = exports.databaseTransferMutationKeys = exports.databaseSettingMutationKeys = exports.databaseMutationKeys = exports.corsSettingMutationKeys = exports.compositeTypeMutationKeys = exports.checkConstraintMutationKeys = exports.astMigrationMutationKeys = exports.apiSettingMutationKeys = exports.apiSchemaMutationKeys = exports.apiMutationKeys = void 0;
|
|
9
|
+
exports.mutationKeys = exports.customMutationKeys = exports.webauthnSettingMutationKeys = exports.viewTableMutationKeys = exports.viewRuleMutationKeys = exports.viewGrantMutationKeys = exports.viewMutationKeys = exports.viewBehaviorMutationKeys = exports.uniqueConstraintMutationKeys = exports.uniqueConstraintBehaviorMutationKeys = exports.triggerFunctionMutationKeys = exports.triggerMutationKeys = exports.tableGrantMutationKeys = exports.tableMutationKeys = exports.tableBehaviorMutationKeys = exports.sqlActionMutationKeys = exports.spatialRelationMutationKeys = exports.siteWebConfigMutationKeys = exports.siteThemeMutationKeys = exports.siteReleaseMutationKeys = exports.siteModuleMutationKeys = exports.siteMetadatumMutationKeys = exports.siteErrorPageMutationKeys = exports.siteDeepLinkMutationKeys = exports.siteMutationKeys = exports.siteAppLinkMutationKeys = exports.schemaGrantMutationKeys = exports.schemaMutationKeys = exports.routeMutationKeys = exports.rlsSettingMutationKeys = exports.redirectMutationKeys = exports.pubkeySettingMutationKeys = exports.primaryKeyConstraintMutationKeys = exports.policyMutationKeys = exports.platformSiteWebConfigMutationKeys = exports.platformSiteThemeMutationKeys = exports.platformSiteReleaseMutationKeys = exports.platformSiteModuleMutationKeys = exports.platformSiteMetadatumMutationKeys = exports.platformSiteErrorPageMutationKeys = exports.platformSiteDeepLinkMutationKeys = exports.platformSiteMutationKeys = void 0;
|
|
10
10
|
// ============================================================================
|
|
11
11
|
// Mutation keys for tracking in-flight mutations
|
|
12
12
|
//
|
|
@@ -199,12 +199,6 @@ exports.getSitePreviewsRecordMutationKeys = {
|
|
|
199
199
|
/** Update getSitePreviewsRecord mutation key */ update: (id) => ['mutation', 'getsitepreviewsrecord', 'update', id],
|
|
200
200
|
/** Delete getSitePreviewsRecord mutation key */ delete: (id) => ['mutation', 'getsitepreviewsrecord', 'delete', id],
|
|
201
201
|
};
|
|
202
|
-
exports.hostnameBindingMutationKeys = {
|
|
203
|
-
/** All hostnameBinding mutation keys */ all: ['mutation', 'hostnamebinding'],
|
|
204
|
-
/** Create hostnameBinding mutation key */ create: () => ['mutation', 'hostnamebinding', 'create'],
|
|
205
|
-
/** Update hostnameBinding mutation key */ update: (id) => ['mutation', 'hostnamebinding', 'update', id],
|
|
206
|
-
/** Delete hostnameBinding mutation key */ delete: (id) => ['mutation', 'hostnamebinding', 'delete', id],
|
|
207
|
-
};
|
|
208
202
|
exports.identityProviderRegistryMutationKeys = {
|
|
209
203
|
/** All identityProviderRegistry mutation keys */ all: [
|
|
210
204
|
'mutation',
|
|
@@ -442,12 +436,6 @@ exports.rlsSettingMutationKeys = {
|
|
|
442
436
|
/** Update rlsSetting mutation key */ update: (id) => ['mutation', 'rlssetting', 'update', id],
|
|
443
437
|
/** Delete rlsSetting mutation key */ delete: (id) => ['mutation', 'rlssetting', 'delete', id],
|
|
444
438
|
};
|
|
445
|
-
exports.routeBindingMutationKeys = {
|
|
446
|
-
/** All routeBinding mutation keys */ all: ['mutation', 'routebinding'],
|
|
447
|
-
/** Create routeBinding mutation key */ create: () => ['mutation', 'routebinding', 'create'],
|
|
448
|
-
/** Update routeBinding mutation key */ update: (id) => ['mutation', 'routebinding', 'update', id],
|
|
449
|
-
/** Delete routeBinding mutation key */ delete: (id) => ['mutation', 'routebinding', 'delete', id],
|
|
450
|
-
};
|
|
451
439
|
exports.routeMutationKeys = {
|
|
452
440
|
/** All route mutation keys */ all: ['mutation', 'route'],
|
|
453
441
|
/** Create route mutation key */ create: () => ['mutation', 'route', 'create'],
|
|
@@ -626,6 +614,9 @@ exports.customMutationKeys = {
|
|
|
626
614
|
/** Mutation key for cancelDatabaseTransfer */ cancelDatabaseTransfer: (identifier) => identifier
|
|
627
615
|
? ['mutation', 'cancelDatabaseTransfer', identifier]
|
|
628
616
|
: ['mutation', 'cancelDatabaseTransfer'],
|
|
617
|
+
/** Mutation key for createFunctionFromSource */ createFunctionFromSource: (identifier) => identifier
|
|
618
|
+
? ['mutation', 'createFunctionFromSource', identifier]
|
|
619
|
+
: ['mutation', 'createFunctionFromSource'],
|
|
629
620
|
/** Mutation key for deleteSitePreview */ deleteSitePreview: (identifier) => identifier
|
|
630
621
|
? ['mutation', 'deleteSitePreview', identifier]
|
|
631
622
|
: ['mutation', 'deleteSitePreview'],
|
|
@@ -704,6 +695,9 @@ exports.customMutationKeys = {
|
|
|
704
695
|
/** Mutation key for unsuspendDatabase */ unsuspendDatabase: (identifier) => identifier
|
|
705
696
|
? ['mutation', 'unsuspendDatabase', identifier]
|
|
706
697
|
: ['mutation', 'unsuspendDatabase'],
|
|
698
|
+
/** Mutation key for updateFunctionFromSource */ updateFunctionFromSource: (identifier) => identifier
|
|
699
|
+
? ['mutation', 'updateFunctionFromSource', identifier]
|
|
700
|
+
: ['mutation', 'updateFunctionFromSource'],
|
|
707
701
|
};
|
|
708
702
|
/**
|
|
709
703
|
|
|
@@ -757,7 +751,6 @@ exports.mutationKeys = {
|
|
|
757
751
|
fullTextSearch: exports.fullTextSearchMutationKeys,
|
|
758
752
|
function: exports.functionMutationKeys,
|
|
759
753
|
getSitePreviewsRecord: exports.getSitePreviewsRecordMutationKeys,
|
|
760
|
-
hostnameBinding: exports.hostnameBindingMutationKeys,
|
|
761
754
|
identityProviderRegistry: exports.identityProviderRegistryMutationKeys,
|
|
762
755
|
index: exports.indexMutationKeys,
|
|
763
756
|
listSuspendedDatabasesRecord: exports.listSuspendedDatabasesRecordMutationKeys,
|
|
@@ -792,7 +785,6 @@ exports.mutationKeys = {
|
|
|
792
785
|
pubkeySetting: exports.pubkeySettingMutationKeys,
|
|
793
786
|
redirect: exports.redirectMutationKeys,
|
|
794
787
|
rlsSetting: exports.rlsSettingMutationKeys,
|
|
795
|
-
routeBinding: exports.routeBindingMutationKeys,
|
|
796
788
|
route: exports.routeMutationKeys,
|
|
797
789
|
schema: exports.schemaMutationKeys,
|
|
798
790
|
schemaGrant: exports.schemaGrantMutationKeys,
|
|
@@ -86,9 +86,6 @@ export * from './useCreateFunctionMutation';
|
|
|
86
86
|
export * from './useUpdateFunctionMutation';
|
|
87
87
|
export * from './useDeleteFunctionMutation';
|
|
88
88
|
export * from './useCreateGetSitePreviewsRecordMutation';
|
|
89
|
-
export * from './useCreateHostnameBindingMutation';
|
|
90
|
-
export * from './useUpdateHostnameBindingMutation';
|
|
91
|
-
export * from './useDeleteHostnameBindingMutation';
|
|
92
89
|
export * from './useCreateIdentityProviderRegistryMutation';
|
|
93
90
|
export * from './useUpdateIdentityProviderRegistryMutation';
|
|
94
91
|
export * from './useDeleteIdentityProviderRegistryMutation';
|
|
@@ -187,9 +184,6 @@ export * from './useDeleteRedirectMutation';
|
|
|
187
184
|
export * from './useCreateRlsSettingMutation';
|
|
188
185
|
export * from './useUpdateRlsSettingMutation';
|
|
189
186
|
export * from './useDeleteRlsSettingMutation';
|
|
190
|
-
export * from './useCreateRouteBindingMutation';
|
|
191
|
-
export * from './useUpdateRouteBindingMutation';
|
|
192
|
-
export * from './useDeleteRouteBindingMutation';
|
|
193
187
|
export * from './useCreateRouteMutation';
|
|
194
188
|
export * from './useUpdateRouteMutation';
|
|
195
189
|
export * from './useDeleteRouteMutation';
|
|
@@ -272,6 +266,7 @@ export * from './useDeleteWebauthnSettingMutation';
|
|
|
272
266
|
export * from './useAcceptDatabaseTransferMutation';
|
|
273
267
|
export * from './useApplyRlsMutation';
|
|
274
268
|
export * from './useCancelDatabaseTransferMutation';
|
|
269
|
+
export * from './useCreateFunctionFromSourceMutation';
|
|
275
270
|
export * from './useDeleteSitePreviewMutation';
|
|
276
271
|
export * from './useDomainsAssignSubdomainMutation';
|
|
277
272
|
export * from './useMintSitePreviewTokenMutation';
|
|
@@ -298,3 +293,4 @@ export * from './useSitesInstallMantraMutation';
|
|
|
298
293
|
export * from './useSitesProvisionStaticSiteMutation';
|
|
299
294
|
export * from './useSuspendDatabaseMutation';
|
|
300
295
|
export * from './useUnsuspendDatabaseMutation';
|
|
296
|
+
export * from './useUpdateFunctionFromSourceMutation';
|
|
@@ -102,9 +102,6 @@ __exportStar(require("./useCreateFunctionMutation"), exports);
|
|
|
102
102
|
__exportStar(require("./useUpdateFunctionMutation"), exports);
|
|
103
103
|
__exportStar(require("./useDeleteFunctionMutation"), exports);
|
|
104
104
|
__exportStar(require("./useCreateGetSitePreviewsRecordMutation"), exports);
|
|
105
|
-
__exportStar(require("./useCreateHostnameBindingMutation"), exports);
|
|
106
|
-
__exportStar(require("./useUpdateHostnameBindingMutation"), exports);
|
|
107
|
-
__exportStar(require("./useDeleteHostnameBindingMutation"), exports);
|
|
108
105
|
__exportStar(require("./useCreateIdentityProviderRegistryMutation"), exports);
|
|
109
106
|
__exportStar(require("./useUpdateIdentityProviderRegistryMutation"), exports);
|
|
110
107
|
__exportStar(require("./useDeleteIdentityProviderRegistryMutation"), exports);
|
|
@@ -203,9 +200,6 @@ __exportStar(require("./useDeleteRedirectMutation"), exports);
|
|
|
203
200
|
__exportStar(require("./useCreateRlsSettingMutation"), exports);
|
|
204
201
|
__exportStar(require("./useUpdateRlsSettingMutation"), exports);
|
|
205
202
|
__exportStar(require("./useDeleteRlsSettingMutation"), exports);
|
|
206
|
-
__exportStar(require("./useCreateRouteBindingMutation"), exports);
|
|
207
|
-
__exportStar(require("./useUpdateRouteBindingMutation"), exports);
|
|
208
|
-
__exportStar(require("./useDeleteRouteBindingMutation"), exports);
|
|
209
203
|
__exportStar(require("./useCreateRouteMutation"), exports);
|
|
210
204
|
__exportStar(require("./useUpdateRouteMutation"), exports);
|
|
211
205
|
__exportStar(require("./useDeleteRouteMutation"), exports);
|
|
@@ -288,6 +282,7 @@ __exportStar(require("./useDeleteWebauthnSettingMutation"), exports);
|
|
|
288
282
|
__exportStar(require("./useAcceptDatabaseTransferMutation"), exports);
|
|
289
283
|
__exportStar(require("./useApplyRlsMutation"), exports);
|
|
290
284
|
__exportStar(require("./useCancelDatabaseTransferMutation"), exports);
|
|
285
|
+
__exportStar(require("./useCreateFunctionFromSourceMutation"), exports);
|
|
291
286
|
__exportStar(require("./useDeleteSitePreviewMutation"), exports);
|
|
292
287
|
__exportStar(require("./useDomainsAssignSubdomainMutation"), exports);
|
|
293
288
|
__exportStar(require("./useMintSitePreviewTokenMutation"), exports);
|
|
@@ -314,3 +309,4 @@ __exportStar(require("./useSitesInstallMantraMutation"), exports);
|
|
|
314
309
|
__exportStar(require("./useSitesProvisionStaticSiteMutation"), exports);
|
|
315
310
|
__exportStar(require("./useSuspendDatabaseMutation"), exports);
|
|
316
311
|
__exportStar(require("./useUnsuspendDatabaseMutation"), exports);
|
|
312
|
+
__exportStar(require("./useUpdateFunctionFromSourceMutation"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for createFunctionFromSource
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { CreateFunctionFromSourceVariables } from '../../orm/mutation';
|
|
8
|
+
import type { CreateFunctionPayloadSelect, CreateFunctionPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { CreateFunctionFromSourceVariables } from '../../orm/mutation';
|
|
11
|
+
export type { CreateFunctionPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useCreateFunctionFromSourceMutation<S extends CreateFunctionPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & CreateFunctionPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, CreateFunctionPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
createFunctionFromSource: InferSelectResult<CreateFunctionPayload, S> | null;
|
|
18
|
+
}, Error, CreateFunctionFromSourceVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
createFunctionFromSource: InferSelectResult<CreateFunctionPayload, S> | null;
|
|
20
|
+
}, Error, CreateFunctionFromSourceVariables>;
|
|
@@ -1,34 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Custom mutation hook for createFunctionFromSource
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.useCreateFunctionFromSourceMutation = useCreateFunctionFromSourceMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
10
|
const client_1 = require("../client");
|
|
11
11
|
const selection_1 = require("../selection");
|
|
12
|
-
const query_keys_1 = require("../query-keys");
|
|
13
12
|
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
-
function
|
|
13
|
+
function useCreateFunctionFromSourceMutation(params) {
|
|
15
14
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
15
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
16
|
void _selection;
|
|
18
|
-
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
17
|
return (0, react_query_1.useMutation)({
|
|
20
|
-
mutationKey: mutation_keys_1.
|
|
21
|
-
mutationFn: (
|
|
22
|
-
.
|
|
23
|
-
data,
|
|
18
|
+
mutationKey: mutation_keys_1.customMutationKeys.createFunctionFromSource(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.createFunctionFromSource(variables, {
|
|
24
21
|
select: args.select,
|
|
25
22
|
})
|
|
26
23
|
.unwrap(),
|
|
27
|
-
onSuccess: () => {
|
|
28
|
-
queryClient.invalidateQueries({
|
|
29
|
-
queryKey: query_keys_1.hostnameBindingKeys.lists(),
|
|
30
|
-
});
|
|
31
|
-
},
|
|
32
24
|
...mutationOptions,
|
|
33
25
|
});
|
|
34
26
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for updateFunctionFromSource
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { UpdateFunctionFromSourceVariables } from '../../orm/mutation';
|
|
8
|
+
import type { UpdateFunctionPayloadSelect, UpdateFunctionPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { UpdateFunctionFromSourceVariables } from '../../orm/mutation';
|
|
11
|
+
export type { UpdateFunctionPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useUpdateFunctionFromSourceMutation<S extends UpdateFunctionPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & UpdateFunctionPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, UpdateFunctionPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
updateFunctionFromSource: InferSelectResult<UpdateFunctionPayload, S> | null;
|
|
18
|
+
}, Error, UpdateFunctionFromSourceVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
updateFunctionFromSource: InferSelectResult<UpdateFunctionPayload, S> | null;
|
|
20
|
+
}, Error, UpdateFunctionFromSourceVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for updateFunctionFromSource
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useUpdateFunctionFromSourceMutation = useUpdateFunctionFromSourceMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
+
function useUpdateFunctionFromSourceMutation(params) {
|
|
14
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
|
+
void _selection;
|
|
17
|
+
return (0, react_query_1.useMutation)({
|
|
18
|
+
mutationKey: mutation_keys_1.customMutationKeys.updateFunctionFromSource(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.updateFunctionFromSource(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|