@constructive-io/react 0.23.9 → 0.23.11
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/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +30 -6
- package/admin/hooks/invalidation.js +80 -16
- package/admin/hooks/mutation-keys.d.ts +60 -12
- package/admin/hooks/mutation-keys.js +48 -8
- package/admin/hooks/mutations/index.d.ts +15 -3
- package/admin/hooks/mutations/index.js +15 -3
- package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +34 -0
- package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +39 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +39 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +39 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +40 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +10 -2
- package/admin/hooks/queries/index.js +10 -2
- package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
- package/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +53 -0
- package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
- package/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +38 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +53 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +38 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +53 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +38 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +53 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +70 -14
- package/admin/hooks/query-keys.js +45 -9
- package/admin/orm/index.d.ts +10 -2
- package/admin/orm/index.js +10 -2
- package/admin/orm/input-types.d.ts +1611 -230
- package/admin/orm/input-types.js +9 -1
- package/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/appPermissionDefaultPermission.js +104 -0
- package/admin/orm/models/index.d.ts +5 -1
- package/admin/orm/models/index.js +11 -3
- package/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultGrant.js +104 -0
- package/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/admin/orm/models/orgPermissionDefaultPermission.js +104 -0
- package/admin/schema-types.d.ts +702 -271
- package/admin/types.d.ts +49 -15
- package/agent/orm/input-types.d.ts +289 -47
- package/agent/orm/input-types.js +1 -0
- package/agent/schema-types.d.ts +37 -14
- package/agent/types.d.ts +3 -2
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +8 -1
- package/api/hooks/mutations/index.d.ts +3 -0
- package/api/hooks/mutations/index.js +3 -0
- package/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateCompositeTypeMutation.js +34 -0
- package/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteCompositeTypeMutation.js +39 -0
- package/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateCompositeTypeMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +2 -0
- package/api/hooks/queries/index.js +2 -0
- package/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
- package/api/hooks/queries/useCompositeTypeQuery.js +53 -0
- package/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
- package/api/hooks/queries/useCompositeTypesQuery.js +38 -0
- package/api/hooks/query-keys.d.ts +14 -0
- package/api/hooks/query-keys.js +9 -1
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +1064 -125
- package/api/orm/input-types.js +3 -0
- package/api/orm/models/compositeType.d.ts +54 -0
- package/api/orm/models/compositeType.js +104 -0
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +3 -1
- package/api/schema-types.d.ts +664 -560
- package/api/types.d.ts +15 -14
- package/auth/hooks/mutation-keys.d.ts +6 -0
- package/auth/hooks/mutation-keys.js +9 -0
- package/auth/hooks/mutations/index.d.ts +3 -0
- package/auth/hooks/mutations/index.js +3 -0
- package/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
- package/auth/hooks/mutations/useLinkIdentityMutation.js +26 -0
- package/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSignInSmsOtpMutation.js +26 -0
- package/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSignUpSmsMutation.js +26 -0
- package/auth/orm/index.d.ts +15 -0
- package/auth/orm/input-types.d.ts +197 -1
- package/auth/orm/mutation/index.d.ts +25 -1
- package/auth/orm/mutation/index.js +36 -0
- package/auth/schema-types.d.ts +78 -34
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +30 -6
- package/esm/admin/hooks/invalidation.js +81 -17
- package/esm/admin/hooks/mutation-keys.d.ts +60 -12
- package/esm/admin/hooks/mutation-keys.js +47 -7
- package/esm/admin/hooks/mutations/index.d.ts +15 -3
- package/esm/admin/hooks/mutations/index.js +15 -3
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultGrantMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateAppPermissionDefaultPermissionMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultGrantMutation.js +31 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgPermissionDefaultPermissionMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultGrantMutation.js +36 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteAppPermissionDefaultPermissionMutation.js +36 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultGrantMutation.js +36 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgPermissionDefaultPermissionMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultGrantMutation.js +37 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateAppPermissionDefaultPermissionMutation.js +37 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultGrantMutation.js +37 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgPermissionDefaultPermissionMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +10 -2
- package/esm/admin/hooks/queries/index.js +10 -2
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantQuery.js +47 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultGrantsQuery.js +32 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionQuery.js +47 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useAppPermissionDefaultPermissionsQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultGrantsQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgPermissionDefaultPermissionsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +70 -14
- package/esm/admin/hooks/query-keys.js +44 -8
- package/esm/admin/orm/index.d.ts +10 -2
- package/esm/admin/orm/index.js +10 -2
- package/esm/admin/orm/input-types.d.ts +1611 -230
- package/esm/admin/orm/input-types.js +9 -1
- package/esm/admin/orm/models/appPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/appPermissionDefaultPermission.js +100 -0
- package/esm/admin/orm/models/index.d.ts +5 -1
- package/esm/admin/orm/models/index.js +5 -1
- package/esm/admin/orm/models/orgPermissionDefaultGrant.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultGrant.js +100 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.d.ts +54 -0
- package/esm/admin/orm/models/orgPermissionDefaultPermission.js +100 -0
- package/esm/admin/schema-types.d.ts +702 -271
- package/esm/admin/types.d.ts +49 -15
- package/esm/agent/orm/input-types.d.ts +289 -47
- package/esm/agent/orm/input-types.js +1 -0
- package/esm/agent/schema-types.d.ts +37 -14
- package/esm/agent/types.d.ts +3 -2
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +7 -0
- package/esm/api/hooks/mutations/index.d.ts +3 -0
- package/esm/api/hooks/mutations/index.js +3 -0
- package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateCompositeTypeMutation.js +31 -0
- package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteCompositeTypeMutation.js +36 -0
- package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateCompositeTypeMutation.js +37 -0
- package/esm/api/hooks/queries/index.d.ts +2 -0
- package/esm/api/hooks/queries/index.js +2 -0
- package/esm/api/hooks/queries/useCompositeTypeQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useCompositeTypeQuery.js +47 -0
- package/esm/api/hooks/queries/useCompositeTypesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useCompositeTypesQuery.js +32 -0
- package/esm/api/hooks/query-keys.d.ts +14 -0
- package/esm/api/hooks/query-keys.js +8 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +1064 -125
- package/esm/api/orm/input-types.js +3 -0
- package/esm/api/orm/models/compositeType.d.ts +54 -0
- package/esm/api/orm/models/compositeType.js +100 -0
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/schema-types.d.ts +664 -560
- package/esm/api/types.d.ts +15 -14
- package/esm/auth/hooks/mutation-keys.d.ts +6 -0
- package/esm/auth/hooks/mutation-keys.js +9 -0
- package/esm/auth/hooks/mutations/index.d.ts +3 -0
- package/esm/auth/hooks/mutations/index.js +3 -0
- package/esm/auth/hooks/mutations/useLinkIdentityMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useLinkIdentityMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSignInSmsOtpMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSignUpSmsMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSignUpSmsMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +15 -0
- package/esm/auth/orm/input-types.d.ts +197 -1
- package/esm/auth/orm/mutation/index.d.ts +25 -1
- package/esm/auth/orm/mutation/index.js +36 -0
- package/esm/auth/schema-types.d.ts +78 -34
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +79 -73
- package/esm/modules/hooks/invalidation.js +183 -167
- package/esm/modules/hooks/mutation-keys.d.ts +158 -146
- package/esm/modules/hooks/mutation-keys.js +104 -94
- package/esm/modules/hooks/mutations/index.d.ts +42 -39
- package/esm/modules/hooks/mutations/index.js +42 -39
- package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
- package/esm/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +31 -0
- package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
- package/esm/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +36 -0
- package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
- package/esm/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +37 -0
- package/esm/modules/hooks/queries/index.d.ts +28 -26
- package/esm/modules/hooks/queries/index.js +28 -26
- package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
- package/esm/modules/hooks/queries/useFunctionInvocationModuleQuery.js +47 -0
- package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
- package/esm/modules/hooks/queries/useFunctionInvocationModulesQuery.js +32 -0
- package/esm/modules/hooks/query-keys.d.ts +186 -172
- package/esm/modules/hooks/query-keys.js +107 -99
- package/esm/modules/orm/index.d.ts +28 -26
- package/esm/modules/orm/index.js +28 -26
- package/esm/modules/orm/input-types.d.ts +4485 -2514
- package/esm/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/esm/modules/orm/models/functionInvocationModule.js +100 -0
- package/esm/modules/orm/models/index.d.ts +14 -13
- package/esm/modules/orm/models/index.js +14 -13
- package/esm/modules/schema-types.d.ts +2258 -1951
- package/esm/modules/types.d.ts +296 -233
- package/esm/objects/orm/input-types.d.ts +62 -0
- package/esm/usage/orm/input-types.d.ts +314 -19
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +79 -73
- package/modules/hooks/invalidation.js +182 -166
- package/modules/hooks/mutation-keys.d.ts +158 -146
- package/modules/hooks/mutation-keys.js +106 -96
- package/modules/hooks/mutations/index.d.ts +42 -39
- package/modules/hooks/mutations/index.js +42 -39
- package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.d.ts +34 -0
- package/modules/hooks/mutations/useCreateFunctionInvocationModuleMutation.js +34 -0
- package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.d.ts +38 -0
- package/modules/hooks/mutations/useDeleteFunctionInvocationModuleMutation.js +39 -0
- package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.d.ts +40 -0
- package/modules/hooks/mutations/useUpdateFunctionInvocationModuleMutation.js +40 -0
- package/modules/hooks/queries/index.d.ts +28 -26
- package/modules/hooks/queries/index.js +28 -26
- package/modules/hooks/queries/useFunctionInvocationModuleQuery.d.ts +65 -0
- package/modules/hooks/queries/useFunctionInvocationModuleQuery.js +53 -0
- package/modules/hooks/queries/useFunctionInvocationModulesQuery.d.ts +69 -0
- package/modules/hooks/queries/useFunctionInvocationModulesQuery.js +38 -0
- package/modules/hooks/query-keys.d.ts +186 -172
- package/modules/hooks/query-keys.js +109 -101
- package/modules/orm/index.d.ts +28 -26
- package/modules/orm/index.js +28 -26
- package/modules/orm/input-types.d.ts +4485 -2514
- package/modules/orm/models/functionInvocationModule.d.ts +54 -0
- package/modules/orm/models/functionInvocationModule.js +104 -0
- package/modules/orm/models/index.d.ts +14 -13
- package/modules/orm/models/index.js +30 -28
- package/modules/schema-types.d.ts +2258 -1951
- package/modules/types.d.ts +296 -233
- package/objects/orm/input-types.d.ts +62 -0
- package/package.json +4 -4
- package/usage/orm/input-types.d.ts +314 -19
package/esm/api/types.d.ts
CHANGED
|
@@ -24,7 +24,6 @@ export interface Schema {
|
|
|
24
24
|
description: string | null;
|
|
25
25
|
smartTags: unknown | null;
|
|
26
26
|
category: ObjectCategory | null;
|
|
27
|
-
module: string | null;
|
|
28
27
|
scope: number | null;
|
|
29
28
|
tags: string[] | null;
|
|
30
29
|
isPublic: boolean | null;
|
|
@@ -40,7 +39,6 @@ export interface Table {
|
|
|
40
39
|
description: string | null;
|
|
41
40
|
smartTags: unknown | null;
|
|
42
41
|
category: ObjectCategory | null;
|
|
43
|
-
module: string | null;
|
|
44
42
|
scope: number | null;
|
|
45
43
|
useRls: boolean | null;
|
|
46
44
|
timestamps: boolean | null;
|
|
@@ -52,9 +50,9 @@ export interface Table {
|
|
|
52
50
|
partitionStrategy: string | null;
|
|
53
51
|
partitionKeyNames: string[] | null;
|
|
54
52
|
partitionKeyTypes: string[] | null;
|
|
55
|
-
inheritsId: string | null;
|
|
56
53
|
createdAt: string | null;
|
|
57
54
|
updatedAt: string | null;
|
|
55
|
+
inheritsId: string | null;
|
|
58
56
|
}
|
|
59
57
|
export interface CheckConstraint {
|
|
60
58
|
id: string | null;
|
|
@@ -66,7 +64,6 @@ export interface CheckConstraint {
|
|
|
66
64
|
expr: unknown | null;
|
|
67
65
|
smartTags: unknown | null;
|
|
68
66
|
category: ObjectCategory | null;
|
|
69
|
-
module: string | null;
|
|
70
67
|
scope: number | null;
|
|
71
68
|
tags: string[] | null;
|
|
72
69
|
createdAt: string | null;
|
|
@@ -92,7 +89,6 @@ export interface Field {
|
|
|
92
89
|
max: number | null;
|
|
93
90
|
tags: string[] | null;
|
|
94
91
|
category: ObjectCategory | null;
|
|
95
|
-
module: string | null;
|
|
96
92
|
scope: number | null;
|
|
97
93
|
createdAt: string | null;
|
|
98
94
|
updatedAt: string | null;
|
|
@@ -108,7 +104,6 @@ export interface SpatialRelation {
|
|
|
108
104
|
operator: string | null;
|
|
109
105
|
paramName: string | null;
|
|
110
106
|
category: ObjectCategory | null;
|
|
111
|
-
module: string | null;
|
|
112
107
|
scope: number | null;
|
|
113
108
|
tags: string[] | null;
|
|
114
109
|
createdAt: string | null;
|
|
@@ -128,7 +123,6 @@ export interface ForeignKeyConstraint {
|
|
|
128
123
|
deleteAction: string | null;
|
|
129
124
|
updateAction: string | null;
|
|
130
125
|
category: ObjectCategory | null;
|
|
131
|
-
module: string | null;
|
|
132
126
|
scope: number | null;
|
|
133
127
|
tags: string[] | null;
|
|
134
128
|
createdAt: string | null;
|
|
@@ -161,7 +155,6 @@ export interface Index {
|
|
|
161
155
|
opClasses: string[] | null;
|
|
162
156
|
smartTags: unknown | null;
|
|
163
157
|
category: ObjectCategory | null;
|
|
164
|
-
module: string | null;
|
|
165
158
|
scope: number | null;
|
|
166
159
|
tags: string[] | null;
|
|
167
160
|
createdAt: string | null;
|
|
@@ -180,7 +173,6 @@ export interface Policy {
|
|
|
180
173
|
data: unknown | null;
|
|
181
174
|
smartTags: unknown | null;
|
|
182
175
|
category: ObjectCategory | null;
|
|
183
|
-
module: string | null;
|
|
184
176
|
scope: number | null;
|
|
185
177
|
tags: string[] | null;
|
|
186
178
|
createdAt: string | null;
|
|
@@ -195,7 +187,6 @@ export interface PrimaryKeyConstraint {
|
|
|
195
187
|
fieldIds: string[] | null;
|
|
196
188
|
smartTags: unknown | null;
|
|
197
189
|
category: ObjectCategory | null;
|
|
198
|
-
module: string | null;
|
|
199
190
|
scope: number | null;
|
|
200
191
|
tags: string[] | null;
|
|
201
192
|
createdAt: string | null;
|
|
@@ -221,7 +212,6 @@ export interface Trigger {
|
|
|
221
212
|
functionName: string | null;
|
|
222
213
|
smartTags: unknown | null;
|
|
223
214
|
category: ObjectCategory | null;
|
|
224
|
-
module: string | null;
|
|
225
215
|
scope: number | null;
|
|
226
216
|
tags: string[] | null;
|
|
227
217
|
createdAt: string | null;
|
|
@@ -237,7 +227,6 @@ export interface UniqueConstraint {
|
|
|
237
227
|
type: string | null;
|
|
238
228
|
fieldIds: string[] | null;
|
|
239
229
|
category: ObjectCategory | null;
|
|
240
|
-
module: string | null;
|
|
241
230
|
scope: number | null;
|
|
242
231
|
tags: string[] | null;
|
|
243
232
|
createdAt: string | null;
|
|
@@ -257,12 +246,12 @@ export interface View {
|
|
|
257
246
|
isReadOnly: boolean | null;
|
|
258
247
|
smartTags: unknown | null;
|
|
259
248
|
category: ObjectCategory | null;
|
|
260
|
-
module: string | null;
|
|
261
249
|
scope: number | null;
|
|
262
250
|
tags: string[] | null;
|
|
263
251
|
}
|
|
264
252
|
export interface ViewTable {
|
|
265
253
|
id: string | null;
|
|
254
|
+
databaseId: string | null;
|
|
266
255
|
viewId: string | null;
|
|
267
256
|
tableId: string | null;
|
|
268
257
|
joinOrder: number | null;
|
|
@@ -334,7 +323,19 @@ export interface Enum {
|
|
|
334
323
|
values: string[] | null;
|
|
335
324
|
smartTags: unknown | null;
|
|
336
325
|
category: ObjectCategory | null;
|
|
337
|
-
|
|
326
|
+
scope: number | null;
|
|
327
|
+
tags: string[] | null;
|
|
328
|
+
}
|
|
329
|
+
export interface CompositeType {
|
|
330
|
+
id: string | null;
|
|
331
|
+
databaseId: string | null;
|
|
332
|
+
schemaId: string | null;
|
|
333
|
+
name: string | null;
|
|
334
|
+
label: string | null;
|
|
335
|
+
description: string | null;
|
|
336
|
+
attributes: unknown | null;
|
|
337
|
+
smartTags: unknown | null;
|
|
338
|
+
category: ObjectCategory | null;
|
|
338
339
|
scope: number | null;
|
|
339
340
|
tags: string[] | null;
|
|
340
341
|
}
|
|
@@ -72,8 +72,11 @@ export declare const customMutationKeys: {
|
|
|
72
72
|
/** Mutation key for provisionNewUser */ readonly provisionNewUser: (identifier?: string) => readonly ["mutation", "provisionNewUser", string] | readonly ["mutation", "provisionNewUser"];
|
|
73
73
|
/** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
|
|
74
74
|
/** Mutation key for signInCrossOrigin */ readonly signInCrossOrigin: (identifier?: string) => readonly ["mutation", "signInCrossOrigin", string] | readonly ["mutation", "signInCrossOrigin"];
|
|
75
|
+
/** Mutation key for signInSmsOtp */ readonly signInSmsOtp: (identifier?: string) => readonly ["mutation", "signInSmsOtp", string] | readonly ["mutation", "signInSmsOtp"];
|
|
76
|
+
/** Mutation key for signUpSms */ readonly signUpSms: (identifier?: string) => readonly ["mutation", "signUpSms", string] | readonly ["mutation", "signUpSms"];
|
|
75
77
|
/** Mutation key for signUp */ readonly signUp: (identifier?: string) => readonly ["mutation", "signUp", string] | readonly ["mutation", "signUp"];
|
|
76
78
|
/** Mutation key for signIn */ readonly signIn: (identifier?: string) => readonly ["mutation", "signIn", string] | readonly ["mutation", "signIn"];
|
|
79
|
+
/** Mutation key for linkIdentity */ readonly linkIdentity: (identifier?: string) => readonly ["mutation", "linkIdentity", string] | readonly ["mutation", "linkIdentity"];
|
|
77
80
|
/** Mutation key for extendTokenExpires */ readonly extendTokenExpires: (identifier?: string) => readonly ["mutation", "extendTokenExpires", string] | readonly ["mutation", "extendTokenExpires"];
|
|
78
81
|
/** Mutation key for createApiKey */ readonly createApiKey: (identifier?: string) => readonly ["mutation", "createApiKey", string] | readonly ["mutation", "createApiKey"];
|
|
79
82
|
/** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
|
|
@@ -173,8 +176,11 @@ export declare const mutationKeys: {
|
|
|
173
176
|
/** Mutation key for provisionNewUser */ readonly provisionNewUser: (identifier?: string) => readonly ["mutation", "provisionNewUser", string] | readonly ["mutation", "provisionNewUser"];
|
|
174
177
|
/** Mutation key for resetPassword */ readonly resetPassword: (identifier?: string) => readonly ["mutation", "resetPassword", string] | readonly ["mutation", "resetPassword"];
|
|
175
178
|
/** Mutation key for signInCrossOrigin */ readonly signInCrossOrigin: (identifier?: string) => readonly ["mutation", "signInCrossOrigin", string] | readonly ["mutation", "signInCrossOrigin"];
|
|
179
|
+
/** Mutation key for signInSmsOtp */ readonly signInSmsOtp: (identifier?: string) => readonly ["mutation", "signInSmsOtp", string] | readonly ["mutation", "signInSmsOtp"];
|
|
180
|
+
/** Mutation key for signUpSms */ readonly signUpSms: (identifier?: string) => readonly ["mutation", "signUpSms", string] | readonly ["mutation", "signUpSms"];
|
|
176
181
|
/** Mutation key for signUp */ readonly signUp: (identifier?: string) => readonly ["mutation", "signUp", string] | readonly ["mutation", "signUp"];
|
|
177
182
|
/** Mutation key for signIn */ readonly signIn: (identifier?: string) => readonly ["mutation", "signIn", string] | readonly ["mutation", "signIn"];
|
|
183
|
+
/** Mutation key for linkIdentity */ readonly linkIdentity: (identifier?: string) => readonly ["mutation", "linkIdentity", string] | readonly ["mutation", "linkIdentity"];
|
|
178
184
|
/** Mutation key for extendTokenExpires */ readonly extendTokenExpires: (identifier?: string) => readonly ["mutation", "extendTokenExpires", string] | readonly ["mutation", "extendTokenExpires"];
|
|
179
185
|
/** Mutation key for createApiKey */ readonly createApiKey: (identifier?: string) => readonly ["mutation", "createApiKey", string] | readonly ["mutation", "createApiKey"];
|
|
180
186
|
/** Mutation key for requestCrossOriginToken */ readonly requestCrossOriginToken: (identifier?: string) => readonly ["mutation", "requestCrossOriginToken", string] | readonly ["mutation", "requestCrossOriginToken"];
|
|
@@ -115,8 +115,17 @@ export const customMutationKeys = {
|
|
|
115
115
|
/** Mutation key for signInCrossOrigin */ signInCrossOrigin: (identifier) => identifier
|
|
116
116
|
? ['mutation', 'signInCrossOrigin', identifier]
|
|
117
117
|
: ['mutation', 'signInCrossOrigin'],
|
|
118
|
+
/** Mutation key for signInSmsOtp */ signInSmsOtp: (identifier) => identifier
|
|
119
|
+
? ['mutation', 'signInSmsOtp', identifier]
|
|
120
|
+
: ['mutation', 'signInSmsOtp'],
|
|
121
|
+
/** Mutation key for signUpSms */ signUpSms: (identifier) => identifier
|
|
122
|
+
? ['mutation', 'signUpSms', identifier]
|
|
123
|
+
: ['mutation', 'signUpSms'],
|
|
118
124
|
/** Mutation key for signUp */ signUp: (identifier) => identifier ? ['mutation', 'signUp', identifier] : ['mutation', 'signUp'],
|
|
119
125
|
/** Mutation key for signIn */ signIn: (identifier) => identifier ? ['mutation', 'signIn', identifier] : ['mutation', 'signIn'],
|
|
126
|
+
/** Mutation key for linkIdentity */ linkIdentity: (identifier) => identifier
|
|
127
|
+
? ['mutation', 'linkIdentity', identifier]
|
|
128
|
+
: ['mutation', 'linkIdentity'],
|
|
120
129
|
/** Mutation key for extendTokenExpires */ extendTokenExpires: (identifier) => identifier
|
|
121
130
|
? ['mutation', 'extendTokenExpires', identifier]
|
|
122
131
|
: ['mutation', 'extendTokenExpires'],
|
|
@@ -40,8 +40,11 @@ export * from './useVerifyEmailMutation';
|
|
|
40
40
|
export * from './useProvisionNewUserMutation';
|
|
41
41
|
export * from './useResetPasswordMutation';
|
|
42
42
|
export * from './useSignInCrossOriginMutation';
|
|
43
|
+
export * from './useSignInSmsOtpMutation';
|
|
44
|
+
export * from './useSignUpSmsMutation';
|
|
43
45
|
export * from './useSignUpMutation';
|
|
44
46
|
export * from './useSignInMutation';
|
|
47
|
+
export * from './useLinkIdentityMutation';
|
|
45
48
|
export * from './useExtendTokenExpiresMutation';
|
|
46
49
|
export * from './useCreateApiKeyMutation';
|
|
47
50
|
export * from './useRequestCrossOriginTokenMutation';
|
|
@@ -40,8 +40,11 @@ export * from './useVerifyEmailMutation';
|
|
|
40
40
|
export * from './useProvisionNewUserMutation';
|
|
41
41
|
export * from './useResetPasswordMutation';
|
|
42
42
|
export * from './useSignInCrossOriginMutation';
|
|
43
|
+
export * from './useSignInSmsOtpMutation';
|
|
44
|
+
export * from './useSignUpSmsMutation';
|
|
43
45
|
export * from './useSignUpMutation';
|
|
44
46
|
export * from './useSignInMutation';
|
|
47
|
+
export * from './useLinkIdentityMutation';
|
|
45
48
|
export * from './useExtendTokenExpiresMutation';
|
|
46
49
|
export * from './useCreateApiKeyMutation';
|
|
47
50
|
export * from './useRequestCrossOriginTokenMutation';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for linkIdentity
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { LinkIdentityVariables } from '../../orm/mutation';
|
|
8
|
+
import type { LinkIdentityPayloadSelect, LinkIdentityPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { LinkIdentityVariables } from '../../orm/mutation';
|
|
11
|
+
export type { LinkIdentityPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useLinkIdentityMutation<S extends LinkIdentityPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & LinkIdentityPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, LinkIdentityPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
linkIdentity: InferSelectResult<LinkIdentityPayload, S> | null;
|
|
18
|
+
}, Error, LinkIdentityVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
linkIdentity: InferSelectResult<LinkIdentityPayload, S> | null;
|
|
20
|
+
}, Error, LinkIdentityVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for linkIdentity
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useLinkIdentityMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.linkIdentity(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.linkIdentity(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for signInSmsOtp
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { SignInSmsOtpVariables } from '../../orm/mutation';
|
|
8
|
+
import type { SignInSmsOtpPayloadSelect, SignInSmsOtpPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { SignInSmsOtpVariables } from '../../orm/mutation';
|
|
11
|
+
export type { SignInSmsOtpPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useSignInSmsOtpMutation<S extends SignInSmsOtpPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & SignInSmsOtpPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, SignInSmsOtpPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
signInSmsOtp: InferSelectResult<SignInSmsOtpPayload, S> | null;
|
|
18
|
+
}, Error, SignInSmsOtpVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
signInSmsOtp: InferSelectResult<SignInSmsOtpPayload, S> | null;
|
|
20
|
+
}, Error, SignInSmsOtpVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for signInSmsOtp
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useSignInSmsOtpMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.signInSmsOtp(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.signInSmsOtp(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for signUpSms
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { SignUpSmsVariables } from '../../orm/mutation';
|
|
8
|
+
import type { SignUpSmsPayloadSelect, SignUpSmsPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { SignUpSmsVariables } from '../../orm/mutation';
|
|
11
|
+
export type { SignUpSmsPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useSignUpSmsMutation<S extends SignUpSmsPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & SignUpSmsPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, SignUpSmsPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
signUpSms: InferSelectResult<SignUpSmsPayload, S> | null;
|
|
18
|
+
}, Error, SignUpSmsVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
signUpSms: InferSelectResult<SignUpSmsPayload, S> | null;
|
|
20
|
+
}, Error, SignUpSmsVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for signUpSms
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useSignUpSmsMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.signUpSms(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.signUpSms(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
package/esm/auth/orm/index.d.ts
CHANGED
|
@@ -146,6 +146,16 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
146
146
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInCrossOriginPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
147
147
|
signInCrossOrigin: import("./select-types").InferSelectResult<import("./input-types").SignInCrossOriginPayload, S> | null;
|
|
148
148
|
}>;
|
|
149
|
+
signInSmsOtp: <S extends import("./input-types").SignInSmsOtpPayloadSelect>(args: import("./mutation").SignInSmsOtpVariables, options: {
|
|
150
|
+
select: S;
|
|
151
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignInSmsOtpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
152
|
+
signInSmsOtp: import("./select-types").InferSelectResult<import("./input-types").SignInSmsOtpPayload, S> | null;
|
|
153
|
+
}>;
|
|
154
|
+
signUpSms: <S extends import("./input-types").SignUpSmsPayloadSelect>(args: import("./mutation").SignUpSmsVariables, options: {
|
|
155
|
+
select: S;
|
|
156
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpSmsPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
157
|
+
signUpSms: import("./select-types").InferSelectResult<import("./input-types").SignUpSmsPayload, S> | null;
|
|
158
|
+
}>;
|
|
149
159
|
signUp: <S extends import("./input-types").SignUpPayloadSelect>(args: import("./mutation").SignUpVariables, options: {
|
|
150
160
|
select: S;
|
|
151
161
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignUpPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -156,6 +166,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
156
166
|
} & import("./select-types").StrictSelect<S, import("./input-types").SignInPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
157
167
|
signIn: import("./select-types").InferSelectResult<import("./input-types").SignInPayload, S> | null;
|
|
158
168
|
}>;
|
|
169
|
+
linkIdentity: <S extends import("./input-types").LinkIdentityPayloadSelect>(args: import("./mutation").LinkIdentityVariables, options: {
|
|
170
|
+
select: S;
|
|
171
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").LinkIdentityPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
172
|
+
linkIdentity: import("./select-types").InferSelectResult<import("./input-types").LinkIdentityPayload, S> | null;
|
|
173
|
+
}>;
|
|
159
174
|
extendTokenExpires: <S extends import("./input-types").ExtendTokenExpiresPayloadSelect>(args: import("./mutation").ExtendTokenExpiresVariables, options: {
|
|
160
175
|
select: S;
|
|
161
176
|
} & import("./select-types").StrictSelect<S, import("./input-types").ExtendTokenExpiresPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -359,7 +359,7 @@ export interface User {
|
|
|
359
359
|
searchTsvRank?: number | null;
|
|
360
360
|
/** TRGM similarity when searching `displayName`. Returns null when no trgm search filter is active. */
|
|
361
361
|
displayNameTrgmSimilarity?: number | null;
|
|
362
|
-
/** Composite search relevance score (0..1, higher = more relevant). Computed
|
|
362
|
+
/** Composite search relevance score (0..1, higher = more relevant). Computed using Reciprocal Rank Fusion (RRF) across all active search signals. Supports per-table weight customization via @searchConfig smart tag. Returns null when no search filters are active. */
|
|
363
363
|
searchScore?: number | null;
|
|
364
364
|
}
|
|
365
365
|
export interface ConnectionResult<T> {
|
|
@@ -1119,6 +1119,22 @@ export interface SignInCrossOriginInput {
|
|
|
1119
1119
|
token?: string;
|
|
1120
1120
|
credentialKind?: string;
|
|
1121
1121
|
}
|
|
1122
|
+
export interface SignInSmsOtpInput {
|
|
1123
|
+
clientMutationId?: string;
|
|
1124
|
+
phone?: string;
|
|
1125
|
+
code?: string;
|
|
1126
|
+
credentialKind?: string;
|
|
1127
|
+
rememberMe?: boolean;
|
|
1128
|
+
deviceToken?: string;
|
|
1129
|
+
}
|
|
1130
|
+
export interface SignUpSmsInput {
|
|
1131
|
+
clientMutationId?: string;
|
|
1132
|
+
phone?: string;
|
|
1133
|
+
code?: string;
|
|
1134
|
+
credentialKind?: string;
|
|
1135
|
+
rememberMe?: boolean;
|
|
1136
|
+
deviceToken?: string;
|
|
1137
|
+
}
|
|
1122
1138
|
export interface SignUpInput {
|
|
1123
1139
|
clientMutationId?: string;
|
|
1124
1140
|
email?: string;
|
|
@@ -1137,6 +1153,12 @@ export interface SignInInput {
|
|
|
1137
1153
|
csrfToken?: string;
|
|
1138
1154
|
deviceToken?: string;
|
|
1139
1155
|
}
|
|
1156
|
+
export interface LinkIdentityInput {
|
|
1157
|
+
clientMutationId?: string;
|
|
1158
|
+
service: string;
|
|
1159
|
+
identifier: string;
|
|
1160
|
+
details?: Record<string, unknown>;
|
|
1161
|
+
}
|
|
1140
1162
|
export interface ExtendTokenExpiresInput {
|
|
1141
1163
|
clientMutationId?: string;
|
|
1142
1164
|
amount?: IntervalInput;
|
|
@@ -1511,6 +1533,132 @@ export interface TrgmSearchInput {
|
|
|
1511
1533
|
/** Minimum similarity threshold (0.0 to 1.0). Higher = stricter matching. Default is 0.3. */
|
|
1512
1534
|
threshold?: number;
|
|
1513
1535
|
}
|
|
1536
|
+
/** An input for mutations affecting `Email` */
|
|
1537
|
+
export interface EmailInput {
|
|
1538
|
+
id?: string;
|
|
1539
|
+
ownerId?: string;
|
|
1540
|
+
/** The email address */
|
|
1541
|
+
email: ConstructiveInternalTypeEmail;
|
|
1542
|
+
/** Whether the email address has been verified via confirmation link */
|
|
1543
|
+
isVerified?: boolean;
|
|
1544
|
+
/** Whether this is the user's primary email address */
|
|
1545
|
+
isPrimary?: boolean;
|
|
1546
|
+
/** Optional user-provided label for this email (e.g. "Work", "Personal"). */
|
|
1547
|
+
name?: string;
|
|
1548
|
+
createdAt?: string;
|
|
1549
|
+
updatedAt?: string;
|
|
1550
|
+
}
|
|
1551
|
+
/** An input for mutations affecting `PhoneNumber` */
|
|
1552
|
+
export interface PhoneNumberInput {
|
|
1553
|
+
id?: string;
|
|
1554
|
+
ownerId?: string;
|
|
1555
|
+
/** Country calling code (e.g. +1, +44) */
|
|
1556
|
+
cc: string;
|
|
1557
|
+
/** The phone number without country code */
|
|
1558
|
+
number: string;
|
|
1559
|
+
/** Whether the phone number has been verified via SMS code */
|
|
1560
|
+
isVerified?: boolean;
|
|
1561
|
+
/** Whether this is the user's primary phone number */
|
|
1562
|
+
isPrimary?: boolean;
|
|
1563
|
+
/** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
|
|
1564
|
+
name?: string;
|
|
1565
|
+
createdAt?: string;
|
|
1566
|
+
updatedAt?: string;
|
|
1567
|
+
}
|
|
1568
|
+
/** An input for mutations affecting `CryptoAddress` */
|
|
1569
|
+
export interface CryptoAddressInput {
|
|
1570
|
+
id?: string;
|
|
1571
|
+
ownerId?: string;
|
|
1572
|
+
/** The cryptocurrency wallet address, validated against network-specific patterns */
|
|
1573
|
+
address: string;
|
|
1574
|
+
/** Whether ownership of this address has been cryptographically verified */
|
|
1575
|
+
isVerified?: boolean;
|
|
1576
|
+
/** Whether this is the user's primary cryptocurrency address */
|
|
1577
|
+
isPrimary?: boolean;
|
|
1578
|
+
/** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
|
|
1579
|
+
name?: string;
|
|
1580
|
+
createdAt?: string;
|
|
1581
|
+
updatedAt?: string;
|
|
1582
|
+
}
|
|
1583
|
+
/** An input for mutations affecting `WebauthnCredential` */
|
|
1584
|
+
export interface WebauthnCredentialInput {
|
|
1585
|
+
id?: string;
|
|
1586
|
+
ownerId?: string;
|
|
1587
|
+
/** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
|
|
1588
|
+
credentialId: string;
|
|
1589
|
+
/** COSE-encoded public key bytes from the authenticator attestation. */
|
|
1590
|
+
publicKey: Base64EncodedBinary;
|
|
1591
|
+
/** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
|
|
1592
|
+
signCount?: string;
|
|
1593
|
+
/** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
|
|
1594
|
+
webauthnUserId: string;
|
|
1595
|
+
/** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
|
|
1596
|
+
transports?: string[];
|
|
1597
|
+
/** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
|
|
1598
|
+
credentialDeviceType: string;
|
|
1599
|
+
/** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
|
|
1600
|
+
backupEligible?: boolean;
|
|
1601
|
+
/** Current backup state; updated on each successful sign-in assertion. */
|
|
1602
|
+
backupState?: boolean;
|
|
1603
|
+
/** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
|
|
1604
|
+
name?: string;
|
|
1605
|
+
/** Timestamp of the most recent successful sign-in assertion using this credential. */
|
|
1606
|
+
lastUsedAt?: string;
|
|
1607
|
+
createdAt?: string;
|
|
1608
|
+
updatedAt?: string;
|
|
1609
|
+
}
|
|
1610
|
+
/** An input for mutations affecting `AuditLogAuth` */
|
|
1611
|
+
export interface AuditLogAuthInput {
|
|
1612
|
+
createdAt?: string;
|
|
1613
|
+
/** Unique identifier for each audit event (uuidv7 provides temporal ordering) */
|
|
1614
|
+
id?: string;
|
|
1615
|
+
/** Type of authentication event (e.g. sign_in, sign_up, password_change, verify_email) */
|
|
1616
|
+
event: string;
|
|
1617
|
+
/** User who performed the authentication action; NULL if user was deleted */
|
|
1618
|
+
actorId?: string;
|
|
1619
|
+
/** Request origin (domain) where the auth event occurred */
|
|
1620
|
+
origin?: ConstructiveInternalTypeOrigin;
|
|
1621
|
+
/** Browser or client user-agent string from the request */
|
|
1622
|
+
userAgent?: string;
|
|
1623
|
+
/** IP address of the client that initiated the auth event */
|
|
1624
|
+
ipAddress?: string;
|
|
1625
|
+
/** Whether the authentication attempt succeeded */
|
|
1626
|
+
success: boolean;
|
|
1627
|
+
}
|
|
1628
|
+
/** An input for mutations affecting `IdentityProvider` */
|
|
1629
|
+
export interface IdentityProviderInput {
|
|
1630
|
+
slug?: string;
|
|
1631
|
+
kind?: string;
|
|
1632
|
+
displayName?: string;
|
|
1633
|
+
enabled?: boolean;
|
|
1634
|
+
isBuiltIn?: boolean;
|
|
1635
|
+
}
|
|
1636
|
+
/** An input for mutations affecting `RoleType` */
|
|
1637
|
+
export interface RoleTypeInput {
|
|
1638
|
+
id: number;
|
|
1639
|
+
name: string;
|
|
1640
|
+
}
|
|
1641
|
+
/** An input for mutations affecting `UserConnectedAccount` */
|
|
1642
|
+
export interface UserConnectedAccountInput {
|
|
1643
|
+
id?: string;
|
|
1644
|
+
ownerId?: string;
|
|
1645
|
+
service?: string;
|
|
1646
|
+
identifier?: string;
|
|
1647
|
+
details?: Record<string, unknown>;
|
|
1648
|
+
isVerified?: boolean;
|
|
1649
|
+
createdAt?: string;
|
|
1650
|
+
updatedAt?: string;
|
|
1651
|
+
}
|
|
1652
|
+
/** An input for mutations affecting `User` */
|
|
1653
|
+
export interface UserInput {
|
|
1654
|
+
id?: string;
|
|
1655
|
+
username?: string;
|
|
1656
|
+
displayName?: string;
|
|
1657
|
+
profilePicture?: ConstructiveInternalTypeImage;
|
|
1658
|
+
type?: number;
|
|
1659
|
+
createdAt?: string;
|
|
1660
|
+
updatedAt?: string;
|
|
1661
|
+
}
|
|
1514
1662
|
/** An interval of time that has passed where the smallest distinct unit is a second. */
|
|
1515
1663
|
export interface IntervalInput {
|
|
1516
1664
|
/**
|
|
@@ -2157,6 +2305,26 @@ export type SignInCrossOriginPayloadSelect = {
|
|
|
2157
2305
|
select: SignInCrossOriginRecordSelect;
|
|
2158
2306
|
};
|
|
2159
2307
|
};
|
|
2308
|
+
export interface SignInSmsOtpPayload {
|
|
2309
|
+
clientMutationId?: string | null;
|
|
2310
|
+
result?: SignInSmsOtpRecord | null;
|
|
2311
|
+
}
|
|
2312
|
+
export type SignInSmsOtpPayloadSelect = {
|
|
2313
|
+
clientMutationId?: boolean;
|
|
2314
|
+
result?: {
|
|
2315
|
+
select: SignInSmsOtpRecordSelect;
|
|
2316
|
+
};
|
|
2317
|
+
};
|
|
2318
|
+
export interface SignUpSmsPayload {
|
|
2319
|
+
clientMutationId?: string | null;
|
|
2320
|
+
result?: SignUpSmsRecord | null;
|
|
2321
|
+
}
|
|
2322
|
+
export type SignUpSmsPayloadSelect = {
|
|
2323
|
+
clientMutationId?: boolean;
|
|
2324
|
+
result?: {
|
|
2325
|
+
select: SignUpSmsRecordSelect;
|
|
2326
|
+
};
|
|
2327
|
+
};
|
|
2160
2328
|
export interface SignUpPayload {
|
|
2161
2329
|
clientMutationId?: string | null;
|
|
2162
2330
|
result?: SignUpRecord | null;
|
|
@@ -2177,6 +2345,14 @@ export type SignInPayloadSelect = {
|
|
|
2177
2345
|
select: SignInRecordSelect;
|
|
2178
2346
|
};
|
|
2179
2347
|
};
|
|
2348
|
+
export interface LinkIdentityPayload {
|
|
2349
|
+
clientMutationId?: string | null;
|
|
2350
|
+
result?: boolean | null;
|
|
2351
|
+
}
|
|
2352
|
+
export type LinkIdentityPayloadSelect = {
|
|
2353
|
+
clientMutationId?: boolean;
|
|
2354
|
+
result?: boolean;
|
|
2355
|
+
};
|
|
2180
2356
|
export interface ExtendTokenExpiresPayload {
|
|
2181
2357
|
clientMutationId?: string | null;
|
|
2182
2358
|
result?: ExtendTokenExpiresRecord[] | null;
|
|
@@ -2594,6 +2770,26 @@ export type SignInCrossOriginRecordSelect = {
|
|
|
2594
2770
|
isVerified?: boolean;
|
|
2595
2771
|
totpEnabled?: boolean;
|
|
2596
2772
|
};
|
|
2773
|
+
export interface SignInSmsOtpRecord {
|
|
2774
|
+
userId?: string | null;
|
|
2775
|
+
accessToken?: string | null;
|
|
2776
|
+
accessTokenExpiresAt?: string | null;
|
|
2777
|
+
}
|
|
2778
|
+
export type SignInSmsOtpRecordSelect = {
|
|
2779
|
+
userId?: boolean;
|
|
2780
|
+
accessToken?: boolean;
|
|
2781
|
+
accessTokenExpiresAt?: boolean;
|
|
2782
|
+
};
|
|
2783
|
+
export interface SignUpSmsRecord {
|
|
2784
|
+
userId?: string | null;
|
|
2785
|
+
accessToken?: string | null;
|
|
2786
|
+
accessTokenExpiresAt?: string | null;
|
|
2787
|
+
}
|
|
2788
|
+
export type SignUpSmsRecordSelect = {
|
|
2789
|
+
userId?: boolean;
|
|
2790
|
+
accessToken?: boolean;
|
|
2791
|
+
accessTokenExpiresAt?: boolean;
|
|
2792
|
+
};
|
|
2597
2793
|
export interface SignUpRecord {
|
|
2598
2794
|
id?: string | null;
|
|
2599
2795
|
userId?: string | null;
|