@constructive-io/react 0.20.3 → 0.20.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +18 -30
- package/admin/hooks/invalidation.js +48 -80
- package/admin/hooks/mutation-keys.d.ts +36 -60
- package/admin/hooks/mutation-keys.js +22 -36
- package/admin/hooks/mutations/index.d.ts +9 -15
- package/admin/hooks/mutations/index.js +9 -15
- package/admin/hooks/mutations/useCreateAppLimitWarningMutation.d.ts +34 -0
- package/admin/hooks/mutations/{useCreateAppLevelMutation.js → useCreateAppLimitWarningMutation.js} +6 -6
- package/admin/hooks/mutations/useCreateOrgLimitWarningMutation.d.ts +34 -0
- package/admin/hooks/mutations/{useCreateAppAchievementMutation.js → useCreateOrgLimitWarningMutation.js} +6 -6
- package/admin/hooks/mutations/useDeleteAppLimitWarningMutation.d.ts +38 -0
- package/admin/hooks/mutations/{useDeleteAppAchievementMutation.js → useDeleteAppLimitWarningMutation.js} +7 -7
- package/admin/hooks/mutations/useDeleteOrgLimitWarningMutation.d.ts +38 -0
- package/{public/hooks/mutations/useDeleteSecretsModuleMutation.js → admin/hooks/mutations/useDeleteOrgLimitWarningMutation.js} +7 -7
- package/admin/hooks/mutations/useUpdateAppLimitWarningMutation.d.ts +40 -0
- package/admin/hooks/mutations/{useUpdateAppAchievementMutation.js → useUpdateAppLimitWarningMutation.js} +9 -9
- package/admin/hooks/mutations/useUpdateOrgLimitWarningMutation.d.ts +40 -0
- package/admin/hooks/mutations/{useUpdateAppLevelRequirementMutation.js → useUpdateOrgLimitWarningMutation.js} +9 -9
- package/admin/hooks/queries/index.d.ts +6 -12
- package/admin/hooks/queries/index.js +6 -12
- package/admin/hooks/queries/useAppLimitWarningQuery.d.ts +65 -0
- package/admin/hooks/queries/{useAppAchievementQuery.js → useAppLimitWarningQuery.js} +14 -14
- package/admin/hooks/queries/useAppLimitWarningsQuery.d.ts +69 -0
- package/{public/hooks/queries/useAppStepsQuery.js → admin/hooks/queries/useAppLimitWarningsQuery.js} +14 -14
- package/admin/hooks/queries/useOrgLimitWarningQuery.d.ts +65 -0
- package/admin/hooks/queries/{useAppStepQuery.js → useOrgLimitWarningQuery.js} +14 -14
- package/admin/hooks/queries/useOrgLimitWarningsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgLimitWarningsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +42 -74
- package/admin/hooks/query-keys.js +25 -43
- package/admin/orm/index.d.ts +6 -20
- package/admin/orm/index.js +6 -10
- package/admin/orm/input-types.d.ts +488 -768
- package/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/{public/orm/models/secretsModule.js → admin/orm/models/appLimitWarning.js} +27 -27
- package/admin/orm/models/index.d.ts +3 -5
- package/admin/orm/models/index.js +7 -11
- package/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +27 -27
- package/admin/orm/query/index.d.ts +1 -28
- package/admin/orm/query/index.js +0 -44
- package/admin/schema-types.d.ts +372 -572
- package/admin/types.d.ts +28 -48
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +18 -30
- package/esm/admin/hooks/invalidation.js +49 -81
- package/esm/admin/hooks/mutation-keys.d.ts +36 -60
- package/esm/admin/hooks/mutation-keys.js +21 -35
- package/esm/admin/hooks/mutations/index.d.ts +9 -15
- package/esm/admin/hooks/mutations/index.js +9 -15
- package/esm/admin/hooks/mutations/useCreateAppLimitWarningMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/{useCreateAppAchievementMutation.js → useCreateAppLimitWarningMutation.js} +7 -7
- package/esm/admin/hooks/mutations/useCreateOrgLimitWarningMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/{useCreateAppLevelRequirementMutation.js → useCreateOrgLimitWarningMutation.js} +7 -7
- package/esm/admin/hooks/mutations/useDeleteAppLimitWarningMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/{useDeleteAppAchievementMutation.js → useDeleteAppLimitWarningMutation.js} +8 -8
- package/esm/admin/hooks/mutations/useDeleteOrgLimitWarningMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/{useDeleteAppLevelRequirementMutation.js → useDeleteOrgLimitWarningMutation.js} +8 -8
- package/esm/admin/hooks/mutations/useUpdateAppLimitWarningMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/{useUpdateAppAchievementMutation.js → useUpdateAppLimitWarningMutation.js} +10 -10
- package/esm/admin/hooks/mutations/useUpdateOrgLimitWarningMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/{useUpdateAppLevelRequirementMutation.js → useUpdateOrgLimitWarningMutation.js} +10 -10
- package/esm/admin/hooks/queries/index.d.ts +6 -12
- package/esm/admin/hooks/queries/index.js +6 -12
- package/esm/admin/hooks/queries/useAppLimitWarningQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/{useAppLevelRequirementQuery.js → useAppLimitWarningQuery.js} +11 -11
- package/esm/admin/hooks/queries/useAppLimitWarningsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useAppLimitWarningsQuery.js +32 -0
- package/esm/admin/hooks/queries/useOrgLimitWarningQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/{useAppStepQuery.js → useOrgLimitWarningQuery.js} +11 -11
- package/esm/admin/hooks/queries/useOrgLimitWarningsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgLimitWarningsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +42 -74
- package/esm/admin/hooks/query-keys.js +24 -42
- package/esm/admin/orm/index.d.ts +6 -20
- package/esm/admin/orm/index.js +6 -10
- package/esm/admin/orm/input-types.d.ts +488 -768
- package/esm/admin/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/admin/orm/models/{appLevel.js → appLimitWarning.js} +25 -25
- package/esm/admin/orm/models/index.d.ts +3 -5
- package/esm/admin/orm/models/index.js +3 -5
- package/esm/admin/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/admin/orm/models/{appAchievement.js → orgLimitWarning.js} +25 -25
- package/esm/admin/orm/query/index.d.ts +1 -28
- package/esm/admin/orm/query/index.js +0 -44
- package/esm/admin/schema-types.d.ts +372 -572
- package/esm/admin/types.d.ts +28 -48
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +27 -33
- package/esm/public/hooks/invalidation.js +60 -76
- package/esm/public/hooks/mutation-keys.d.ts +54 -66
- package/esm/public/hooks/mutation-keys.js +35 -39
- package/esm/public/hooks/mutations/index.d.ts +15 -18
- package/esm/public/hooks/mutations/index.js +15 -18
- package/esm/public/hooks/mutations/useCreateAppLimitWarningMutation.d.ts +34 -0
- package/esm/{admin/hooks/mutations/useCreateAppStepMutation.js → public/hooks/mutations/useCreateAppLimitWarningMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateEventsModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateLevelsModuleMutation.js → useCreateEventsModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateOrgLimitWarningMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgLimitWarningMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateRateLimitMetersModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/{useCreateAppLevelMutation.js → useCreateRateLimitMetersModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useCreateUserStateModuleMutation.d.ts +34 -0
- package/esm/{admin/hooks/mutations/useCreateAppLevelMutation.js → public/hooks/mutations/useCreateUserStateModuleMutation.js} +7 -7
- package/esm/public/hooks/mutations/useDeleteAppLimitWarningMutation.d.ts +38 -0
- package/esm/{admin/hooks/mutations/useDeleteAppStepMutation.js → public/hooks/mutations/useDeleteAppLimitWarningMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteEventsModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteLevelsModuleMutation.js → useDeleteEventsModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteOrgLimitWarningMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgLimitWarningMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteRateLimitMetersModuleMutation.d.ts +38 -0
- package/esm/{admin/hooks/mutations/useDeleteAppLevelMutation.js → public/hooks/mutations/useDeleteRateLimitMetersModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useDeleteUserStateModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/{useDeleteAppLevelMutation.js → useDeleteUserStateModuleMutation.js} +8 -8
- package/esm/public/hooks/mutations/useUpdateAppLimitWarningMutation.d.ts +40 -0
- package/esm/{admin/hooks/mutations/useUpdateAppStepMutation.js → public/hooks/mutations/useUpdateAppLimitWarningMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateEventsModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateLevelsModuleMutation.js → useUpdateEventsModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateOrgLimitWarningMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgLimitWarningMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateRateLimitMetersModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/{useUpdateSecretsModuleMutation.js → useUpdateRateLimitMetersModuleMutation.js} +10 -10
- package/esm/public/hooks/mutations/useUpdateUserStateModuleMutation.d.ts +40 -0
- package/esm/{admin/hooks/mutations/useUpdateAppLevelMutation.js → public/hooks/mutations/useUpdateUserStateModuleMutation.js} +10 -10
- package/esm/public/hooks/queries/index.d.ts +10 -14
- package/esm/public/hooks/queries/index.js +10 -14
- package/esm/public/hooks/queries/useAppLimitWarningQuery.d.ts +65 -0
- package/esm/{admin/hooks/queries/useAppAchievementQuery.js → public/hooks/queries/useAppLimitWarningQuery.js} +11 -11
- package/esm/public/hooks/queries/useAppLimitWarningsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useAppLimitWarningsQuery.js +32 -0
- package/esm/public/hooks/queries/useEventsModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useLevelsModuleQuery.js → useEventsModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useEventsModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useLevelsModulesQuery.js → useEventsModulesQuery.js} +11 -11
- package/esm/public/hooks/queries/useOrgLimitWarningQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgLimitWarningQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgLimitWarningsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgLimitWarningsQuery.js +32 -0
- package/esm/public/hooks/queries/useRateLimitMetersModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/{useAppLevelQuery.js → useRateLimitMetersModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useRateLimitMetersModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useRateLimitMetersModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useUserStateModuleQuery.d.ts +65 -0
- package/esm/{admin/hooks/queries/useAppLevelQuery.js → public/hooks/queries/useUserStateModuleQuery.js} +11 -11
- package/esm/public/hooks/queries/useUserStateModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/{useAppLevelsQuery.js → useUserStateModulesQuery.js} +11 -11
- package/esm/public/hooks/query-keys.d.ts +64 -82
- package/esm/public/hooks/query-keys.js +37 -47
- package/esm/public/orm/index.d.ts +10 -22
- package/esm/public/orm/index.js +10 -12
- package/esm/public/orm/input-types.d.ts +1024 -919
- package/esm/public/orm/input-types.js +3 -5
- package/esm/public/orm/models/appLimitWarning.d.ts +54 -0
- package/esm/public/orm/models/{appAchievement.js → appLimitWarning.js} +25 -25
- package/esm/public/orm/models/eventsModule.d.ts +54 -0
- package/esm/public/orm/models/{levelsModule.js → eventsModule.js} +25 -25
- package/esm/public/orm/models/index.d.ts +5 -6
- package/esm/public/orm/models/index.js +5 -6
- package/esm/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/esm/{admin/orm/models/appStep.js → public/orm/models/orgLimitWarning.js} +25 -25
- package/esm/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/esm/{admin/orm/models/appLevelRequirement.js → public/orm/models/rateLimitMetersModule.js} +25 -25
- package/esm/public/orm/models/userStateModule.d.ts +54 -0
- package/esm/public/orm/models/userStateModule.js +100 -0
- package/esm/public/orm/mutation/index.d.ts +2 -2
- package/esm/public/orm/query/index.d.ts +1 -28
- package/esm/public/orm/query/index.js +0 -44
- package/esm/public/schema-types.d.ts +750 -731
- package/esm/public/types.d.ts +65 -50
- package/package.json +4 -4
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +27 -33
- package/public/hooks/invalidation.js +59 -75
- package/public/hooks/mutation-keys.d.ts +54 -66
- package/public/hooks/mutation-keys.js +38 -43
- package/public/hooks/mutations/index.d.ts +15 -18
- package/public/hooks/mutations/index.js +15 -18
- package/public/hooks/mutations/useCreateAppLimitWarningMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useCreateAppStepMutation.js → public/hooks/mutations/useCreateAppLimitWarningMutation.js} +6 -6
- package/public/hooks/mutations/useCreateEventsModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateLevelsModuleMutation.js → useCreateEventsModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateOrgLimitWarningMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgLimitWarningMutation.js +34 -0
- package/public/hooks/mutations/useCreateRateLimitMetersModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateAppStepMutation.js → useCreateRateLimitMetersModuleMutation.js} +6 -6
- package/public/hooks/mutations/useCreateUserStateModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/{useCreateAppLevelMutation.js → useCreateUserStateModuleMutation.js} +6 -6
- package/public/hooks/mutations/useDeleteAppLimitWarningMutation.d.ts +38 -0
- package/{admin/hooks/mutations/useDeleteAppLevelRequirementMutation.js → public/hooks/mutations/useDeleteAppLimitWarningMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteEventsModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteLevelsModuleMutation.js → useDeleteEventsModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteOrgLimitWarningMutation.d.ts +38 -0
- package/{admin/hooks/mutations/useDeleteAppStepMutation.js → public/hooks/mutations/useDeleteOrgLimitWarningMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteRateLimitMetersModuleMutation.d.ts +38 -0
- package/{admin/hooks/mutations/useDeleteAppLevelMutation.js → public/hooks/mutations/useDeleteRateLimitMetersModuleMutation.js} +7 -7
- package/public/hooks/mutations/useDeleteUserStateModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/{useDeleteAppLevelMutation.js → useDeleteUserStateModuleMutation.js} +7 -7
- package/public/hooks/mutations/useUpdateAppLimitWarningMutation.d.ts +40 -0
- package/{admin/hooks/mutations/useUpdateAppStepMutation.js → public/hooks/mutations/useUpdateAppLimitWarningMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateEventsModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateLevelsModuleMutation.js → useUpdateEventsModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateOrgLimitWarningMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateOrgLimitWarningMutation.js +40 -0
- package/public/hooks/mutations/useUpdateRateLimitMetersModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/{useUpdateAppLevelMutation.js → useUpdateRateLimitMetersModuleMutation.js} +9 -9
- package/public/hooks/mutations/useUpdateUserStateModuleMutation.d.ts +40 -0
- package/{admin/hooks/mutations/useUpdateAppLevelMutation.js → public/hooks/mutations/useUpdateUserStateModuleMutation.js} +9 -9
- package/public/hooks/queries/index.d.ts +10 -14
- package/public/hooks/queries/index.js +10 -14
- package/public/hooks/queries/useAppLimitWarningQuery.d.ts +65 -0
- package/{admin/hooks/queries/useAppLevelQuery.js → public/hooks/queries/useAppLimitWarningQuery.js} +14 -14
- package/public/hooks/queries/useAppLimitWarningsQuery.d.ts +69 -0
- package/{admin/hooks/queries/useAppStepsQuery.js → public/hooks/queries/useAppLimitWarningsQuery.js} +14 -14
- package/public/hooks/queries/useEventsModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useLevelsModuleQuery.js → useEventsModuleQuery.js} +14 -14
- package/public/hooks/queries/useEventsModulesQuery.d.ts +69 -0
- package/public/hooks/queries/{useLevelsModulesQuery.js → useEventsModulesQuery.js} +14 -14
- package/public/hooks/queries/useOrgLimitWarningQuery.d.ts +65 -0
- package/public/hooks/queries/{useAppAchievementQuery.js → useOrgLimitWarningQuery.js} +14 -14
- package/public/hooks/queries/useOrgLimitWarningsQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgLimitWarningsQuery.js +38 -0
- package/public/hooks/queries/useRateLimitMetersModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useAppLevelRequirementQuery.js → useRateLimitMetersModuleQuery.js} +14 -14
- package/public/hooks/queries/useRateLimitMetersModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useRateLimitMetersModulesQuery.js +38 -0
- package/public/hooks/queries/useUserStateModuleQuery.d.ts +65 -0
- package/public/hooks/queries/{useAppLevelQuery.js → useUserStateModuleQuery.js} +14 -14
- package/public/hooks/queries/useUserStateModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useUserStateModulesQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +64 -82
- package/public/hooks/query-keys.js +40 -51
- package/public/orm/index.d.ts +10 -22
- package/public/orm/index.js +10 -12
- package/public/orm/input-types.d.ts +1024 -919
- package/public/orm/input-types.js +3 -5
- package/public/orm/models/appLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appStep.js → public/orm/models/appLimitWarning.js} +27 -27
- package/public/orm/models/eventsModule.d.ts +54 -0
- package/public/orm/models/{levelsModule.js → eventsModule.js} +27 -27
- package/public/orm/models/index.d.ts +5 -6
- package/public/orm/models/index.js +13 -15
- package/public/orm/models/orgLimitWarning.d.ts +54 -0
- package/{admin/orm/models/appLevel.js → public/orm/models/orgLimitWarning.js} +27 -27
- package/public/orm/models/rateLimitMetersModule.d.ts +54 -0
- package/public/orm/models/{appLevel.js → rateLimitMetersModule.js} +27 -27
- package/public/orm/models/userStateModule.d.ts +54 -0
- package/public/orm/models/{appAchievement.js → userStateModule.js} +27 -27
- package/public/orm/mutation/index.d.ts +2 -2
- package/public/orm/query/index.d.ts +1 -28
- package/public/orm/query/index.js +0 -44
- package/public/schema-types.d.ts +750 -731
- package/public/types.d.ts +65 -50
- package/admin/hooks/mutations/useCreateAppAchievementMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateAppLevelMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateAppLevelRequirementMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateAppLevelRequirementMutation.js +0 -34
- package/admin/hooks/mutations/useCreateAppStepMutation.d.ts +0 -34
- package/admin/hooks/mutations/useDeleteAppAchievementMutation.d.ts +0 -38
- package/admin/hooks/mutations/useDeleteAppLevelMutation.d.ts +0 -38
- package/admin/hooks/mutations/useDeleteAppLevelRequirementMutation.d.ts +0 -38
- package/admin/hooks/mutations/useDeleteAppStepMutation.d.ts +0 -38
- package/admin/hooks/mutations/useUpdateAppAchievementMutation.d.ts +0 -40
- package/admin/hooks/mutations/useUpdateAppLevelMutation.d.ts +0 -40
- package/admin/hooks/mutations/useUpdateAppLevelRequirementMutation.d.ts +0 -40
- package/admin/hooks/mutations/useUpdateAppStepMutation.d.ts +0 -40
- package/admin/hooks/queries/useAppAchievementQuery.d.ts +0 -65
- package/admin/hooks/queries/useAppAchievementsQuery.d.ts +0 -69
- package/admin/hooks/queries/useAppAchievementsQuery.js +0 -38
- package/admin/hooks/queries/useAppLevelQuery.d.ts +0 -65
- package/admin/hooks/queries/useAppLevelRequirementQuery.d.ts +0 -65
- package/admin/hooks/queries/useAppLevelRequirementQuery.js +0 -53
- package/admin/hooks/queries/useAppLevelRequirementsQuery.d.ts +0 -69
- package/admin/hooks/queries/useAppLevelRequirementsQuery.js +0 -38
- package/admin/hooks/queries/useAppLevelsQuery.d.ts +0 -69
- package/admin/hooks/queries/useAppLevelsQuery.js +0 -38
- package/admin/hooks/queries/useAppStepQuery.d.ts +0 -65
- package/admin/hooks/queries/useAppStepsQuery.d.ts +0 -69
- package/admin/hooks/queries/useStepsAchievedQuery.d.ts +0 -53
- package/admin/hooks/queries/useStepsAchievedQuery.js +0 -53
- package/admin/hooks/queries/useStepsRequiredQuery.d.ts +0 -54
- package/admin/hooks/queries/useStepsRequiredQuery.js +0 -53
- package/admin/orm/models/appAchievement.d.ts +0 -54
- package/admin/orm/models/appLevel.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/admin/orm/models/appLevelRequirement.js +0 -104
- package/admin/orm/models/appStep.d.ts +0 -54
- package/esm/admin/hooks/mutations/useCreateAppAchievementMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateAppLevelMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateAppLevelRequirementMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateAppStepMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useDeleteAppAchievementMutation.d.ts +0 -38
- package/esm/admin/hooks/mutations/useDeleteAppLevelMutation.d.ts +0 -38
- package/esm/admin/hooks/mutations/useDeleteAppLevelRequirementMutation.d.ts +0 -38
- package/esm/admin/hooks/mutations/useDeleteAppStepMutation.d.ts +0 -38
- package/esm/admin/hooks/mutations/useUpdateAppAchievementMutation.d.ts +0 -40
- package/esm/admin/hooks/mutations/useUpdateAppLevelMutation.d.ts +0 -40
- package/esm/admin/hooks/mutations/useUpdateAppLevelRequirementMutation.d.ts +0 -40
- package/esm/admin/hooks/mutations/useUpdateAppStepMutation.d.ts +0 -40
- package/esm/admin/hooks/queries/useAppAchievementQuery.d.ts +0 -65
- package/esm/admin/hooks/queries/useAppAchievementsQuery.d.ts +0 -69
- package/esm/admin/hooks/queries/useAppAchievementsQuery.js +0 -32
- package/esm/admin/hooks/queries/useAppLevelQuery.d.ts +0 -65
- package/esm/admin/hooks/queries/useAppLevelRequirementQuery.d.ts +0 -65
- package/esm/admin/hooks/queries/useAppLevelRequirementsQuery.d.ts +0 -69
- package/esm/admin/hooks/queries/useAppLevelRequirementsQuery.js +0 -32
- package/esm/admin/hooks/queries/useAppLevelsQuery.d.ts +0 -69
- package/esm/admin/hooks/queries/useAppLevelsQuery.js +0 -32
- package/esm/admin/hooks/queries/useAppStepQuery.d.ts +0 -65
- package/esm/admin/hooks/queries/useAppStepsQuery.d.ts +0 -69
- package/esm/admin/hooks/queries/useAppStepsQuery.js +0 -32
- package/esm/admin/hooks/queries/useStepsAchievedQuery.d.ts +0 -53
- package/esm/admin/hooks/queries/useStepsAchievedQuery.js +0 -47
- package/esm/admin/hooks/queries/useStepsRequiredQuery.d.ts +0 -54
- package/esm/admin/hooks/queries/useStepsRequiredQuery.js +0 -47
- package/esm/admin/orm/models/appAchievement.d.ts +0 -54
- package/esm/admin/orm/models/appLevel.d.ts +0 -54
- package/esm/admin/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/admin/orm/models/appStep.d.ts +0 -54
- package/esm/public/hooks/mutations/useCreateAppAchievementMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateAppAchievementMutation.js +0 -31
- package/esm/public/hooks/mutations/useCreateAppLevelMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateAppLevelRequirementMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateAppLevelRequirementMutation.js +0 -31
- package/esm/public/hooks/mutations/useCreateAppStepMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateAppStepMutation.js +0 -31
- package/esm/public/hooks/mutations/useCreateLevelsModuleMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateSecretsModuleMutation.d.ts +0 -34
- package/esm/public/hooks/mutations/useCreateSecretsModuleMutation.js +0 -31
- package/esm/public/hooks/mutations/useDeleteAppAchievementMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteAppAchievementMutation.js +0 -36
- package/esm/public/hooks/mutations/useDeleteAppLevelMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteAppLevelRequirementMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteAppLevelRequirementMutation.js +0 -36
- package/esm/public/hooks/mutations/useDeleteAppStepMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteAppStepMutation.js +0 -36
- package/esm/public/hooks/mutations/useDeleteLevelsModuleMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteSecretsModuleMutation.d.ts +0 -38
- package/esm/public/hooks/mutations/useDeleteSecretsModuleMutation.js +0 -36
- package/esm/public/hooks/mutations/useUpdateAppAchievementMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateAppAchievementMutation.js +0 -37
- package/esm/public/hooks/mutations/useUpdateAppLevelMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateAppLevelMutation.js +0 -37
- package/esm/public/hooks/mutations/useUpdateAppLevelRequirementMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateAppLevelRequirementMutation.js +0 -37
- package/esm/public/hooks/mutations/useUpdateAppStepMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateAppStepMutation.js +0 -37
- package/esm/public/hooks/mutations/useUpdateLevelsModuleMutation.d.ts +0 -40
- package/esm/public/hooks/mutations/useUpdateSecretsModuleMutation.d.ts +0 -40
- package/esm/public/hooks/queries/useAppAchievementQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAppAchievementQuery.js +0 -47
- package/esm/public/hooks/queries/useAppAchievementsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useAppAchievementsQuery.js +0 -32
- package/esm/public/hooks/queries/useAppLevelQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAppLevelRequirementQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAppLevelRequirementQuery.js +0 -47
- package/esm/public/hooks/queries/useAppLevelRequirementsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useAppLevelRequirementsQuery.js +0 -32
- package/esm/public/hooks/queries/useAppLevelsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useAppStepQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useAppStepQuery.js +0 -47
- package/esm/public/hooks/queries/useAppStepsQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useAppStepsQuery.js +0 -32
- package/esm/public/hooks/queries/useLevelsModuleQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useLevelsModulesQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useSecretsModuleQuery.d.ts +0 -65
- package/esm/public/hooks/queries/useSecretsModuleQuery.js +0 -47
- package/esm/public/hooks/queries/useSecretsModulesQuery.d.ts +0 -69
- package/esm/public/hooks/queries/useSecretsModulesQuery.js +0 -32
- package/esm/public/hooks/queries/useStepsAchievedQuery.d.ts +0 -53
- package/esm/public/hooks/queries/useStepsAchievedQuery.js +0 -47
- package/esm/public/hooks/queries/useStepsRequiredQuery.d.ts +0 -54
- package/esm/public/hooks/queries/useStepsRequiredQuery.js +0 -47
- package/esm/public/orm/models/appAchievement.d.ts +0 -54
- package/esm/public/orm/models/appLevel.d.ts +0 -54
- package/esm/public/orm/models/appLevel.js +0 -100
- package/esm/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/esm/public/orm/models/appLevelRequirement.js +0 -100
- package/esm/public/orm/models/appStep.d.ts +0 -54
- package/esm/public/orm/models/appStep.js +0 -100
- package/esm/public/orm/models/levelsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.d.ts +0 -54
- package/esm/public/orm/models/secretsModule.js +0 -100
- package/public/hooks/mutations/useCreateAppAchievementMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateAppAchievementMutation.js +0 -34
- package/public/hooks/mutations/useCreateAppLevelMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateAppLevelRequirementMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateAppLevelRequirementMutation.js +0 -34
- package/public/hooks/mutations/useCreateAppStepMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateLevelsModuleMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateSecretsModuleMutation.d.ts +0 -34
- package/public/hooks/mutations/useCreateSecretsModuleMutation.js +0 -34
- package/public/hooks/mutations/useDeleteAppAchievementMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteAppAchievementMutation.js +0 -39
- package/public/hooks/mutations/useDeleteAppLevelMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteAppLevelRequirementMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteAppLevelRequirementMutation.js +0 -39
- package/public/hooks/mutations/useDeleteAppStepMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteAppStepMutation.js +0 -39
- package/public/hooks/mutations/useDeleteLevelsModuleMutation.d.ts +0 -38
- package/public/hooks/mutations/useDeleteSecretsModuleMutation.d.ts +0 -38
- package/public/hooks/mutations/useUpdateAppAchievementMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateAppAchievementMutation.js +0 -40
- package/public/hooks/mutations/useUpdateAppLevelMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateAppLevelRequirementMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateAppLevelRequirementMutation.js +0 -40
- package/public/hooks/mutations/useUpdateAppStepMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateAppStepMutation.js +0 -40
- package/public/hooks/mutations/useUpdateLevelsModuleMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateSecretsModuleMutation.d.ts +0 -40
- package/public/hooks/mutations/useUpdateSecretsModuleMutation.js +0 -40
- package/public/hooks/queries/useAppAchievementQuery.d.ts +0 -65
- package/public/hooks/queries/useAppAchievementsQuery.d.ts +0 -69
- package/public/hooks/queries/useAppAchievementsQuery.js +0 -38
- package/public/hooks/queries/useAppLevelQuery.d.ts +0 -65
- package/public/hooks/queries/useAppLevelRequirementQuery.d.ts +0 -65
- package/public/hooks/queries/useAppLevelRequirementsQuery.d.ts +0 -69
- package/public/hooks/queries/useAppLevelRequirementsQuery.js +0 -38
- package/public/hooks/queries/useAppLevelsQuery.d.ts +0 -69
- package/public/hooks/queries/useAppLevelsQuery.js +0 -38
- package/public/hooks/queries/useAppStepQuery.d.ts +0 -65
- package/public/hooks/queries/useAppStepQuery.js +0 -53
- package/public/hooks/queries/useAppStepsQuery.d.ts +0 -69
- package/public/hooks/queries/useLevelsModuleQuery.d.ts +0 -65
- package/public/hooks/queries/useLevelsModulesQuery.d.ts +0 -69
- package/public/hooks/queries/useSecretsModuleQuery.d.ts +0 -65
- package/public/hooks/queries/useSecretsModuleQuery.js +0 -53
- package/public/hooks/queries/useSecretsModulesQuery.d.ts +0 -69
- package/public/hooks/queries/useSecretsModulesQuery.js +0 -38
- package/public/hooks/queries/useStepsAchievedQuery.d.ts +0 -53
- package/public/hooks/queries/useStepsAchievedQuery.js +0 -53
- package/public/hooks/queries/useStepsRequiredQuery.d.ts +0 -54
- package/public/hooks/queries/useStepsRequiredQuery.js +0 -53
- package/public/orm/models/appAchievement.d.ts +0 -54
- package/public/orm/models/appLevel.d.ts +0 -54
- package/public/orm/models/appLevelRequirement.d.ts +0 -54
- package/public/orm/models/appLevelRequirement.js +0 -104
- package/public/orm/models/appStep.d.ts +0 -54
- package/public/orm/models/appStep.js +0 -104
- package/public/orm/models/levelsModule.d.ts +0 -54
- package/public/orm/models/secretsModule.d.ts +0 -54
package/public/types.d.ts
CHANGED
|
@@ -48,16 +48,6 @@ export interface Object {
|
|
|
48
48
|
frzn: boolean | null;
|
|
49
49
|
createdAt: string | null;
|
|
50
50
|
}
|
|
51
|
-
export interface AppLevelRequirement {
|
|
52
|
-
id: string | null;
|
|
53
|
-
name: string | null;
|
|
54
|
-
level: string | null;
|
|
55
|
-
description: string | null;
|
|
56
|
-
requiredCount: number | null;
|
|
57
|
-
priority: number | null;
|
|
58
|
-
createdAt: string | null;
|
|
59
|
-
updatedAt: string | null;
|
|
60
|
-
}
|
|
61
51
|
export interface Database {
|
|
62
52
|
id: string | null;
|
|
63
53
|
ownerId: string | null;
|
|
@@ -351,8 +341,11 @@ export interface EmbeddingChunk {
|
|
|
351
341
|
chunkOverlap: number | null;
|
|
352
342
|
chunkStrategy: string | null;
|
|
353
343
|
metadataFields: unknown | null;
|
|
344
|
+
searchIndexes: unknown | null;
|
|
354
345
|
enqueueChunkingJob: boolean | null;
|
|
355
346
|
chunkingTaskName: string | null;
|
|
347
|
+
embeddingModel: string | null;
|
|
348
|
+
embeddingProvider: string | null;
|
|
356
349
|
parentFkFieldId: string | null;
|
|
357
350
|
createdAt: string | null;
|
|
358
351
|
updatedAt: string | null;
|
|
@@ -422,8 +415,8 @@ export interface RealtimeModule {
|
|
|
422
415
|
listenerNodeTableId: string | null;
|
|
423
416
|
sourceRegistryTableId: string | null;
|
|
424
417
|
retentionHours: number | null;
|
|
425
|
-
|
|
426
|
-
|
|
418
|
+
premake: number | null;
|
|
419
|
+
interval: string | null;
|
|
427
420
|
notifyChannel: string | null;
|
|
428
421
|
}
|
|
429
422
|
export interface SchemaGrant {
|
|
@@ -540,10 +533,10 @@ export interface Partition {
|
|
|
540
533
|
databaseId: string | null;
|
|
541
534
|
tableId: string | null;
|
|
542
535
|
strategy: string | null;
|
|
543
|
-
|
|
536
|
+
partitionKeyId: string | null;
|
|
544
537
|
interval: string | null;
|
|
545
538
|
retention: string | null;
|
|
546
|
-
|
|
539
|
+
premake: number | null;
|
|
547
540
|
namingPattern: string | null;
|
|
548
541
|
createdAt: string | null;
|
|
549
542
|
updatedAt: string | null;
|
|
@@ -681,29 +674,42 @@ export interface InvitesModule {
|
|
|
681
674
|
membershipType: number | null;
|
|
682
675
|
entityTableId: string | null;
|
|
683
676
|
}
|
|
684
|
-
export interface
|
|
677
|
+
export interface EventsModule {
|
|
685
678
|
id: string | null;
|
|
686
679
|
databaseId: string | null;
|
|
687
680
|
schemaId: string | null;
|
|
688
681
|
privateSchemaId: string | null;
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
682
|
+
eventsTableId: string | null;
|
|
683
|
+
eventsTableName: string | null;
|
|
684
|
+
eventAggregatesTableId: string | null;
|
|
685
|
+
eventAggregatesTableName: string | null;
|
|
686
|
+
eventTypesTableId: string | null;
|
|
687
|
+
eventTypesTableName: string | null;
|
|
693
688
|
levelsTableId: string | null;
|
|
694
689
|
levelsTableName: string | null;
|
|
695
690
|
levelRequirementsTableId: string | null;
|
|
696
691
|
levelRequirementsTableName: string | null;
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
692
|
+
levelGrantsTableId: string | null;
|
|
693
|
+
levelGrantsTableName: string | null;
|
|
694
|
+
achievementRewardsTableId: string | null;
|
|
695
|
+
achievementRewardsTableName: string | null;
|
|
696
|
+
recordEvent: string | null;
|
|
697
|
+
removeEvent: string | null;
|
|
698
|
+
tgEvent: string | null;
|
|
699
|
+
tgEventToggle: string | null;
|
|
700
|
+
tgEventToggleBool: string | null;
|
|
701
|
+
tgEventBool: string | null;
|
|
702
|
+
upsertAggregate: string | null;
|
|
703
|
+
tgUpdateAggregates: string | null;
|
|
704
|
+
pruneEvents: string | null;
|
|
705
705
|
stepsRequired: string | null;
|
|
706
706
|
levelAchieved: string | null;
|
|
707
|
+
tgCheckAchievements: string | null;
|
|
708
|
+
grantAchievement: string | null;
|
|
709
|
+
tgAchievementReward: string | null;
|
|
710
|
+
interval: string | null;
|
|
711
|
+
retention: string | null;
|
|
712
|
+
premake: number | null;
|
|
707
713
|
prefix: string | null;
|
|
708
714
|
membershipType: number | null;
|
|
709
715
|
entityTableId: string | null;
|
|
@@ -734,6 +740,10 @@ export interface LimitsModule {
|
|
|
734
740
|
limitCapsDefaultsTableId: string | null;
|
|
735
741
|
capCheckTrigger: string | null;
|
|
736
742
|
resolveCapFunction: string | null;
|
|
743
|
+
limitWarningsTableId: string | null;
|
|
744
|
+
limitWarningStateTableId: string | null;
|
|
745
|
+
limitCheckSoftFunction: string | null;
|
|
746
|
+
limitAggregateCheckSoftFunction: string | null;
|
|
737
747
|
prefix: string | null;
|
|
738
748
|
membershipType: number | null;
|
|
739
749
|
entityTableId: string | null;
|
|
@@ -832,7 +842,7 @@ export interface ProfilesModule {
|
|
|
832
842
|
membershipsTableId: string | null;
|
|
833
843
|
prefix: string | null;
|
|
834
844
|
}
|
|
835
|
-
export interface
|
|
845
|
+
export interface UserStateModule {
|
|
836
846
|
id: string | null;
|
|
837
847
|
databaseId: string | null;
|
|
838
848
|
schemaId: string | null;
|
|
@@ -987,6 +997,7 @@ export interface EntityTypeProvision {
|
|
|
987
997
|
hasLevels: boolean | null;
|
|
988
998
|
hasStorage: boolean | null;
|
|
989
999
|
hasInvites: boolean | null;
|
|
1000
|
+
hasInviteAchievements: boolean | null;
|
|
990
1001
|
storageConfig: unknown | null;
|
|
991
1002
|
skipEntityPolicies: boolean | null;
|
|
992
1003
|
tableProvision: unknown | null;
|
|
@@ -1250,30 +1261,13 @@ export interface OrgLimitAggregate {
|
|
|
1250
1261
|
periodCredits: string | null;
|
|
1251
1262
|
reserved: string | null;
|
|
1252
1263
|
}
|
|
1253
|
-
export interface
|
|
1254
|
-
id: string | null;
|
|
1255
|
-
actorId: string | null;
|
|
1256
|
-
name: string | null;
|
|
1257
|
-
count: number | null;
|
|
1258
|
-
createdAt: string | null;
|
|
1259
|
-
updatedAt: string | null;
|
|
1260
|
-
}
|
|
1261
|
-
export interface AppAchievement {
|
|
1262
|
-
id: string | null;
|
|
1263
|
-
actorId: string | null;
|
|
1264
|
-
name: string | null;
|
|
1265
|
-
count: number | null;
|
|
1266
|
-
createdAt: string | null;
|
|
1267
|
-
updatedAt: string | null;
|
|
1268
|
-
}
|
|
1269
|
-
export interface AppLevel {
|
|
1264
|
+
export interface OrgLimitWarning {
|
|
1270
1265
|
id: string | null;
|
|
1271
1266
|
name: string | null;
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
updatedAt: string | null;
|
|
1267
|
+
warningType: string | null;
|
|
1268
|
+
thresholdValue: string | null;
|
|
1269
|
+
taskIdentifier: string | null;
|
|
1270
|
+
entityId: string | null;
|
|
1277
1271
|
}
|
|
1278
1272
|
export interface Email {
|
|
1279
1273
|
id: string | null;
|
|
@@ -1517,6 +1511,13 @@ export interface OrgLimitDefault {
|
|
|
1517
1511
|
max: string | null;
|
|
1518
1512
|
softMax: string | null;
|
|
1519
1513
|
}
|
|
1514
|
+
export interface AppLimitWarning {
|
|
1515
|
+
id: string | null;
|
|
1516
|
+
name: string | null;
|
|
1517
|
+
warningType: string | null;
|
|
1518
|
+
thresholdValue: string | null;
|
|
1519
|
+
taskIdentifier: string | null;
|
|
1520
|
+
}
|
|
1520
1521
|
export interface UserConnectedAccount {
|
|
1521
1522
|
id: string | null;
|
|
1522
1523
|
ownerId: string | null;
|
|
@@ -1633,6 +1634,20 @@ export interface RlsModule {
|
|
|
1633
1634
|
currentRole: string | null;
|
|
1634
1635
|
currentRoleId: string | null;
|
|
1635
1636
|
}
|
|
1637
|
+
export interface RateLimitMetersModule {
|
|
1638
|
+
id: string | null;
|
|
1639
|
+
databaseId: string | null;
|
|
1640
|
+
schemaId: string | null;
|
|
1641
|
+
privateSchemaId: string | null;
|
|
1642
|
+
rateLimitStateTableId: string | null;
|
|
1643
|
+
rateLimitStateTableName: string | null;
|
|
1644
|
+
rateLimitOverridesTableId: string | null;
|
|
1645
|
+
rateLimitOverridesTableName: string | null;
|
|
1646
|
+
rateWindowLimitsTableId: string | null;
|
|
1647
|
+
rateWindowLimitsTableName: string | null;
|
|
1648
|
+
checkRateLimitFunction: string | null;
|
|
1649
|
+
prefix: string | null;
|
|
1650
|
+
}
|
|
1636
1651
|
export interface PlansModule {
|
|
1637
1652
|
id: string | null;
|
|
1638
1653
|
databaseId: string | null;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
|
|
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 { AppAchievementSelect, AppAchievementWithRelations, CreateAppAchievementInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppAchievementSelect, AppAchievementWithRelations, CreateAppAchievementInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateAppAchievementMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateAppAchievementMutation<S extends AppAchievementSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppAchievementSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppAchievementSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createAppAchievement: {
|
|
28
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateAppAchievementInput['appAchievement']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createAppAchievement: {
|
|
32
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateAppAchievementInput['appAchievement']>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines available levels that users can achieve by completing requirements
|
|
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 { AppLevelSelect, AppLevelWithRelations, CreateAppLevelInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppLevelSelect, AppLevelWithRelations, CreateAppLevelInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Defines available levels that users can achieve by completing requirements
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateAppLevelMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateAppLevelMutation<S extends AppLevelSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppLevelSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createAppLevel: {
|
|
28
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateAppLevelInput['appLevel']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createAppLevel: {
|
|
32
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateAppLevelInput['appLevel']>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the specific requirements that must be met to achieve a level
|
|
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 { AppLevelRequirementSelect, AppLevelRequirementWithRelations, CreateAppLevelRequirementInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppLevelRequirementSelect, AppLevelRequirementWithRelations, CreateAppLevelRequirementInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Defines the specific requirements that must be met to achieve a level
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateAppLevelRequirementMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateAppLevelRequirementMutation<S extends AppLevelRequirementSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppLevelRequirementSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppLevelRequirementSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createAppLevelRequirement: {
|
|
28
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateAppLevelRequirementInput['appLevelRequirement']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createAppLevelRequirement: {
|
|
32
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateAppLevelRequirementInput['appLevelRequirement']>;
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Defines the specific requirements that must be met to achieve a level
|
|
4
|
-
* @generated by @constructive-io/graphql-codegen
|
|
5
|
-
* DO NOT EDIT - changes will be overwritten
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.useCreateAppLevelRequirementMutation = useCreateAppLevelRequirementMutation;
|
|
9
|
-
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
-
const client_1 = require("../client");
|
|
11
|
-
const selection_1 = require("../selection");
|
|
12
|
-
const query_keys_1 = require("../query-keys");
|
|
13
|
-
const mutation_keys_1 = require("../mutation-keys");
|
|
14
|
-
function useCreateAppLevelRequirementMutation(params) {
|
|
15
|
-
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
16
|
-
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
17
|
-
void _selection;
|
|
18
|
-
const queryClient = (0, react_query_1.useQueryClient)();
|
|
19
|
-
return (0, react_query_1.useMutation)({
|
|
20
|
-
mutationKey: mutation_keys_1.appLevelRequirementMutationKeys.create(),
|
|
21
|
-
mutationFn: (data) => (0, client_1.getClient)()
|
|
22
|
-
.appLevelRequirement.create({
|
|
23
|
-
data,
|
|
24
|
-
select: args.select,
|
|
25
|
-
})
|
|
26
|
-
.unwrap(),
|
|
27
|
-
onSuccess: () => {
|
|
28
|
-
queryClient.invalidateQueries({
|
|
29
|
-
queryKey: query_keys_1.appLevelRequirementKeys.lists(),
|
|
30
|
-
});
|
|
31
|
-
},
|
|
32
|
-
...mutationOptions,
|
|
33
|
-
});
|
|
34
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Log of individual user actions toward level requirements; every single step ever taken is recorded here
|
|
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 { AppStepSelect, AppStepWithRelations, CreateAppStepInput } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppStepSelect, AppStepWithRelations, CreateAppStepInput, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Log of individual user actions toward level requirements; every single step ever taken is recorded here
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useCreateAppStepMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ name: 'New item' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useCreateAppStepMutation<S extends AppStepSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppStepSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppStepSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
createAppStep: {
|
|
28
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, CreateAppStepInput['appStep']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
-
createAppStep: {
|
|
32
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
33
|
-
};
|
|
34
|
-
}, Error, CreateAppStepInput['appStep']>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
|
|
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 { AppAchievementSelect, AppAchievementWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppAchievementSelect, AppAchievementWithRelations } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useDeleteAppAchievementMutation({
|
|
16
|
-
* selection: { fields: { id: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-to-delete' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useDeleteAppAchievementMutation<S extends AppAchievementSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppAchievementSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppAchievementSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
deleteAppAchievement: {
|
|
28
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
-
deleteAppAchievement: {
|
|
34
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
35
|
-
};
|
|
36
|
-
}, Error, {
|
|
37
|
-
id: string;
|
|
38
|
-
}>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines available levels that users can achieve by completing requirements
|
|
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 { AppLevelSelect, AppLevelWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppLevelSelect, AppLevelWithRelations } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Defines available levels that users can achieve by completing requirements
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useDeleteAppLevelMutation({
|
|
16
|
-
* selection: { fields: { id: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-to-delete' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useDeleteAppLevelMutation<S extends AppLevelSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppLevelSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
deleteAppLevel: {
|
|
28
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
-
deleteAppLevel: {
|
|
34
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
35
|
-
};
|
|
36
|
-
}, Error, {
|
|
37
|
-
id: string;
|
|
38
|
-
}>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the specific requirements that must be met to achieve a level
|
|
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 { AppLevelRequirementSelect, AppLevelRequirementWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppLevelRequirementSelect, AppLevelRequirementWithRelations, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Defines the specific requirements that must be met to achieve a level
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useDeleteAppLevelRequirementMutation({
|
|
16
|
-
* selection: { fields: { id: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-to-delete' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useDeleteAppLevelRequirementMutation<S extends AppLevelRequirementSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppLevelRequirementSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppLevelRequirementSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
deleteAppLevelRequirement: {
|
|
28
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
-
deleteAppLevelRequirement: {
|
|
34
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
35
|
-
};
|
|
36
|
-
}, Error, {
|
|
37
|
-
id: string;
|
|
38
|
-
}>;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Log of individual user actions toward level requirements; every single step ever taken is recorded here
|
|
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 { AppStepSelect, AppStepWithRelations } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppStepSelect, AppStepWithRelations } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Log of individual user actions toward level requirements; every single step ever taken is recorded here
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useDeleteAppStepMutation({
|
|
16
|
-
* selection: { fields: { id: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-to-delete' });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useDeleteAppStepMutation<S extends AppStepSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppStepSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppStepSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
deleteAppStep: {
|
|
28
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
-
deleteAppStep: {
|
|
34
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
35
|
-
};
|
|
36
|
-
}, Error, {
|
|
37
|
-
id: string;
|
|
38
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
|
|
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 { AppAchievementSelect, AppAchievementWithRelations, AppAchievementPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppAchievementSelect, AppAchievementWithRelations, AppAchievementPatch, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Aggregated user progress for level requirements, tallying the total count; updated via triggers and should not be modified manually
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateAppAchievementMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', appAchievementPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateAppAchievementMutation<S extends AppAchievementSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppAchievementSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppAchievementSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateAppAchievement: {
|
|
28
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
appAchievementPatch: AppAchievementPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateAppAchievement: {
|
|
35
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
appAchievementPatch: AppAchievementPatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines available levels that users can achieve by completing requirements
|
|
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 { AppLevelSelect, AppLevelWithRelations, AppLevelPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppLevelSelect, AppLevelWithRelations, AppLevelPatch } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Defines available levels that users can achieve by completing requirements
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateAppLevelMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', appLevelPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateAppLevelMutation<S extends AppLevelSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppLevelSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppLevelSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateAppLevel: {
|
|
28
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
appLevelPatch: AppLevelPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateAppLevel: {
|
|
35
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
appLevelPatch: AppLevelPatch;
|
|
40
|
-
}>;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Defines the specific requirements that must be met to achieve a level
|
|
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 { AppLevelRequirementSelect, AppLevelRequirementWithRelations, AppLevelRequirementPatch } from '../../orm/input-types';
|
|
8
|
-
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
-
export type { AppLevelRequirementSelect, AppLevelRequirementWithRelations, AppLevelRequirementPatch, } from '../../orm/input-types';
|
|
10
|
-
/**
|
|
11
|
-
* Defines the specific requirements that must be met to achieve a level
|
|
12
|
-
*
|
|
13
|
-
* @example
|
|
14
|
-
* ```tsx
|
|
15
|
-
* const { mutate, isPending } = useUpdateAppLevelRequirementMutation({
|
|
16
|
-
* selection: { fields: { id: true, name: true } },
|
|
17
|
-
* });
|
|
18
|
-
*
|
|
19
|
-
* mutate({ id: 'value-here', appLevelRequirementPatch: { name: 'Updated' } });
|
|
20
|
-
* ```
|
|
21
|
-
*/
|
|
22
|
-
export declare function useUpdateAppLevelRequirementMutation<S extends AppLevelRequirementSelect>(params: {
|
|
23
|
-
selection: {
|
|
24
|
-
fields: S & AppLevelRequirementSelect;
|
|
25
|
-
} & HookStrictSelect<NoInfer<S>, AppLevelRequirementSelect>;
|
|
26
|
-
} & Omit<UseMutationOptions<{
|
|
27
|
-
updateAppLevelRequirement: {
|
|
28
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
29
|
-
};
|
|
30
|
-
}, Error, {
|
|
31
|
-
id: string;
|
|
32
|
-
appLevelRequirementPatch: AppLevelRequirementPatch;
|
|
33
|
-
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
-
updateAppLevelRequirement: {
|
|
35
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
36
|
-
};
|
|
37
|
-
}, Error, {
|
|
38
|
-
id: string;
|
|
39
|
-
appLevelRequirementPatch: AppLevelRequirementPatch;
|
|
40
|
-
}>;
|