@constructive-io/react 0.11.3 → 0.12.0
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 +10 -10
- package/admin/hooks/invalidation.js +18 -18
- package/admin/hooks/mutation-keys.d.ts +22 -22
- package/admin/hooks/mutation-keys.js +16 -16
- package/admin/hooks/mutations/index.d.ts +7 -7
- package/admin/hooks/mutations/index.js +7 -7
- package/admin/hooks/mutations/useCreateAppClaimedInviteMutation.d.ts +34 -0
- package/admin/hooks/mutations/{useCreateClaimedInviteMutation.js → useCreateAppClaimedInviteMutation.js} +5 -5
- package/admin/hooks/mutations/useCreateAppInviteMutation.d.ts +34 -0
- package/{public/hooks/mutations/useCreateInviteMutation.js → admin/hooks/mutations/useCreateAppInviteMutation.js} +5 -5
- package/{esm/admin/hooks/mutations/useDeleteClaimedInviteMutation.d.ts → admin/hooks/mutations/useDeleteAppClaimedInviteMutation.d.ts} +10 -10
- package/admin/hooks/mutations/{useDeleteClaimedInviteMutation.js → useDeleteAppClaimedInviteMutation.js} +6 -6
- package/{esm/public/hooks/mutations/useDeleteInviteMutation.d.ts → admin/hooks/mutations/useDeleteAppInviteMutation.d.ts} +10 -10
- package/{public/hooks/mutations/useDeleteInviteMutation.js → admin/hooks/mutations/useDeleteAppInviteMutation.js} +6 -6
- package/admin/hooks/mutations/useSubmitAppInviteCodeMutation.d.ts +20 -0
- package/admin/hooks/mutations/{useSubmitInviteCodeMutation.js → useSubmitAppInviteCodeMutation.js} +5 -5
- package/admin/hooks/mutations/useUpdateAppClaimedInviteMutation.d.ts +40 -0
- package/{public/hooks/mutations/useUpdateClaimedInviteMutation.js → admin/hooks/mutations/useUpdateAppClaimedInviteMutation.js} +8 -8
- package/admin/hooks/mutations/useUpdateAppInviteMutation.d.ts +40 -0
- package/{public/hooks/mutations/useUpdateInviteMutation.js → admin/hooks/mutations/useUpdateAppInviteMutation.js} +8 -8
- package/admin/hooks/queries/index.d.ts +4 -4
- package/admin/hooks/queries/index.js +4 -4
- package/admin/hooks/queries/useAppClaimedInviteQuery.d.ts +65 -0
- package/{public/hooks/queries/useClaimedInviteQuery.js → admin/hooks/queries/useAppClaimedInviteQuery.js} +13 -13
- package/admin/hooks/queries/useAppClaimedInvitesQuery.d.ts +69 -0
- package/admin/hooks/queries/{useClaimedInvitesQuery.js → useAppClaimedInvitesQuery.js} +13 -13
- package/{esm/admin/hooks/queries/useInviteQuery.d.ts → admin/hooks/queries/useAppInviteQuery.d.ts} +15 -15
- package/admin/hooks/queries/{useInviteQuery.js → useAppInviteQuery.js} +13 -13
- package/{esm/public/hooks/queries/useInvitesQuery.d.ts → admin/hooks/queries/useAppInvitesQuery.d.ts} +15 -15
- package/{public/hooks/queries/useInvitesQuery.js → admin/hooks/queries/useAppInvitesQuery.js} +13 -13
- package/admin/hooks/queries/useStepsAchievedQuery.d.ts +3 -3
- package/admin/hooks/queries/useStepsAchievedQuery.js +2 -2
- package/admin/hooks/queries/useStepsRequiredQuery.d.ts +3 -3
- package/admin/hooks/queries/useStepsRequiredQuery.js +2 -2
- package/admin/hooks/query-keys.d.ts +24 -24
- package/admin/hooks/query-keys.js +15 -15
- package/admin/orm/index.d.ts +7 -7
- package/admin/orm/index.js +4 -4
- package/admin/orm/input-types.d.ts +99 -99
- package/admin/orm/models/appClaimedInvite.d.ts +56 -0
- package/{public/orm/models/claimedInvite.js → admin/orm/models/appClaimedInvite.js} +26 -26
- package/admin/orm/models/appInvite.d.ts +56 -0
- package/admin/orm/models/{invite.js → appInvite.js} +26 -26
- package/admin/orm/models/index.d.ts +2 -2
- package/admin/orm/models/index.js +5 -5
- package/admin/orm/mutation/index.d.ts +6 -6
- package/admin/orm/mutation/index.js +6 -6
- package/admin/orm/query/index.d.ts +4 -4
- package/admin/orm/query/index.js +4 -4
- package/admin/schema-types.d.ts +79 -79
- package/admin/types.d.ts +2 -2
- package/auth/hooks/mutation-keys.d.ts +4 -4
- package/auth/hooks/mutation-keys.js +6 -6
- package/auth/hooks/mutations/index.d.ts +2 -2
- package/auth/hooks/mutations/index.js +2 -2
- package/auth/orm/index.d.ts +10 -10
- package/auth/orm/input-types.d.ts +24 -72
- package/auth/orm/mutation/index.d.ts +17 -17
- package/auth/orm/mutation/index.js +24 -24
- package/auth/schema-types.d.ts +16 -44
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +10 -10
- package/esm/admin/hooks/invalidation.js +19 -19
- package/esm/admin/hooks/mutation-keys.d.ts +22 -22
- package/esm/admin/hooks/mutation-keys.js +15 -15
- package/esm/admin/hooks/mutations/index.d.ts +7 -7
- package/esm/admin/hooks/mutations/index.js +7 -7
- package/esm/admin/hooks/mutations/useCreateAppClaimedInviteMutation.d.ts +34 -0
- package/esm/{public/hooks/mutations/useCreateClaimedInviteMutation.js → admin/hooks/mutations/useCreateAppClaimedInviteMutation.js} +6 -6
- package/esm/admin/hooks/mutations/useCreateAppInviteMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/{useCreateInviteMutation.js → useCreateAppInviteMutation.js} +6 -6
- package/esm/{public/hooks/mutations/useDeleteClaimedInviteMutation.d.ts → admin/hooks/mutations/useDeleteAppClaimedInviteMutation.d.ts} +10 -10
- package/esm/{public/hooks/mutations/useDeleteClaimedInviteMutation.js → admin/hooks/mutations/useDeleteAppClaimedInviteMutation.js} +7 -7
- package/esm/admin/hooks/mutations/{useDeleteInviteMutation.d.ts → useDeleteAppInviteMutation.d.ts} +10 -10
- package/esm/{public/hooks/mutations/useDeleteInviteMutation.js → admin/hooks/mutations/useDeleteAppInviteMutation.js} +7 -7
- package/esm/admin/hooks/mutations/useSubmitAppInviteCodeMutation.d.ts +20 -0
- package/esm/{public/hooks/mutations/useSubmitInviteCodeMutation.js → admin/hooks/mutations/useSubmitAppInviteCodeMutation.js} +4 -4
- package/esm/admin/hooks/mutations/useUpdateAppClaimedInviteMutation.d.ts +40 -0
- package/esm/{public/hooks/mutations/useUpdateClaimedInviteMutation.js → admin/hooks/mutations/useUpdateAppClaimedInviteMutation.js} +9 -9
- package/esm/admin/hooks/mutations/useUpdateAppInviteMutation.d.ts +40 -0
- package/esm/{public/hooks/mutations/useUpdateInviteMutation.js → admin/hooks/mutations/useUpdateAppInviteMutation.js} +9 -9
- package/esm/admin/hooks/queries/index.d.ts +4 -4
- package/esm/admin/hooks/queries/index.js +4 -4
- package/esm/admin/hooks/queries/useAppClaimedInviteQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/{useClaimedInviteQuery.js → useAppClaimedInviteQuery.js} +10 -10
- package/esm/admin/hooks/queries/useAppClaimedInvitesQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/{useClaimedInvitesQuery.js → useAppClaimedInvitesQuery.js} +10 -10
- package/esm/{public/hooks/queries/useInviteQuery.d.ts → admin/hooks/queries/useAppInviteQuery.d.ts} +15 -15
- package/esm/{public/hooks/queries/useInviteQuery.js → admin/hooks/queries/useAppInviteQuery.js} +10 -10
- package/{public/hooks/queries/useInvitesQuery.d.ts → esm/admin/hooks/queries/useAppInvitesQuery.d.ts} +15 -15
- package/esm/{public/hooks/queries/useInvitesQuery.js → admin/hooks/queries/useAppInvitesQuery.js} +10 -10
- package/esm/admin/hooks/queries/useStepsAchievedQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useStepsAchievedQuery.js +2 -2
- package/esm/admin/hooks/queries/useStepsRequiredQuery.d.ts +3 -3
- package/esm/admin/hooks/queries/useStepsRequiredQuery.js +2 -2
- package/esm/admin/hooks/query-keys.d.ts +24 -24
- package/esm/admin/hooks/query-keys.js +14 -14
- package/esm/admin/orm/index.d.ts +7 -7
- package/esm/admin/orm/index.js +4 -4
- package/esm/admin/orm/input-types.d.ts +99 -99
- package/esm/admin/orm/models/appClaimedInvite.d.ts +56 -0
- package/esm/admin/orm/models/{claimedInvite.js → appClaimedInvite.js} +24 -24
- package/esm/admin/orm/models/appInvite.d.ts +56 -0
- package/esm/{public/orm/models/invite.js → admin/orm/models/appInvite.js} +24 -24
- package/esm/admin/orm/models/index.d.ts +2 -2
- package/esm/admin/orm/models/index.js +2 -2
- package/esm/admin/orm/mutation/index.d.ts +6 -6
- package/esm/admin/orm/mutation/index.js +6 -6
- package/esm/admin/orm/query/index.d.ts +4 -4
- package/esm/admin/orm/query/index.js +4 -4
- package/esm/admin/schema-types.d.ts +79 -79
- package/esm/admin/types.d.ts +2 -2
- package/esm/auth/hooks/mutation-keys.d.ts +4 -4
- package/esm/auth/hooks/mutation-keys.js +6 -6
- package/esm/auth/hooks/mutations/index.d.ts +2 -2
- package/esm/auth/hooks/mutations/index.js +2 -2
- package/esm/auth/orm/index.d.ts +10 -10
- package/esm/auth/orm/input-types.d.ts +24 -72
- package/esm/auth/orm/mutation/index.d.ts +17 -17
- package/esm/auth/orm/mutation/index.js +24 -24
- package/esm/auth/schema-types.d.ts +16 -44
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +16 -10
- package/esm/public/hooks/invalidation.js +35 -19
- package/esm/public/hooks/mutation-keys.d.ts +39 -27
- package/esm/public/hooks/mutation-keys.js +29 -22
- package/esm/public/hooks/mutations/index.d.ts +12 -9
- package/esm/public/hooks/mutations/index.js +12 -9
- package/esm/public/hooks/mutations/useCreateAppClaimedInviteMutation.d.ts +34 -0
- package/esm/{admin/hooks/mutations/useCreateClaimedInviteMutation.js → public/hooks/mutations/useCreateAppClaimedInviteMutation.js} +6 -6
- package/esm/public/hooks/mutations/useCreateAppInviteMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateInviteMutation.js → useCreateAppInviteMutation.js} +6 -6
- package/esm/public/hooks/mutations/useCreateRateLimitsModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateRateLimitsModuleMutation.js +31 -0
- package/{public/hooks/mutations/useDeleteClaimedInviteMutation.d.ts → esm/public/hooks/mutations/useDeleteAppClaimedInviteMutation.d.ts} +10 -10
- package/esm/{admin/hooks/mutations/useDeleteClaimedInviteMutation.js → public/hooks/mutations/useDeleteAppClaimedInviteMutation.js} +7 -7
- package/{public/hooks/mutations/useDeleteInviteMutation.d.ts → esm/public/hooks/mutations/useDeleteAppInviteMutation.d.ts} +10 -10
- package/esm/{admin/hooks/mutations/useDeleteInviteMutation.js → public/hooks/mutations/useDeleteAppInviteMutation.js} +7 -7
- package/esm/public/hooks/mutations/useDeleteRateLimitsModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteRateLimitsModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useSubmitAppInviteCodeMutation.d.ts +20 -0
- package/esm/{admin/hooks/mutations/useSubmitInviteCodeMutation.js → public/hooks/mutations/useSubmitAppInviteCodeMutation.js} +4 -4
- package/esm/public/hooks/mutations/useUpdateAppClaimedInviteMutation.d.ts +40 -0
- package/esm/{admin/hooks/mutations/useUpdateClaimedInviteMutation.js → public/hooks/mutations/useUpdateAppClaimedInviteMutation.js} +9 -9
- package/esm/public/hooks/mutations/useUpdateAppInviteMutation.d.ts +40 -0
- package/esm/{admin/hooks/mutations/useUpdateInviteMutation.js → public/hooks/mutations/useUpdateAppInviteMutation.js} +9 -9
- package/esm/public/hooks/mutations/useUpdateRateLimitsModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateRateLimitsModuleMutation.js +37 -0
- package/esm/public/hooks/queries/index.d.ts +6 -4
- package/esm/public/hooks/queries/index.js +6 -4
- package/esm/public/hooks/queries/useAppClaimedInviteQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useClaimedInviteQuery.js → useAppClaimedInviteQuery.js} +10 -10
- package/esm/public/hooks/queries/useAppClaimedInvitesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useClaimedInvitesQuery.js → useAppClaimedInvitesQuery.js} +10 -10
- package/{admin/hooks/queries/useInviteQuery.d.ts → esm/public/hooks/queries/useAppInviteQuery.d.ts} +15 -15
- package/esm/{admin/hooks/queries/useInviteQuery.js → public/hooks/queries/useAppInviteQuery.js} +10 -10
- package/{admin/hooks/queries/useInvitesQuery.d.ts → esm/public/hooks/queries/useAppInvitesQuery.d.ts} +15 -15
- package/esm/{admin/hooks/queries/useInvitesQuery.js → public/hooks/queries/useAppInvitesQuery.js} +10 -10
- package/esm/public/hooks/queries/useRateLimitsModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useRateLimitsModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useRateLimitsModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useRateLimitsModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useStepsAchievedQuery.d.ts +3 -3
- package/esm/public/hooks/queries/useStepsAchievedQuery.js +2 -2
- package/esm/public/hooks/queries/useStepsRequiredQuery.d.ts +3 -3
- package/esm/public/hooks/queries/useStepsRequiredQuery.js +2 -2
- package/esm/public/hooks/query-keys.d.ts +39 -25
- package/esm/public/hooks/query-keys.js +23 -15
- package/esm/public/orm/index.d.ts +19 -17
- package/esm/public/orm/index.js +6 -4
- package/esm/public/orm/input-types.d.ts +402 -230
- package/esm/public/orm/input-types.js +3 -3
- package/esm/public/orm/models/appClaimedInvite.d.ts +56 -0
- package/esm/public/orm/models/{claimedInvite.js → appClaimedInvite.js} +24 -24
- package/esm/public/orm/models/appInvite.d.ts +56 -0
- package/esm/{admin/orm/models/invite.js → public/orm/models/appInvite.js} +24 -24
- package/esm/public/orm/models/index.d.ts +3 -2
- package/esm/public/orm/models/index.js +3 -2
- package/esm/public/orm/models/rateLimitsModule.d.ts +56 -0
- package/esm/public/orm/models/rateLimitsModule.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +22 -22
- package/esm/public/orm/mutation/index.js +30 -30
- package/esm/public/orm/query/index.d.ts +4 -4
- package/esm/public/orm/query/index.js +4 -4
- package/esm/public/schema-types.d.ts +230 -145
- package/esm/public/types.d.ts +13 -2
- 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 +16 -10
- package/public/hooks/invalidation.js +34 -18
- package/public/hooks/mutation-keys.d.ts +39 -27
- package/public/hooks/mutation-keys.js +30 -23
- package/public/hooks/mutations/index.d.ts +12 -9
- package/public/hooks/mutations/index.js +12 -9
- package/public/hooks/mutations/useCreateAppClaimedInviteMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateClaimedInviteMutation.js → useCreateAppClaimedInviteMutation.js} +5 -5
- package/public/hooks/mutations/useCreateAppInviteMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useCreateInviteMutation.js → public/hooks/mutations/useCreateAppInviteMutation.js} +5 -5
- package/public/hooks/mutations/useCreateRateLimitsModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateRateLimitsModuleMutation.js +34 -0
- package/{admin/hooks/mutations/useDeleteClaimedInviteMutation.d.ts → public/hooks/mutations/useDeleteAppClaimedInviteMutation.d.ts} +10 -10
- package/public/hooks/mutations/{useDeleteClaimedInviteMutation.js → useDeleteAppClaimedInviteMutation.js} +6 -6
- package/{admin/hooks/mutations/useDeleteInviteMutation.d.ts → public/hooks/mutations/useDeleteAppInviteMutation.d.ts} +10 -10
- package/{admin/hooks/mutations/useDeleteInviteMutation.js → public/hooks/mutations/useDeleteAppInviteMutation.js} +6 -6
- package/public/hooks/mutations/useDeleteRateLimitsModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteRateLimitsModuleMutation.js +39 -0
- package/public/hooks/mutations/useSubmitAppInviteCodeMutation.d.ts +20 -0
- package/public/hooks/mutations/{useSubmitInviteCodeMutation.js → useSubmitAppInviteCodeMutation.js} +5 -5
- package/public/hooks/mutations/useUpdateAppClaimedInviteMutation.d.ts +40 -0
- package/{admin/hooks/mutations/useUpdateClaimedInviteMutation.js → public/hooks/mutations/useUpdateAppClaimedInviteMutation.js} +8 -8
- package/public/hooks/mutations/useUpdateAppInviteMutation.d.ts +40 -0
- package/{admin/hooks/mutations/useUpdateInviteMutation.js → public/hooks/mutations/useUpdateAppInviteMutation.js} +8 -8
- package/public/hooks/mutations/useUpdateRateLimitsModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateRateLimitsModuleMutation.js +40 -0
- package/public/hooks/queries/index.d.ts +6 -4
- package/public/hooks/queries/index.js +6 -4
- package/public/hooks/queries/useAppClaimedInviteQuery.d.ts +65 -0
- package/{admin/hooks/queries/useClaimedInviteQuery.js → public/hooks/queries/useAppClaimedInviteQuery.js} +13 -13
- package/public/hooks/queries/useAppClaimedInvitesQuery.d.ts +69 -0
- package/public/hooks/queries/{useClaimedInvitesQuery.js → useAppClaimedInvitesQuery.js} +13 -13
- package/public/hooks/queries/{useInviteQuery.d.ts → useAppInviteQuery.d.ts} +15 -15
- package/public/hooks/queries/{useInviteQuery.js → useAppInviteQuery.js} +13 -13
- package/{esm/admin/hooks/queries/useInvitesQuery.d.ts → public/hooks/queries/useAppInvitesQuery.d.ts} +15 -15
- package/{admin/hooks/queries/useInvitesQuery.js → public/hooks/queries/useAppInvitesQuery.js} +13 -13
- package/public/hooks/queries/useRateLimitsModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useRateLimitsModuleQuery.js +53 -0
- package/public/hooks/queries/useRateLimitsModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useRateLimitsModulesQuery.js +38 -0
- package/public/hooks/queries/useStepsAchievedQuery.d.ts +3 -3
- package/public/hooks/queries/useStepsAchievedQuery.js +2 -2
- package/public/hooks/queries/useStepsRequiredQuery.d.ts +3 -3
- package/public/hooks/queries/useStepsRequiredQuery.js +2 -2
- package/public/hooks/query-keys.d.ts +39 -25
- package/public/hooks/query-keys.js +24 -16
- package/public/orm/index.d.ts +19 -17
- package/public/orm/index.js +6 -4
- package/public/orm/input-types.d.ts +402 -230
- package/public/orm/input-types.js +3 -3
- package/public/orm/models/appClaimedInvite.d.ts +56 -0
- package/{admin/orm/models/claimedInvite.js → public/orm/models/appClaimedInvite.js} +26 -26
- package/public/orm/models/appInvite.d.ts +56 -0
- package/public/orm/models/{invite.js → appInvite.js} +26 -26
- package/public/orm/models/index.d.ts +3 -2
- package/public/orm/models/index.js +8 -6
- package/public/orm/models/rateLimitsModule.d.ts +56 -0
- package/public/orm/models/rateLimitsModule.js +100 -0
- package/public/orm/mutation/index.d.ts +22 -22
- package/public/orm/mutation/index.js +30 -30
- package/public/orm/query/index.d.ts +4 -4
- package/public/orm/query/index.js +4 -4
- package/public/schema-types.d.ts +230 -145
- package/public/types.d.ts +13 -2
- package/admin/hooks/mutations/useCreateClaimedInviteMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateInviteMutation.d.ts +0 -34
- package/admin/hooks/mutations/useSubmitInviteCodeMutation.d.ts +0 -20
- package/admin/hooks/mutations/useUpdateClaimedInviteMutation.d.ts +0 -40
- package/admin/hooks/mutations/useUpdateInviteMutation.d.ts +0 -40
- package/admin/hooks/queries/useClaimedInviteQuery.d.ts +0 -65
- package/admin/hooks/queries/useClaimedInvitesQuery.d.ts +0 -69
- package/admin/orm/models/claimedInvite.d.ts +0 -56
- package/admin/orm/models/invite.d.ts +0 -56
- package/esm/admin/hooks/mutations/useCreateClaimedInviteMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateInviteMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useSubmitInviteCodeMutation.d.ts +0 -20
- package/esm/admin/hooks/mutations/useUpdateClaimedInviteMutation.d.ts +0 -40
- package/esm/admin/hooks/mutations/useUpdateInviteMutation.d.ts +0 -40
- package/esm/admin/hooks/queries/useClaimedInviteQuery.d.ts +0 -65
- package/esm/admin/hooks/queries/useClaimedInvitesQuery.d.ts +0 -69
- package/esm/admin/orm/models/claimedInvite.d.ts +0 -56
- package/esm/admin/orm/models/invite.d.ts +0 -56
- package/esm/public/hooks/mutations/useCreateClaimedInviteMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateInviteMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useSubmitInviteCodeMutation.d.ts +0 -20
- package/esm/public/hooks/mutations/useUpdateClaimedInviteMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateInviteMutation.d.ts +0 -40
- package/esm/public/hooks/queries/useClaimedInviteQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useClaimedInvitesQuery.d.ts +0 -69
- package/esm/public/orm/models/claimedInvite.d.ts +0 -56
- package/esm/public/orm/models/invite.d.ts +0 -56
- package/public/hooks/mutations/useCreateClaimedInviteMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateInviteMutation.d.ts +0 -34
- package/public/hooks/mutations/useSubmitInviteCodeMutation.d.ts +0 -20
- package/public/hooks/mutations/useUpdateClaimedInviteMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateInviteMutation.d.ts +0 -40
- package/public/hooks/queries/useClaimedInviteQuery.d.ts +0 -65
- package/public/hooks/queries/useClaimedInvitesQuery.d.ts +0 -69
- package/public/orm/models/claimedInvite.d.ts +0 -56
- package/public/orm/models/invite.d.ts +0 -56
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
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 { ClaimedInviteSelect, ClaimedInviteWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ClaimedInviteSelect, ClaimedInviteWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const claimedInviteQueryKey: (id: string | number) => readonly ["claimedinvite", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useClaimedInviteQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useClaimedInviteQuery<S extends ClaimedInviteSelect, TData = {
|
|
24
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchClaimedInviteQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchClaimedInviteQuery<S extends ClaimedInviteSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchClaimedInviteQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchClaimedInviteQuery<S extends ClaimedInviteSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
65
|
-
}): Promise<void>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
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 { ClaimedInviteSelect, ClaimedInviteWithRelations, ClaimedInviteFilter, ClaimedInviteOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { ClaimedInviteSelect, ClaimedInviteWithRelations, ClaimedInviteFilter, ClaimedInviteOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const claimedInvitesQueryKey: (variables?: object) => readonly ["claimedinvite", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useClaimedInvitesQuery({
|
|
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 useClaimedInvitesQuery<S extends ClaimedInviteSelect, TData = {
|
|
29
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, ClaimedInviteFilter, ClaimedInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchClaimedInvitesQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchClaimedInvitesQuery<S extends ClaimedInviteSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, ClaimedInviteFilter, ClaimedInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchClaimedInvitesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchClaimedInvitesQuery<S extends ClaimedInviteSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, ClaimedInviteFilter, ClaimedInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
69
|
-
}): Promise<void>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ClaimedInvite 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 { ClaimedInviteWithRelations, ClaimedInviteSelect, ClaimedInviteFilter, ClaimedInviteOrderBy, CreateClaimedInviteInput, ClaimedInvitePatch } from '../input-types';
|
|
10
|
-
export declare class ClaimedInviteModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ClaimedInviteSelect>(args: FindManyArgs<S, ClaimedInviteFilter, ClaimedInviteOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
16
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends ClaimedInviteSelect>(args: FindFirstArgs<S, ClaimedInviteFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
21
|
-
claimedInvites: {
|
|
22
|
-
nodes: InferSelectResult<ClaimedInviteWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends ClaimedInviteSelect>(args: {
|
|
26
|
-
id: string;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
29
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends ClaimedInviteSelect>(args: CreateArgs<S, CreateClaimedInviteInput['claimedInvite']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
34
|
-
createClaimedInvite: {
|
|
35
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
update<S extends ClaimedInviteSelect>(args: UpdateArgs<S, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, ClaimedInvitePatch> & {
|
|
41
|
-
select: S;
|
|
42
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
43
|
-
updateClaimedInvite: {
|
|
44
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
delete<S extends ClaimedInviteSelect>(args: DeleteArgs<{
|
|
48
|
-
id: string;
|
|
49
|
-
}, S> & {
|
|
50
|
-
select: S;
|
|
51
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
52
|
-
deleteClaimedInvite: {
|
|
53
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Invite 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 { InviteWithRelations, InviteSelect, InviteFilter, InviteOrderBy, CreateInviteInput, InvitePatch } from '../input-types';
|
|
10
|
-
export declare class InviteModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends InviteSelect>(args: FindManyArgs<S, InviteFilter, InviteOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
16
|
-
invites: ConnectionResult<InferSelectResult<InviteWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends InviteSelect>(args: FindFirstArgs<S, InviteFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
21
|
-
invites: {
|
|
22
|
-
nodes: InferSelectResult<InviteWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends InviteSelect>(args: {
|
|
26
|
-
id: string;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
29
|
-
invite: InferSelectResult<InviteWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends InviteSelect>(args: CreateArgs<S, CreateInviteInput['invite']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
34
|
-
createInvite: {
|
|
35
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
update<S extends InviteSelect>(args: UpdateArgs<S, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, InvitePatch> & {
|
|
41
|
-
select: S;
|
|
42
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
43
|
-
updateInvite: {
|
|
44
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
delete<S extends InviteSelect>(args: DeleteArgs<{
|
|
48
|
-
id: string;
|
|
49
|
-
}, S> & {
|
|
50
|
-
select: S;
|
|
51
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
52
|
-
deleteInvite: {
|
|
53
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
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 { ClaimedInviteSelect, ClaimedInviteWithRelations, CreateClaimedInviteInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ClaimedInviteSelect, ClaimedInviteWithRelations, CreateClaimedInviteInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateClaimedInviteMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateClaimedInviteMutation<S extends ClaimedInviteSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ClaimedInviteSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createClaimedInvite: {
|
|
28
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateClaimedInviteInput['claimedInvite']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createClaimedInvite: {
|
|
32
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateClaimedInviteInput['claimedInvite']>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Invitation records sent to prospective members via email, with token-based redemption and expiration
|
|
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 { InviteSelect, InviteWithRelations, CreateInviteInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { InviteSelect, InviteWithRelations, CreateInviteInput } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Invitation records sent to prospective members via email, with token-based redemption and expiration
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateInviteMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateInviteMutation<S extends InviteSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & InviteSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, InviteSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createInvite: {
|
|
28
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateInviteInput['invite']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createInvite: {
|
|
32
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateInviteInput['invite']>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom mutation hook for submitInviteCode
|
|
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 { SubmitInviteCodeVariables } from '../../orm/mutation';
|
|
8
|
-
import type { SubmitInviteCodePayloadSelect, SubmitInviteCodePayload } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { SubmitInviteCodeVariables } from '../../orm/mutation';
|
|
11
|
-
export type { SubmitInviteCodePayloadSelect } from '../../orm/input-types';
|
|
12
|
-
export declare function useSubmitInviteCodeMutation<S extends SubmitInviteCodePayloadSelect>(params: {
|
|
13
|
-
selection: {
|
|
14
|
-
fields: S & SubmitInviteCodePayloadSelect;
|
|
15
|
-
} & HookStrictSelect<NoInfer<S>, SubmitInviteCodePayloadSelect>;
|
|
16
|
-
} & Omit<UseMutationOptions<{
|
|
17
|
-
submitInviteCode: InferSelectResult<SubmitInviteCodePayload, S> | null;
|
|
18
|
-
}, Error, SubmitInviteCodeVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
-
submitInviteCode: InferSelectResult<SubmitInviteCodePayload, S> | null;
|
|
20
|
-
}, Error, SubmitInviteCodeVariables>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
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 { ClaimedInviteSelect, ClaimedInviteWithRelations, ClaimedInvitePatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ClaimedInviteSelect, ClaimedInviteWithRelations, ClaimedInvitePatch, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateClaimedInviteMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', claimedInvitePatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateClaimedInviteMutation<S extends ClaimedInviteSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & ClaimedInviteSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateClaimedInvite: {
|
|
28
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
claimedInvitePatch: ClaimedInvitePatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateClaimedInvite: {
|
|
35
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
claimedInvitePatch: ClaimedInvitePatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Invitation records sent to prospective members via email, with token-based redemption and expiration
|
|
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 { InviteSelect, InviteWithRelations, InvitePatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { InviteSelect, InviteWithRelations, InvitePatch } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Invitation records sent to prospective members via email, with token-based redemption and expiration
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateInviteMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', invitePatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateInviteMutation<S extends InviteSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & InviteSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, InviteSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateInvite: {
|
|
28
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
invitePatch: InvitePatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateInvite: {
|
|
35
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
invitePatch: InvitePatch;
|
|
40
|
-
}>;
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
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 { ClaimedInviteSelect, ClaimedInviteWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { ClaimedInviteSelect, ClaimedInviteWithRelations } from '../../orm/input-types';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const claimedInviteQueryKey: (id: string | number) => readonly ["claimedinvite", "detail", string | number];
|
|
12
|
-
/**
|
|
13
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useClaimedInviteQuery({
|
|
18
|
-
* id: 'some-id',
|
|
19
|
-
* selection: { fields: { id: true, name: true } },
|
|
20
|
-
* });
|
|
21
|
-
* ```
|
|
22
|
-
*/
|
|
23
|
-
export declare function useClaimedInviteQuery<S extends ClaimedInviteSelect, TData = {
|
|
24
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
25
|
-
}>(params: {
|
|
26
|
-
id: string;
|
|
27
|
-
selection: {
|
|
28
|
-
fields: S;
|
|
29
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
30
|
-
} & Omit<UseQueryOptions<{
|
|
31
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
32
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
-
/**
|
|
34
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* const data = await fetchClaimedInviteQuery({
|
|
39
|
-
* id: 'some-id',
|
|
40
|
-
* selection: { fields: { id: true } },
|
|
41
|
-
* });
|
|
42
|
-
* ```
|
|
43
|
-
*/
|
|
44
|
-
export declare function fetchClaimedInviteQuery<S extends ClaimedInviteSelect>(params: {
|
|
45
|
-
id: string;
|
|
46
|
-
selection: {
|
|
47
|
-
fields: S;
|
|
48
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
49
|
-
}): Promise<{
|
|
50
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
51
|
-
}>;
|
|
52
|
-
/**
|
|
53
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
54
|
-
*
|
|
55
|
-
* @example
|
|
56
|
-
* ```ts
|
|
57
|
-
* await prefetchClaimedInviteQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
-
* ```
|
|
59
|
-
*/
|
|
60
|
-
export declare function prefetchClaimedInviteQuery<S extends ClaimedInviteSelect>(queryClient: QueryClient, params: {
|
|
61
|
-
id: string;
|
|
62
|
-
selection: {
|
|
63
|
-
fields: S;
|
|
64
|
-
} & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
65
|
-
}): Promise<void>;
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
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 { ClaimedInviteSelect, ClaimedInviteWithRelations, ClaimedInviteFilter, ClaimedInviteOrderBy } from '../../orm/input-types';
|
|
9
|
-
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type { ClaimedInviteSelect, ClaimedInviteWithRelations, ClaimedInviteFilter, ClaimedInviteOrderBy, } from '../../orm/input-types';
|
|
11
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const claimedInvitesQueryKey: (variables?: object) => readonly ["claimedinvite", "list", object];
|
|
13
|
-
/**
|
|
14
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
15
|
-
*
|
|
16
|
-
* @example
|
|
17
|
-
* ```tsx
|
|
18
|
-
* const { data, isLoading } = useClaimedInvitesQuery({
|
|
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 useClaimedInvitesQuery<S extends ClaimedInviteSelect, TData = {
|
|
29
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
30
|
-
}>(params: {
|
|
31
|
-
selection: {
|
|
32
|
-
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S, ClaimedInviteFilter, ClaimedInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
34
|
-
} & Omit<UseQueryOptions<{
|
|
35
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
36
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
-
/**
|
|
38
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
39
|
-
*
|
|
40
|
-
* @example
|
|
41
|
-
* ```ts
|
|
42
|
-
* const data = await fetchClaimedInvitesQuery({
|
|
43
|
-
* selection: {
|
|
44
|
-
* fields: { id: true },
|
|
45
|
-
* first: 10,
|
|
46
|
-
* },
|
|
47
|
-
* });
|
|
48
|
-
* ```
|
|
49
|
-
*/
|
|
50
|
-
export declare function fetchClaimedInvitesQuery<S extends ClaimedInviteSelect>(params: {
|
|
51
|
-
selection: {
|
|
52
|
-
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S, ClaimedInviteFilter, ClaimedInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
54
|
-
}): Promise<{
|
|
55
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
56
|
-
}>;
|
|
57
|
-
/**
|
|
58
|
-
* Records of successfully claimed invitations, linking senders to receivers
|
|
59
|
-
*
|
|
60
|
-
* @example
|
|
61
|
-
* ```ts
|
|
62
|
-
* await prefetchClaimedInvitesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
-
* ```
|
|
64
|
-
*/
|
|
65
|
-
export declare function prefetchClaimedInvitesQuery<S extends ClaimedInviteSelect>(queryClient: QueryClient, params: {
|
|
66
|
-
selection: {
|
|
67
|
-
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S, ClaimedInviteFilter, ClaimedInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, ClaimedInviteSelect>;
|
|
69
|
-
}): Promise<void>;
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* ClaimedInvite 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 { ClaimedInviteWithRelations, ClaimedInviteSelect, ClaimedInviteFilter, ClaimedInviteOrderBy, CreateClaimedInviteInput, ClaimedInvitePatch } from '../input-types';
|
|
10
|
-
export declare class ClaimedInviteModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends ClaimedInviteSelect>(args: FindManyArgs<S, ClaimedInviteFilter, ClaimedInviteOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
16
|
-
claimedInvites: ConnectionResult<InferSelectResult<ClaimedInviteWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends ClaimedInviteSelect>(args: FindFirstArgs<S, ClaimedInviteFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
21
|
-
claimedInvites: {
|
|
22
|
-
nodes: InferSelectResult<ClaimedInviteWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends ClaimedInviteSelect>(args: {
|
|
26
|
-
id: string;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
29
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends ClaimedInviteSelect>(args: CreateArgs<S, CreateClaimedInviteInput['claimedInvite']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
34
|
-
createClaimedInvite: {
|
|
35
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
update<S extends ClaimedInviteSelect>(args: UpdateArgs<S, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, ClaimedInvitePatch> & {
|
|
41
|
-
select: S;
|
|
42
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
43
|
-
updateClaimedInvite: {
|
|
44
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
delete<S extends ClaimedInviteSelect>(args: DeleteArgs<{
|
|
48
|
-
id: string;
|
|
49
|
-
}, S> & {
|
|
50
|
-
select: S;
|
|
51
|
-
} & StrictSelect<S, ClaimedInviteSelect>): QueryBuilder<{
|
|
52
|
-
deleteClaimedInvite: {
|
|
53
|
-
claimedInvite: InferSelectResult<ClaimedInviteWithRelations, S>;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Invite 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 { InviteWithRelations, InviteSelect, InviteFilter, InviteOrderBy, CreateInviteInput, InvitePatch } from '../input-types';
|
|
10
|
-
export declare class InviteModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends InviteSelect>(args: FindManyArgs<S, InviteFilter, InviteOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
16
|
-
invites: ConnectionResult<InferSelectResult<InviteWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends InviteSelect>(args: FindFirstArgs<S, InviteFilter> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
21
|
-
invites: {
|
|
22
|
-
nodes: InferSelectResult<InviteWithRelations, S>[];
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
findOne<S extends InviteSelect>(args: {
|
|
26
|
-
id: string;
|
|
27
|
-
select: S;
|
|
28
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
29
|
-
invite: InferSelectResult<InviteWithRelations, S> | null;
|
|
30
|
-
}>;
|
|
31
|
-
create<S extends InviteSelect>(args: CreateArgs<S, CreateInviteInput['invite']> & {
|
|
32
|
-
select: S;
|
|
33
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
34
|
-
createInvite: {
|
|
35
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}>;
|
|
38
|
-
update<S extends InviteSelect>(args: UpdateArgs<S, {
|
|
39
|
-
id: string;
|
|
40
|
-
}, InvitePatch> & {
|
|
41
|
-
select: S;
|
|
42
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
43
|
-
updateInvite: {
|
|
44
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
45
|
-
};
|
|
46
|
-
}>;
|
|
47
|
-
delete<S extends InviteSelect>(args: DeleteArgs<{
|
|
48
|
-
id: string;
|
|
49
|
-
}, S> & {
|
|
50
|
-
select: S;
|
|
51
|
-
} & StrictSelect<S, InviteSelect>): QueryBuilder<{
|
|
52
|
-
deleteInvite: {
|
|
53
|
-
invite: InferSelectResult<InviteWithRelations, S>;
|
|
54
|
-
};
|
|
55
|
-
}>;
|
|
56
|
-
}
|