@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
package/esm/{admin/hooks/queries/useInviteQuery.js → public/hooks/queries/useAppInviteQuery.js}
RENAMED
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
import { useQuery } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
9
|
+
import { appInviteKeys } from '../query-keys';
|
|
10
10
|
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const
|
|
12
|
-
export function
|
|
11
|
+
export const appInviteQueryKey = appInviteKeys.detail;
|
|
12
|
+
export function useAppInviteQuery(params) {
|
|
13
13
|
const args = buildSelectionArgs(params.selection);
|
|
14
14
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
15
|
void _selection;
|
|
16
16
|
return useQuery({
|
|
17
|
-
queryKey:
|
|
17
|
+
queryKey: appInviteKeys.detail(params.id),
|
|
18
18
|
queryFn: () => getClient()
|
|
19
|
-
.
|
|
19
|
+
.appInvite.findOne({
|
|
20
20
|
id: params.id,
|
|
21
21
|
select: args.select,
|
|
22
22
|
})
|
|
@@ -24,21 +24,21 @@ export function useInviteQuery(params) {
|
|
|
24
24
|
...queryOptions,
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
|
-
export async function
|
|
27
|
+
export async function fetchAppInviteQuery(params) {
|
|
28
28
|
const args = buildSelectionArgs(params.selection);
|
|
29
29
|
return getClient()
|
|
30
|
-
.
|
|
30
|
+
.appInvite.findOne({
|
|
31
31
|
id: params.id,
|
|
32
32
|
select: args.select,
|
|
33
33
|
})
|
|
34
34
|
.unwrap();
|
|
35
35
|
}
|
|
36
|
-
export async function
|
|
36
|
+
export async function prefetchAppInviteQuery(queryClient, params) {
|
|
37
37
|
const args = buildSelectionArgs(params.selection);
|
|
38
38
|
await queryClient.prefetchQuery({
|
|
39
|
-
queryKey:
|
|
39
|
+
queryKey: appInviteKeys.detail(params.id),
|
|
40
40
|
queryFn: () => getClient()
|
|
41
|
-
.
|
|
41
|
+
.appInvite.findOne({
|
|
42
42
|
id: params.id,
|
|
43
43
|
select: args.select,
|
|
44
44
|
})
|
|
@@ -5,17 +5,17 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
7
|
import type { ListSelectionConfig } from '../selection';
|
|
8
|
-
import type {
|
|
8
|
+
import type { AppInviteSelect, AppInviteWithRelations, AppInviteFilter, AppInviteOrderBy } from '../../orm/input-types';
|
|
9
9
|
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
-
export type {
|
|
10
|
+
export type { AppInviteSelect, AppInviteWithRelations, AppInviteFilter, AppInviteOrderBy, } from '../../orm/input-types';
|
|
11
11
|
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
-
export declare const
|
|
12
|
+
export declare const appInvitesQueryKey: (variables?: object) => readonly ["appinvite", "list", object];
|
|
13
13
|
/**
|
|
14
14
|
* Invitation records sent to prospective members via email, with token-based redemption and expiration
|
|
15
15
|
*
|
|
16
16
|
* @example
|
|
17
17
|
* ```tsx
|
|
18
|
-
* const { data, isLoading } =
|
|
18
|
+
* const { data, isLoading } = useAppInvitesQuery({
|
|
19
19
|
* selection: {
|
|
20
20
|
* fields: { id: true, name: true },
|
|
21
21
|
* where: { name: { equalTo: "example" } },
|
|
@@ -25,21 +25,21 @@ export declare const invitesQueryKey: (variables?: object) => readonly ["invite"
|
|
|
25
25
|
* });
|
|
26
26
|
* ```
|
|
27
27
|
*/
|
|
28
|
-
export declare function
|
|
29
|
-
|
|
28
|
+
export declare function useAppInvitesQuery<S extends AppInviteSelect, TData = {
|
|
29
|
+
appInvites: ConnectionResult<InferSelectResult<AppInviteWithRelations, S>>;
|
|
30
30
|
}>(params: {
|
|
31
31
|
selection: {
|
|
32
32
|
fields: S;
|
|
33
|
-
} & Omit<ListSelectionConfig<S,
|
|
33
|
+
} & Omit<ListSelectionConfig<S, AppInviteFilter, AppInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppInviteSelect>;
|
|
34
34
|
} & Omit<UseQueryOptions<{
|
|
35
|
-
|
|
35
|
+
appInvites: ConnectionResult<InferSelectResult<AppInviteWithRelations, S>>;
|
|
36
36
|
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
37
|
/**
|
|
38
38
|
* Invitation records sent to prospective members via email, with token-based redemption and expiration
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* ```ts
|
|
42
|
-
* const data = await
|
|
42
|
+
* const data = await fetchAppInvitesQuery({
|
|
43
43
|
* selection: {
|
|
44
44
|
* fields: { id: true },
|
|
45
45
|
* first: 10,
|
|
@@ -47,23 +47,23 @@ export declare function useInvitesQuery<S extends InviteSelect, TData = {
|
|
|
47
47
|
* });
|
|
48
48
|
* ```
|
|
49
49
|
*/
|
|
50
|
-
export declare function
|
|
50
|
+
export declare function fetchAppInvitesQuery<S extends AppInviteSelect>(params: {
|
|
51
51
|
selection: {
|
|
52
52
|
fields: S;
|
|
53
|
-
} & Omit<ListSelectionConfig<S,
|
|
53
|
+
} & Omit<ListSelectionConfig<S, AppInviteFilter, AppInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppInviteSelect>;
|
|
54
54
|
}): Promise<{
|
|
55
|
-
|
|
55
|
+
appInvites: ConnectionResult<InferSelectResult<AppInviteWithRelations, S>>;
|
|
56
56
|
}>;
|
|
57
57
|
/**
|
|
58
58
|
* Invitation records sent to prospective members via email, with token-based redemption and expiration
|
|
59
59
|
*
|
|
60
60
|
* @example
|
|
61
61
|
* ```ts
|
|
62
|
-
* await
|
|
62
|
+
* await prefetchAppInvitesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
63
|
* ```
|
|
64
64
|
*/
|
|
65
|
-
export declare function
|
|
65
|
+
export declare function prefetchAppInvitesQuery<S extends AppInviteSelect>(queryClient: QueryClient, params: {
|
|
66
66
|
selection: {
|
|
67
67
|
fields: S;
|
|
68
|
-
} & Omit<ListSelectionConfig<S,
|
|
68
|
+
} & Omit<ListSelectionConfig<S, AppInviteFilter, AppInviteOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, AppInviteSelect>;
|
|
69
69
|
}): Promise<void>;
|
package/esm/{admin/hooks/queries/useInvitesQuery.js → public/hooks/queries/useAppInvitesQuery.js}
RENAMED
|
@@ -6,27 +6,27 @@
|
|
|
6
6
|
import { useQuery } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildListSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
9
|
+
import { appInviteKeys } from '../query-keys';
|
|
10
10
|
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export const
|
|
12
|
-
export function
|
|
11
|
+
export const appInvitesQueryKey = appInviteKeys.list;
|
|
12
|
+
export function useAppInvitesQuery(params) {
|
|
13
13
|
const args = buildListSelectionArgs(params.selection);
|
|
14
14
|
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
15
|
void _selection;
|
|
16
16
|
return useQuery({
|
|
17
|
-
queryKey:
|
|
18
|
-
queryFn: () => getClient().
|
|
17
|
+
queryKey: appInviteKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().appInvite.findMany(args).unwrap(),
|
|
19
19
|
...queryOptions,
|
|
20
20
|
});
|
|
21
21
|
}
|
|
22
|
-
export async function
|
|
22
|
+
export async function fetchAppInvitesQuery(params) {
|
|
23
23
|
const args = buildListSelectionArgs(params.selection);
|
|
24
|
-
return getClient().
|
|
24
|
+
return getClient().appInvite.findMany(args).unwrap();
|
|
25
25
|
}
|
|
26
|
-
export async function
|
|
26
|
+
export async function prefetchAppInvitesQuery(queryClient, params) {
|
|
27
27
|
const args = buildListSelectionArgs(params.selection);
|
|
28
28
|
await queryClient.prefetchQuery({
|
|
29
|
-
queryKey:
|
|
30
|
-
queryFn: () => getClient().
|
|
29
|
+
queryKey: appInviteKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().appInvite.findMany(args).unwrap(),
|
|
31
31
|
});
|
|
32
32
|
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single item query hook for RateLimitsModule
|
|
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 { RateLimitsModuleSelect, RateLimitsModuleWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { RateLimitsModuleSelect, RateLimitsModuleWithRelations } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const rateLimitsModuleQueryKey: (id: string | number) => readonly ["ratelimitsmodule", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Query hook for fetching a single RateLimitsModule
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useRateLimitsModuleQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useRateLimitsModuleQuery<S extends RateLimitsModuleSelect, TData = {
|
|
24
|
+
rateLimitsModule: InferSelectResult<RateLimitsModuleWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
rateLimitsModule: InferSelectResult<RateLimitsModuleWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Fetch a single RateLimitsModule without React hooks
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchRateLimitsModuleQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchRateLimitsModuleQuery<S extends RateLimitsModuleSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
rateLimitsModule: InferSelectResult<RateLimitsModuleWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Prefetch a single RateLimitsModule for SSR or cache warming
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchRateLimitsModuleQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchRateLimitsModuleQuery<S extends RateLimitsModuleSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Single item query hook for RateLimitsModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useQuery } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { rateLimitsModuleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const rateLimitsModuleQueryKey = rateLimitsModuleKeys.detail;
|
|
12
|
+
export function useRateLimitsModuleQuery(params) {
|
|
13
|
+
const args = buildSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: rateLimitsModuleKeys.detail(params.id),
|
|
18
|
+
queryFn: () => getClient()
|
|
19
|
+
.rateLimitsModule.findOne({
|
|
20
|
+
id: params.id,
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
export async function fetchRateLimitsModuleQuery(params) {
|
|
28
|
+
const args = buildSelectionArgs(params.selection);
|
|
29
|
+
return getClient()
|
|
30
|
+
.rateLimitsModule.findOne({
|
|
31
|
+
id: params.id,
|
|
32
|
+
select: args.select,
|
|
33
|
+
})
|
|
34
|
+
.unwrap();
|
|
35
|
+
}
|
|
36
|
+
export async function prefetchRateLimitsModuleQuery(queryClient, params) {
|
|
37
|
+
const args = buildSelectionArgs(params.selection);
|
|
38
|
+
await queryClient.prefetchQuery({
|
|
39
|
+
queryKey: rateLimitsModuleKeys.detail(params.id),
|
|
40
|
+
queryFn: () => getClient()
|
|
41
|
+
.rateLimitsModule.findOne({
|
|
42
|
+
id: params.id,
|
|
43
|
+
select: args.select,
|
|
44
|
+
})
|
|
45
|
+
.unwrap(),
|
|
46
|
+
});
|
|
47
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for RateLimitsModule
|
|
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 { RateLimitsModuleSelect, RateLimitsModuleWithRelations, RateLimitsModuleFilter, RateLimitsModuleOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { RateLimitsModuleSelect, RateLimitsModuleWithRelations, RateLimitsModuleFilter, RateLimitsModuleOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const rateLimitsModulesQueryKey: (variables?: object) => readonly ["ratelimitsmodule", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Query hook for fetching RateLimitsModule list
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useRateLimitsModulesQuery({
|
|
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 useRateLimitsModulesQuery<S extends RateLimitsModuleSelect, TData = {
|
|
29
|
+
rateLimitsModules: ConnectionResult<InferSelectResult<RateLimitsModuleWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, RateLimitsModuleFilter, RateLimitsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
rateLimitsModules: ConnectionResult<InferSelectResult<RateLimitsModuleWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Fetch RateLimitsModule list without React hooks
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchRateLimitsModulesQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchRateLimitsModulesQuery<S extends RateLimitsModuleSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, RateLimitsModuleFilter, RateLimitsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
rateLimitsModules: ConnectionResult<InferSelectResult<RateLimitsModuleWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Prefetch RateLimitsModule list for SSR or cache warming
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchRateLimitsModulesQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchRateLimitsModulesQuery<S extends RateLimitsModuleSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, RateLimitsModuleFilter, RateLimitsModuleOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, RateLimitsModuleSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* List query hook for RateLimitsModule
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useQuery } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildListSelectionArgs } from '../selection';
|
|
9
|
+
import { rateLimitsModuleKeys } from '../query-keys';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export const rateLimitsModulesQueryKey = rateLimitsModuleKeys.list;
|
|
12
|
+
export function useRateLimitsModulesQuery(params) {
|
|
13
|
+
const args = buildListSelectionArgs(params.selection);
|
|
14
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
15
|
+
void _selection;
|
|
16
|
+
return useQuery({
|
|
17
|
+
queryKey: rateLimitsModuleKeys.list(args),
|
|
18
|
+
queryFn: () => getClient().rateLimitsModule.findMany(args).unwrap(),
|
|
19
|
+
...queryOptions,
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
export async function fetchRateLimitsModulesQuery(params) {
|
|
23
|
+
const args = buildListSelectionArgs(params.selection);
|
|
24
|
+
return getClient().rateLimitsModule.findMany(args).unwrap();
|
|
25
|
+
}
|
|
26
|
+
export async function prefetchRateLimitsModulesQuery(queryClient, params) {
|
|
27
|
+
const args = buildListSelectionArgs(params.selection);
|
|
28
|
+
await queryClient.prefetchQuery({
|
|
29
|
+
queryKey: rateLimitsModuleKeys.list(args),
|
|
30
|
+
queryFn: () => getClient().rateLimitsModule.findMany(args).unwrap(),
|
|
31
|
+
});
|
|
32
|
+
}
|
|
@@ -13,7 +13,7 @@ export declare const stepsAchievedQueryKey: (variables?: object) => readonly ["s
|
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* ```tsx
|
|
16
|
-
* const { data, isLoading } = useStepsAchievedQuery({ variables: {
|
|
16
|
+
* const { data, isLoading } = useStepsAchievedQuery({ variables: { level, roleId } });
|
|
17
17
|
*
|
|
18
18
|
* if (data?.stepsAchieved) {
|
|
19
19
|
* console.log(data.stepsAchieved);
|
|
@@ -32,7 +32,7 @@ export declare function useStepsAchievedQuery<TData = {
|
|
|
32
32
|
*
|
|
33
33
|
* @example
|
|
34
34
|
* ```ts
|
|
35
|
-
* const data = await fetchStepsAchievedQuery({ variables: {
|
|
35
|
+
* const data = await fetchStepsAchievedQuery({ variables: { level, roleId } });
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
38
|
export declare function fetchStepsAchievedQuery(params?: {
|
|
@@ -45,7 +45,7 @@ export declare function fetchStepsAchievedQuery(params?: {
|
|
|
45
45
|
*
|
|
46
46
|
* @example
|
|
47
47
|
* ```ts
|
|
48
|
-
* await prefetchStepsAchievedQuery(queryClient, { variables: {
|
|
48
|
+
* await prefetchStepsAchievedQuery(queryClient, { variables: { level, roleId } });
|
|
49
49
|
* ```
|
|
50
50
|
*/
|
|
51
51
|
export declare function prefetchStepsAchievedQuery(queryClient: QueryClient, params?: {
|
|
@@ -23,7 +23,7 @@ export function useStepsAchievedQuery(params) {
|
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* ```ts
|
|
26
|
-
* const data = await fetchStepsAchievedQuery({ variables: {
|
|
26
|
+
* const data = await fetchStepsAchievedQuery({ variables: { level, roleId } });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
export async function fetchStepsAchievedQuery(params) {
|
|
@@ -35,7 +35,7 @@ export async function fetchStepsAchievedQuery(params) {
|
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
|
-
* await prefetchStepsAchievedQuery(queryClient, { variables: {
|
|
38
|
+
* await prefetchStepsAchievedQuery(queryClient, { variables: { level, roleId } });
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
export async function prefetchStepsAchievedQuery(queryClient, params) {
|
|
@@ -14,7 +14,7 @@ export declare const stepsRequiredQueryKey: (variables?: object) => readonly ["s
|
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useStepsRequiredQuery({ variables: {
|
|
17
|
+
* const { data, isLoading } = useStepsRequiredQuery({ variables: { level, roleId, first, offset, after } });
|
|
18
18
|
*
|
|
19
19
|
* if (data?.stepsRequired) {
|
|
20
20
|
* console.log(data.stepsRequired);
|
|
@@ -33,7 +33,7 @@ export declare function useStepsRequiredQuery<TData = {
|
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* ```ts
|
|
36
|
-
* const data = await fetchStepsRequiredQuery({ variables: {
|
|
36
|
+
* const data = await fetchStepsRequiredQuery({ variables: { level, roleId, first, offset, after } });
|
|
37
37
|
* ```
|
|
38
38
|
*/
|
|
39
39
|
export declare function fetchStepsRequiredQuery(params?: {
|
|
@@ -46,7 +46,7 @@ export declare function fetchStepsRequiredQuery(params?: {
|
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* ```ts
|
|
49
|
-
* await prefetchStepsRequiredQuery(queryClient, { variables: {
|
|
49
|
+
* await prefetchStepsRequiredQuery(queryClient, { variables: { level, roleId, first, offset, after } });
|
|
50
50
|
* ```
|
|
51
51
|
*/
|
|
52
52
|
export declare function prefetchStepsRequiredQuery(queryClient: QueryClient, params?: {
|
|
@@ -23,7 +23,7 @@ export function useStepsRequiredQuery(params) {
|
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* ```ts
|
|
26
|
-
* const data = await fetchStepsRequiredQuery({ variables: {
|
|
26
|
+
* const data = await fetchStepsRequiredQuery({ variables: { level, roleId, first, offset, after } });
|
|
27
27
|
* ```
|
|
28
28
|
*/
|
|
29
29
|
export async function fetchStepsRequiredQuery(params) {
|
|
@@ -35,7 +35,7 @@ export async function fetchStepsRequiredQuery(params) {
|
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* ```ts
|
|
38
|
-
* await prefetchStepsRequiredQuery(queryClient, { variables: {
|
|
38
|
+
* await prefetchStepsRequiredQuery(queryClient, { variables: { level, roleId, first, offset, after } });
|
|
39
39
|
* ```
|
|
40
40
|
*/
|
|
41
41
|
export async function prefetchStepsRequiredQuery(queryClient, params) {
|
|
@@ -605,19 +605,19 @@ export declare const connectedAccountKeys: {
|
|
|
605
605
|
/** Detail query keys */ readonly details: () => readonly ["connectedaccount", "detail"];
|
|
606
606
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["connectedaccount", "detail", string | number];
|
|
607
607
|
};
|
|
608
|
-
export declare const
|
|
609
|
-
/** All
|
|
610
|
-
/** List query keys */ readonly lists: () => readonly ["
|
|
611
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["
|
|
612
|
-
/** Detail query keys */ readonly details: () => readonly ["
|
|
613
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["
|
|
614
|
-
};
|
|
615
|
-
export declare const
|
|
616
|
-
/** All
|
|
617
|
-
/** List query keys */ readonly lists: () => readonly ["
|
|
618
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["
|
|
619
|
-
/** Detail query keys */ readonly details: () => readonly ["
|
|
620
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["
|
|
608
|
+
export declare const appInviteKeys: {
|
|
609
|
+
/** All appInvite queries */ readonly all: readonly ["appinvite"];
|
|
610
|
+
/** List query keys */ readonly lists: () => readonly ["appinvite", "list"];
|
|
611
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["appinvite", "list", object];
|
|
612
|
+
/** Detail query keys */ readonly details: () => readonly ["appinvite", "detail"];
|
|
613
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["appinvite", "detail", string | number];
|
|
614
|
+
};
|
|
615
|
+
export declare const appClaimedInviteKeys: {
|
|
616
|
+
/** All appClaimedInvite queries */ readonly all: readonly ["appclaimedinvite"];
|
|
617
|
+
/** List query keys */ readonly lists: () => readonly ["appclaimedinvite", "list"];
|
|
618
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["appclaimedinvite", "list", object];
|
|
619
|
+
/** Detail query keys */ readonly details: () => readonly ["appclaimedinvite", "detail"];
|
|
620
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["appclaimedinvite", "detail", string | number];
|
|
621
621
|
};
|
|
622
622
|
export declare const orgInviteKeys: {
|
|
623
623
|
/** All orgInvite queries */ readonly all: readonly ["orginvite"];
|
|
@@ -710,6 +710,13 @@ export declare const commitKeys: {
|
|
|
710
710
|
/** Detail query keys */ readonly details: () => readonly ["commit", "detail"];
|
|
711
711
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["commit", "detail", string | number];
|
|
712
712
|
};
|
|
713
|
+
export declare const rateLimitsModuleKeys: {
|
|
714
|
+
/** All rateLimitsModule queries */ readonly all: readonly ["ratelimitsmodule"];
|
|
715
|
+
/** List query keys */ readonly lists: () => readonly ["ratelimitsmodule", "list"];
|
|
716
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["ratelimitsmodule", "list", object];
|
|
717
|
+
/** Detail query keys */ readonly details: () => readonly ["ratelimitsmodule", "detail"];
|
|
718
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["ratelimitsmodule", "detail", string | number];
|
|
719
|
+
};
|
|
713
720
|
export declare const orgMembershipDefaultKeys: {
|
|
714
721
|
/** All orgMembershipDefault queries */ readonly all: readonly ["orgmembershipdefault"];
|
|
715
722
|
/** List query keys */ readonly lists: () => readonly ["orgmembershipdefault", "list"];
|
|
@@ -1406,19 +1413,19 @@ export declare const queryKeys: {
|
|
|
1406
1413
|
/** Detail query keys */ readonly details: () => readonly ["connectedaccount", "detail"];
|
|
1407
1414
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["connectedaccount", "detail", string | number];
|
|
1408
1415
|
};
|
|
1409
|
-
readonly
|
|
1410
|
-
/** All
|
|
1411
|
-
/** List query keys */ readonly lists: () => readonly ["
|
|
1412
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["
|
|
1413
|
-
/** Detail query keys */ readonly details: () => readonly ["
|
|
1414
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["
|
|
1416
|
+
readonly appInvite: {
|
|
1417
|
+
/** All appInvite queries */ readonly all: readonly ["appinvite"];
|
|
1418
|
+
/** List query keys */ readonly lists: () => readonly ["appinvite", "list"];
|
|
1419
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["appinvite", "list", object];
|
|
1420
|
+
/** Detail query keys */ readonly details: () => readonly ["appinvite", "detail"];
|
|
1421
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["appinvite", "detail", string | number];
|
|
1415
1422
|
};
|
|
1416
|
-
readonly
|
|
1417
|
-
/** All
|
|
1418
|
-
/** List query keys */ readonly lists: () => readonly ["
|
|
1419
|
-
/** List query key with variables */ readonly list: (variables?: object) => readonly ["
|
|
1420
|
-
/** Detail query keys */ readonly details: () => readonly ["
|
|
1421
|
-
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["
|
|
1423
|
+
readonly appClaimedInvite: {
|
|
1424
|
+
/** All appClaimedInvite queries */ readonly all: readonly ["appclaimedinvite"];
|
|
1425
|
+
/** List query keys */ readonly lists: () => readonly ["appclaimedinvite", "list"];
|
|
1426
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["appclaimedinvite", "list", object];
|
|
1427
|
+
/** Detail query keys */ readonly details: () => readonly ["appclaimedinvite", "detail"];
|
|
1428
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["appclaimedinvite", "detail", string | number];
|
|
1422
1429
|
};
|
|
1423
1430
|
readonly orgInvite: {
|
|
1424
1431
|
/** All orgInvite queries */ readonly all: readonly ["orginvite"];
|
|
@@ -1511,6 +1518,13 @@ export declare const queryKeys: {
|
|
|
1511
1518
|
/** Detail query keys */ readonly details: () => readonly ["commit", "detail"];
|
|
1512
1519
|
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["commit", "detail", string | number];
|
|
1513
1520
|
};
|
|
1521
|
+
readonly rateLimitsModule: {
|
|
1522
|
+
/** All rateLimitsModule queries */ readonly all: readonly ["ratelimitsmodule"];
|
|
1523
|
+
/** List query keys */ readonly lists: () => readonly ["ratelimitsmodule", "list"];
|
|
1524
|
+
/** List query key with variables */ readonly list: (variables?: object) => readonly ["ratelimitsmodule", "list", object];
|
|
1525
|
+
/** Detail query keys */ readonly details: () => readonly ["ratelimitsmodule", "detail"];
|
|
1526
|
+
/** Detail query key for specific item */ readonly detail: (id: string | number) => readonly ["ratelimitsmodule", "detail", string | number];
|
|
1527
|
+
};
|
|
1514
1528
|
readonly orgMembershipDefault: {
|
|
1515
1529
|
/** All orgMembershipDefault queries */ readonly all: readonly ["orgmembershipdefault"];
|
|
1516
1530
|
/** List query keys */ readonly lists: () => readonly ["orgmembershipdefault", "list"];
|
|
@@ -618,19 +618,19 @@ export const connectedAccountKeys = {
|
|
|
618
618
|
/** Detail query keys */ details: () => [...connectedAccountKeys.all, 'detail'],
|
|
619
619
|
/** Detail query key for specific item */ detail: (id) => [...connectedAccountKeys.details(), id],
|
|
620
620
|
};
|
|
621
|
-
export const
|
|
622
|
-
/** All
|
|
623
|
-
/** List query keys */ lists: () => [...
|
|
624
|
-
/** List query key with variables */ list: (variables) => [...
|
|
625
|
-
/** Detail query keys */ details: () => [...
|
|
626
|
-
/** Detail query key for specific item */ detail: (id) => [...
|
|
627
|
-
};
|
|
628
|
-
export const
|
|
629
|
-
/** All
|
|
630
|
-
/** List query keys */ lists: () => [...
|
|
631
|
-
/** List query key with variables */ list: (variables) => [...
|
|
632
|
-
/** Detail query keys */ details: () => [...
|
|
633
|
-
/** Detail query key for specific item */ detail: (id) => [...
|
|
621
|
+
export const appInviteKeys = {
|
|
622
|
+
/** All appInvite queries */ all: ['appinvite'],
|
|
623
|
+
/** List query keys */ lists: () => [...appInviteKeys.all, 'list'],
|
|
624
|
+
/** List query key with variables */ list: (variables) => [...appInviteKeys.lists(), variables],
|
|
625
|
+
/** Detail query keys */ details: () => [...appInviteKeys.all, 'detail'],
|
|
626
|
+
/** Detail query key for specific item */ detail: (id) => [...appInviteKeys.details(), id],
|
|
627
|
+
};
|
|
628
|
+
export const appClaimedInviteKeys = {
|
|
629
|
+
/** All appClaimedInvite queries */ all: ['appclaimedinvite'],
|
|
630
|
+
/** List query keys */ lists: () => [...appClaimedInviteKeys.all, 'list'],
|
|
631
|
+
/** List query key with variables */ list: (variables) => [...appClaimedInviteKeys.lists(), variables],
|
|
632
|
+
/** Detail query keys */ details: () => [...appClaimedInviteKeys.all, 'detail'],
|
|
633
|
+
/** Detail query key for specific item */ detail: (id) => [...appClaimedInviteKeys.details(), id],
|
|
634
634
|
};
|
|
635
635
|
export const orgInviteKeys = {
|
|
636
636
|
/** All orgInvite queries */ all: ['orginvite'],
|
|
@@ -723,6 +723,13 @@ export const commitKeys = {
|
|
|
723
723
|
/** Detail query keys */ details: () => [...commitKeys.all, 'detail'],
|
|
724
724
|
/** Detail query key for specific item */ detail: (id) => [...commitKeys.details(), id],
|
|
725
725
|
};
|
|
726
|
+
export const rateLimitsModuleKeys = {
|
|
727
|
+
/** All rateLimitsModule queries */ all: ['ratelimitsmodule'],
|
|
728
|
+
/** List query keys */ lists: () => [...rateLimitsModuleKeys.all, 'list'],
|
|
729
|
+
/** List query key with variables */ list: (variables) => [...rateLimitsModuleKeys.lists(), variables],
|
|
730
|
+
/** Detail query keys */ details: () => [...rateLimitsModuleKeys.all, 'detail'],
|
|
731
|
+
/** Detail query key for specific item */ detail: (id) => [...rateLimitsModuleKeys.details(), id],
|
|
732
|
+
};
|
|
726
733
|
export const orgMembershipDefaultKeys = {
|
|
727
734
|
/** All orgMembershipDefault queries */ all: ['orgmembershipdefault'],
|
|
728
735
|
/** List query keys */ lists: () => [...orgMembershipDefaultKeys.all, 'list'],
|
|
@@ -906,8 +913,8 @@ export const queryKeys = {
|
|
|
906
913
|
phoneNumber: phoneNumberKeys,
|
|
907
914
|
cryptoAddress: cryptoAddressKeys,
|
|
908
915
|
connectedAccount: connectedAccountKeys,
|
|
909
|
-
|
|
910
|
-
|
|
916
|
+
appInvite: appInviteKeys,
|
|
917
|
+
appClaimedInvite: appClaimedInviteKeys,
|
|
911
918
|
orgInvite: orgInviteKeys,
|
|
912
919
|
orgClaimedInvite: orgClaimedInviteKeys,
|
|
913
920
|
auditLog: auditLogKeys,
|
|
@@ -921,6 +928,7 @@ export const queryKeys = {
|
|
|
921
928
|
membershipType: membershipTypeKeys,
|
|
922
929
|
appMembershipDefault: appMembershipDefaultKeys,
|
|
923
930
|
commit: commitKeys,
|
|
931
|
+
rateLimitsModule: rateLimitsModuleKeys,
|
|
924
932
|
orgMembershipDefault: orgMembershipDefaultKeys,
|
|
925
933
|
rlsModule: rlsModuleKeys,
|
|
926
934
|
sqlAction: sqlActionKeys,
|