@constructive-io/react 0.11.4 → 0.12.1
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 +18 -12
- package/admin/hooks/invalidation.js +48 -32
- package/admin/hooks/mutation-keys.d.ts +36 -24
- package/admin/hooks/mutation-keys.js +22 -15
- package/admin/hooks/mutations/index.d.ts +9 -6
- package/admin/hooks/mutations/index.js +9 -6
- package/admin/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgMemberProfileMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
- package/{public/hooks/mutations/useDeleteConnectedAccountMutation.js → admin/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +7 -7
- package/admin/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
- package/{auth/hooks/mutations/useUpdateConnectedAccountMutation.js → admin/hooks/mutations/useUpdateOrgMemberProfileMutation.js} +9 -9
- package/admin/hooks/queries/index.d.ts +6 -4
- package/admin/hooks/queries/index.js +6 -4
- package/admin/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
- package/{public/hooks/queries/useConnectedAccountQuery.js → admin/hooks/queries/useOrgMemberProfileQuery.js} +14 -14
- package/admin/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgMemberProfilesQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +42 -28
- package/admin/hooks/query-keys.js +25 -17
- package/admin/orm/index.d.ts +6 -4
- package/admin/orm/index.js +6 -4
- package/admin/orm/input-types.d.ts +503 -295
- package/admin/orm/models/index.d.ts +3 -2
- package/admin/orm/models/index.js +7 -5
- package/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +26 -26
- package/admin/schema-types.d.ts +449 -288
- package/admin/types.d.ts +40 -22
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +6 -6
- package/auth/hooks/invalidation.js +16 -16
- package/auth/hooks/mutation-keys.d.ts +28 -18
- package/auth/hooks/mutation-keys.js +30 -15
- package/auth/hooks/mutations/index.d.ts +9 -6
- package/auth/hooks/mutations/index.js +9 -6
- package/auth/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
- package/auth/hooks/mutations/{useOneTimeTokenMutation.js → useCreateApiKeyMutation.js} +5 -5
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
- package/auth/hooks/mutations/{useCreateConnectedAccountMutation.js → useCreateUserConnectedAccountMutation.js} +6 -6
- package/auth/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
- package/auth/hooks/mutations/{useSignInOneTimeTokenMutation.js → useDisconnectAccountMutation.js} +5 -5
- package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
- package/{public/hooks/mutations/useSignInOneTimeTokenMutation.js → auth/hooks/mutations/useProvisionNewUserMutation.js} +5 -5
- package/auth/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
- package/auth/hooks/mutations/useRequestCrossOriginTokenMutation.js +26 -0
- package/auth/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
- package/{public/hooks/mutations/useOneTimeTokenMutation.js → auth/hooks/mutations/useRevokeApiKeyMutation.js} +5 -5
- package/auth/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
- package/auth/hooks/mutations/useRevokeSessionMutation.js +26 -0
- package/auth/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSignInCrossOriginMutation.js +26 -0
- package/auth/hooks/queries/index.d.ts +4 -3
- package/auth/hooks/queries/index.js +4 -3
- package/auth/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
- package/auth/hooks/queries/useRequireStepUpQuery.js +53 -0
- package/auth/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
- package/auth/hooks/queries/useUserConnectedAccountQuery.js +53 -0
- package/auth/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
- package/auth/hooks/queries/useUserConnectedAccountsQuery.js +38 -0
- package/auth/hooks/query-keys.d.ts +18 -16
- package/auth/hooks/query-keys.js +11 -10
- package/auth/orm/index.d.ts +45 -15
- package/auth/orm/index.js +2 -2
- package/auth/orm/input-types.d.ts +186 -251
- package/auth/orm/input-types.js +0 -1
- package/auth/orm/models/index.d.ts +1 -1
- package/auth/orm/models/index.js +3 -3
- package/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/auth/orm/models/userConnectedAccount.js +76 -0
- package/auth/orm/mutation/index.d.ts +56 -16
- package/auth/orm/mutation/index.js +78 -18
- package/auth/orm/query/index.d.ts +12 -4
- package/auth/orm/query/index.js +19 -7
- package/auth/schema-types.d.ts +112 -119
- package/auth/types.d.ts +10 -10
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +18 -12
- package/esm/admin/hooks/invalidation.js +49 -33
- package/esm/admin/hooks/mutation-keys.d.ts +36 -24
- package/esm/admin/hooks/mutation-keys.js +21 -14
- package/esm/admin/hooks/mutations/index.d.ts +9 -6
- package/esm/admin/hooks/mutations/index.js +9 -6
- package/esm/admin/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgMemberProfileMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
- package/esm/{public/hooks/mutations/useDeleteConnectedAccountMutation.js → admin/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +8 -8
- package/esm/admin/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
- package/esm/{public/hooks/mutations/useUpdateConnectedAccountMutation.js → admin/hooks/mutations/useUpdateOrgMemberProfileMutation.js} +10 -10
- package/esm/admin/hooks/queries/index.d.ts +6 -4
- package/esm/admin/hooks/queries/index.js +6 -4
- package/esm/admin/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgMemberProfileQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
- package/esm/{public/hooks/queries/useConnectedAccountsQuery.js → admin/hooks/queries/useOrgMemberProfilesQuery.js} +11 -11
- package/esm/admin/hooks/query-keys.d.ts +42 -28
- package/esm/admin/hooks/query-keys.js +24 -16
- package/esm/admin/orm/index.d.ts +6 -4
- package/esm/admin/orm/index.js +6 -4
- package/esm/admin/orm/input-types.d.ts +503 -295
- package/esm/admin/orm/models/index.d.ts +3 -2
- package/esm/admin/orm/models/index.js +3 -2
- package/esm/admin/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/{auth/orm/models/connectedAccount.js → admin/orm/models/orgMemberProfile.js} +24 -24
- package/esm/admin/schema-types.d.ts +449 -288
- package/esm/admin/types.d.ts +40 -22
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +6 -6
- package/esm/auth/hooks/invalidation.js +17 -17
- package/esm/auth/hooks/mutation-keys.d.ts +28 -18
- package/esm/auth/hooks/mutation-keys.js +29 -14
- package/esm/auth/hooks/mutations/index.d.ts +9 -6
- package/esm/auth/hooks/mutations/index.js +9 -6
- package/esm/auth/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/{useOneTimeTokenMutation.js → useCreateApiKeyMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
- package/esm/{public/hooks/mutations/useCreateConnectedAccountMutation.js → auth/hooks/mutations/useCreateUserConnectedAccountMutation.js} +7 -7
- package/esm/auth/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
- package/esm/{public/hooks/mutations/useSignInOneTimeTokenMutation.js → auth/hooks/mutations/useDisconnectAccountMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/{useSignInOneTimeTokenMutation.js → useProvisionNewUserMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useRequestCrossOriginTokenMutation.js +23 -0
- package/esm/auth/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
- package/esm/{public/hooks/mutations/useOneTimeTokenMutation.js → auth/hooks/mutations/useRevokeApiKeyMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useRevokeSessionMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSignInCrossOriginMutation.js +23 -0
- package/esm/auth/hooks/queries/index.d.ts +4 -3
- package/esm/auth/hooks/queries/index.js +4 -3
- package/esm/auth/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
- package/esm/auth/hooks/queries/useRequireStepUpQuery.js +47 -0
- package/esm/auth/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
- package/esm/{public/hooks/queries/useTableTemplateModuleQuery.js → auth/hooks/queries/useUserConnectedAccountQuery.js} +11 -11
- package/esm/auth/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useUserConnectedAccountsQuery.js +32 -0
- package/esm/auth/hooks/query-keys.d.ts +18 -16
- package/esm/auth/hooks/query-keys.js +10 -9
- package/esm/auth/orm/index.d.ts +45 -15
- package/esm/auth/orm/index.js +2 -2
- package/esm/auth/orm/input-types.d.ts +186 -251
- package/esm/auth/orm/input-types.js +0 -1
- package/esm/auth/orm/models/index.d.ts +1 -1
- package/esm/auth/orm/models/index.js +1 -1
- package/esm/auth/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/auth/orm/models/userConnectedAccount.js +72 -0
- package/esm/auth/orm/mutation/index.d.ts +56 -16
- package/esm/auth/orm/mutation/index.js +78 -18
- package/esm/auth/orm/query/index.d.ts +12 -4
- package/esm/auth/orm/query/index.js +19 -7
- package/esm/auth/schema-types.d.ts +112 -119
- package/esm/auth/types.d.ts +10 -10
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +47 -17
- package/esm/public/hooks/invalidation.js +122 -42
- package/esm/public/hooks/mutation-keys.d.ts +112 -40
- package/esm/public/hooks/mutation-keys.js +83 -27
- package/esm/public/hooks/mutations/index.d.ts +31 -12
- package/esm/public/hooks/mutations/index.js +31 -12
- package/esm/public/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useCreateApiKeyMutation.js +23 -0
- package/esm/public/hooks/mutations/useCreateDevicesModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateTableTemplateModuleMutation.js → useCreateDevicesModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateEntityTypeProvisionMutation.d.ts +48 -0
- package/esm/public/hooks/mutations/useCreateEntityTypeProvisionMutation.js +38 -0
- package/esm/public/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgMemberProfileMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateSessionSecretsModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateSessionSecretsModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateSpatialRelationMutation.d.ts +34 -0
- package/esm/{auth/hooks/mutations/useCreateConnectedAccountMutation.js → public/hooks/mutations/useCreateSpatialRelationMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateUserConnectedAccountMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useDeleteDevicesModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteTableTemplateModuleMutation.js → useDeleteDevicesModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.d.ts +52 -0
- package/esm/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.js +43 -0
- package/esm/public/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgMemberProfileMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteSpatialRelationMutation.d.ts +38 -0
- package/esm/{auth/hooks/mutations/useDeleteConnectedAccountMutation.js → public/hooks/mutations/useDeleteSpatialRelationMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useDisconnectAccountMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionNewUserMutation.js +23 -0
- package/esm/public/hooks/mutations/useProvisionSpatialRelationMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useProvisionSpatialRelationMutation.js +23 -0
- package/esm/public/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useRequestCrossOriginTokenMutation.js +23 -0
- package/esm/public/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useRevokeApiKeyMutation.js +23 -0
- package/esm/public/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useRevokeSessionMutation.js +23 -0
- package/esm/public/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
- package/esm/public/hooks/mutations/useSignInCrossOriginMutation.js +23 -0
- package/esm/public/hooks/mutations/useUpdateDevicesModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateTableTemplateModuleMutation.js → useUpdateDevicesModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.d.ts +54 -0
- package/esm/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.js +44 -0
- package/esm/public/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgMemberProfileMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateSpatialRelationMutation.d.ts +40 -0
- package/esm/{auth/hooks/mutations/useUpdateConnectedAccountMutation.js → public/hooks/mutations/useUpdateSpatialRelationMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +37 -0
- package/esm/public/hooks/queries/index.d.ts +19 -7
- package/esm/public/hooks/queries/index.js +19 -7
- package/esm/public/hooks/queries/useDevicesModuleQuery.d.ts +65 -0
- package/esm/{auth/hooks/queries/useConnectedAccountQuery.js → public/hooks/queries/useDevicesModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useDevicesModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useDevicesModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useEntityTypeProvisionQuery.d.ts +93 -0
- package/esm/public/hooks/queries/useEntityTypeProvisionQuery.js +54 -0
- package/esm/public/hooks/queries/useEntityTypeProvisionsQuery.d.ts +97 -0
- package/esm/public/hooks/queries/useEntityTypeProvisionsQuery.js +39 -0
- package/esm/public/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgMemberProfileQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
- package/esm/{auth/hooks/queries/useConnectedAccountsQuery.js → public/hooks/queries/useOrgMemberProfilesQuery.js} +11 -11
- package/esm/public/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
- package/esm/public/hooks/queries/useRequireStepUpQuery.js +47 -0
- package/esm/public/hooks/queries/useResolveBlueprintFieldQuery.d.ts +53 -0
- package/esm/public/hooks/queries/useResolveBlueprintFieldQuery.js +47 -0
- package/esm/public/hooks/queries/useSessionSecretsModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useSessionSecretsModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useSessionSecretsModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useSessionSecretsModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useSpatialRelationQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useConnectedAccountQuery.js → useSpatialRelationQuery.js} +11 -11
- package/esm/public/hooks/queries/useSpatialRelationsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useSpatialRelationsQuery.js +32 -0
- package/esm/public/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useUserConnectedAccountQuery.js +47 -0
- package/esm/public/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useUserConnectedAccountsQuery.js +32 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +116 -42
- package/esm/public/hooks/query-keys.js +66 -24
- package/esm/public/orm/index.d.ts +69 -19
- package/esm/public/orm/index.js +16 -6
- package/esm/public/orm/input-types.d.ts +2047 -640
- package/esm/public/orm/input-types.js +15 -6
- package/esm/public/orm/models/devicesModule.d.ts +56 -0
- package/esm/public/orm/models/devicesModule.js +96 -0
- package/esm/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/esm/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +24 -24
- package/esm/public/orm/models/index.d.ts +8 -3
- package/esm/public/orm/models/index.js +8 -3
- package/esm/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/esm/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +24 -24
- package/esm/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/esm/public/orm/models/sessionSecretsModule.js +96 -0
- package/esm/public/orm/models/spatialRelation.d.ts +56 -0
- package/esm/public/orm/models/spatialRelation.js +96 -0
- package/esm/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/esm/public/orm/models/userConnectedAccount.js +72 -0
- package/esm/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredentialsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +72 -20
- package/esm/public/orm/mutation/index.js +96 -24
- package/esm/public/orm/query/index.d.ts +24 -2
- package/esm/public/orm/query/index.js +36 -4
- package/esm/public/schema-types.d.ts +1550 -611
- package/esm/public/types.d.ts +98 -28
- package/package.json +5 -5
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +47 -17
- package/public/hooks/invalidation.js +121 -41
- package/public/hooks/mutation-keys.d.ts +112 -40
- package/public/hooks/mutation-keys.js +86 -30
- package/public/hooks/mutations/index.d.ts +31 -12
- package/public/hooks/mutations/index.js +31 -12
- package/public/hooks/mutations/useCreateApiKeyMutation.d.ts +20 -0
- package/public/hooks/mutations/useCreateApiKeyMutation.js +26 -0
- package/public/hooks/mutations/useCreateDevicesModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateTableTemplateModuleMutation.js → useCreateDevicesModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateEntityTypeProvisionMutation.d.ts +48 -0
- package/public/hooks/mutations/useCreateEntityTypeProvisionMutation.js +41 -0
- package/public/hooks/mutations/useCreateOrgMemberProfileMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgMemberProfileMutation.js +34 -0
- package/public/hooks/mutations/useCreateSessionSecretsModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateSessionSecretsModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateSpatialRelationMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateConnectedAccountMutation.js → useCreateSpatialRelationMutation.js} +6 -6
- package/public/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateUserConnectedAccountMutation.js +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +34 -0
- package/public/hooks/mutations/useDeleteDevicesModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteTableTemplateModuleMutation.js → useDeleteDevicesModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.d.ts +52 -0
- package/public/hooks/mutations/useDeleteEntityTypeProvisionMutation.js +46 -0
- package/public/hooks/mutations/useDeleteOrgMemberProfileMutation.d.ts +38 -0
- package/{auth/hooks/mutations/useDeleteConnectedAccountMutation.js → public/hooks/mutations/useDeleteOrgMemberProfileMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteSessionSecretsModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteSpatialRelationMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteSpatialRelationMutation.js +39 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +39 -0
- package/public/hooks/mutations/useDisconnectAccountMutation.d.ts +20 -0
- package/public/hooks/mutations/useDisconnectAccountMutation.js +26 -0
- package/public/hooks/mutations/useProvisionNewUserMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionNewUserMutation.js +26 -0
- package/public/hooks/mutations/useProvisionSpatialRelationMutation.d.ts +20 -0
- package/public/hooks/mutations/useProvisionSpatialRelationMutation.js +26 -0
- package/public/hooks/mutations/useRequestCrossOriginTokenMutation.d.ts +20 -0
- package/public/hooks/mutations/useRequestCrossOriginTokenMutation.js +26 -0
- package/public/hooks/mutations/useRevokeApiKeyMutation.d.ts +20 -0
- package/public/hooks/mutations/useRevokeApiKeyMutation.js +26 -0
- package/public/hooks/mutations/useRevokeSessionMutation.d.ts +20 -0
- package/public/hooks/mutations/useRevokeSessionMutation.js +26 -0
- package/public/hooks/mutations/useSignInCrossOriginMutation.d.ts +20 -0
- package/public/hooks/mutations/useSignInCrossOriginMutation.js +26 -0
- package/public/hooks/mutations/useUpdateDevicesModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateTableTemplateModuleMutation.js → useUpdateDevicesModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.d.ts +54 -0
- package/public/hooks/mutations/useUpdateEntityTypeProvisionMutation.js +47 -0
- package/public/hooks/mutations/useUpdateOrgMemberProfileMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateConnectedAccountMutation.js → useUpdateOrgMemberProfileMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateSessionSecretsModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateSpatialRelationMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateSpatialRelationMutation.js +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +40 -0
- package/public/hooks/queries/index.d.ts +19 -7
- package/public/hooks/queries/index.js +19 -7
- package/public/hooks/queries/useDevicesModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useTableTemplateModuleQuery.js → useDevicesModuleQuery.js} +14 -14
- package/public/hooks/queries/useDevicesModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useDevicesModulesQuery.js +38 -0
- package/public/hooks/queries/useEntityTypeProvisionQuery.d.ts +93 -0
- package/public/hooks/queries/useEntityTypeProvisionQuery.js +60 -0
- package/public/hooks/queries/useEntityTypeProvisionsQuery.d.ts +97 -0
- package/public/hooks/queries/useEntityTypeProvisionsQuery.js +45 -0
- package/public/hooks/queries/useOrgMemberProfileQuery.d.ts +65 -0
- package/{auth/hooks/queries/useConnectedAccountQuery.js → public/hooks/queries/useOrgMemberProfileQuery.js} +14 -14
- package/public/hooks/queries/useOrgMemberProfilesQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgMemberProfilesQuery.js +38 -0
- package/public/hooks/queries/useRequireStepUpQuery.d.ts +53 -0
- package/public/hooks/queries/useRequireStepUpQuery.js +53 -0
- package/public/hooks/queries/useResolveBlueprintFieldQuery.d.ts +53 -0
- package/public/hooks/queries/useResolveBlueprintFieldQuery.js +53 -0
- package/public/hooks/queries/useSessionSecretsModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useSessionSecretsModuleQuery.js +53 -0
- package/public/hooks/queries/useSessionSecretsModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useSessionSecretsModulesQuery.js +38 -0
- package/public/hooks/queries/useSpatialRelationQuery.d.ts +65 -0
- package/public/hooks/queries/useSpatialRelationQuery.js +53 -0
- package/public/hooks/queries/useSpatialRelationsQuery.d.ts +69 -0
- package/public/hooks/queries/useSpatialRelationsQuery.js +38 -0
- package/public/hooks/queries/useUserConnectedAccountQuery.d.ts +65 -0
- package/public/hooks/queries/useUserConnectedAccountQuery.js +53 -0
- package/public/hooks/queries/useUserConnectedAccountsQuery.d.ts +69 -0
- package/public/hooks/queries/useUserConnectedAccountsQuery.js +38 -0
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +53 -0
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +116 -42
- package/public/hooks/query-keys.js +69 -27
- package/public/orm/index.d.ts +69 -19
- package/public/orm/index.js +16 -6
- package/public/orm/input-types.d.ts +2047 -640
- package/public/orm/input-types.js +15 -6
- package/public/orm/models/devicesModule.d.ts +56 -0
- package/public/orm/models/devicesModule.js +100 -0
- package/public/orm/models/entityTypeProvision.d.ts +56 -0
- package/public/orm/models/{tableTemplateModule.js → entityTypeProvision.js} +26 -26
- package/public/orm/models/index.d.ts +8 -3
- package/public/orm/models/index.js +19 -9
- package/public/orm/models/orgMemberProfile.d.ts +56 -0
- package/public/orm/models/{connectedAccount.js → orgMemberProfile.js} +26 -26
- package/public/orm/models/sessionSecretsModule.d.ts +56 -0
- package/public/orm/models/sessionSecretsModule.js +100 -0
- package/public/orm/models/spatialRelation.d.ts +56 -0
- package/public/orm/models/spatialRelation.js +100 -0
- package/public/orm/models/userConnectedAccount.d.ts +38 -0
- package/public/orm/models/userConnectedAccount.js +76 -0
- package/public/orm/models/webauthnCredentialsModule.d.ts +56 -0
- package/public/orm/models/webauthnCredentialsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +72 -20
- package/public/orm/mutation/index.js +96 -24
- package/public/orm/query/index.d.ts +24 -2
- package/public/orm/query/index.js +36 -4
- package/public/schema-types.d.ts +1550 -611
- package/public/types.d.ts +98 -28
- package/auth/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
- package/auth/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
- package/auth/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
- package/auth/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
- package/auth/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
- package/auth/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
- package/auth/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
- package/auth/hooks/queries/useConnectedAccountsQuery.js +0 -38
- package/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/auth/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
- package/esm/auth/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
- package/esm/auth/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
- package/esm/auth/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
- package/esm/auth/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateTableTemplateModuleMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteTableTemplateModuleMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateTableTemplateModuleMutation.d.ts +0 -40
- package/esm/public/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useTableTemplateModuleQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useTableTemplateModulesQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useTableTemplateModulesQuery.js +0 -32
- package/esm/public/orm/models/connectedAccount.d.ts +0 -56
- package/esm/public/orm/models/tableTemplateModule.d.ts +0 -56
- package/public/hooks/mutations/useCreateConnectedAccountMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateTableTemplateModuleMutation.d.ts +0 -34
- package/public/hooks/mutations/useDeleteConnectedAccountMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteTableTemplateModuleMutation.d.ts +0 -38
- package/public/hooks/mutations/useOneTimeTokenMutation.d.ts +0 -20
- package/public/hooks/mutations/useSignInOneTimeTokenMutation.d.ts +0 -20
- package/public/hooks/mutations/useUpdateConnectedAccountMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateTableTemplateModuleMutation.d.ts +0 -40
- package/public/hooks/queries/useConnectedAccountQuery.d.ts +0 -65
- package/public/hooks/queries/useConnectedAccountsQuery.d.ts +0 -69
- package/public/hooks/queries/useConnectedAccountsQuery.js +0 -38
- package/public/hooks/queries/useTableTemplateModuleQuery.d.ts +0 -65
- package/public/hooks/queries/useTableTemplateModulesQuery.d.ts +0 -69
- package/public/hooks/queries/useTableTemplateModulesQuery.js +0 -38
- package/public/orm/models/connectedAccount.d.ts +0 -56
- package/public/orm/models/tableTemplateModule.d.ts +0 -56
package/public/types.d.ts
CHANGED
|
@@ -146,6 +146,23 @@ export interface Field {
|
|
|
146
146
|
createdAt: string | null;
|
|
147
147
|
updatedAt: string | null;
|
|
148
148
|
}
|
|
149
|
+
export interface SpatialRelation {
|
|
150
|
+
id: string | null;
|
|
151
|
+
databaseId: string | null;
|
|
152
|
+
tableId: string | null;
|
|
153
|
+
fieldId: string | null;
|
|
154
|
+
refTableId: string | null;
|
|
155
|
+
refFieldId: string | null;
|
|
156
|
+
name: string | null;
|
|
157
|
+
operator: string | null;
|
|
158
|
+
paramName: string | null;
|
|
159
|
+
category: ObjectCategory | null;
|
|
160
|
+
module: string | null;
|
|
161
|
+
scope: number | null;
|
|
162
|
+
tags: string[] | null;
|
|
163
|
+
createdAt: string | null;
|
|
164
|
+
updatedAt: string | null;
|
|
165
|
+
}
|
|
149
166
|
export interface ForeignKeyConstraint {
|
|
150
167
|
id: string | null;
|
|
151
168
|
databaseId: string | null;
|
|
@@ -335,17 +352,6 @@ export interface EmbeddingChunk {
|
|
|
335
352
|
createdAt: string | null;
|
|
336
353
|
updatedAt: string | null;
|
|
337
354
|
}
|
|
338
|
-
export interface TableTemplateModule {
|
|
339
|
-
id: string | null;
|
|
340
|
-
databaseId: string | null;
|
|
341
|
-
schemaId: string | null;
|
|
342
|
-
privateSchemaId: string | null;
|
|
343
|
-
tableId: string | null;
|
|
344
|
-
ownerTableId: string | null;
|
|
345
|
-
tableName: string | null;
|
|
346
|
-
nodeType: string | null;
|
|
347
|
-
data: unknown | null;
|
|
348
|
-
}
|
|
349
355
|
export interface SecureTableProvision {
|
|
350
356
|
id: string | null;
|
|
351
357
|
databaseId: string | null;
|
|
@@ -397,6 +403,14 @@ export interface RelationProvision {
|
|
|
397
403
|
outSourceFieldId: string | null;
|
|
398
404
|
outTargetFieldId: string | null;
|
|
399
405
|
}
|
|
406
|
+
export interface SessionSecretsModule {
|
|
407
|
+
id: string | null;
|
|
408
|
+
databaseId: string | null;
|
|
409
|
+
schemaId: string | null;
|
|
410
|
+
tableId: string | null;
|
|
411
|
+
tableName: string | null;
|
|
412
|
+
sessionsTableId: string | null;
|
|
413
|
+
}
|
|
400
414
|
export interface SchemaGrant {
|
|
401
415
|
id: string | null;
|
|
402
416
|
databaseId: string | null;
|
|
@@ -697,6 +711,7 @@ export interface MembershipsModule {
|
|
|
697
711
|
entityIdsByMask: string | null;
|
|
698
712
|
entityIdsByPerm: string | null;
|
|
699
713
|
entityIdsFunction: string | null;
|
|
714
|
+
memberProfilesTableId: string | null;
|
|
700
715
|
}
|
|
701
716
|
export interface PermissionsModule {
|
|
702
717
|
id: string | null;
|
|
@@ -790,8 +805,8 @@ export interface UserAuthModule {
|
|
|
790
805
|
checkPasswordFunction: string | null;
|
|
791
806
|
sendAccountDeletionEmailFunction: string | null;
|
|
792
807
|
deleteAccountFunction: string | null;
|
|
793
|
-
|
|
794
|
-
|
|
808
|
+
signInCrossOriginFunction: string | null;
|
|
809
|
+
requestCrossOriginTokenFunction: string | null;
|
|
795
810
|
extendTokenExpires: string | null;
|
|
796
811
|
}
|
|
797
812
|
export interface UsersModule {
|
|
@@ -874,6 +889,34 @@ export interface StorageModule {
|
|
|
874
889
|
maxFilenameLength: number | null;
|
|
875
890
|
cacheTtlSeconds: number | null;
|
|
876
891
|
}
|
|
892
|
+
export interface EntityTypeProvision {
|
|
893
|
+
id: string | null;
|
|
894
|
+
databaseId: string | null;
|
|
895
|
+
name: string | null;
|
|
896
|
+
prefix: string | null;
|
|
897
|
+
description: string | null;
|
|
898
|
+
parentEntity: string | null;
|
|
899
|
+
tableName: string | null;
|
|
900
|
+
isVisible: boolean | null;
|
|
901
|
+
hasLimits: boolean | null;
|
|
902
|
+
hasProfiles: boolean | null;
|
|
903
|
+
hasLevels: boolean | null;
|
|
904
|
+
skipEntityPolicies: boolean | null;
|
|
905
|
+
tableProvision: unknown | null;
|
|
906
|
+
outMembershipType: number | null;
|
|
907
|
+
outEntityTableId: string | null;
|
|
908
|
+
outEntityTableName: string | null;
|
|
909
|
+
outInstalledModules: string[] | null;
|
|
910
|
+
}
|
|
911
|
+
export interface WebauthnCredentialsModule {
|
|
912
|
+
id: string | null;
|
|
913
|
+
databaseId: string | null;
|
|
914
|
+
schemaId: string | null;
|
|
915
|
+
privateSchemaId: string | null;
|
|
916
|
+
tableId: string | null;
|
|
917
|
+
ownerTableId: string | null;
|
|
918
|
+
tableName: string | null;
|
|
919
|
+
}
|
|
877
920
|
export interface DatabaseProvisionModule {
|
|
878
921
|
id: string | null;
|
|
879
922
|
databaseName: string | null;
|
|
@@ -925,12 +968,14 @@ export interface OrgMembership {
|
|
|
925
968
|
isBanned: boolean | null;
|
|
926
969
|
isDisabled: boolean | null;
|
|
927
970
|
isActive: boolean | null;
|
|
971
|
+
isExternal: boolean | null;
|
|
928
972
|
isOwner: boolean | null;
|
|
929
973
|
isAdmin: boolean | null;
|
|
930
974
|
permissions: string | null;
|
|
931
975
|
granted: string | null;
|
|
932
976
|
actorId: string | null;
|
|
933
977
|
entityId: string | null;
|
|
978
|
+
isReadOnly: boolean | null;
|
|
934
979
|
profileId: string | null;
|
|
935
980
|
}
|
|
936
981
|
export interface OrgMember {
|
|
@@ -957,6 +1002,19 @@ export interface OrgOwnerGrant {
|
|
|
957
1002
|
createdAt: string | null;
|
|
958
1003
|
updatedAt: string | null;
|
|
959
1004
|
}
|
|
1005
|
+
export interface OrgMemberProfile {
|
|
1006
|
+
id: string | null;
|
|
1007
|
+
createdAt: string | null;
|
|
1008
|
+
updatedAt: string | null;
|
|
1009
|
+
membershipId: string | null;
|
|
1010
|
+
entityId: string | null;
|
|
1011
|
+
actorId: string | null;
|
|
1012
|
+
displayName: string | null;
|
|
1013
|
+
email: string | null;
|
|
1014
|
+
title: string | null;
|
|
1015
|
+
bio: string | null;
|
|
1016
|
+
profilePicture: ConstructiveInternalTypeImage | null;
|
|
1017
|
+
}
|
|
960
1018
|
export interface OrgGrant {
|
|
961
1019
|
id: string | null;
|
|
962
1020
|
permissions: string | null;
|
|
@@ -1061,16 +1119,6 @@ export interface CryptoAddress {
|
|
|
1061
1119
|
createdAt: string | null;
|
|
1062
1120
|
updatedAt: string | null;
|
|
1063
1121
|
}
|
|
1064
|
-
export interface ConnectedAccount {
|
|
1065
|
-
id: string | null;
|
|
1066
|
-
ownerId: string | null;
|
|
1067
|
-
service: string | null;
|
|
1068
|
-
identifier: string | null;
|
|
1069
|
-
details: unknown | null;
|
|
1070
|
-
isVerified: boolean | null;
|
|
1071
|
-
createdAt: string | null;
|
|
1072
|
-
updatedAt: string | null;
|
|
1073
|
-
}
|
|
1074
1122
|
export interface AppInvite {
|
|
1075
1123
|
id: string | null;
|
|
1076
1124
|
email: ConstructiveInternalTypeEmail | null;
|
|
@@ -1165,11 +1213,24 @@ export interface OrgLimitDefault {
|
|
|
1165
1213
|
name: string | null;
|
|
1166
1214
|
max: number | null;
|
|
1167
1215
|
}
|
|
1168
|
-
export interface
|
|
1169
|
-
id:
|
|
1170
|
-
|
|
1171
|
-
|
|
1172
|
-
|
|
1216
|
+
export interface DevicesModule {
|
|
1217
|
+
id: string | null;
|
|
1218
|
+
databaseId: string | null;
|
|
1219
|
+
schemaId: string | null;
|
|
1220
|
+
userDevicesTableId: string | null;
|
|
1221
|
+
deviceSettingsTableId: string | null;
|
|
1222
|
+
userDevicesTable: string | null;
|
|
1223
|
+
deviceSettingsTable: string | null;
|
|
1224
|
+
}
|
|
1225
|
+
export interface UserConnectedAccount {
|
|
1226
|
+
id: string | null;
|
|
1227
|
+
ownerId: string | null;
|
|
1228
|
+
service: string | null;
|
|
1229
|
+
identifier: string | null;
|
|
1230
|
+
details: unknown | null;
|
|
1231
|
+
isVerified: boolean | null;
|
|
1232
|
+
createdAt: string | null;
|
|
1233
|
+
updatedAt: string | null;
|
|
1173
1234
|
}
|
|
1174
1235
|
export interface AppMembershipDefault {
|
|
1175
1236
|
id: string | null;
|
|
@@ -1202,6 +1263,14 @@ export interface RateLimitsModule {
|
|
|
1202
1263
|
ipRateLimitsTable: string | null;
|
|
1203
1264
|
rateLimitsTable: string | null;
|
|
1204
1265
|
}
|
|
1266
|
+
export interface MembershipType {
|
|
1267
|
+
id: number | null;
|
|
1268
|
+
name: string | null;
|
|
1269
|
+
description: string | null;
|
|
1270
|
+
prefix: string | null;
|
|
1271
|
+
parentMembershipType: number | null;
|
|
1272
|
+
hasUsersTableEntry: boolean | null;
|
|
1273
|
+
}
|
|
1205
1274
|
export interface OrgMembershipDefault {
|
|
1206
1275
|
id: string | null;
|
|
1207
1276
|
createdAt: string | null;
|
|
@@ -1280,6 +1349,7 @@ export interface AppMembership {
|
|
|
1280
1349
|
isDisabled: boolean | null;
|
|
1281
1350
|
isVerified: boolean | null;
|
|
1282
1351
|
isActive: boolean | null;
|
|
1352
|
+
isExternal: boolean | null;
|
|
1283
1353
|
isOwner: boolean | null;
|
|
1284
1354
|
isAdmin: boolean | null;
|
|
1285
1355
|
permissions: string | null;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth and social login connections linking external service accounts to users
|
|
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 { ConnectedAccountSelect, ConnectedAccountWithRelations, CreateConnectedAccountInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ConnectedAccountSelect, ConnectedAccountWithRelations, CreateConnectedAccountInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* OAuth and social login connections linking external service accounts to users
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateConnectedAccountMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateConnectedAccountMutation<S extends ConnectedAccountSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ConnectedAccountSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createConnectedAccount: {
|
|
28
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateConnectedAccountInput['connectedAccount']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createConnectedAccount: {
|
|
32
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateConnectedAccountInput['connectedAccount']>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth and social login connections linking external service accounts to users
|
|
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 { ConnectedAccountSelect, ConnectedAccountWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ConnectedAccountSelect, ConnectedAccountWithRelations } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* OAuth and social login connections linking external service accounts to users
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useDeleteConnectedAccountMutation({
|
|
16
|
-
* selection: { fields: { id: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-to-delete' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useDeleteConnectedAccountMutation<S extends ConnectedAccountSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ConnectedAccountSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
deleteConnectedAccount: {
|
|
28
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
-
deleteConnectedAccount: {
|
|
34
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
35
|
-
};
|
|
36
|
-
}, Error, {
|
|
37
|
-
id: string;
|
|
38
|
-
}>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for oneTimeToken
|
|
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 { OneTimeTokenVariables } from '../../orm/mutation';
|
|
8
|
-
import type { OneTimeTokenPayloadSelect, OneTimeTokenPayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { OneTimeTokenVariables } from '../../orm/mutation';
|
|
11
|
-
export type { OneTimeTokenPayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useOneTimeTokenMutation<S extends OneTimeTokenPayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & OneTimeTokenPayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, OneTimeTokenPayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
oneTimeToken: InferSelectResult<OneTimeTokenPayload, S> | null;
|
|
18
|
-
}, Error, OneTimeTokenVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
oneTimeToken: InferSelectResult<OneTimeTokenPayload, S> | null;
|
|
20
|
-
}, Error, OneTimeTokenVariables>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for signInOneTimeToken
|
|
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 { SignInOneTimeTokenVariables } from '../../orm/mutation';
|
|
8
|
-
import type { SignInOneTimeTokenPayloadSelect, SignInOneTimeTokenPayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { SignInOneTimeTokenVariables } from '../../orm/mutation';
|
|
11
|
-
export type { SignInOneTimeTokenPayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useSignInOneTimeTokenMutation<S extends SignInOneTimeTokenPayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & SignInOneTimeTokenPayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, SignInOneTimeTokenPayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
signInOneTimeToken: InferSelectResult<SignInOneTimeTokenPayload, S> | null;
|
|
18
|
-
}, Error, SignInOneTimeTokenVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
signInOneTimeToken: InferSelectResult<SignInOneTimeTokenPayload, S> | null;
|
|
20
|
-
}, Error, SignInOneTimeTokenVariables>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth and social login connections linking external service accounts to users
|
|
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 { ConnectedAccountSelect, ConnectedAccountWithRelations, ConnectedAccountPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ConnectedAccountSelect, ConnectedAccountWithRelations, ConnectedAccountPatch, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* OAuth and social login connections linking external service accounts to users
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateConnectedAccountMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', connectedAccountPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateConnectedAccountMutation<S extends ConnectedAccountSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ConnectedAccountSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateConnectedAccount: {
|
|
28
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
connectedAccountPatch: ConnectedAccountPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateConnectedAccount: {
|
|
35
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
connectedAccountPatch: ConnectedAccountPatch;
|
|
40
|
-
}>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth and social login connections linking external service accounts to users
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
-
import type { ConnectedAccountSelect, ConnectedAccountWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ConnectedAccountSelect, ConnectedAccountWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const connectedAccountQueryKey: (id: string | number) => readonly ["connectedaccount", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* OAuth and social login connections linking external service accounts to users
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useConnectedAccountQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useConnectedAccountQuery<S extends ConnectedAccountSelect, TData = {
|
|
24
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* OAuth and social login connections linking external service accounts to users
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchConnectedAccountQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchConnectedAccountQuery<S extends ConnectedAccountSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* OAuth and social login connections linking external service accounts to users
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchConnectedAccountQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchConnectedAccountQuery<S extends ConnectedAccountSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
65
|
-
}): Promise<void>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth and social login connections linking external service accounts to users
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
-
import type { ListSelectionConfig } from '../selection';
|
|
8
|
-
import type { ConnectedAccountSelect, ConnectedAccountWithRelations, ConnectedAccountFilter, ConnectedAccountOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { ConnectedAccountSelect, ConnectedAccountWithRelations, ConnectedAccountFilter, ConnectedAccountOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const connectedAccountsQueryKey: (variables?: object) => readonly ["connectedaccount", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* OAuth and social login connections linking external service accounts to users
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useConnectedAccountsQuery({
|
|
19
|
-
* selection: {
|
|
20
|
-
* fields: { id: true, name: true },
|
|
21
|
-
* where: { name: { equalTo: "example" } },
|
|
22
|
-
* orderBy: ['CREATED_AT_DESC'],
|
|
23
|
-
* first: 10,
|
|
24
|
-
* },
|
|
25
|
-
* });
|
|
26
|
-
* ```
|
|
27
|
-
*/
|
|
28
|
-
export declare function useConnectedAccountsQuery<S extends ConnectedAccountSelect, TData = {
|
|
29
|
-
connectedAccounts: ConnectionResult<InferSelectResult<ConnectedAccountWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, ConnectedAccountFilter, ConnectedAccountOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
connectedAccounts: ConnectionResult<InferSelectResult<ConnectedAccountWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* OAuth and social login connections linking external service accounts to users
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchConnectedAccountsQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchConnectedAccountsQuery<S extends ConnectedAccountSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, ConnectedAccountFilter, ConnectedAccountOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
connectedAccounts: ConnectionResult<InferSelectResult<ConnectedAccountWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* OAuth and social login connections linking external service accounts to users
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchConnectedAccountsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchConnectedAccountsQuery<S extends ConnectedAccountSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, ConnectedAccountFilter, ConnectedAccountOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
69
|
-
}): Promise<void>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* OAuth and social login connections linking external service accounts to users
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.connectedAccountsQueryKey = void 0;
|
|
9
|
-
exports.useConnectedAccountsQuery = useConnectedAccountsQuery;
|
|
10
|
-
exports.fetchConnectedAccountsQuery = fetchConnectedAccountsQuery;
|
|
11
|
-
exports.prefetchConnectedAccountsQuery = prefetchConnectedAccountsQuery;
|
|
12
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
-
const client_1 = require("../client");
|
|
14
|
-
const selection_1 = require("../selection");
|
|
15
|
-
const query_keys_1 = require("../query-keys");
|
|
16
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.connectedAccountsQueryKey = query_keys_1.connectedAccountKeys.list;
|
|
18
|
-
function useConnectedAccountsQuery(params) {
|
|
19
|
-
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
-
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
-
void _selection;
|
|
22
|
-
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.connectedAccountKeys.list(args),
|
|
24
|
-
queryFn: () => (0, client_1.getClient)().connectedAccount.findMany(args).unwrap(),
|
|
25
|
-
...queryOptions,
|
|
26
|
-
});
|
|
27
|
-
}
|
|
28
|
-
async function fetchConnectedAccountsQuery(params) {
|
|
29
|
-
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
-
return (0, client_1.getClient)().connectedAccount.findMany(args).unwrap();
|
|
31
|
-
}
|
|
32
|
-
async function prefetchConnectedAccountsQuery(queryClient, params) {
|
|
33
|
-
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
-
await queryClient.prefetchQuery({
|
|
35
|
-
queryKey: query_keys_1.connectedAccountKeys.list(args),
|
|
36
|
-
queryFn: () => (0, client_1.getClient)().connectedAccount.findMany(args).unwrap(),
|
|
37
|
-
});
|
|
38
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ConnectedAccount model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ConnectedAccountWithRelations, ConnectedAccountSelect, ConnectedAccountFilter, ConnectedAccountOrderBy, CreateConnectedAccountInput, ConnectedAccountPatch } from '../input-types';
|
|
10
|
-
export declare class ConnectedAccountModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ConnectedAccountSelect>(args: FindManyArgs<S, ConnectedAccountFilter, ConnectedAccountOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
|
|
16
|
-
connectedAccounts: ConnectionResult<InferSelectResult<ConnectedAccountWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends ConnectedAccountSelect>(args: FindFirstArgs<S, ConnectedAccountFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
|
|
21
|
-
connectedAccounts: {
|
|
22
|
-
nodes: InferSelectResult<ConnectedAccountWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends ConnectedAccountSelect>(args: {
|
|
26
|
-
id: string;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
|
|
29
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends ConnectedAccountSelect>(args: CreateArgs<S, CreateConnectedAccountInput['connectedAccount']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
|
|
34
|
-
createConnectedAccount: {
|
|
35
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
update<S extends ConnectedAccountSelect>(args: UpdateArgs<S, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, ConnectedAccountPatch> & {
|
|
41
|
-
select: S;
|
|
42
|
-
} & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
|
|
43
|
-
updateConnectedAccount: {
|
|
44
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
delete<S extends ConnectedAccountSelect>(args: DeleteArgs<{
|
|
48
|
-
id: string;
|
|
49
|
-
}, S> & {
|
|
50
|
-
select: S;
|
|
51
|
-
} & StrictSelect<S, ConnectedAccountSelect>): QueryBuilder<{
|
|
52
|
-
deleteConnectedAccount: {
|
|
53
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth and social login connections linking external service accounts to users
|
|
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 { ConnectedAccountSelect, ConnectedAccountWithRelations, CreateConnectedAccountInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ConnectedAccountSelect, ConnectedAccountWithRelations, CreateConnectedAccountInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* OAuth and social login connections linking external service accounts to users
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateConnectedAccountMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateConnectedAccountMutation<S extends ConnectedAccountSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ConnectedAccountSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createConnectedAccount: {
|
|
28
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateConnectedAccountInput['connectedAccount']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createConnectedAccount: {
|
|
32
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateConnectedAccountInput['connectedAccount']>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OAuth and social login connections linking external service accounts to users
|
|
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 { ConnectedAccountSelect, ConnectedAccountWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ConnectedAccountSelect, ConnectedAccountWithRelations } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* OAuth and social login connections linking external service accounts to users
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useDeleteConnectedAccountMutation({
|
|
16
|
-
* selection: { fields: { id: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-to-delete' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useDeleteConnectedAccountMutation<S extends ConnectedAccountSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ConnectedAccountSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ConnectedAccountSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
deleteConnectedAccount: {
|
|
28
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
-
deleteConnectedAccount: {
|
|
34
|
-
connectedAccount: InferSelectResult<ConnectedAccountWithRelations, S>;
|
|
35
|
-
};
|
|
36
|
-
}, Error, {
|
|
37
|
-
id: string;
|
|
38
|
-
}>;
|