@constructive-io/react 0.12.0 → 0.12.2
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 +3 -3
- 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
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
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.useCreateOrgMemberProfileMutation = useCreateOrgMemberProfileMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const query_keys_1 = require("../query-keys");
|
|
13
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
+
function useCreateOrgMemberProfileMutation(params) {
|
|
15
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
+
void _selection;
|
|
18
|
+
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
+
return (0, react_query_1.useMutation)({
|
|
20
|
+
mutationKey: mutation_keys_1.orgMemberProfileMutationKeys.create(),
|
|
21
|
+
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
+
.orgMemberProfile.create({
|
|
23
|
+
data,
|
|
24
|
+
select: args.select,
|
|
25
|
+
})
|
|
26
|
+
.unwrap(),
|
|
27
|
+
onSuccess: () => {
|
|
28
|
+
queryClient.invalidateQueries({
|
|
29
|
+
queryKey: query_keys_1.orgMemberProfileKeys.lists(),
|
|
30
|
+
});
|
|
31
|
+
},
|
|
32
|
+
...mutationOptions,
|
|
33
|
+
});
|
|
34
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
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 { OrgMemberProfileSelect, OrgMemberProfileWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgMemberProfileSelect, OrgMemberProfileWithRelations } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteOrgMemberProfileMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteOrgMemberProfileMutation<S extends OrgMemberProfileSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgMemberProfileSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteOrgMemberProfile: {
|
|
28
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteOrgMemberProfile: {
|
|
34
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.useDeleteOrgMemberProfileMutation = useDeleteOrgMemberProfileMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
10
|
const client_1 = require("../client");
|
|
11
11
|
const selection_1 = require("../selection");
|
|
12
12
|
const query_keys_1 = require("../query-keys");
|
|
13
13
|
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
-
function
|
|
14
|
+
function useDeleteOrgMemberProfileMutation(params) {
|
|
15
15
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
16
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
17
|
void _selection;
|
|
18
18
|
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
19
|
return (0, react_query_1.useMutation)({
|
|
20
|
-
mutationKey: mutation_keys_1.
|
|
20
|
+
mutationKey: mutation_keys_1.orgMemberProfileMutationKeys.all,
|
|
21
21
|
mutationFn: ({ id }) => (0, client_1.getClient)()
|
|
22
|
-
.
|
|
22
|
+
.orgMemberProfile.delete({
|
|
23
23
|
where: {
|
|
24
24
|
id,
|
|
25
25
|
},
|
|
@@ -28,10 +28,10 @@ function useDeleteConnectedAccountMutation(params) {
|
|
|
28
28
|
.unwrap(),
|
|
29
29
|
onSuccess: (_, variables) => {
|
|
30
30
|
queryClient.removeQueries({
|
|
31
|
-
queryKey: query_keys_1.
|
|
31
|
+
queryKey: query_keys_1.orgMemberProfileKeys.detail(variables.id),
|
|
32
32
|
});
|
|
33
33
|
queryClient.invalidateQueries({
|
|
34
|
-
queryKey: query_keys_1.
|
|
34
|
+
queryKey: query_keys_1.orgMemberProfileKeys.lists(),
|
|
35
35
|
});
|
|
36
36
|
},
|
|
37
37
|
...mutationOptions,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
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 { OrgMemberProfileSelect, OrgMemberProfileWithRelations, OrgMemberProfilePatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgMemberProfileSelect, OrgMemberProfileWithRelations, OrgMemberProfilePatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateOrgMemberProfileMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', orgMemberProfilePatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateOrgMemberProfileMutation<S extends OrgMemberProfileSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgMemberProfileSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateOrgMemberProfile: {
|
|
28
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
orgMemberProfilePatch: OrgMemberProfilePatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateOrgMemberProfile: {
|
|
35
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
orgMemberProfilePatch: OrgMemberProfilePatch;
|
|
40
|
+
}>;
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
8
|
+
exports.useUpdateOrgMemberProfileMutation = useUpdateOrgMemberProfileMutation;
|
|
9
9
|
const react_query_1 = require("@tanstack/react-query");
|
|
10
10
|
const client_1 = require("../client");
|
|
11
11
|
const selection_1 = require("../selection");
|
|
12
12
|
const query_keys_1 = require("../query-keys");
|
|
13
13
|
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
-
function
|
|
14
|
+
function useUpdateOrgMemberProfileMutation(params) {
|
|
15
15
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
16
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
17
|
void _selection;
|
|
18
18
|
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
19
|
return (0, react_query_1.useMutation)({
|
|
20
|
-
mutationKey: mutation_keys_1.
|
|
21
|
-
mutationFn: ({ id,
|
|
22
|
-
.
|
|
20
|
+
mutationKey: mutation_keys_1.orgMemberProfileMutationKeys.all,
|
|
21
|
+
mutationFn: ({ id, orgMemberProfilePatch, }) => (0, client_1.getClient)()
|
|
22
|
+
.orgMemberProfile.update({
|
|
23
23
|
where: {
|
|
24
24
|
id,
|
|
25
25
|
},
|
|
26
|
-
data:
|
|
26
|
+
data: orgMemberProfilePatch,
|
|
27
27
|
select: args.select,
|
|
28
28
|
})
|
|
29
29
|
.unwrap(),
|
|
30
30
|
onSuccess: (_, variables) => {
|
|
31
31
|
queryClient.invalidateQueries({
|
|
32
|
-
queryKey: query_keys_1.
|
|
32
|
+
queryKey: query_keys_1.orgMemberProfileKeys.detail(variables.id),
|
|
33
33
|
});
|
|
34
34
|
queryClient.invalidateQueries({
|
|
35
|
-
queryKey: query_keys_1.
|
|
35
|
+
queryKey: query_keys_1.orgMemberProfileKeys.lists(),
|
|
36
36
|
});
|
|
37
37
|
},
|
|
38
38
|
...mutationOptions,
|
|
@@ -29,8 +29,6 @@ export * from './useOrgAdminGrantsQuery';
|
|
|
29
29
|
export * from './useOrgAdminGrantQuery';
|
|
30
30
|
export * from './useOrgOwnerGrantsQuery';
|
|
31
31
|
export * from './useOrgOwnerGrantQuery';
|
|
32
|
-
export * from './useMembershipTypesQuery';
|
|
33
|
-
export * from './useMembershipTypeQuery';
|
|
34
32
|
export * from './useAppLimitsQuery';
|
|
35
33
|
export * from './useAppLimitQuery';
|
|
36
34
|
export * from './useAppAchievementsQuery';
|
|
@@ -43,6 +41,8 @@ export * from './useOrgChartEdgeGrantsQuery';
|
|
|
43
41
|
export * from './useOrgChartEdgeGrantQuery';
|
|
44
42
|
export * from './useOrgLimitsQuery';
|
|
45
43
|
export * from './useOrgLimitQuery';
|
|
44
|
+
export * from './useMembershipTypesQuery';
|
|
45
|
+
export * from './useMembershipTypeQuery';
|
|
46
46
|
export * from './useAppGrantsQuery';
|
|
47
47
|
export * from './useAppGrantQuery';
|
|
48
48
|
export * from './useAppMembershipDefaultsQuery';
|
|
@@ -55,16 +55,18 @@ export * from './useOrgChartEdgesQuery';
|
|
|
55
55
|
export * from './useOrgChartEdgeQuery';
|
|
56
56
|
export * from './useOrgMembershipDefaultsQuery';
|
|
57
57
|
export * from './useOrgMembershipDefaultQuery';
|
|
58
|
+
export * from './useOrgMemberProfilesQuery';
|
|
59
|
+
export * from './useOrgMemberProfileQuery';
|
|
58
60
|
export * from './useAppLevelsQuery';
|
|
59
61
|
export * from './useAppLevelQuery';
|
|
60
62
|
export * from './useAppInvitesQuery';
|
|
61
63
|
export * from './useAppInviteQuery';
|
|
64
|
+
export * from './useOrgInvitesQuery';
|
|
65
|
+
export * from './useOrgInviteQuery';
|
|
62
66
|
export * from './useAppMembershipsQuery';
|
|
63
67
|
export * from './useAppMembershipQuery';
|
|
64
68
|
export * from './useOrgMembershipsQuery';
|
|
65
69
|
export * from './useOrgMembershipQuery';
|
|
66
|
-
export * from './useOrgInvitesQuery';
|
|
67
|
-
export * from './useOrgInviteQuery';
|
|
68
70
|
export * from './useAppPermissionsGetPaddedMaskQuery';
|
|
69
71
|
export * from './useOrgPermissionsGetPaddedMaskQuery';
|
|
70
72
|
export * from './useOrgIsManagerOfQuery';
|
|
@@ -45,8 +45,6 @@ __exportStar(require("./useOrgAdminGrantsQuery"), exports);
|
|
|
45
45
|
__exportStar(require("./useOrgAdminGrantQuery"), exports);
|
|
46
46
|
__exportStar(require("./useOrgOwnerGrantsQuery"), exports);
|
|
47
47
|
__exportStar(require("./useOrgOwnerGrantQuery"), exports);
|
|
48
|
-
__exportStar(require("./useMembershipTypesQuery"), exports);
|
|
49
|
-
__exportStar(require("./useMembershipTypeQuery"), exports);
|
|
50
48
|
__exportStar(require("./useAppLimitsQuery"), exports);
|
|
51
49
|
__exportStar(require("./useAppLimitQuery"), exports);
|
|
52
50
|
__exportStar(require("./useAppAchievementsQuery"), exports);
|
|
@@ -59,6 +57,8 @@ __exportStar(require("./useOrgChartEdgeGrantsQuery"), exports);
|
|
|
59
57
|
__exportStar(require("./useOrgChartEdgeGrantQuery"), exports);
|
|
60
58
|
__exportStar(require("./useOrgLimitsQuery"), exports);
|
|
61
59
|
__exportStar(require("./useOrgLimitQuery"), exports);
|
|
60
|
+
__exportStar(require("./useMembershipTypesQuery"), exports);
|
|
61
|
+
__exportStar(require("./useMembershipTypeQuery"), exports);
|
|
62
62
|
__exportStar(require("./useAppGrantsQuery"), exports);
|
|
63
63
|
__exportStar(require("./useAppGrantQuery"), exports);
|
|
64
64
|
__exportStar(require("./useAppMembershipDefaultsQuery"), exports);
|
|
@@ -71,16 +71,18 @@ __exportStar(require("./useOrgChartEdgesQuery"), exports);
|
|
|
71
71
|
__exportStar(require("./useOrgChartEdgeQuery"), exports);
|
|
72
72
|
__exportStar(require("./useOrgMembershipDefaultsQuery"), exports);
|
|
73
73
|
__exportStar(require("./useOrgMembershipDefaultQuery"), exports);
|
|
74
|
+
__exportStar(require("./useOrgMemberProfilesQuery"), exports);
|
|
75
|
+
__exportStar(require("./useOrgMemberProfileQuery"), exports);
|
|
74
76
|
__exportStar(require("./useAppLevelsQuery"), exports);
|
|
75
77
|
__exportStar(require("./useAppLevelQuery"), exports);
|
|
76
78
|
__exportStar(require("./useAppInvitesQuery"), exports);
|
|
77
79
|
__exportStar(require("./useAppInviteQuery"), exports);
|
|
80
|
+
__exportStar(require("./useOrgInvitesQuery"), exports);
|
|
81
|
+
__exportStar(require("./useOrgInviteQuery"), exports);
|
|
78
82
|
__exportStar(require("./useAppMembershipsQuery"), exports);
|
|
79
83
|
__exportStar(require("./useAppMembershipQuery"), exports);
|
|
80
84
|
__exportStar(require("./useOrgMembershipsQuery"), exports);
|
|
81
85
|
__exportStar(require("./useOrgMembershipQuery"), exports);
|
|
82
|
-
__exportStar(require("./useOrgInvitesQuery"), exports);
|
|
83
|
-
__exportStar(require("./useOrgInviteQuery"), exports);
|
|
84
86
|
__exportStar(require("./useAppPermissionsGetPaddedMaskQuery"), exports);
|
|
85
87
|
__exportStar(require("./useOrgPermissionsGetPaddedMaskQuery"), exports);
|
|
86
88
|
__exportStar(require("./useOrgIsManagerOfQuery"), exports);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
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 { OrgMemberProfileSelect, OrgMemberProfileWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgMemberProfileSelect, OrgMemberProfileWithRelations } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const orgMemberProfileQueryKey: (id: string | number) => readonly ["orgmemberprofile", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useOrgMemberProfileQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useOrgMemberProfileQuery<S extends OrgMemberProfileSelect, TData = {
|
|
24
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchOrgMemberProfileQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchOrgMemberProfileQuery<S extends OrgMemberProfileSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
orgMemberProfile: InferSelectResult<OrgMemberProfileWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchOrgMemberProfileQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchOrgMemberProfileQuery<S extends OrgMemberProfileSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
4
4
|
* @generated by @constructive-io/graphql-codegen
|
|
5
5
|
* DO NOT EDIT - changes will be overwritten
|
|
6
6
|
*/
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
8
|
+
exports.orgMemberProfileQueryKey = void 0;
|
|
9
|
+
exports.useOrgMemberProfileQuery = useOrgMemberProfileQuery;
|
|
10
|
+
exports.fetchOrgMemberProfileQuery = fetchOrgMemberProfileQuery;
|
|
11
|
+
exports.prefetchOrgMemberProfileQuery = prefetchOrgMemberProfileQuery;
|
|
12
12
|
const react_query_1 = require("@tanstack/react-query");
|
|
13
13
|
const client_1 = require("../client");
|
|
14
14
|
const selection_1 = require("../selection");
|
|
15
15
|
const query_keys_1 = require("../query-keys");
|
|
16
16
|
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
-
exports.
|
|
18
|
-
function
|
|
17
|
+
exports.orgMemberProfileQueryKey = query_keys_1.orgMemberProfileKeys.detail;
|
|
18
|
+
function useOrgMemberProfileQuery(params) {
|
|
19
19
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
20
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
21
|
void _selection;
|
|
22
22
|
return (0, react_query_1.useQuery)({
|
|
23
|
-
queryKey: query_keys_1.
|
|
23
|
+
queryKey: query_keys_1.orgMemberProfileKeys.detail(params.id),
|
|
24
24
|
queryFn: () => (0, client_1.getClient)()
|
|
25
|
-
.
|
|
25
|
+
.orgMemberProfile.findOne({
|
|
26
26
|
id: params.id,
|
|
27
27
|
select: args.select,
|
|
28
28
|
})
|
|
@@ -30,21 +30,21 @@ function useConnectedAccountQuery(params) {
|
|
|
30
30
|
...queryOptions,
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
|
-
async function
|
|
33
|
+
async function fetchOrgMemberProfileQuery(params) {
|
|
34
34
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
35
|
return (0, client_1.getClient)()
|
|
36
|
-
.
|
|
36
|
+
.orgMemberProfile.findOne({
|
|
37
37
|
id: params.id,
|
|
38
38
|
select: args.select,
|
|
39
39
|
})
|
|
40
40
|
.unwrap();
|
|
41
41
|
}
|
|
42
|
-
async function
|
|
42
|
+
async function prefetchOrgMemberProfileQuery(queryClient, params) {
|
|
43
43
|
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
44
|
await queryClient.prefetchQuery({
|
|
45
|
-
queryKey: query_keys_1.
|
|
45
|
+
queryKey: query_keys_1.orgMemberProfileKeys.detail(params.id),
|
|
46
46
|
queryFn: () => (0, client_1.getClient)()
|
|
47
|
-
.
|
|
47
|
+
.orgMemberProfile.findOne({
|
|
48
48
|
id: params.id,
|
|
49
49
|
select: args.select,
|
|
50
50
|
})
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
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 { OrgMemberProfileSelect, OrgMemberProfileWithRelations, OrgMemberProfileFilter, OrgMemberProfileOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { OrgMemberProfileSelect, OrgMemberProfileWithRelations, OrgMemberProfileFilter, OrgMemberProfileOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const orgMemberProfilesQueryKey: (variables?: object) => readonly ["orgmemberprofile", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useOrgMemberProfilesQuery({
|
|
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 useOrgMemberProfilesQuery<S extends OrgMemberProfileSelect, TData = {
|
|
29
|
+
orgMemberProfiles: ConnectionResult<InferSelectResult<OrgMemberProfileWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, OrgMemberProfileFilter, OrgMemberProfileOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
orgMemberProfiles: ConnectionResult<InferSelectResult<OrgMemberProfileWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchOrgMemberProfilesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchOrgMemberProfilesQuery<S extends OrgMemberProfileSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, OrgMemberProfileFilter, OrgMemberProfileOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
orgMemberProfiles: ConnectionResult<InferSelectResult<OrgMemberProfileWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchOrgMemberProfilesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchOrgMemberProfilesQuery<S extends OrgMemberProfileSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, OrgMemberProfileFilter, OrgMemberProfileOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, OrgMemberProfileSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Per-membership profile information visible to other entity members (display name, email, title, bio, avatar)
|
|
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.orgMemberProfilesQueryKey = void 0;
|
|
9
|
+
exports.useOrgMemberProfilesQuery = useOrgMemberProfilesQuery;
|
|
10
|
+
exports.fetchOrgMemberProfilesQuery = fetchOrgMemberProfilesQuery;
|
|
11
|
+
exports.prefetchOrgMemberProfilesQuery = prefetchOrgMemberProfilesQuery;
|
|
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.orgMemberProfilesQueryKey = query_keys_1.orgMemberProfileKeys.list;
|
|
18
|
+
function useOrgMemberProfilesQuery(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.orgMemberProfileKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().orgMemberProfile.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchOrgMemberProfilesQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().orgMemberProfile.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchOrgMemberProfilesQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.orgMemberProfileKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().orgMemberProfile.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|