@constructive-io/react 1.21.47 → 1.21.49
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/schema-types.d.ts +4 -0
- package/agent/schema-types.d.ts +4 -0
- package/api/orm/input-types.d.ts +663 -69
- package/api/orm/input-types.js +22 -0
- package/api/schema-types.d.ts +199 -44
- package/auth/schema-types.d.ts +4 -0
- package/compute/schema-types.d.ts +4 -0
- package/config/schema-types.d.ts +4 -0
- package/esm/admin/schema-types.d.ts +4 -0
- package/esm/agent/schema-types.d.ts +4 -0
- package/esm/api/orm/input-types.d.ts +663 -69
- package/esm/api/orm/input-types.js +22 -0
- package/esm/api/schema-types.d.ts +199 -44
- package/esm/auth/schema-types.d.ts +4 -0
- package/esm/compute/schema-types.d.ts +4 -0
- package/esm/config/schema-types.d.ts +4 -0
- package/esm/infra/schema-types.d.ts +4 -0
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +6 -0
- package/esm/modules/hooks/invalidation.js +17 -1
- package/esm/modules/hooks/mutation-keys.d.ts +12 -0
- package/esm/modules/hooks/mutation-keys.js +7 -0
- package/esm/modules/hooks/mutations/index.d.ts +3 -0
- package/esm/modules/hooks/mutations/index.js +3 -0
- package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +1 -1
- package/esm/modules/hooks/mutations/useCreatePrincipalsModuleMutation.d.ts +34 -0
- package/esm/modules/hooks/mutations/useCreatePrincipalsModuleMutation.js +31 -0
- package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +1 -1
- package/esm/modules/hooks/mutations/useDeletePrincipalsModuleMutation.d.ts +38 -0
- package/esm/modules/hooks/mutations/useDeletePrincipalsModuleMutation.js +36 -0
- package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +1 -1
- package/esm/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.d.ts +40 -0
- package/esm/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.js +37 -0
- package/esm/modules/hooks/queries/index.d.ts +2 -0
- package/esm/modules/hooks/queries/index.js +2 -0
- package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/usePrincipalAuthModuleQuery.js +1 -1
- package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/usePrincipalAuthModulesQuery.js +1 -1
- package/esm/modules/hooks/queries/usePrincipalsModuleQuery.d.ts +65 -0
- package/esm/modules/hooks/queries/usePrincipalsModuleQuery.js +47 -0
- package/esm/modules/hooks/queries/usePrincipalsModulesQuery.d.ts +69 -0
- package/esm/modules/hooks/queries/usePrincipalsModulesQuery.js +32 -0
- package/esm/modules/hooks/query-keys.d.ts +14 -0
- package/esm/modules/hooks/query-keys.js +8 -0
- package/esm/modules/orm/index.d.ts +2 -0
- package/esm/modules/orm/index.js +2 -0
- package/esm/modules/orm/input-types.d.ts +190 -1
- package/esm/modules/orm/models/index.d.ts +1 -0
- package/esm/modules/orm/models/index.js +1 -0
- package/esm/modules/orm/models/principalsModule.d.ts +54 -0
- package/esm/modules/orm/models/principalsModule.js +100 -0
- package/esm/modules/schema-types.d.ts +124 -1
- package/esm/modules/types.d.ts +16 -0
- package/esm/objects/schema-types.d.ts +4 -0
- package/esm/remote/schema-types.d.ts +4 -0
- package/esm/storage/schema-types.d.ts +4 -0
- package/esm/usage/schema-types.d.ts +4 -0
- package/infra/schema-types.d.ts +4 -0
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +6 -0
- package/modules/hooks/invalidation.js +16 -0
- package/modules/hooks/mutation-keys.d.ts +12 -0
- package/modules/hooks/mutation-keys.js +8 -1
- package/modules/hooks/mutations/index.d.ts +3 -0
- package/modules/hooks/mutations/index.js +3 -0
- package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.d.ts +2 -2
- package/modules/hooks/mutations/useCreatePrincipalAuthModuleMutation.js +1 -1
- package/modules/hooks/mutations/useCreatePrincipalsModuleMutation.d.ts +34 -0
- package/modules/hooks/mutations/useCreatePrincipalsModuleMutation.js +34 -0
- package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.d.ts +2 -2
- package/modules/hooks/mutations/useDeletePrincipalAuthModuleMutation.js +1 -1
- package/modules/hooks/mutations/useDeletePrincipalsModuleMutation.d.ts +38 -0
- package/modules/hooks/mutations/useDeletePrincipalsModuleMutation.js +39 -0
- package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.d.ts +2 -2
- package/modules/hooks/mutations/useUpdatePrincipalAuthModuleMutation.js +1 -1
- package/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.d.ts +40 -0
- package/modules/hooks/mutations/useUpdatePrincipalsModuleMutation.js +40 -0
- package/modules/hooks/queries/index.d.ts +2 -0
- package/modules/hooks/queries/index.js +2 -0
- package/modules/hooks/queries/usePrincipalAuthModuleQuery.d.ts +4 -4
- package/modules/hooks/queries/usePrincipalAuthModuleQuery.js +1 -1
- package/modules/hooks/queries/usePrincipalAuthModulesQuery.d.ts +4 -4
- package/modules/hooks/queries/usePrincipalAuthModulesQuery.js +1 -1
- package/modules/hooks/queries/usePrincipalsModuleQuery.d.ts +65 -0
- package/modules/hooks/queries/usePrincipalsModuleQuery.js +53 -0
- package/modules/hooks/queries/usePrincipalsModulesQuery.d.ts +69 -0
- package/modules/hooks/queries/usePrincipalsModulesQuery.js +38 -0
- package/modules/hooks/query-keys.d.ts +14 -0
- package/modules/hooks/query-keys.js +9 -1
- package/modules/orm/index.d.ts +2 -0
- package/modules/orm/index.js +2 -0
- package/modules/orm/input-types.d.ts +190 -1
- package/modules/orm/models/index.d.ts +1 -0
- package/modules/orm/models/index.js +3 -1
- package/modules/orm/models/principalsModule.d.ts +54 -0
- package/modules/orm/models/principalsModule.js +104 -0
- package/modules/schema-types.d.ts +124 -1
- package/modules/types.d.ts +16 -0
- package/objects/schema-types.d.ts +4 -0
- package/package.json +5 -5
- package/remote/schema-types.d.ts +4 -0
- package/storage/schema-types.d.ts +4 -0
- package/usage/schema-types.d.ts +4 -0
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
+
import { connectionFieldsMap } from '../input-types';
|
|
3
|
+
export class PrincipalsModuleModel {
|
|
4
|
+
client;
|
|
5
|
+
constructor(client) {
|
|
6
|
+
this.client = client;
|
|
7
|
+
}
|
|
8
|
+
findMany(args) {
|
|
9
|
+
const { document, variables } = buildFindManyDocument('PrincipalsModule', 'principalsModules', args.select, {
|
|
10
|
+
where: args?.where,
|
|
11
|
+
orderBy: args?.orderBy,
|
|
12
|
+
first: args?.first,
|
|
13
|
+
last: args?.last,
|
|
14
|
+
after: args?.after,
|
|
15
|
+
before: args?.before,
|
|
16
|
+
offset: args?.offset,
|
|
17
|
+
}, 'PrincipalsModuleFilter', 'PrincipalsModuleOrderBy', connectionFieldsMap);
|
|
18
|
+
return new QueryBuilder({
|
|
19
|
+
client: this.client,
|
|
20
|
+
operation: 'query',
|
|
21
|
+
operationName: 'PrincipalsModule',
|
|
22
|
+
fieldName: 'principalsModules',
|
|
23
|
+
document,
|
|
24
|
+
variables,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
findFirst(args) {
|
|
28
|
+
const { document, variables } = buildFindFirstDocument('PrincipalsModule', 'principalsModules', args.select, {
|
|
29
|
+
where: args?.where,
|
|
30
|
+
orderBy: args?.orderBy,
|
|
31
|
+
}, 'PrincipalsModuleFilter', 'PrincipalsModuleOrderBy', connectionFieldsMap);
|
|
32
|
+
return new QueryBuilder({
|
|
33
|
+
client: this.client,
|
|
34
|
+
operation: 'query',
|
|
35
|
+
operationName: 'PrincipalsModule',
|
|
36
|
+
fieldName: 'principalsModule',
|
|
37
|
+
document,
|
|
38
|
+
variables,
|
|
39
|
+
transform: (data) => ({
|
|
40
|
+
principalsModule: data.principalsModules?.nodes?.[0] ?? null,
|
|
41
|
+
}),
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
findOne(args) {
|
|
45
|
+
const { document, variables } = buildFindManyDocument('PrincipalsModule', 'principalsModules', args.select, {
|
|
46
|
+
where: {
|
|
47
|
+
id: {
|
|
48
|
+
equalTo: args.id,
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
first: 1,
|
|
52
|
+
}, 'PrincipalsModuleFilter', 'PrincipalsModuleOrderBy', connectionFieldsMap);
|
|
53
|
+
return new QueryBuilder({
|
|
54
|
+
client: this.client,
|
|
55
|
+
operation: 'query',
|
|
56
|
+
operationName: 'PrincipalsModule',
|
|
57
|
+
fieldName: 'principalsModule',
|
|
58
|
+
document,
|
|
59
|
+
variables,
|
|
60
|
+
transform: (data) => ({
|
|
61
|
+
principalsModule: data.principalsModules?.nodes?.[0] ?? null,
|
|
62
|
+
}),
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
create(args) {
|
|
66
|
+
const { document, variables } = buildCreateDocument('PrincipalsModule', 'createPrincipalsModule', 'principalsModule', args.select, args.data, 'CreatePrincipalsModuleInput', connectionFieldsMap);
|
|
67
|
+
return new QueryBuilder({
|
|
68
|
+
client: this.client,
|
|
69
|
+
operation: 'mutation',
|
|
70
|
+
operationName: 'PrincipalsModule',
|
|
71
|
+
fieldName: 'createPrincipalsModule',
|
|
72
|
+
document,
|
|
73
|
+
variables,
|
|
74
|
+
});
|
|
75
|
+
}
|
|
76
|
+
update(args) {
|
|
77
|
+
const { document, variables } = buildUpdateByPkDocument('PrincipalsModule', 'updatePrincipalsModule', 'principalsModule', args.select, args.where.id, args.data, 'UpdatePrincipalsModuleInput', 'id', 'principalsModulePatch', connectionFieldsMap, undefined);
|
|
78
|
+
return new QueryBuilder({
|
|
79
|
+
client: this.client,
|
|
80
|
+
operation: 'mutation',
|
|
81
|
+
operationName: 'PrincipalsModule',
|
|
82
|
+
fieldName: 'updatePrincipalsModule',
|
|
83
|
+
document,
|
|
84
|
+
variables,
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
delete(args) {
|
|
88
|
+
const { document, variables } = buildDeleteByPkDocument('PrincipalsModule', 'deletePrincipalsModule', 'principalsModule', {
|
|
89
|
+
id: args.where.id,
|
|
90
|
+
}, 'DeletePrincipalsModuleInput', args.select, connectionFieldsMap);
|
|
91
|
+
return new QueryBuilder({
|
|
92
|
+
client: this.client,
|
|
93
|
+
operation: 'mutation',
|
|
94
|
+
operationName: 'PrincipalsModule',
|
|
95
|
+
fieldName: 'deletePrincipalsModule',
|
|
96
|
+
document,
|
|
97
|
+
variables,
|
|
98
|
+
});
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import type { AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPool, DbPoolConfig, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule, BigIntFilter, BooleanFilter, DatetimeFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
|
|
6
|
+
import type { AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPool, DbPoolConfig, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, PrincipalsModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule, BigIntFilter, BooleanFilter, DatetimeFilter, IntFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter, UUIDListFilter } from './types';
|
|
7
7
|
/** Methods to use when ordering `AgentModule`. */
|
|
8
8
|
export type AgentModuleOrderBy = 'AGENT_TABLE_ID_ASC' | 'AGENT_TABLE_ID_DESC' | 'AGENT_TABLE_NAME_ASC' | 'AGENT_TABLE_NAME_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DEFAULT_CAPABILITIES_ASC' | 'DEFAULT_CAPABILITIES_DESC' | 'DEFAULT_VISIBILITY_ASC' | 'DEFAULT_VISIBILITY_DESC' | 'ENTITY_FIELD_ASC' | 'ENTITY_FIELD_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'EVENT_TABLE_ID_ASC' | 'EVENT_TABLE_ID_DESC' | 'EVENT_TABLE_NAME_ASC' | 'EVENT_TABLE_NAME_DESC' | 'HAS_AGENTS_ASC' | 'HAS_AGENTS_DESC' | 'HAS_ATTACHMENTS_ASC' | 'HAS_ATTACHMENTS_DESC' | 'HAS_PLANS_ASC' | 'HAS_PLANS_DESC' | 'HAS_REPOSITORY_RESOURCES_ASC' | 'HAS_REPOSITORY_RESOURCES_DESC' | 'HAS_RESOURCES_ASC' | 'HAS_RESOURCES_DESC' | 'HAS_RUNS_ASC' | 'HAS_RUNS_DESC' | 'ID_ASC' | 'ID_DESC' | 'MESSAGE_TABLE_ID_ASC' | 'MESSAGE_TABLE_ID_DESC' | 'MESSAGE_TABLE_NAME_ASC' | 'MESSAGE_TABLE_NAME_DESC' | 'NATURAL' | 'PERSONA_TABLE_ID_ASC' | 'PERSONA_TABLE_ID_DESC' | 'PERSONA_TABLE_NAME_ASC' | 'PERSONA_TABLE_NAME_DESC' | 'PLAN_TABLE_ID_ASC' | 'PLAN_TABLE_ID_DESC' | 'PLAN_TABLE_NAME_ASC' | 'PLAN_TABLE_NAME_DESC' | 'POLICIES_ASC' | 'POLICIES_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PROMPTS_TABLE_ID_ASC' | 'PROMPTS_TABLE_ID_DESC' | 'PROMPTS_TABLE_NAME_ASC' | 'PROMPTS_TABLE_NAME_DESC' | 'PROVISIONS_ASC' | 'PROVISIONS_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'RESOURCES_ASC' | 'RESOURCES_DESC' | 'RESOURCE_REPOSITORY_TABLE_ID_ASC' | 'RESOURCE_REPOSITORY_TABLE_ID_DESC' | 'RESOURCE_REPOSITORY_TABLE_NAME_ASC' | 'RESOURCE_REPOSITORY_TABLE_NAME_DESC' | 'RESOURCE_TABLE_ID_ASC' | 'RESOURCE_TABLE_ID_DESC' | 'RESOURCE_TABLE_NAME_ASC' | 'RESOURCE_TABLE_NAME_DESC' | 'RUN_TABLE_ID_ASC' | 'RUN_TABLE_ID_DESC' | 'RUN_TABLE_NAME_ASC' | 'RUN_TABLE_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'SETTLE_RUN_COST_FUNCTION_NAME_ASC' | 'SETTLE_RUN_COST_FUNCTION_NAME_DESC' | 'TASK_TABLE_ID_ASC' | 'TASK_TABLE_ID_DESC' | 'TASK_TABLE_NAME_ASC' | 'TASK_TABLE_NAME_DESC' | 'THREAD_TABLE_ID_ASC' | 'THREAD_TABLE_ID_DESC' | 'THREAD_TABLE_NAME_ASC' | 'THREAD_TABLE_NAME_DESC' | 'WORKSPACE_TABLE_ID_ASC' | 'WORKSPACE_TABLE_ID_DESC' | 'WORKSPACE_TABLE_NAME_ASC' | 'WORKSPACE_TABLE_NAME_DESC';
|
|
9
9
|
/** Methods to use when ordering `ApiSurfaceModule`. */
|
|
@@ -126,6 +126,8 @@ export type PhoneNumbersModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'DATA
|
|
|
126
126
|
export type PlansModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'APPLY_BILLING_PLAN_FUNCTION_ASC' | 'APPLY_BILLING_PLAN_FUNCTION_DESC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_ASC' | 'APPLY_PLAN_AGGREGATE_FUNCTION_DESC' | 'APPLY_PLAN_CAPS_FUNCTION_ASC' | 'APPLY_PLAN_CAPS_FUNCTION_DESC' | 'APPLY_PLAN_FUNCTION_ASC' | 'APPLY_PLAN_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PLANS_TABLE_ID_ASC' | 'PLANS_TABLE_ID_DESC' | 'PLANS_TABLE_NAME_ASC' | 'PLANS_TABLE_NAME_DESC' | 'PLAN_CAPS_TABLE_ID_ASC' | 'PLAN_CAPS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_ID_ASC' | 'PLAN_LIMITS_TABLE_ID_DESC' | 'PLAN_LIMITS_TABLE_NAME_ASC' | 'PLAN_LIMITS_TABLE_NAME_DESC' | 'PLAN_METER_LIMITS_TABLE_ID_ASC' | 'PLAN_METER_LIMITS_TABLE_ID_DESC' | 'PLAN_PRICING_TABLE_ID_ASC' | 'PLAN_PRICING_TABLE_ID_DESC' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC';
|
|
127
127
|
/** Methods to use when ordering `PrincipalAuthModule`. */
|
|
128
128
|
export type PrincipalAuthModuleOrderBy = 'API_NAME_ASC' | 'API_NAME_DESC' | 'AUDITS_TABLE_ID_ASC' | 'AUDITS_TABLE_ID_DESC' | 'CREATE_ORG_API_KEY_FUNCTION_ASC' | 'CREATE_ORG_API_KEY_FUNCTION_DESC' | 'CREATE_ORG_PRINCIPAL_FUNCTION_ASC' | 'CREATE_ORG_PRINCIPAL_FUNCTION_DESC' | 'CREATE_PRINCIPAL_FUNCTION_ASC' | 'CREATE_PRINCIPAL_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_ASC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_DESC' | 'DELETE_PRINCIPAL_FUNCTION_ASC' | 'DELETE_PRINCIPAL_FUNCTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPALS_TABLE_ID_ASC' | 'PRINCIPALS_TABLE_ID_DESC' | 'PRINCIPALS_TABLE_NAME_ASC' | 'PRINCIPALS_TABLE_NAME_DESC' | 'PRINCIPAL_ENTITIES_TABLE_ID_ASC' | 'PRINCIPAL_ENTITIES_TABLE_ID_DESC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_ASC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'REVOKE_ORG_API_KEY_FUNCTION_ASC' | 'REVOKE_ORG_API_KEY_FUNCTION_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SESSIONS_TABLE_ID_ASC' | 'SESSIONS_TABLE_ID_DESC' | 'SESSION_CREDENTIALS_TABLE_ID_ASC' | 'SESSION_CREDENTIALS_TABLE_ID_DESC' | 'SWEEP_EXPIRED_PRINCIPALS_FUNCTION_ASC' | 'SWEEP_EXPIRED_PRINCIPALS_FUNCTION_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC';
|
|
129
|
+
/** Methods to use when ordering `PrincipalsModule`. */
|
|
130
|
+
export type PrincipalsModuleOrderBy = 'CREATE_ORG_PRINCIPAL_FUNCTION_ASC' | 'CREATE_ORG_PRINCIPAL_FUNCTION_DESC' | 'CREATE_PRINCIPAL_FUNCTION_ASC' | 'CREATE_PRINCIPAL_FUNCTION_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_ASC' | 'DELETE_ORG_PRINCIPAL_FUNCTION_DESC' | 'DELETE_PRINCIPAL_FUNCTION_ASC' | 'DELETE_PRINCIPAL_FUNCTION_DESC' | 'ID_ASC' | 'ID_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRINCIPALS_TABLE_ID_ASC' | 'PRINCIPALS_TABLE_ID_DESC' | 'PRINCIPALS_TABLE_NAME_ASC' | 'PRINCIPALS_TABLE_NAME_DESC' | 'PRINCIPAL_ENTITIES_TABLE_ID_ASC' | 'PRINCIPAL_ENTITIES_TABLE_ID_DESC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_ASC' | 'PRINCIPAL_SCOPE_OVERRIDES_TABLE_ID_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SWEEP_EXPIRED_PRINCIPALS_FUNCTION_ASC' | 'SWEEP_EXPIRED_PRINCIPALS_FUNCTION_DESC' | 'USERS_TABLE_ID_ASC' | 'USERS_TABLE_ID_DESC';
|
|
129
131
|
/** Methods to use when ordering `ProfilesModule`. */
|
|
130
132
|
export type ProfilesModuleOrderBy = 'ACTOR_TABLE_ID_ASC' | 'ACTOR_TABLE_ID_DESC' | 'API_NAME_ASC' | 'API_NAME_DESC' | 'CAPABILITIES_TABLE_ID_ASC' | 'CAPABILITIES_TABLE_ID_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'ENTITY_FIELD_ASC' | 'ENTITY_FIELD_DESC' | 'ENTITY_TABLE_ID_ASC' | 'ENTITY_TABLE_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'MEMBERSHIPS_TABLE_ID_ASC' | 'MEMBERSHIPS_TABLE_ID_DESC' | 'MEMBERSHIP_PROFILES_TABLE_ID_ASC' | 'MEMBERSHIP_PROFILES_TABLE_ID_DESC' | 'MEMBERSHIP_PROFILES_TABLE_NAME_ASC' | 'MEMBERSHIP_PROFILES_TABLE_NAME_DESC' | 'NATURAL' | 'PREFIX_ASC' | 'PREFIX_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PRIVATE_API_NAME_ASC' | 'PRIVATE_API_NAME_DESC' | 'PRIVATE_SCHEMA_ID_ASC' | 'PRIVATE_SCHEMA_ID_DESC' | 'PRIVATE_SCHEMA_NAME_ASC' | 'PRIVATE_SCHEMA_NAME_DESC' | 'PROFILE_CAPABILITIES_TABLE_ID_ASC' | 'PROFILE_CAPABILITIES_TABLE_ID_DESC' | 'PROFILE_CAPABILITIES_TABLE_NAME_ASC' | 'PROFILE_CAPABILITIES_TABLE_NAME_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_ID_DESC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_ASC' | 'PROFILE_DEFINITION_GRANTS_TABLE_NAME_DESC' | 'PROFILE_GRANTS_TABLE_ID_ASC' | 'PROFILE_GRANTS_TABLE_ID_DESC' | 'PROFILE_GRANTS_TABLE_NAME_ASC' | 'PROFILE_GRANTS_TABLE_NAME_DESC' | 'PROFILE_TEMPLATES_TABLE_ID_ASC' | 'PROFILE_TEMPLATES_TABLE_ID_DESC' | 'PROFILE_TEMPLATES_TABLE_NAME_ASC' | 'PROFILE_TEMPLATES_TABLE_NAME_DESC' | 'PUBLIC_SCHEMA_NAME_ASC' | 'PUBLIC_SCHEMA_NAME_DESC' | 'SCHEMA_ID_ASC' | 'SCHEMA_ID_DESC' | 'SCOPE_ASC' | 'SCOPE_DESC' | 'TABLE_ID_ASC' | 'TABLE_ID_DESC' | 'TABLE_NAME_ASC' | 'TABLE_NAME_DESC';
|
|
131
133
|
/** Methods to use when ordering `RateLimitMetersModule`. */
|
|
@@ -2455,6 +2457,11 @@ export interface CreatePrincipalAuthModuleInput {
|
|
|
2455
2457
|
/** The `PrincipalAuthModule` to be created by this mutation. */
|
|
2456
2458
|
principalAuthModule: PrincipalAuthModuleInput;
|
|
2457
2459
|
}
|
|
2460
|
+
export interface CreatePrincipalsModuleInput {
|
|
2461
|
+
clientMutationId?: string;
|
|
2462
|
+
/** The `PrincipalsModule` to be created by this mutation. */
|
|
2463
|
+
principalsModule: PrincipalsModuleInput;
|
|
2464
|
+
}
|
|
2458
2465
|
export interface CreateProfilesModuleInput {
|
|
2459
2466
|
clientMutationId?: string;
|
|
2460
2467
|
/** The `ProfilesModule` to be created by this mutation. */
|
|
@@ -3636,6 +3643,10 @@ export interface DeletePrincipalAuthModuleInput {
|
|
|
3636
3643
|
clientMutationId?: string;
|
|
3637
3644
|
id: string;
|
|
3638
3645
|
}
|
|
3646
|
+
export interface DeletePrincipalsModuleInput {
|
|
3647
|
+
clientMutationId?: string;
|
|
3648
|
+
id: string;
|
|
3649
|
+
}
|
|
3639
3650
|
export interface DeleteProfilesModuleInput {
|
|
3640
3651
|
clientMutationId?: string;
|
|
3641
3652
|
id: string;
|
|
@@ -7967,6 +7978,77 @@ export interface PrincipalAuthModulePatch {
|
|
|
7967
7978
|
sweepExpiredPrincipalsFunction?: string;
|
|
7968
7979
|
usersTableId?: string;
|
|
7969
7980
|
}
|
|
7981
|
+
/** A filter to be used against `PrincipalsModule` object types. All fields are combined with a logical ‘and.’ */
|
|
7982
|
+
export interface PrincipalsModuleFilter {
|
|
7983
|
+
/** Checks for all expressions in this list. */
|
|
7984
|
+
and?: PrincipalsModuleFilter[];
|
|
7985
|
+
/** Filter by the object’s `createOrgPrincipalFunction` field. */
|
|
7986
|
+
createOrgPrincipalFunction?: StringFilter;
|
|
7987
|
+
/** Filter by the object’s `createPrincipalFunction` field. */
|
|
7988
|
+
createPrincipalFunction?: StringFilter;
|
|
7989
|
+
/** Filter by the object’s `databaseId` field. */
|
|
7990
|
+
databaseId?: UUIDFilter;
|
|
7991
|
+
/** Filter by the object’s `deleteOrgPrincipalFunction` field. */
|
|
7992
|
+
deleteOrgPrincipalFunction?: StringFilter;
|
|
7993
|
+
/** Filter by the object’s `deletePrincipalFunction` field. */
|
|
7994
|
+
deletePrincipalFunction?: StringFilter;
|
|
7995
|
+
/** Filter by the object’s `id` field. */
|
|
7996
|
+
id?: UUIDFilter;
|
|
7997
|
+
/** Negates the expression. */
|
|
7998
|
+
not?: PrincipalsModuleFilter;
|
|
7999
|
+
/** Checks for any expressions in this list. */
|
|
8000
|
+
or?: PrincipalsModuleFilter[];
|
|
8001
|
+
/** Filter by the object’s `principalEntitiesTableId` field. */
|
|
8002
|
+
principalEntitiesTableId?: UUIDFilter;
|
|
8003
|
+
/** Filter by the object’s `principalScopeOverridesTableId` field. */
|
|
8004
|
+
principalScopeOverridesTableId?: UUIDFilter;
|
|
8005
|
+
/** Filter by the object’s `principalsTableId` field. */
|
|
8006
|
+
principalsTableId?: UUIDFilter;
|
|
8007
|
+
/** Filter by the object’s `principalsTableName` field. */
|
|
8008
|
+
principalsTableName?: StringFilter;
|
|
8009
|
+
/** Filter by the object’s `privateSchemaId` field. */
|
|
8010
|
+
privateSchemaId?: UUIDFilter;
|
|
8011
|
+
/** Filter by the object’s `schemaId` field. */
|
|
8012
|
+
schemaId?: UUIDFilter;
|
|
8013
|
+
/** Filter by the object’s `sweepExpiredPrincipalsFunction` field. */
|
|
8014
|
+
sweepExpiredPrincipalsFunction?: StringFilter;
|
|
8015
|
+
/** Filter by the object’s `usersTableId` field. */
|
|
8016
|
+
usersTableId?: UUIDFilter;
|
|
8017
|
+
}
|
|
8018
|
+
/** An input for mutations affecting `PrincipalsModule` */
|
|
8019
|
+
export interface PrincipalsModuleInput {
|
|
8020
|
+
createOrgPrincipalFunction?: string;
|
|
8021
|
+
createPrincipalFunction?: string;
|
|
8022
|
+
databaseId: string;
|
|
8023
|
+
deleteOrgPrincipalFunction?: string;
|
|
8024
|
+
deletePrincipalFunction?: string;
|
|
8025
|
+
id?: string;
|
|
8026
|
+
principalEntitiesTableId?: string;
|
|
8027
|
+
principalScopeOverridesTableId?: string;
|
|
8028
|
+
principalsTableId?: string;
|
|
8029
|
+
principalsTableName?: string;
|
|
8030
|
+
privateSchemaId?: string;
|
|
8031
|
+
schemaId?: string;
|
|
8032
|
+
sweepExpiredPrincipalsFunction?: string;
|
|
8033
|
+
usersTableId?: string;
|
|
8034
|
+
}
|
|
8035
|
+
/** Represents an update to a `PrincipalsModule`. Fields that are set will be updated. */
|
|
8036
|
+
export interface PrincipalsModulePatch {
|
|
8037
|
+
createOrgPrincipalFunction?: string;
|
|
8038
|
+
createPrincipalFunction?: string;
|
|
8039
|
+
databaseId?: string;
|
|
8040
|
+
deleteOrgPrincipalFunction?: string;
|
|
8041
|
+
deletePrincipalFunction?: string;
|
|
8042
|
+
id?: string;
|
|
8043
|
+
principalEntitiesTableId?: string;
|
|
8044
|
+
principalScopeOverridesTableId?: string;
|
|
8045
|
+
principalsTableId?: string;
|
|
8046
|
+
principalsTableName?: string;
|
|
8047
|
+
privateSchemaId?: string;
|
|
8048
|
+
schemaId?: string;
|
|
8049
|
+
sweepExpiredPrincipalsFunction?: string;
|
|
8050
|
+
usersTableId?: string;
|
|
8051
|
+
}
|
|
7970
8052
|
/** A filter to be used against `ProfilesModule` object types. All fields are combined with a logical ‘and.’ */
|
|
7971
8053
|
export interface ProfilesModuleFilter {
|
|
7972
8054
|
/** Filter by the object’s `actorTableId` field. */
|
|
@@ -10449,6 +10531,12 @@ export interface UpdatePrincipalAuthModuleInput {
|
|
|
10449
10531
|
/** An object where the defined keys will be set on the `PrincipalAuthModule` being updated. */
|
|
10450
10532
|
principalAuthModulePatch: PrincipalAuthModulePatch;
|
|
10451
10533
|
}
|
|
10534
|
+
export interface UpdatePrincipalsModuleInput {
|
|
10535
|
+
clientMutationId?: string;
|
|
10536
|
+
id: string;
|
|
10537
|
+
/** An object where the defined keys will be set on the `PrincipalsModule` being updated. */
|
|
10538
|
+
principalsModulePatch: PrincipalsModulePatch;
|
|
10539
|
+
}
|
|
10452
10540
|
export interface UpdateProfilesModuleInput {
|
|
10453
10541
|
clientMutationId?: string;
|
|
10454
10542
|
id: string;
|
|
@@ -11661,6 +11749,13 @@ export interface PrincipalAuthModuleConnection {
|
|
|
11661
11749
|
pageInfo: PageInfo;
|
|
11662
11750
|
totalCount: number;
|
|
11663
11751
|
}
|
|
11752
|
+
/** A connection to a list of `PrincipalsModule` values. */
|
|
11753
|
+
export interface PrincipalsModuleConnection {
|
|
11754
|
+
edges: PrincipalsModuleEdge[];
|
|
11755
|
+
nodes: PrincipalsModule[];
|
|
11756
|
+
pageInfo: PageInfo;
|
|
11757
|
+
totalCount: number;
|
|
11758
|
+
}
|
|
11664
11759
|
/** A connection to a list of `ProfilesModule` values. */
|
|
11665
11760
|
export interface ProfilesModuleConnection {
|
|
11666
11761
|
edges: ProfilesModuleEdge[];
|
|
@@ -12224,6 +12319,12 @@ export interface CreatePrincipalAuthModulePayload {
|
|
|
12224
12319
|
principalAuthModule?: PrincipalAuthModule | null;
|
|
12225
12320
|
principalAuthModuleEdge?: PrincipalAuthModuleEdge | null;
|
|
12226
12321
|
}
|
|
12322
|
+
export interface CreatePrincipalsModulePayload {
|
|
12323
|
+
clientMutationId?: string | null;
|
|
12324
|
+
/** The `PrincipalsModule` that was created by this mutation. */
|
|
12325
|
+
principalsModule?: PrincipalsModule | null;
|
|
12326
|
+
principalsModuleEdge?: PrincipalsModuleEdge | null;
|
|
12327
|
+
}
|
|
12227
12328
|
export interface CreateProfilesModulePayload {
|
|
12228
12329
|
clientMutationId?: string | null;
|
|
12229
12330
|
/** The `ProfilesModule` that was created by this mutation. */
|
|
@@ -12752,6 +12853,12 @@ export interface DeletePrincipalAuthModulePayload {
|
|
|
12752
12853
|
principalAuthModule?: PrincipalAuthModule | null;
|
|
12753
12854
|
principalAuthModuleEdge?: PrincipalAuthModuleEdge | null;
|
|
12754
12855
|
}
|
|
12856
|
+
export interface DeletePrincipalsModulePayload {
|
|
12857
|
+
clientMutationId?: string | null;
|
|
12858
|
+
/** The `PrincipalsModule` that was deleted by this mutation. */
|
|
12859
|
+
principalsModule?: PrincipalsModule | null;
|
|
12860
|
+
principalsModuleEdge?: PrincipalsModuleEdge | null;
|
|
12861
|
+
}
|
|
12755
12862
|
export interface DeleteProfilesModulePayload {
|
|
12756
12863
|
clientMutationId?: string | null;
|
|
12757
12864
|
/** The `ProfilesModule` that was deleted by this mutation. */
|
|
@@ -13289,6 +13396,12 @@ export interface UpdatePrincipalAuthModulePayload {
|
|
|
13289
13396
|
principalAuthModule?: PrincipalAuthModule | null;
|
|
13290
13397
|
principalAuthModuleEdge?: PrincipalAuthModuleEdge | null;
|
|
13291
13398
|
}
|
|
13399
|
+
export interface UpdatePrincipalsModulePayload {
|
|
13400
|
+
clientMutationId?: string | null;
|
|
13401
|
+
/** The `PrincipalsModule` that was updated by this mutation. */
|
|
13402
|
+
principalsModule?: PrincipalsModule | null;
|
|
13403
|
+
principalsModuleEdge?: PrincipalsModuleEdge | null;
|
|
13404
|
+
}
|
|
13292
13405
|
export interface UpdateProfilesModulePayload {
|
|
13293
13406
|
clientMutationId?: string | null;
|
|
13294
13407
|
/** The `ProfilesModule` that was updated by this mutation. */
|
|
@@ -13861,6 +13974,12 @@ export interface PrincipalAuthModuleEdge {
|
|
|
13861
13974
|
/** The `PrincipalAuthModule` at the end of the edge. */
|
|
13862
13975
|
node?: PrincipalAuthModule | null;
|
|
13863
13976
|
}
|
|
13977
|
+
/** A `PrincipalsModule` edge in the connection. */
|
|
13978
|
+
export interface PrincipalsModuleEdge {
|
|
13979
|
+
cursor?: string | null;
|
|
13980
|
+
/** The `PrincipalsModule` at the end of the edge. */
|
|
13981
|
+
node?: PrincipalsModule | null;
|
|
13982
|
+
}
|
|
13864
13983
|
/** A `ProfilesModule` edge in the connection. */
|
|
13865
13984
|
export interface ProfilesModuleEdge {
|
|
13866
13985
|
cursor?: string | null;
|
|
@@ -14174,10 +14293,14 @@ export interface MetaEnum {
|
|
|
14174
14293
|
}
|
|
14175
14294
|
/** How a field holds files */
|
|
14176
14295
|
export interface MetaFileField {
|
|
14296
|
+
/** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
|
|
14297
|
+
bucketKey?: string | null;
|
|
14177
14298
|
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
14178
14299
|
filesType?: string | null;
|
|
14179
14300
|
/** Whether the field holds a list of files */
|
|
14180
14301
|
isMultiple: boolean;
|
|
14302
|
+
/** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
|
|
14303
|
+
isPublic?: boolean | null;
|
|
14181
14304
|
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
14182
14305
|
kind: string;
|
|
14183
14306
|
}
|
package/esm/modules/types.d.ts
CHANGED
|
@@ -1388,6 +1388,22 @@ export interface PrincipalAuthModule {
|
|
|
1388
1388
|
sweepExpiredPrincipalsFunction: string | null;
|
|
1389
1389
|
usersTableId: string | null;
|
|
1390
1390
|
}
|
|
1391
|
+
export interface PrincipalsModule {
|
|
1392
|
+
createOrgPrincipalFunction: string | null;
|
|
1393
|
+
createPrincipalFunction: string | null;
|
|
1394
|
+
databaseId: string | null;
|
|
1395
|
+
deleteOrgPrincipalFunction: string | null;
|
|
1396
|
+
deletePrincipalFunction: string | null;
|
|
1397
|
+
id: string | null;
|
|
1398
|
+
principalEntitiesTableId: string | null;
|
|
1399
|
+
principalScopeOverridesTableId: string | null;
|
|
1400
|
+
principalsTableId: string | null;
|
|
1401
|
+
principalsTableName: string | null;
|
|
1402
|
+
privateSchemaId: string | null;
|
|
1403
|
+
schemaId: string | null;
|
|
1404
|
+
sweepExpiredPrincipalsFunction: string | null;
|
|
1405
|
+
usersTableId: string | null;
|
|
1406
|
+
}
|
|
1391
1407
|
export interface ProfilesModule {
|
|
1392
1408
|
actorTableId: string | null;
|
|
1393
1409
|
apiName: string | null;
|
|
@@ -730,10 +730,14 @@ export interface MetaEnum {
|
|
|
730
730
|
}
|
|
731
731
|
/** How a field holds files */
|
|
732
732
|
export interface MetaFileField {
|
|
733
|
+
/** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
|
|
734
|
+
bucketKey?: string | null;
|
|
733
735
|
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
734
736
|
filesType?: string | null;
|
|
735
737
|
/** Whether the field holds a list of files */
|
|
736
738
|
isMultiple: boolean;
|
|
739
|
+
/** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
|
|
740
|
+
isPublic?: boolean | null;
|
|
737
741
|
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
738
742
|
kind: string;
|
|
739
743
|
}
|
|
@@ -760,10 +760,14 @@ export interface MetaEnum {
|
|
|
760
760
|
}
|
|
761
761
|
/** How a field holds files */
|
|
762
762
|
export interface MetaFileField {
|
|
763
|
+
/** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
|
|
764
|
+
bucketKey?: string | null;
|
|
763
765
|
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
764
766
|
filesType?: string | null;
|
|
765
767
|
/** Whether the field holds a list of files */
|
|
766
768
|
isMultiple: boolean;
|
|
769
|
+
/** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
|
|
770
|
+
isPublic?: boolean | null;
|
|
767
771
|
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
768
772
|
kind: string;
|
|
769
773
|
}
|
|
@@ -1137,10 +1137,14 @@ export interface MetaEnum {
|
|
|
1137
1137
|
}
|
|
1138
1138
|
/** How a field holds files */
|
|
1139
1139
|
export interface MetaFileField {
|
|
1140
|
+
/** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
|
|
1141
|
+
bucketKey?: string | null;
|
|
1140
1142
|
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
1141
1143
|
filesType?: string | null;
|
|
1142
1144
|
/** Whether the field holds a list of files */
|
|
1143
1145
|
isMultiple: boolean;
|
|
1146
|
+
/** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
|
|
1147
|
+
isPublic?: boolean | null;
|
|
1144
1148
|
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
1145
1149
|
kind: string;
|
|
1146
1150
|
}
|
|
@@ -2256,10 +2256,14 @@ export interface MetaEnum {
|
|
|
2256
2256
|
}
|
|
2257
2257
|
/** How a field holds files */
|
|
2258
2258
|
export interface MetaFileField {
|
|
2259
|
+
/** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
|
|
2260
|
+
bucketKey?: string | null;
|
|
2259
2261
|
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
2260
2262
|
filesType?: string | null;
|
|
2261
2263
|
/** Whether the field holds a list of files */
|
|
2262
2264
|
isMultiple: boolean;
|
|
2265
|
+
/** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
|
|
2266
|
+
isPublic?: boolean | null;
|
|
2263
2267
|
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
2264
2268
|
kind: string;
|
|
2265
2269
|
}
|
package/infra/schema-types.d.ts
CHANGED
|
@@ -1496,10 +1496,14 @@ export interface MetaEnum {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
/** How a field holds files */
|
|
1498
1498
|
export interface MetaFileField {
|
|
1499
|
+
/** Bucket key the field is bound to; uploads for it must go to this bucket. Null when the field is not bound to one */
|
|
1500
|
+
bucketKey?: string | null;
|
|
1499
1501
|
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
1500
1502
|
filesType?: string | null;
|
|
1501
1503
|
/** Whether the field holds a list of files */
|
|
1502
1504
|
isMultiple: boolean;
|
|
1505
|
+
/** Whether the bound bucket must be public (true) or private (false); null when the binding does not say */
|
|
1506
|
+
isPublic?: boolean | null;
|
|
1503
1507
|
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
1504
1508
|
kind: string;
|
|
1505
1509
|
}
|
package/modules/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: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
|
|
5
|
+
* Tables: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, PrincipalsModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
package/modules/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: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
|
|
21
|
+
* Tables: AgentModule, ApiSurfaceModule, AppModule, BillingModule, BillingProviderModule, Blueprint, BlueprintConstruction, BlueprintTemplate, CapabilitiesModule, CatalogModule, ClusterModule, ComputeLogModule, ConnectedAccountsModule, ContentPresetModule, CryptoAddressesModule, CryptoAuthModule, DataCapabilitiesField, DatabaseProvisionModule, DatabaseSettingsModule, DbPoolConfig, DbPool, DbPresetModule, DbUsageModule, DefaultIdsModule, DenormalizedTableField, DevicesModule, DomainModule, EmailSenderModule, EmailsModule, EntityTypeProvision, EventsModule, FileRefField, FunctionDeploymentModule, FunctionInvocationModule, FunctionModule, GraphExecutionModule, GraphModule, HierarchyModule, I18NModule, IdentityProvidersModule, ImageModule, InferenceLogModule, InfraConfigModule, InfraSecretsModule, IntegrationProvidersModule, InternalConfigModule, InternalSecretsModule, InvitesModule, K8sAdmissionModule, LimitsModule, MachineModule, MembershipTypesModule, MembershipsModule, MerkleStoreModule, NamespaceModule, NotificationsModule, OauthRequestsModule, PagesModule, PhoneNumbersModule, PlansModule, PrincipalAuthModule, PrincipalsModule, ProfilesModule, RateLimitMetersModule, RateLimitsModule, RealtimeModule, RefusalLogModule, RelationProvision, RepositoryModule, ResourceModule, RlsModule, RouteModule, ScopeTypesModule, SecureTableProvision, SessionSecretsModule, SessionsModule, SiteSurfaceModule, StorageLogModule, StorageModule, TransferLogModule, UserAuthModule, UserCredentialsModule, UserSettingsModule, UserSettingsSecurityModule, UserStateModule, UsersModule, WebauthnAuthModule, WebauthnCredentialsModule, WebhookModule
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|
|
@@ -329,6 +329,11 @@ export declare const invalidate: {
|
|
|
329
329
|
/** Invalidate principalAuthModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
330
330
|
/** Invalidate a specific principalAuthModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
331
331
|
};
|
|
332
|
+
/** Invalidate principalsModule queries */ readonly principalsModule: {
|
|
333
|
+
/** Invalidate all principalsModule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
334
|
+
/** Invalidate principalsModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
335
|
+
/** Invalidate a specific principalsModule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
336
|
+
};
|
|
332
337
|
/** Invalidate profilesModule queries */ readonly profilesModule: {
|
|
333
338
|
/** Invalidate all profilesModule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
334
339
|
/** Invalidate profilesModule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -538,6 +543,7 @@ export declare const remove: {
|
|
|
538
543
|
/** Remove phoneNumbersModule from cache */ readonly phoneNumbersModule: (queryClient: QueryClient, id: string | number) => void;
|
|
539
544
|
/** Remove plansModule from cache */ readonly plansModule: (queryClient: QueryClient, id: string | number) => void;
|
|
540
545
|
/** Remove principalAuthModule from cache */ readonly principalAuthModule: (queryClient: QueryClient, id: string | number) => void;
|
|
546
|
+
/** Remove principalsModule from cache */ readonly principalsModule: (queryClient: QueryClient, id: string | number) => void;
|
|
541
547
|
/** Remove profilesModule from cache */ readonly profilesModule: (queryClient: QueryClient, id: string | number) => void;
|
|
542
548
|
/** Remove rateLimitMetersModule from cache */ readonly rateLimitMetersModule: (queryClient: QueryClient, id: string | number) => void;
|
|
543
549
|
/** Remove rateLimitsModule from cache */ readonly rateLimitsModule: (queryClient: QueryClient, id: string | number) => void;
|
|
@@ -698,6 +698,17 @@ exports.invalidate = {
|
|
|
698
698
|
queryKey: query_keys_1.principalAuthModuleKeys.detail(id),
|
|
699
699
|
}),
|
|
700
700
|
},
|
|
701
|
+
/** Invalidate principalsModule queries */ principalsModule: {
|
|
702
|
+
/** Invalidate all principalsModule queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
703
|
+
queryKey: query_keys_1.principalsModuleKeys.all,
|
|
704
|
+
}),
|
|
705
|
+
/** Invalidate principalsModule list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
706
|
+
queryKey: query_keys_1.principalsModuleKeys.lists(),
|
|
707
|
+
}),
|
|
708
|
+
/** Invalidate a specific principalsModule */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
709
|
+
queryKey: query_keys_1.principalsModuleKeys.detail(id),
|
|
710
|
+
}),
|
|
711
|
+
},
|
|
701
712
|
/** Invalidate profilesModule queries */ profilesModule: {
|
|
702
713
|
/** Invalidate all profilesModule queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
703
714
|
queryKey: query_keys_1.profilesModuleKeys.all,
|
|
@@ -1313,6 +1324,11 @@ exports.remove = {
|
|
|
1313
1324
|
queryKey: query_keys_1.principalAuthModuleKeys.detail(id),
|
|
1314
1325
|
});
|
|
1315
1326
|
},
|
|
1327
|
+
/** Remove principalsModule from cache */ principalsModule: (queryClient, id) => {
|
|
1328
|
+
queryClient.removeQueries({
|
|
1329
|
+
queryKey: query_keys_1.principalsModuleKeys.detail(id),
|
|
1330
|
+
});
|
|
1331
|
+
},
|
|
1316
1332
|
/** Remove profilesModule from cache */ profilesModule: (queryClient, id) => {
|
|
1317
1333
|
queryClient.removeQueries({
|
|
1318
1334
|
queryKey: query_keys_1.profilesModuleKeys.detail(id),
|
|
@@ -369,6 +369,12 @@ export declare const principalAuthModuleMutationKeys: {
|
|
|
369
369
|
/** Update principalAuthModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "principalauthmodule", "update", string | number];
|
|
370
370
|
/** Delete principalAuthModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "principalauthmodule", "delete", string | number];
|
|
371
371
|
};
|
|
372
|
+
export declare const principalsModuleMutationKeys: {
|
|
373
|
+
/** All principalsModule mutation keys */ readonly all: readonly ["mutation", "principalsmodule"];
|
|
374
|
+
/** Create principalsModule mutation key */ readonly create: () => readonly ["mutation", "principalsmodule", "create"];
|
|
375
|
+
/** Update principalsModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "principalsmodule", "update", string | number];
|
|
376
|
+
/** Delete principalsModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "principalsmodule", "delete", string | number];
|
|
377
|
+
};
|
|
372
378
|
export declare const profilesModuleMutationKeys: {
|
|
373
379
|
/** All profilesModule mutation keys */ readonly all: readonly ["mutation", "profilesmodule"];
|
|
374
380
|
/** Create profilesModule mutation key */ readonly create: () => readonly ["mutation", "profilesmodule", "create"];
|
|
@@ -925,6 +931,12 @@ export declare const mutationKeys: {
|
|
|
925
931
|
/** Update principalAuthModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "principalauthmodule", "update", string | number];
|
|
926
932
|
/** Delete principalAuthModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "principalauthmodule", "delete", string | number];
|
|
927
933
|
};
|
|
934
|
+
readonly principalsModule: {
|
|
935
|
+
/** All principalsModule mutation keys */ readonly all: readonly ["mutation", "principalsmodule"];
|
|
936
|
+
/** Create principalsModule mutation key */ readonly create: () => readonly ["mutation", "principalsmodule", "create"];
|
|
937
|
+
/** Update principalsModule mutation key */ readonly update: (id: string | number) => readonly ["mutation", "principalsmodule", "update", string | number];
|
|
938
|
+
/** Delete principalsModule mutation key */ readonly delete: (id: string | number) => readonly ["mutation", "principalsmodule", "delete", string | number];
|
|
939
|
+
};
|
|
928
940
|
readonly profilesModule: {
|
|
929
941
|
/** All profilesModule mutation keys */ readonly all: readonly ["mutation", "profilesmodule"];
|
|
930
942
|
/** Create profilesModule mutation key */ readonly create: () => readonly ["mutation", "profilesmodule", "create"];
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
8
|
exports.limitsModuleMutationKeys = exports.k8sAdmissionModuleMutationKeys = exports.invitesModuleMutationKeys = exports.internalSecretsModuleMutationKeys = exports.internalConfigModuleMutationKeys = exports.integrationProvidersModuleMutationKeys = exports.infraSecretsModuleMutationKeys = exports.infraConfigModuleMutationKeys = exports.inferenceLogModuleMutationKeys = exports.imageModuleMutationKeys = exports.identityProvidersModuleMutationKeys = exports.i18NModuleMutationKeys = exports.hierarchyModuleMutationKeys = exports.graphModuleMutationKeys = exports.graphExecutionModuleMutationKeys = exports.functionModuleMutationKeys = exports.functionInvocationModuleMutationKeys = exports.functionDeploymentModuleMutationKeys = exports.fileRefFieldMutationKeys = exports.eventsModuleMutationKeys = exports.entityTypeProvisionMutationKeys = exports.emailsModuleMutationKeys = exports.emailSenderModuleMutationKeys = exports.domainModuleMutationKeys = exports.devicesModuleMutationKeys = exports.denormalizedTableFieldMutationKeys = exports.defaultIdsModuleMutationKeys = exports.dbUsageModuleMutationKeys = exports.dbPresetModuleMutationKeys = exports.dbPoolMutationKeys = exports.dbPoolConfigMutationKeys = exports.databaseSettingsModuleMutationKeys = exports.databaseProvisionModuleMutationKeys = exports.dataCapabilitiesFieldMutationKeys = exports.cryptoAuthModuleMutationKeys = exports.cryptoAddressesModuleMutationKeys = exports.contentPresetModuleMutationKeys = exports.connectedAccountsModuleMutationKeys = exports.computeLogModuleMutationKeys = exports.clusterModuleMutationKeys = exports.catalogModuleMutationKeys = exports.capabilitiesModuleMutationKeys = exports.blueprintTemplateMutationKeys = exports.blueprintConstructionMutationKeys = exports.blueprintMutationKeys = exports.billingProviderModuleMutationKeys = exports.billingModuleMutationKeys = exports.appModuleMutationKeys = exports.apiSurfaceModuleMutationKeys = exports.agentModuleMutationKeys = void 0;
|
|
9
|
-
exports.mutationKeys = exports.customMutationKeys = exports.webhookModuleMutationKeys = exports.webauthnCredentialsModuleMutationKeys = exports.webauthnAuthModuleMutationKeys = exports.usersModuleMutationKeys = exports.userStateModuleMutationKeys = exports.userSettingsSecurityModuleMutationKeys = exports.userSettingsModuleMutationKeys = exports.userCredentialsModuleMutationKeys = exports.userAuthModuleMutationKeys = exports.transferLogModuleMutationKeys = exports.storageModuleMutationKeys = exports.storageLogModuleMutationKeys = exports.siteSurfaceModuleMutationKeys = exports.sessionsModuleMutationKeys = exports.sessionSecretsModuleMutationKeys = exports.secureTableProvisionMutationKeys = exports.scopeTypesModuleMutationKeys = exports.routeModuleMutationKeys = exports.rlsModuleMutationKeys = exports.resourceModuleMutationKeys = exports.repositoryModuleMutationKeys = exports.relationProvisionMutationKeys = exports.refusalLogModuleMutationKeys = exports.realtimeModuleMutationKeys = exports.rateLimitsModuleMutationKeys = exports.rateLimitMetersModuleMutationKeys = exports.profilesModuleMutationKeys = exports.principalAuthModuleMutationKeys = exports.plansModuleMutationKeys = exports.phoneNumbersModuleMutationKeys = exports.pagesModuleMutationKeys = exports.oauthRequestsModuleMutationKeys = exports.notificationsModuleMutationKeys = exports.namespaceModuleMutationKeys = exports.merkleStoreModuleMutationKeys = exports.membershipsModuleMutationKeys = exports.membershipTypesModuleMutationKeys = exports.machineModuleMutationKeys = void 0;
|
|
9
|
+
exports.mutationKeys = exports.customMutationKeys = exports.webhookModuleMutationKeys = exports.webauthnCredentialsModuleMutationKeys = exports.webauthnAuthModuleMutationKeys = exports.usersModuleMutationKeys = exports.userStateModuleMutationKeys = exports.userSettingsSecurityModuleMutationKeys = exports.userSettingsModuleMutationKeys = exports.userCredentialsModuleMutationKeys = exports.userAuthModuleMutationKeys = exports.transferLogModuleMutationKeys = exports.storageModuleMutationKeys = exports.storageLogModuleMutationKeys = exports.siteSurfaceModuleMutationKeys = exports.sessionsModuleMutationKeys = exports.sessionSecretsModuleMutationKeys = exports.secureTableProvisionMutationKeys = exports.scopeTypesModuleMutationKeys = exports.routeModuleMutationKeys = exports.rlsModuleMutationKeys = exports.resourceModuleMutationKeys = exports.repositoryModuleMutationKeys = exports.relationProvisionMutationKeys = exports.refusalLogModuleMutationKeys = exports.realtimeModuleMutationKeys = exports.rateLimitsModuleMutationKeys = exports.rateLimitMetersModuleMutationKeys = exports.profilesModuleMutationKeys = exports.principalsModuleMutationKeys = exports.principalAuthModuleMutationKeys = exports.plansModuleMutationKeys = exports.phoneNumbersModuleMutationKeys = exports.pagesModuleMutationKeys = exports.oauthRequestsModuleMutationKeys = exports.notificationsModuleMutationKeys = exports.namespaceModuleMutationKeys = exports.merkleStoreModuleMutationKeys = exports.membershipsModuleMutationKeys = exports.membershipTypesModuleMutationKeys = exports.machineModuleMutationKeys = void 0;
|
|
10
10
|
// ============================================================================
|
|
11
11
|
// Mutation keys for tracking in-flight mutations
|
|
12
12
|
//
|
|
@@ -427,6 +427,12 @@ exports.principalAuthModuleMutationKeys = {
|
|
|
427
427
|
/** Update principalAuthModule mutation key */ update: (id) => ['mutation', 'principalauthmodule', 'update', id],
|
|
428
428
|
/** Delete principalAuthModule mutation key */ delete: (id) => ['mutation', 'principalauthmodule', 'delete', id],
|
|
429
429
|
};
|
|
430
|
+
exports.principalsModuleMutationKeys = {
|
|
431
|
+
/** All principalsModule mutation keys */ all: ['mutation', 'principalsmodule'],
|
|
432
|
+
/** Create principalsModule mutation key */ create: () => ['mutation', 'principalsmodule', 'create'],
|
|
433
|
+
/** Update principalsModule mutation key */ update: (id) => ['mutation', 'principalsmodule', 'update', id],
|
|
434
|
+
/** Delete principalsModule mutation key */ delete: (id) => ['mutation', 'principalsmodule', 'delete', id],
|
|
435
|
+
};
|
|
430
436
|
exports.profilesModuleMutationKeys = {
|
|
431
437
|
/** All profilesModule mutation keys */ all: ['mutation', 'profilesmodule'],
|
|
432
438
|
/** Create profilesModule mutation key */ create: () => ['mutation', 'profilesmodule', 'create'],
|
|
@@ -699,6 +705,7 @@ exports.mutationKeys = {
|
|
|
699
705
|
phoneNumbersModule: exports.phoneNumbersModuleMutationKeys,
|
|
700
706
|
plansModule: exports.plansModuleMutationKeys,
|
|
701
707
|
principalAuthModule: exports.principalAuthModuleMutationKeys,
|
|
708
|
+
principalsModule: exports.principalsModuleMutationKeys,
|
|
702
709
|
profilesModule: exports.profilesModuleMutationKeys,
|
|
703
710
|
rateLimitMetersModule: exports.rateLimitMetersModuleMutationKeys,
|
|
704
711
|
rateLimitsModule: exports.rateLimitsModuleMutationKeys,
|
|
@@ -186,6 +186,9 @@ export * from './useDeletePlansModuleMutation';
|
|
|
186
186
|
export * from './useCreatePrincipalAuthModuleMutation';
|
|
187
187
|
export * from './useUpdatePrincipalAuthModuleMutation';
|
|
188
188
|
export * from './useDeletePrincipalAuthModuleMutation';
|
|
189
|
+
export * from './useCreatePrincipalsModuleMutation';
|
|
190
|
+
export * from './useUpdatePrincipalsModuleMutation';
|
|
191
|
+
export * from './useDeletePrincipalsModuleMutation';
|
|
189
192
|
export * from './useCreateProfilesModuleMutation';
|
|
190
193
|
export * from './useUpdateProfilesModuleMutation';
|
|
191
194
|
export * from './useDeleteProfilesModuleMutation';
|
|
@@ -202,6 +202,9 @@ __exportStar(require("./useDeletePlansModuleMutation"), exports);
|
|
|
202
202
|
__exportStar(require("./useCreatePrincipalAuthModuleMutation"), exports);
|
|
203
203
|
__exportStar(require("./useUpdatePrincipalAuthModuleMutation"), exports);
|
|
204
204
|
__exportStar(require("./useDeletePrincipalAuthModuleMutation"), exports);
|
|
205
|
+
__exportStar(require("./useCreatePrincipalsModuleMutation"), exports);
|
|
206
|
+
__exportStar(require("./useUpdatePrincipalsModuleMutation"), exports);
|
|
207
|
+
__exportStar(require("./useDeletePrincipalsModuleMutation"), exports);
|
|
205
208
|
__exportStar(require("./useCreateProfilesModuleMutation"), exports);
|
|
206
209
|
__exportStar(require("./useUpdateProfilesModuleMutation"), exports);
|
|
207
210
|
__exportStar(require("./useDeleteProfilesModuleMutation"), exports);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Provisions
|
|
2
|
+
* Provisions credentials for principals on top of principals_module: API keys, child sessions, delegation and token exchange, and org API key management. Requires the built-in auth stack (sessions_module, user_auth_module); installing it provisions principals_module first when the database does not have it. Org API key functions are only generated when an org-scoped memberships_module exists for the database.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
@@ -8,7 +8,7 @@ import type { PrincipalAuthModuleSelect, PrincipalAuthModuleWithRelations, Creat
|
|
|
8
8
|
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
9
|
export type { PrincipalAuthModuleSelect, PrincipalAuthModuleWithRelations, CreatePrincipalAuthModuleInput, } from '../../orm/input-types';
|
|
10
10
|
/**
|
|
11
|
-
* Provisions
|
|
11
|
+
* Provisions credentials for principals on top of principals_module: API keys, child sessions, delegation and token exchange, and org API key management. Requires the built-in auth stack (sessions_module, user_auth_module); installing it provisions principals_module first when the database does not have it. Org API key functions are only generated when an org-scoped memberships_module exists for the database.
|
|
12
12
|
*
|
|
13
13
|
* @example
|
|
14
14
|
* ```tsx
|