@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,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PrincipalsModuleModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PrincipalsModuleModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PrincipalsModule', 'principalsModules', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'PrincipalsModuleFilter', 'PrincipalsModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'PrincipalsModule',
|
|
25
|
+
fieldName: 'principalsModules',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('PrincipalsModule', 'principalsModules', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PrincipalsModuleFilter', 'PrincipalsModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'PrincipalsModule',
|
|
39
|
+
fieldName: 'principalsModule',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
principalsModule: data.principalsModules?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('PrincipalsModule', 'principalsModules', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PrincipalsModuleFilter', 'PrincipalsModuleOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'PrincipalsModule',
|
|
60
|
+
fieldName: 'principalsModule',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
principalsModule: data.principalsModules?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('PrincipalsModule', 'createPrincipalsModule', 'principalsModule', args.select, args.data, 'CreatePrincipalsModuleInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'PrincipalsModule',
|
|
74
|
+
fieldName: 'createPrincipalsModule',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('PrincipalsModule', 'updatePrincipalsModule', 'principalsModule', args.select, args.where.id, args.data, 'UpdatePrincipalsModuleInput', 'id', 'principalsModulePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'PrincipalsModule',
|
|
85
|
+
fieldName: 'updatePrincipalsModule',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('PrincipalsModule', 'deletePrincipalsModule', 'principalsModule', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePrincipalsModuleInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'PrincipalsModule',
|
|
98
|
+
fieldName: 'deletePrincipalsModule',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PrincipalsModuleModel = PrincipalsModuleModel;
|
|
@@ -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/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
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/react",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.49",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive React - Auto-generated React Query hooks and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"@0no-co/graphql.web": "^1.3.3",
|
|
34
34
|
"@tanstack/react-query": "^5.90.21",
|
|
35
35
|
"graphql": "16.13.0",
|
|
36
|
-
"@constructive-io/graphql-query": "^4.24.
|
|
37
|
-
"
|
|
38
|
-
"
|
|
36
|
+
"@constructive-io/graphql-query": "^4.24.23",
|
|
37
|
+
"@constructive-io/graphql-types": "^3.36.5",
|
|
38
|
+
"gql-ast": "^3.26.1"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
41
|
"react": "^18.0.0 || ^19.0.0"
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"react": "^19.2.8",
|
|
48
48
|
"tsx": "^4.19.0",
|
|
49
49
|
"typescript": "^6.0.3",
|
|
50
|
-
"@constructive-io/graphql-codegen": "^5.25.
|
|
50
|
+
"@constructive-io/graphql-codegen": "^5.25.49"
|
|
51
51
|
},
|
|
52
52
|
"scripts": {
|
|
53
53
|
"clean": "makage clean",
|
package/remote/schema-types.d.ts
CHANGED
|
@@ -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
|
}
|
package/usage/schema-types.d.ts
CHANGED
|
@@ -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
|
}
|