@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
|
@@ -42,12 +42,6 @@ export const orgPermissionMutationKeys = {
|
|
|
42
42
|
/** Update orgPermission mutation key */ update: (id) => ['mutation', 'orgpermission', 'update', id],
|
|
43
43
|
/** Delete orgPermission mutation key */ delete: (id) => ['mutation', 'orgpermission', 'delete', id],
|
|
44
44
|
};
|
|
45
|
-
export const appLevelRequirementMutationKeys = {
|
|
46
|
-
/** All appLevelRequirement mutation keys */ all: ['mutation', 'applevelrequirement'],
|
|
47
|
-
/** Create appLevelRequirement mutation key */ create: () => ['mutation', 'applevelrequirement', 'create'],
|
|
48
|
-
/** Update appLevelRequirement mutation key */ update: (id) => ['mutation', 'applevelrequirement', 'update', id],
|
|
49
|
-
/** Delete appLevelRequirement mutation key */ delete: (id) => ['mutation', 'applevelrequirement', 'delete', id],
|
|
50
|
-
};
|
|
51
45
|
export const appLimitCreditRedemptionMutationKeys = {
|
|
52
46
|
/** All appLimitCreditRedemption mutation keys */ all: [
|
|
53
47
|
'mutation',
|
|
@@ -108,18 +102,6 @@ export const appOwnerGrantMutationKeys = {
|
|
|
108
102
|
/** Update appOwnerGrant mutation key */ update: (id) => ['mutation', 'appownergrant', 'update', id],
|
|
109
103
|
/** Delete appOwnerGrant mutation key */ delete: (id) => ['mutation', 'appownergrant', 'delete', id],
|
|
110
104
|
};
|
|
111
|
-
export const appAchievementMutationKeys = {
|
|
112
|
-
/** All appAchievement mutation keys */ all: ['mutation', 'appachievement'],
|
|
113
|
-
/** Create appAchievement mutation key */ create: () => ['mutation', 'appachievement', 'create'],
|
|
114
|
-
/** Update appAchievement mutation key */ update: (id) => ['mutation', 'appachievement', 'update', id],
|
|
115
|
-
/** Delete appAchievement mutation key */ delete: (id) => ['mutation', 'appachievement', 'delete', id],
|
|
116
|
-
};
|
|
117
|
-
export const appStepMutationKeys = {
|
|
118
|
-
/** All appStep mutation keys */ all: ['mutation', 'appstep'],
|
|
119
|
-
/** Create appStep mutation key */ create: () => ['mutation', 'appstep', 'create'],
|
|
120
|
-
/** Update appStep mutation key */ update: (id) => ['mutation', 'appstep', 'update', id],
|
|
121
|
-
/** Delete appStep mutation key */ delete: (id) => ['mutation', 'appstep', 'delete', id],
|
|
122
|
-
};
|
|
123
105
|
export const appLimitCapsDefaultMutationKeys = {
|
|
124
106
|
/** All appLimitCapsDefault mutation keys */ all: ['mutation', 'applimitcapsdefault'],
|
|
125
107
|
/** Create appLimitCapsDefault mutation key */ create: () => ['mutation', 'applimitcapsdefault', 'create'],
|
|
@@ -180,6 +162,18 @@ export const orgLimitCreditMutationKeys = {
|
|
|
180
162
|
/** Update orgLimitCredit mutation key */ update: (id) => ['mutation', 'orglimitcredit', 'update', id],
|
|
181
163
|
/** Delete orgLimitCredit mutation key */ delete: (id) => ['mutation', 'orglimitcredit', 'delete', id],
|
|
182
164
|
};
|
|
165
|
+
export const appLimitWarningMutationKeys = {
|
|
166
|
+
/** All appLimitWarning mutation keys */ all: ['mutation', 'applimitwarning'],
|
|
167
|
+
/** Create appLimitWarning mutation key */ create: () => ['mutation', 'applimitwarning', 'create'],
|
|
168
|
+
/** Update appLimitWarning mutation key */ update: (id) => ['mutation', 'applimitwarning', 'update', id],
|
|
169
|
+
/** Delete appLimitWarning mutation key */ delete: (id) => ['mutation', 'applimitwarning', 'delete', id],
|
|
170
|
+
};
|
|
171
|
+
export const orgLimitWarningMutationKeys = {
|
|
172
|
+
/** All orgLimitWarning mutation keys */ all: ['mutation', 'orglimitwarning'],
|
|
173
|
+
/** Create orgLimitWarning mutation key */ create: () => ['mutation', 'orglimitwarning', 'create'],
|
|
174
|
+
/** Update orgLimitWarning mutation key */ update: (id) => ['mutation', 'orglimitwarning', 'update', id],
|
|
175
|
+
/** Delete orgLimitWarning mutation key */ delete: (id) => ['mutation', 'orglimitwarning', 'delete', id],
|
|
176
|
+
};
|
|
183
177
|
export const orgChartEdgeGrantMutationKeys = {
|
|
184
178
|
/** All orgChartEdgeGrant mutation keys */ all: ['mutation', 'orgchartedgegrant'],
|
|
185
179
|
/** Create orgChartEdgeGrant mutation key */ create: () => ['mutation', 'orgchartedgegrant', 'create'],
|
|
@@ -246,18 +240,6 @@ export const usageSnapshotMutationKeys = {
|
|
|
246
240
|
/** Update usageSnapshot mutation key */ update: (id) => ['mutation', 'usagesnapshot', 'update', id],
|
|
247
241
|
/** Delete usageSnapshot mutation key */ delete: (id) => ['mutation', 'usagesnapshot', 'delete', id],
|
|
248
242
|
};
|
|
249
|
-
export const orgMemberProfileMutationKeys = {
|
|
250
|
-
/** All orgMemberProfile mutation keys */ all: ['mutation', 'orgmemberprofile'],
|
|
251
|
-
/** Create orgMemberProfile mutation key */ create: () => ['mutation', 'orgmemberprofile', 'create'],
|
|
252
|
-
/** Update orgMemberProfile mutation key */ update: (id) => ['mutation', 'orgmemberprofile', 'update', id],
|
|
253
|
-
/** Delete orgMemberProfile mutation key */ delete: (id) => ['mutation', 'orgmemberprofile', 'delete', id],
|
|
254
|
-
};
|
|
255
|
-
export const appLevelMutationKeys = {
|
|
256
|
-
/** All appLevel mutation keys */ all: ['mutation', 'applevel'],
|
|
257
|
-
/** Create appLevel mutation key */ create: () => ['mutation', 'applevel', 'create'],
|
|
258
|
-
/** Update appLevel mutation key */ update: (id) => ['mutation', 'applevel', 'update', id],
|
|
259
|
-
/** Delete appLevel mutation key */ delete: (id) => ['mutation', 'applevel', 'delete', id],
|
|
260
|
-
};
|
|
261
243
|
export const appLimitMutationKeys = {
|
|
262
244
|
/** All appLimit mutation keys */ all: ['mutation', 'applimit'],
|
|
263
245
|
/** Create appLimit mutation key */ create: () => ['mutation', 'applimit', 'create'],
|
|
@@ -288,6 +270,12 @@ export const orgLimitMutationKeys = {
|
|
|
288
270
|
/** Update orgLimit mutation key */ update: (id) => ['mutation', 'orglimit', 'update', id],
|
|
289
271
|
/** Delete orgLimit mutation key */ delete: (id) => ['mutation', 'orglimit', 'delete', id],
|
|
290
272
|
};
|
|
273
|
+
export const orgMemberProfileMutationKeys = {
|
|
274
|
+
/** All orgMemberProfile mutation keys */ all: ['mutation', 'orgmemberprofile'],
|
|
275
|
+
/** Create orgMemberProfile mutation key */ create: () => ['mutation', 'orgmemberprofile', 'create'],
|
|
276
|
+
/** Update orgMemberProfile mutation key */ update: (id) => ['mutation', 'orgmemberprofile', 'update', id],
|
|
277
|
+
/** Delete orgMemberProfile mutation key */ delete: (id) => ['mutation', 'orgmemberprofile', 'delete', id],
|
|
278
|
+
};
|
|
291
279
|
export const appMembershipMutationKeys = {
|
|
292
280
|
/** All appMembership mutation keys */ all: ['mutation', 'appmembership'],
|
|
293
281
|
/** Create appMembership mutation key */ create: () => ['mutation', 'appmembership', 'create'],
|
|
@@ -347,7 +335,6 @@ export const mutationKeys = {
|
|
|
347
335
|
orgGetSubordinatesRecord: orgGetSubordinatesRecordMutationKeys,
|
|
348
336
|
appPermission: appPermissionMutationKeys,
|
|
349
337
|
orgPermission: orgPermissionMutationKeys,
|
|
350
|
-
appLevelRequirement: appLevelRequirementMutationKeys,
|
|
351
338
|
appLimitCreditRedemption: appLimitCreditRedemptionMutationKeys,
|
|
352
339
|
appLimitCreditCodeItem: appLimitCreditCodeItemMutationKeys,
|
|
353
340
|
appLimitCredit: appLimitCreditMutationKeys,
|
|
@@ -357,8 +344,6 @@ export const mutationKeys = {
|
|
|
357
344
|
orgPermissionDefault: orgPermissionDefaultMutationKeys,
|
|
358
345
|
appAdminGrant: appAdminGrantMutationKeys,
|
|
359
346
|
appOwnerGrant: appOwnerGrantMutationKeys,
|
|
360
|
-
appAchievement: appAchievementMutationKeys,
|
|
361
|
-
appStep: appStepMutationKeys,
|
|
362
347
|
appLimitCapsDefault: appLimitCapsDefaultMutationKeys,
|
|
363
348
|
orgLimitCapsDefault: orgLimitCapsDefaultMutationKeys,
|
|
364
349
|
appLimitCap: appLimitCapMutationKeys,
|
|
@@ -369,6 +354,8 @@ export const mutationKeys = {
|
|
|
369
354
|
appLimitDefault: appLimitDefaultMutationKeys,
|
|
370
355
|
orgLimitDefault: orgLimitDefaultMutationKeys,
|
|
371
356
|
orgLimitCredit: orgLimitCreditMutationKeys,
|
|
357
|
+
appLimitWarning: appLimitWarningMutationKeys,
|
|
358
|
+
orgLimitWarning: orgLimitWarningMutationKeys,
|
|
372
359
|
orgChartEdgeGrant: orgChartEdgeGrantMutationKeys,
|
|
373
360
|
appClaimedInvite: appClaimedInviteMutationKeys,
|
|
374
361
|
appGrant: appGrantMutationKeys,
|
|
@@ -380,13 +367,12 @@ export const mutationKeys = {
|
|
|
380
367
|
orgGrant: orgGrantMutationKeys,
|
|
381
368
|
orgChartEdge: orgChartEdgeMutationKeys,
|
|
382
369
|
usageSnapshot: usageSnapshotMutationKeys,
|
|
383
|
-
orgMemberProfile: orgMemberProfileMutationKeys,
|
|
384
|
-
appLevel: appLevelMutationKeys,
|
|
385
370
|
appLimit: appLimitMutationKeys,
|
|
386
371
|
appInvite: appInviteMutationKeys,
|
|
387
372
|
orgMembershipSetting: orgMembershipSettingMutationKeys,
|
|
388
373
|
orgLimitAggregate: orgLimitAggregateMutationKeys,
|
|
389
374
|
orgLimit: orgLimitMutationKeys,
|
|
375
|
+
orgMemberProfile: orgMemberProfileMutationKeys,
|
|
390
376
|
appMembership: appMembershipMutationKeys,
|
|
391
377
|
orgInvite: orgInviteMutationKeys,
|
|
392
378
|
orgMembership: orgMembershipMutationKeys,
|
|
@@ -11,9 +11,6 @@ export * from './useDeleteAppPermissionMutation';
|
|
|
11
11
|
export * from './useCreateOrgPermissionMutation';
|
|
12
12
|
export * from './useUpdateOrgPermissionMutation';
|
|
13
13
|
export * from './useDeleteOrgPermissionMutation';
|
|
14
|
-
export * from './useCreateAppLevelRequirementMutation';
|
|
15
|
-
export * from './useUpdateAppLevelRequirementMutation';
|
|
16
|
-
export * from './useDeleteAppLevelRequirementMutation';
|
|
17
14
|
export * from './useCreateAppLimitCreditRedemptionMutation';
|
|
18
15
|
export * from './useUpdateAppLimitCreditRedemptionMutation';
|
|
19
16
|
export * from './useDeleteAppLimitCreditRedemptionMutation';
|
|
@@ -41,12 +38,6 @@ export * from './useDeleteAppAdminGrantMutation';
|
|
|
41
38
|
export * from './useCreateAppOwnerGrantMutation';
|
|
42
39
|
export * from './useUpdateAppOwnerGrantMutation';
|
|
43
40
|
export * from './useDeleteAppOwnerGrantMutation';
|
|
44
|
-
export * from './useCreateAppAchievementMutation';
|
|
45
|
-
export * from './useUpdateAppAchievementMutation';
|
|
46
|
-
export * from './useDeleteAppAchievementMutation';
|
|
47
|
-
export * from './useCreateAppStepMutation';
|
|
48
|
-
export * from './useUpdateAppStepMutation';
|
|
49
|
-
export * from './useDeleteAppStepMutation';
|
|
50
41
|
export * from './useCreateAppLimitCapsDefaultMutation';
|
|
51
42
|
export * from './useUpdateAppLimitCapsDefaultMutation';
|
|
52
43
|
export * from './useDeleteAppLimitCapsDefaultMutation';
|
|
@@ -77,6 +68,12 @@ export * from './useDeleteOrgLimitDefaultMutation';
|
|
|
77
68
|
export * from './useCreateOrgLimitCreditMutation';
|
|
78
69
|
export * from './useUpdateOrgLimitCreditMutation';
|
|
79
70
|
export * from './useDeleteOrgLimitCreditMutation';
|
|
71
|
+
export * from './useCreateAppLimitWarningMutation';
|
|
72
|
+
export * from './useUpdateAppLimitWarningMutation';
|
|
73
|
+
export * from './useDeleteAppLimitWarningMutation';
|
|
74
|
+
export * from './useCreateOrgLimitWarningMutation';
|
|
75
|
+
export * from './useUpdateOrgLimitWarningMutation';
|
|
76
|
+
export * from './useDeleteOrgLimitWarningMutation';
|
|
80
77
|
export * from './useCreateOrgChartEdgeGrantMutation';
|
|
81
78
|
export * from './useUpdateOrgChartEdgeGrantMutation';
|
|
82
79
|
export * from './useDeleteOrgChartEdgeGrantMutation';
|
|
@@ -106,12 +103,6 @@ export * from './useDeleteOrgChartEdgeMutation';
|
|
|
106
103
|
export * from './useCreateUsageSnapshotMutation';
|
|
107
104
|
export * from './useUpdateUsageSnapshotMutation';
|
|
108
105
|
export * from './useDeleteUsageSnapshotMutation';
|
|
109
|
-
export * from './useCreateOrgMemberProfileMutation';
|
|
110
|
-
export * from './useUpdateOrgMemberProfileMutation';
|
|
111
|
-
export * from './useDeleteOrgMemberProfileMutation';
|
|
112
|
-
export * from './useCreateAppLevelMutation';
|
|
113
|
-
export * from './useUpdateAppLevelMutation';
|
|
114
|
-
export * from './useDeleteAppLevelMutation';
|
|
115
106
|
export * from './useCreateAppLimitMutation';
|
|
116
107
|
export * from './useUpdateAppLimitMutation';
|
|
117
108
|
export * from './useDeleteAppLimitMutation';
|
|
@@ -127,6 +118,9 @@ export * from './useDeleteOrgLimitAggregateMutation';
|
|
|
127
118
|
export * from './useCreateOrgLimitMutation';
|
|
128
119
|
export * from './useUpdateOrgLimitMutation';
|
|
129
120
|
export * from './useDeleteOrgLimitMutation';
|
|
121
|
+
export * from './useCreateOrgMemberProfileMutation';
|
|
122
|
+
export * from './useUpdateOrgMemberProfileMutation';
|
|
123
|
+
export * from './useDeleteOrgMemberProfileMutation';
|
|
130
124
|
export * from './useCreateAppMembershipMutation';
|
|
131
125
|
export * from './useUpdateAppMembershipMutation';
|
|
132
126
|
export * from './useDeleteAppMembershipMutation';
|
|
@@ -11,9 +11,6 @@ export * from './useDeleteAppPermissionMutation';
|
|
|
11
11
|
export * from './useCreateOrgPermissionMutation';
|
|
12
12
|
export * from './useUpdateOrgPermissionMutation';
|
|
13
13
|
export * from './useDeleteOrgPermissionMutation';
|
|
14
|
-
export * from './useCreateAppLevelRequirementMutation';
|
|
15
|
-
export * from './useUpdateAppLevelRequirementMutation';
|
|
16
|
-
export * from './useDeleteAppLevelRequirementMutation';
|
|
17
14
|
export * from './useCreateAppLimitCreditRedemptionMutation';
|
|
18
15
|
export * from './useUpdateAppLimitCreditRedemptionMutation';
|
|
19
16
|
export * from './useDeleteAppLimitCreditRedemptionMutation';
|
|
@@ -41,12 +38,6 @@ export * from './useDeleteAppAdminGrantMutation';
|
|
|
41
38
|
export * from './useCreateAppOwnerGrantMutation';
|
|
42
39
|
export * from './useUpdateAppOwnerGrantMutation';
|
|
43
40
|
export * from './useDeleteAppOwnerGrantMutation';
|
|
44
|
-
export * from './useCreateAppAchievementMutation';
|
|
45
|
-
export * from './useUpdateAppAchievementMutation';
|
|
46
|
-
export * from './useDeleteAppAchievementMutation';
|
|
47
|
-
export * from './useCreateAppStepMutation';
|
|
48
|
-
export * from './useUpdateAppStepMutation';
|
|
49
|
-
export * from './useDeleteAppStepMutation';
|
|
50
41
|
export * from './useCreateAppLimitCapsDefaultMutation';
|
|
51
42
|
export * from './useUpdateAppLimitCapsDefaultMutation';
|
|
52
43
|
export * from './useDeleteAppLimitCapsDefaultMutation';
|
|
@@ -77,6 +68,12 @@ export * from './useDeleteOrgLimitDefaultMutation';
|
|
|
77
68
|
export * from './useCreateOrgLimitCreditMutation';
|
|
78
69
|
export * from './useUpdateOrgLimitCreditMutation';
|
|
79
70
|
export * from './useDeleteOrgLimitCreditMutation';
|
|
71
|
+
export * from './useCreateAppLimitWarningMutation';
|
|
72
|
+
export * from './useUpdateAppLimitWarningMutation';
|
|
73
|
+
export * from './useDeleteAppLimitWarningMutation';
|
|
74
|
+
export * from './useCreateOrgLimitWarningMutation';
|
|
75
|
+
export * from './useUpdateOrgLimitWarningMutation';
|
|
76
|
+
export * from './useDeleteOrgLimitWarningMutation';
|
|
80
77
|
export * from './useCreateOrgChartEdgeGrantMutation';
|
|
81
78
|
export * from './useUpdateOrgChartEdgeGrantMutation';
|
|
82
79
|
export * from './useDeleteOrgChartEdgeGrantMutation';
|
|
@@ -106,12 +103,6 @@ export * from './useDeleteOrgChartEdgeMutation';
|
|
|
106
103
|
export * from './useCreateUsageSnapshotMutation';
|
|
107
104
|
export * from './useUpdateUsageSnapshotMutation';
|
|
108
105
|
export * from './useDeleteUsageSnapshotMutation';
|
|
109
|
-
export * from './useCreateOrgMemberProfileMutation';
|
|
110
|
-
export * from './useUpdateOrgMemberProfileMutation';
|
|
111
|
-
export * from './useDeleteOrgMemberProfileMutation';
|
|
112
|
-
export * from './useCreateAppLevelMutation';
|
|
113
|
-
export * from './useUpdateAppLevelMutation';
|
|
114
|
-
export * from './useDeleteAppLevelMutation';
|
|
115
106
|
export * from './useCreateAppLimitMutation';
|
|
116
107
|
export * from './useUpdateAppLimitMutation';
|
|
117
108
|
export * from './useDeleteAppLimitMutation';
|
|
@@ -127,6 +118,9 @@ export * from './useDeleteOrgLimitAggregateMutation';
|
|
|
127
118
|
export * from './useCreateOrgLimitMutation';
|
|
128
119
|
export * from './useUpdateOrgLimitMutation';
|
|
129
120
|
export * from './useDeleteOrgLimitMutation';
|
|
121
|
+
export * from './useCreateOrgMemberProfileMutation';
|
|
122
|
+
export * from './useUpdateOrgMemberProfileMutation';
|
|
123
|
+
export * from './useDeleteOrgMemberProfileMutation';
|
|
130
124
|
export * from './useCreateAppMembershipMutation';
|
|
131
125
|
export * from './useUpdateAppMembershipMutation';
|
|
132
126
|
export * from './useDeleteAppMembershipMutation';
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
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 { AppLimitWarningSelect, AppLimitWarningWithRelations, CreateAppLimitWarningInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { AppLimitWarningSelect, AppLimitWarningWithRelations, CreateAppLimitWarningInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateAppLimitWarningMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateAppLimitWarningMutation<S extends AppLimitWarningSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & AppLimitWarningSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createAppLimitWarning: {
|
|
28
|
+
appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateAppLimitWarningInput['appLimitWarning']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createAppLimitWarning: {
|
|
32
|
+
appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateAppLimitWarningInput['appLimitWarning']>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
export function
|
|
9
|
+
import { appLimitWarningKeys } from '../query-keys';
|
|
10
|
+
import { appLimitWarningMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateAppLimitWarningMutation(params) {
|
|
12
12
|
const args = buildSelectionArgs(params.selection);
|
|
13
13
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
14
|
void _selection;
|
|
15
15
|
const queryClient = useQueryClient();
|
|
16
16
|
return useMutation({
|
|
17
|
-
mutationKey:
|
|
17
|
+
mutationKey: appLimitWarningMutationKeys.create(),
|
|
18
18
|
mutationFn: (data) => getClient()
|
|
19
|
-
.
|
|
19
|
+
.appLimitWarning.create({
|
|
20
20
|
data,
|
|
21
21
|
select: args.select,
|
|
22
22
|
})
|
|
23
23
|
.unwrap(),
|
|
24
24
|
onSuccess: () => {
|
|
25
25
|
queryClient.invalidateQueries({
|
|
26
|
-
queryKey:
|
|
26
|
+
queryKey: appLimitWarningKeys.lists(),
|
|
27
27
|
});
|
|
28
28
|
},
|
|
29
29
|
...mutationOptions,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
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 { OrgLimitWarningSelect, OrgLimitWarningWithRelations, CreateOrgLimitWarningInput } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgLimitWarningSelect, OrgLimitWarningWithRelations, CreateOrgLimitWarningInput, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useCreateOrgLimitWarningMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ name: 'New item' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useCreateOrgLimitWarningMutation<S extends OrgLimitWarningSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgLimitWarningSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitWarningSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
createOrgLimitWarning: {
|
|
28
|
+
orgLimitWarning: InferSelectResult<OrgLimitWarningWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, CreateOrgLimitWarningInput['orgLimitWarning']>, 'mutationFn'>): UseMutationResult<{
|
|
31
|
+
createOrgLimitWarning: {
|
|
32
|
+
orgLimitWarning: InferSelectResult<OrgLimitWarningWithRelations, S>;
|
|
33
|
+
};
|
|
34
|
+
}, Error, CreateOrgLimitWarningInput['orgLimitWarning']>;
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
export function
|
|
9
|
+
import { orgLimitWarningKeys } from '../query-keys';
|
|
10
|
+
import { orgLimitWarningMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useCreateOrgLimitWarningMutation(params) {
|
|
12
12
|
const args = buildSelectionArgs(params.selection);
|
|
13
13
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
14
|
void _selection;
|
|
15
15
|
const queryClient = useQueryClient();
|
|
16
16
|
return useMutation({
|
|
17
|
-
mutationKey:
|
|
17
|
+
mutationKey: orgLimitWarningMutationKeys.create(),
|
|
18
18
|
mutationFn: (data) => getClient()
|
|
19
|
-
.
|
|
19
|
+
.orgLimitWarning.create({
|
|
20
20
|
data,
|
|
21
21
|
select: args.select,
|
|
22
22
|
})
|
|
23
23
|
.unwrap(),
|
|
24
24
|
onSuccess: () => {
|
|
25
25
|
queryClient.invalidateQueries({
|
|
26
|
-
queryKey:
|
|
26
|
+
queryKey: orgLimitWarningKeys.lists(),
|
|
27
27
|
});
|
|
28
28
|
},
|
|
29
29
|
...mutationOptions,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
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 { AppLimitWarningSelect, AppLimitWarningWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { AppLimitWarningSelect, AppLimitWarningWithRelations } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteAppLimitWarningMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteAppLimitWarningMutation<S extends AppLimitWarningSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & AppLimitWarningSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteAppLimitWarning: {
|
|
28
|
+
appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteAppLimitWarning: {
|
|
34
|
+
appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
export function
|
|
9
|
+
import { appLimitWarningKeys } from '../query-keys';
|
|
10
|
+
import { appLimitWarningMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useDeleteAppLimitWarningMutation(params) {
|
|
12
12
|
const args = buildSelectionArgs(params.selection);
|
|
13
13
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
14
|
void _selection;
|
|
15
15
|
const queryClient = useQueryClient();
|
|
16
16
|
return useMutation({
|
|
17
|
-
mutationKey:
|
|
17
|
+
mutationKey: appLimitWarningMutationKeys.all,
|
|
18
18
|
mutationFn: ({ id }) => getClient()
|
|
19
|
-
.
|
|
19
|
+
.appLimitWarning.delete({
|
|
20
20
|
where: {
|
|
21
21
|
id,
|
|
22
22
|
},
|
|
@@ -25,10 +25,10 @@ export function useDeleteAppAchievementMutation(params) {
|
|
|
25
25
|
.unwrap(),
|
|
26
26
|
onSuccess: (_, variables) => {
|
|
27
27
|
queryClient.removeQueries({
|
|
28
|
-
queryKey:
|
|
28
|
+
queryKey: appLimitWarningKeys.detail(variables.id),
|
|
29
29
|
});
|
|
30
30
|
queryClient.invalidateQueries({
|
|
31
|
-
queryKey:
|
|
31
|
+
queryKey: appLimitWarningKeys.lists(),
|
|
32
32
|
});
|
|
33
33
|
},
|
|
34
34
|
...mutationOptions,
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
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 { OrgLimitWarningSelect, OrgLimitWarningWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { OrgLimitWarningSelect, OrgLimitWarningWithRelations } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useDeleteOrgLimitWarningMutation({
|
|
16
|
+
* selection: { fields: { id: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-to-delete' });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useDeleteOrgLimitWarningMutation<S extends OrgLimitWarningSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & OrgLimitWarningSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, OrgLimitWarningSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
deleteOrgLimitWarning: {
|
|
28
|
+
orgLimitWarning: InferSelectResult<OrgLimitWarningWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
33
|
+
deleteOrgLimitWarning: {
|
|
34
|
+
orgLimitWarning: InferSelectResult<OrgLimitWarningWithRelations, S>;
|
|
35
|
+
};
|
|
36
|
+
}, Error, {
|
|
37
|
+
id: string;
|
|
38
|
+
}>;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
export function
|
|
9
|
+
import { orgLimitWarningKeys } from '../query-keys';
|
|
10
|
+
import { orgLimitWarningMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useDeleteOrgLimitWarningMutation(params) {
|
|
12
12
|
const args = buildSelectionArgs(params.selection);
|
|
13
13
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
14
|
void _selection;
|
|
15
15
|
const queryClient = useQueryClient();
|
|
16
16
|
return useMutation({
|
|
17
|
-
mutationKey:
|
|
17
|
+
mutationKey: orgLimitWarningMutationKeys.all,
|
|
18
18
|
mutationFn: ({ id }) => getClient()
|
|
19
|
-
.
|
|
19
|
+
.orgLimitWarning.delete({
|
|
20
20
|
where: {
|
|
21
21
|
id,
|
|
22
22
|
},
|
|
@@ -25,10 +25,10 @@ export function useDeleteAppLevelRequirementMutation(params) {
|
|
|
25
25
|
.unwrap(),
|
|
26
26
|
onSuccess: (_, variables) => {
|
|
27
27
|
queryClient.removeQueries({
|
|
28
|
-
queryKey:
|
|
28
|
+
queryKey: orgLimitWarningKeys.detail(variables.id),
|
|
29
29
|
});
|
|
30
30
|
queryClient.invalidateQueries({
|
|
31
|
-
queryKey:
|
|
31
|
+
queryKey: orgLimitWarningKeys.lists(),
|
|
32
32
|
});
|
|
33
33
|
},
|
|
34
34
|
...mutationOptions,
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
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 { AppLimitWarningSelect, AppLimitWarningWithRelations, AppLimitWarningPatch } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { AppLimitWarningSelect, AppLimitWarningWithRelations, AppLimitWarningPatch, } from '../../orm/input-types';
|
|
10
|
+
/**
|
|
11
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```tsx
|
|
15
|
+
* const { mutate, isPending } = useUpdateAppLimitWarningMutation({
|
|
16
|
+
* selection: { fields: { id: true, name: true } },
|
|
17
|
+
* });
|
|
18
|
+
*
|
|
19
|
+
* mutate({ id: 'value-here', appLimitWarningPatch: { name: 'Updated' } });
|
|
20
|
+
* ```
|
|
21
|
+
*/
|
|
22
|
+
export declare function useUpdateAppLimitWarningMutation<S extends AppLimitWarningSelect>(params: {
|
|
23
|
+
selection: {
|
|
24
|
+
fields: S & AppLimitWarningSelect;
|
|
25
|
+
} & HookStrictSelect<NoInfer<S>, AppLimitWarningSelect>;
|
|
26
|
+
} & Omit<UseMutationOptions<{
|
|
27
|
+
updateAppLimitWarning: {
|
|
28
|
+
appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S>;
|
|
29
|
+
};
|
|
30
|
+
}, Error, {
|
|
31
|
+
id: string;
|
|
32
|
+
appLimitWarningPatch: AppLimitWarningPatch;
|
|
33
|
+
}>, 'mutationFn'>): UseMutationResult<{
|
|
34
|
+
updateAppLimitWarning: {
|
|
35
|
+
appLimitWarning: InferSelectResult<AppLimitWarningWithRelations, S>;
|
|
36
|
+
};
|
|
37
|
+
}, Error, {
|
|
38
|
+
id: string;
|
|
39
|
+
appLimitWarningPatch: AppLimitWarningPatch;
|
|
40
|
+
}>;
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* Warning configuration for soft limits. Each row defines a warning threshold and the job task to enqueue when usage approaches it.
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
6
|
import { useMutation, useQueryClient } from '@tanstack/react-query';
|
|
7
7
|
import { getClient } from '../client';
|
|
8
8
|
import { buildSelectionArgs } from '../selection';
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
export function
|
|
9
|
+
import { appLimitWarningKeys } from '../query-keys';
|
|
10
|
+
import { appLimitWarningMutationKeys } from '../mutation-keys';
|
|
11
|
+
export function useUpdateAppLimitWarningMutation(params) {
|
|
12
12
|
const args = buildSelectionArgs(params.selection);
|
|
13
13
|
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
14
14
|
void _selection;
|
|
15
15
|
const queryClient = useQueryClient();
|
|
16
16
|
return useMutation({
|
|
17
|
-
mutationKey:
|
|
18
|
-
mutationFn: ({ id,
|
|
19
|
-
.
|
|
17
|
+
mutationKey: appLimitWarningMutationKeys.all,
|
|
18
|
+
mutationFn: ({ id, appLimitWarningPatch, }) => getClient()
|
|
19
|
+
.appLimitWarning.update({
|
|
20
20
|
where: {
|
|
21
21
|
id,
|
|
22
22
|
},
|
|
23
|
-
data:
|
|
23
|
+
data: appLimitWarningPatch,
|
|
24
24
|
select: args.select,
|
|
25
25
|
})
|
|
26
26
|
.unwrap(),
|
|
27
27
|
onSuccess: (_, variables) => {
|
|
28
28
|
queryClient.invalidateQueries({
|
|
29
|
-
queryKey:
|
|
29
|
+
queryKey: appLimitWarningKeys.detail(variables.id),
|
|
30
30
|
});
|
|
31
31
|
queryClient.invalidateQueries({
|
|
32
|
-
queryKey:
|
|
32
|
+
queryKey: appLimitWarningKeys.lists(),
|
|
33
33
|
});
|
|
34
34
|
},
|
|
35
35
|
...mutationOptions,
|