@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
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom query hook for stepsRequired
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
-
import type { StepsRequiredVariables } from '../../orm/query';
|
|
8
|
-
import type { AppLevelRequirementConnection } from '../../orm/input-types';
|
|
9
|
-
export type { StepsRequiredVariables } from '../../orm/query';
|
|
10
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
-
export declare const stepsRequiredQueryKey: (variables?: object) => readonly ["stepsRequired", object];
|
|
12
|
-
/**
|
|
13
|
-
* Reads and enables pagination through a set of `AppLevelRequirement`.
|
|
14
|
-
*
|
|
15
|
-
* @example
|
|
16
|
-
* ```tsx
|
|
17
|
-
* const { data, isLoading } = useStepsRequiredQuery({ variables: { level, roleId, first, offset, after } });
|
|
18
|
-
*
|
|
19
|
-
* if (data?.stepsRequired) {
|
|
20
|
-
* console.log(data.stepsRequired);
|
|
21
|
-
* }
|
|
22
|
-
* ```
|
|
23
|
-
*/
|
|
24
|
-
export declare function useStepsRequiredQuery<TData = {
|
|
25
|
-
stepsRequired: AppLevelRequirementConnection | null;
|
|
26
|
-
}>(params?: {
|
|
27
|
-
variables?: StepsRequiredVariables;
|
|
28
|
-
} & Omit<UseQueryOptions<{
|
|
29
|
-
stepsRequired: AppLevelRequirementConnection | null;
|
|
30
|
-
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
31
|
-
/**
|
|
32
|
-
* Fetch stepsRequired without React hooks
|
|
33
|
-
*
|
|
34
|
-
* @example
|
|
35
|
-
* ```ts
|
|
36
|
-
* const data = await fetchStepsRequiredQuery({ variables: { level, roleId, first, offset, after } });
|
|
37
|
-
* ```
|
|
38
|
-
*/
|
|
39
|
-
export declare function fetchStepsRequiredQuery(params?: {
|
|
40
|
-
variables?: StepsRequiredVariables;
|
|
41
|
-
}): Promise<{
|
|
42
|
-
stepsRequired: AppLevelRequirementConnection | null;
|
|
43
|
-
}>;
|
|
44
|
-
/**
|
|
45
|
-
* Prefetch stepsRequired for SSR or cache warming
|
|
46
|
-
*
|
|
47
|
-
* @example
|
|
48
|
-
* ```ts
|
|
49
|
-
* await prefetchStepsRequiredQuery(queryClient, { variables: { level, roleId, first, offset, after } });
|
|
50
|
-
* ```
|
|
51
|
-
*/
|
|
52
|
-
export declare function prefetchStepsRequiredQuery(queryClient: QueryClient, params?: {
|
|
53
|
-
variables?: StepsRequiredVariables;
|
|
54
|
-
}): Promise<void>;
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Custom query hook for stepsRequired
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { useQuery } from '@tanstack/react-query';
|
|
7
|
-
import { getClient } from '../client';
|
|
8
|
-
import { customQueryKeys } from '../query-keys';
|
|
9
|
-
/** Query key factory - re-exported from query-keys.ts */
|
|
10
|
-
export const stepsRequiredQueryKey = customQueryKeys.stepsRequired;
|
|
11
|
-
export function useStepsRequiredQuery(params) {
|
|
12
|
-
const variables = params?.variables ?? {};
|
|
13
|
-
const { variables: _variables, ...queryOptions } = params ?? {};
|
|
14
|
-
void _variables;
|
|
15
|
-
return useQuery({
|
|
16
|
-
queryKey: stepsRequiredQueryKey(variables),
|
|
17
|
-
queryFn: () => getClient().query.stepsRequired(variables).unwrap(),
|
|
18
|
-
...queryOptions,
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* Fetch stepsRequired without React hooks
|
|
23
|
-
*
|
|
24
|
-
* @example
|
|
25
|
-
* ```ts
|
|
26
|
-
* const data = await fetchStepsRequiredQuery({ variables: { level, roleId, first, offset, after } });
|
|
27
|
-
* ```
|
|
28
|
-
*/
|
|
29
|
-
export async function fetchStepsRequiredQuery(params) {
|
|
30
|
-
const variables = params?.variables ?? {};
|
|
31
|
-
return getClient().query.stepsRequired(variables).unwrap();
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
* Prefetch stepsRequired for SSR or cache warming
|
|
35
|
-
*
|
|
36
|
-
* @example
|
|
37
|
-
* ```ts
|
|
38
|
-
* await prefetchStepsRequiredQuery(queryClient, { variables: { level, roleId, first, offset, after } });
|
|
39
|
-
* ```
|
|
40
|
-
*/
|
|
41
|
-
export async function prefetchStepsRequiredQuery(queryClient, params) {
|
|
42
|
-
const variables = params?.variables ?? {};
|
|
43
|
-
await queryClient.prefetchQuery({
|
|
44
|
-
queryKey: stepsRequiredQueryKey(variables),
|
|
45
|
-
queryFn: () => getClient().query.stepsRequired(variables).unwrap(),
|
|
46
|
-
});
|
|
47
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppAchievement model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppAchievementWithRelations, AppAchievementSelect, AppAchievementFilter, AppAchievementOrderBy, CreateAppAchievementInput, AppAchievementPatch } from '../input-types';
|
|
10
|
-
export declare class AppAchievementModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppAchievementSelect>(args: FindManyArgs<S, AppAchievementFilter, AppAchievementOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
16
|
-
appAchievements: ConnectionResult<InferSelectResult<AppAchievementWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppAchievementSelect>(args: FindFirstArgs<S, AppAchievementFilter, AppAchievementOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
21
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppAchievementSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
27
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppAchievementSelect>(args: CreateArgs<S, CreateAppAchievementInput['appAchievement']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
32
|
-
createAppAchievement: {
|
|
33
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppAchievementSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppAchievementPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
41
|
-
updateAppAchievement: {
|
|
42
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppAchievementSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppAchievementSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppAchievement: {
|
|
51
|
-
appAchievement: InferSelectResult<AppAchievementWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppLevel model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppLevelWithRelations, AppLevelSelect, AppLevelFilter, AppLevelOrderBy, CreateAppLevelInput, AppLevelPatch } from '../input-types';
|
|
10
|
-
export declare class AppLevelModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLevelSelect>(args: FindManyArgs<S, AppLevelFilter, AppLevelOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
16
|
-
appLevels: ConnectionResult<InferSelectResult<AppLevelWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppLevelSelect>(args: FindFirstArgs<S, AppLevelFilter, AppLevelOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
21
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppLevelSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
27
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppLevelSelect>(args: CreateArgs<S, CreateAppLevelInput['appLevel']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
32
|
-
createAppLevel: {
|
|
33
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppLevelSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppLevelPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
41
|
-
updateAppLevel: {
|
|
42
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppLevelSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppLevelSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppLevel: {
|
|
51
|
-
appLevel: InferSelectResult<AppLevelWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
-
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class AppLevelModel {
|
|
4
|
-
client;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.client = client;
|
|
7
|
-
}
|
|
8
|
-
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('AppLevel', 'appLevels', args.select, {
|
|
10
|
-
where: args?.where,
|
|
11
|
-
orderBy: args?.orderBy,
|
|
12
|
-
first: args?.first,
|
|
13
|
-
last: args?.last,
|
|
14
|
-
after: args?.after,
|
|
15
|
-
before: args?.before,
|
|
16
|
-
offset: args?.offset,
|
|
17
|
-
}, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
|
|
18
|
-
return new QueryBuilder({
|
|
19
|
-
client: this.client,
|
|
20
|
-
operation: 'query',
|
|
21
|
-
operationName: 'AppLevel',
|
|
22
|
-
fieldName: 'appLevels',
|
|
23
|
-
document,
|
|
24
|
-
variables,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('AppLevel', 'appLevels', args.select, {
|
|
29
|
-
where: args?.where,
|
|
30
|
-
orderBy: args?.orderBy,
|
|
31
|
-
}, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
|
|
32
|
-
return new QueryBuilder({
|
|
33
|
-
client: this.client,
|
|
34
|
-
operation: 'query',
|
|
35
|
-
operationName: 'AppLevel',
|
|
36
|
-
fieldName: 'appLevel',
|
|
37
|
-
document,
|
|
38
|
-
variables,
|
|
39
|
-
transform: (data) => ({
|
|
40
|
-
appLevel: data.appLevels?.nodes?.[0] ?? null,
|
|
41
|
-
}),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindManyDocument('AppLevel', 'appLevels', args.select, {
|
|
46
|
-
where: {
|
|
47
|
-
id: {
|
|
48
|
-
equalTo: args.id,
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
first: 1,
|
|
52
|
-
}, 'AppLevelFilter', 'AppLevelOrderBy', connectionFieldsMap);
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'query',
|
|
56
|
-
operationName: 'AppLevel',
|
|
57
|
-
fieldName: 'appLevel',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
transform: (data) => ({
|
|
61
|
-
appLevel: data.appLevels?.nodes?.[0] ?? null,
|
|
62
|
-
}),
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('AppLevel', 'createAppLevel', 'appLevel', args.select, args.data, 'CreateAppLevelInput', connectionFieldsMap);
|
|
67
|
-
return new QueryBuilder({
|
|
68
|
-
client: this.client,
|
|
69
|
-
operation: 'mutation',
|
|
70
|
-
operationName: 'AppLevel',
|
|
71
|
-
fieldName: 'createAppLevel',
|
|
72
|
-
document,
|
|
73
|
-
variables,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('AppLevel', 'updateAppLevel', 'appLevel', args.select, args.where.id, args.data, 'UpdateAppLevelInput', 'id', 'appLevelPatch', connectionFieldsMap);
|
|
78
|
-
return new QueryBuilder({
|
|
79
|
-
client: this.client,
|
|
80
|
-
operation: 'mutation',
|
|
81
|
-
operationName: 'AppLevel',
|
|
82
|
-
fieldName: 'updateAppLevel',
|
|
83
|
-
document,
|
|
84
|
-
variables,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
delete(args) {
|
|
88
|
-
const { document, variables } = buildDeleteByPkDocument('AppLevel', 'deleteAppLevel', 'appLevel', {
|
|
89
|
-
id: args.where.id,
|
|
90
|
-
}, 'DeleteAppLevelInput', args.select, connectionFieldsMap);
|
|
91
|
-
return new QueryBuilder({
|
|
92
|
-
client: this.client,
|
|
93
|
-
operation: 'mutation',
|
|
94
|
-
operationName: 'AppLevel',
|
|
95
|
-
fieldName: 'deleteAppLevel',
|
|
96
|
-
document,
|
|
97
|
-
variables,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppLevelRequirement model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppLevelRequirementWithRelations, AppLevelRequirementSelect, AppLevelRequirementFilter, AppLevelRequirementOrderBy, CreateAppLevelRequirementInput, AppLevelRequirementPatch } from '../input-types';
|
|
10
|
-
export declare class AppLevelRequirementModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppLevelRequirementSelect>(args: FindManyArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
16
|
-
appLevelRequirements: ConnectionResult<InferSelectResult<AppLevelRequirementWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppLevelRequirementSelect>(args: FindFirstArgs<S, AppLevelRequirementFilter, AppLevelRequirementOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
21
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppLevelRequirementSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
27
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppLevelRequirementSelect>(args: CreateArgs<S, CreateAppLevelRequirementInput['appLevelRequirement']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
32
|
-
createAppLevelRequirement: {
|
|
33
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppLevelRequirementSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppLevelRequirementPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
41
|
-
updateAppLevelRequirement: {
|
|
42
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppLevelRequirementSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppLevelRequirementSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppLevelRequirement: {
|
|
51
|
-
appLevelRequirement: InferSelectResult<AppLevelRequirementWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
-
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class AppLevelRequirementModel {
|
|
4
|
-
client;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.client = client;
|
|
7
|
-
}
|
|
8
|
-
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('AppLevelRequirement', 'appLevelRequirements', args.select, {
|
|
10
|
-
where: args?.where,
|
|
11
|
-
orderBy: args?.orderBy,
|
|
12
|
-
first: args?.first,
|
|
13
|
-
last: args?.last,
|
|
14
|
-
after: args?.after,
|
|
15
|
-
before: args?.before,
|
|
16
|
-
offset: args?.offset,
|
|
17
|
-
}, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', connectionFieldsMap);
|
|
18
|
-
return new QueryBuilder({
|
|
19
|
-
client: this.client,
|
|
20
|
-
operation: 'query',
|
|
21
|
-
operationName: 'AppLevelRequirement',
|
|
22
|
-
fieldName: 'appLevelRequirements',
|
|
23
|
-
document,
|
|
24
|
-
variables,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('AppLevelRequirement', 'appLevelRequirements', args.select, {
|
|
29
|
-
where: args?.where,
|
|
30
|
-
orderBy: args?.orderBy,
|
|
31
|
-
}, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', connectionFieldsMap);
|
|
32
|
-
return new QueryBuilder({
|
|
33
|
-
client: this.client,
|
|
34
|
-
operation: 'query',
|
|
35
|
-
operationName: 'AppLevelRequirement',
|
|
36
|
-
fieldName: 'appLevelRequirement',
|
|
37
|
-
document,
|
|
38
|
-
variables,
|
|
39
|
-
transform: (data) => ({
|
|
40
|
-
appLevelRequirement: data.appLevelRequirements?.nodes?.[0] ?? null,
|
|
41
|
-
}),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindManyDocument('AppLevelRequirement', 'appLevelRequirements', args.select, {
|
|
46
|
-
where: {
|
|
47
|
-
id: {
|
|
48
|
-
equalTo: args.id,
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
first: 1,
|
|
52
|
-
}, 'AppLevelRequirementFilter', 'AppLevelRequirementOrderBy', connectionFieldsMap);
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'query',
|
|
56
|
-
operationName: 'AppLevelRequirement',
|
|
57
|
-
fieldName: 'appLevelRequirement',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
transform: (data) => ({
|
|
61
|
-
appLevelRequirement: data.appLevelRequirements?.nodes?.[0] ?? null,
|
|
62
|
-
}),
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('AppLevelRequirement', 'createAppLevelRequirement', 'appLevelRequirement', args.select, args.data, 'CreateAppLevelRequirementInput', connectionFieldsMap);
|
|
67
|
-
return new QueryBuilder({
|
|
68
|
-
client: this.client,
|
|
69
|
-
operation: 'mutation',
|
|
70
|
-
operationName: 'AppLevelRequirement',
|
|
71
|
-
fieldName: 'createAppLevelRequirement',
|
|
72
|
-
document,
|
|
73
|
-
variables,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('AppLevelRequirement', 'updateAppLevelRequirement', 'appLevelRequirement', args.select, args.where.id, args.data, 'UpdateAppLevelRequirementInput', 'id', 'appLevelRequirementPatch', connectionFieldsMap);
|
|
78
|
-
return new QueryBuilder({
|
|
79
|
-
client: this.client,
|
|
80
|
-
operation: 'mutation',
|
|
81
|
-
operationName: 'AppLevelRequirement',
|
|
82
|
-
fieldName: 'updateAppLevelRequirement',
|
|
83
|
-
document,
|
|
84
|
-
variables,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
delete(args) {
|
|
88
|
-
const { document, variables } = buildDeleteByPkDocument('AppLevelRequirement', 'deleteAppLevelRequirement', 'appLevelRequirement', {
|
|
89
|
-
id: args.where.id,
|
|
90
|
-
}, 'DeleteAppLevelRequirementInput', args.select, connectionFieldsMap);
|
|
91
|
-
return new QueryBuilder({
|
|
92
|
-
client: this.client,
|
|
93
|
-
operation: 'mutation',
|
|
94
|
-
operationName: 'AppLevelRequirement',
|
|
95
|
-
fieldName: 'deleteAppLevelRequirement',
|
|
96
|
-
document,
|
|
97
|
-
variables,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* AppStep model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { AppStepWithRelations, AppStepSelect, AppStepFilter, AppStepOrderBy, CreateAppStepInput, AppStepPatch } from '../input-types';
|
|
10
|
-
export declare class AppStepModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends AppStepSelect>(args: FindManyArgs<S, AppStepFilter, AppStepOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
16
|
-
appSteps: ConnectionResult<InferSelectResult<AppStepWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends AppStepSelect>(args: FindFirstArgs<S, AppStepFilter, AppStepOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
21
|
-
appStep: InferSelectResult<AppStepWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends AppStepSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
27
|
-
appStep: InferSelectResult<AppStepWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends AppStepSelect>(args: CreateArgs<S, CreateAppStepInput['appStep']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
32
|
-
createAppStep: {
|
|
33
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends AppStepSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, AppStepPatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
41
|
-
updateAppStep: {
|
|
42
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends AppStepSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, AppStepSelect>): QueryBuilder<{
|
|
50
|
-
deleteAppStep: {
|
|
51
|
-
appStep: InferSelectResult<AppStepWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|
|
@@ -1,100 +0,0 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildCreateDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
|
-
import { connectionFieldsMap } from '../input-types';
|
|
3
|
-
export class AppStepModel {
|
|
4
|
-
client;
|
|
5
|
-
constructor(client) {
|
|
6
|
-
this.client = client;
|
|
7
|
-
}
|
|
8
|
-
findMany(args) {
|
|
9
|
-
const { document, variables } = buildFindManyDocument('AppStep', 'appSteps', args.select, {
|
|
10
|
-
where: args?.where,
|
|
11
|
-
orderBy: args?.orderBy,
|
|
12
|
-
first: args?.first,
|
|
13
|
-
last: args?.last,
|
|
14
|
-
after: args?.after,
|
|
15
|
-
before: args?.before,
|
|
16
|
-
offset: args?.offset,
|
|
17
|
-
}, 'AppStepFilter', 'AppStepOrderBy', connectionFieldsMap);
|
|
18
|
-
return new QueryBuilder({
|
|
19
|
-
client: this.client,
|
|
20
|
-
operation: 'query',
|
|
21
|
-
operationName: 'AppStep',
|
|
22
|
-
fieldName: 'appSteps',
|
|
23
|
-
document,
|
|
24
|
-
variables,
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
findFirst(args) {
|
|
28
|
-
const { document, variables } = buildFindFirstDocument('AppStep', 'appSteps', args.select, {
|
|
29
|
-
where: args?.where,
|
|
30
|
-
orderBy: args?.orderBy,
|
|
31
|
-
}, 'AppStepFilter', 'AppStepOrderBy', connectionFieldsMap);
|
|
32
|
-
return new QueryBuilder({
|
|
33
|
-
client: this.client,
|
|
34
|
-
operation: 'query',
|
|
35
|
-
operationName: 'AppStep',
|
|
36
|
-
fieldName: 'appStep',
|
|
37
|
-
document,
|
|
38
|
-
variables,
|
|
39
|
-
transform: (data) => ({
|
|
40
|
-
appStep: data.appSteps?.nodes?.[0] ?? null,
|
|
41
|
-
}),
|
|
42
|
-
});
|
|
43
|
-
}
|
|
44
|
-
findOne(args) {
|
|
45
|
-
const { document, variables } = buildFindManyDocument('AppStep', 'appSteps', args.select, {
|
|
46
|
-
where: {
|
|
47
|
-
id: {
|
|
48
|
-
equalTo: args.id,
|
|
49
|
-
},
|
|
50
|
-
},
|
|
51
|
-
first: 1,
|
|
52
|
-
}, 'AppStepFilter', 'AppStepOrderBy', connectionFieldsMap);
|
|
53
|
-
return new QueryBuilder({
|
|
54
|
-
client: this.client,
|
|
55
|
-
operation: 'query',
|
|
56
|
-
operationName: 'AppStep',
|
|
57
|
-
fieldName: 'appStep',
|
|
58
|
-
document,
|
|
59
|
-
variables,
|
|
60
|
-
transform: (data) => ({
|
|
61
|
-
appStep: data.appSteps?.nodes?.[0] ?? null,
|
|
62
|
-
}),
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('AppStep', 'createAppStep', 'appStep', args.select, args.data, 'CreateAppStepInput', connectionFieldsMap);
|
|
67
|
-
return new QueryBuilder({
|
|
68
|
-
client: this.client,
|
|
69
|
-
operation: 'mutation',
|
|
70
|
-
operationName: 'AppStep',
|
|
71
|
-
fieldName: 'createAppStep',
|
|
72
|
-
document,
|
|
73
|
-
variables,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
update(args) {
|
|
77
|
-
const { document, variables } = buildUpdateByPkDocument('AppStep', 'updateAppStep', 'appStep', args.select, args.where.id, args.data, 'UpdateAppStepInput', 'id', 'appStepPatch', connectionFieldsMap);
|
|
78
|
-
return new QueryBuilder({
|
|
79
|
-
client: this.client,
|
|
80
|
-
operation: 'mutation',
|
|
81
|
-
operationName: 'AppStep',
|
|
82
|
-
fieldName: 'updateAppStep',
|
|
83
|
-
document,
|
|
84
|
-
variables,
|
|
85
|
-
});
|
|
86
|
-
}
|
|
87
|
-
delete(args) {
|
|
88
|
-
const { document, variables } = buildDeleteByPkDocument('AppStep', 'deleteAppStep', 'appStep', {
|
|
89
|
-
id: args.where.id,
|
|
90
|
-
}, 'DeleteAppStepInput', args.select, connectionFieldsMap);
|
|
91
|
-
return new QueryBuilder({
|
|
92
|
-
client: this.client,
|
|
93
|
-
operation: 'mutation',
|
|
94
|
-
operationName: 'AppStep',
|
|
95
|
-
fieldName: 'deleteAppStep',
|
|
96
|
-
document,
|
|
97
|
-
variables,
|
|
98
|
-
});
|
|
99
|
-
}
|
|
100
|
-
}
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* LevelsModule model for ORM client
|
|
3
|
-
* @generated by @constructive-io/graphql-codegen
|
|
4
|
-
* DO NOT EDIT - changes will be overwritten
|
|
5
|
-
*/
|
|
6
|
-
import { OrmClient } from '../client';
|
|
7
|
-
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs, CreateArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { LevelsModuleWithRelations, LevelsModuleSelect, LevelsModuleFilter, LevelsModuleOrderBy, CreateLevelsModuleInput, LevelsModulePatch } from '../input-types';
|
|
10
|
-
export declare class LevelsModuleModel {
|
|
11
|
-
private client;
|
|
12
|
-
constructor(client: OrmClient);
|
|
13
|
-
findMany<S extends LevelsModuleSelect>(args: FindManyArgs<S, LevelsModuleFilter, LevelsModuleOrderBy> & {
|
|
14
|
-
select: S;
|
|
15
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
16
|
-
levelsModules: ConnectionResult<InferSelectResult<LevelsModuleWithRelations, S>>;
|
|
17
|
-
}>;
|
|
18
|
-
findFirst<S extends LevelsModuleSelect>(args: FindFirstArgs<S, LevelsModuleFilter, LevelsModuleOrderBy> & {
|
|
19
|
-
select: S;
|
|
20
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
21
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S> | null;
|
|
22
|
-
}>;
|
|
23
|
-
findOne<S extends LevelsModuleSelect>(args: {
|
|
24
|
-
id: string;
|
|
25
|
-
select: S;
|
|
26
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
27
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S> | null;
|
|
28
|
-
}>;
|
|
29
|
-
create<S extends LevelsModuleSelect>(args: CreateArgs<S, CreateLevelsModuleInput['levelsModule']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
32
|
-
createLevelsModule: {
|
|
33
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
|
-
update<S extends LevelsModuleSelect>(args: UpdateArgs<S, {
|
|
37
|
-
id: string;
|
|
38
|
-
}, LevelsModulePatch> & {
|
|
39
|
-
select: S;
|
|
40
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
41
|
-
updateLevelsModule: {
|
|
42
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S>;
|
|
43
|
-
};
|
|
44
|
-
}>;
|
|
45
|
-
delete<S extends LevelsModuleSelect>(args: DeleteArgs<{
|
|
46
|
-
id: string;
|
|
47
|
-
}, S> & {
|
|
48
|
-
select: S;
|
|
49
|
-
} & StrictSelect<S, LevelsModuleSelect>): QueryBuilder<{
|
|
50
|
-
deleteLevelsModule: {
|
|
51
|
-
levelsModule: InferSelectResult<LevelsModuleWithRelations, S>;
|
|
52
|
-
};
|
|
53
|
-
}>;
|
|
54
|
-
}
|