@constructive-io/react 1.11.1 → 1.11.3
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/orm/client.js +11 -1
- package/admin/schema-types.d.ts +7 -1
- package/agent/orm/client.js +11 -1
- package/agent/orm/input-types.d.ts +0 -3
- package/agent/schema-types.d.ts +7 -3
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +108 -12
- package/api/hooks/invalidation.js +287 -31
- package/api/hooks/mutation-keys.d.ts +224 -24
- package/api/hooks/mutation-keys.js +152 -16
- package/api/hooks/mutations/index.d.ts +58 -6
- package/api/hooks/mutations/index.js +58 -6
- package/api/hooks/mutations/useCreateApisMutation.d.ts +34 -0
- package/api/hooks/mutations/{useCreateApiMutation.js → useCreateApisMutation.js} +5 -5
- package/api/hooks/mutations/useCreateDeriveMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateDeriveMutation.js +34 -0
- package/api/hooks/mutations/useCreateFieldBehaviorMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateFieldBehaviorMutation.js +34 -0
- package/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.js +34 -0
- package/api/hooks/mutations/useCreatePageMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreatePageMutation.js +34 -0
- package/api/hooks/mutations/useCreatePlatformApisMutation.d.ts +34 -0
- package/api/hooks/mutations/{useCreatePlatformApiMutation.js → useCreatePlatformApisMutation.js} +5 -5
- package/api/hooks/mutations/useCreatePlatformPageMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreatePlatformPageMutation.js +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.js +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.js +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.js +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.js +34 -0
- package/api/hooks/mutations/useCreateSiteAppLinkMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateSiteAppLinkMutation.js +34 -0
- package/api/hooks/mutations/useCreateSiteDeepLinkMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateSiteDeepLinkMutation.js +34 -0
- package/api/hooks/mutations/useCreateSiteErrorPageMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateSiteErrorPageMutation.js +34 -0
- package/api/hooks/mutations/useCreateSiteWebConfigMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateSiteWebConfigMutation.js +34 -0
- package/api/hooks/mutations/useCreateTableBehaviorMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateTableBehaviorMutation.js +34 -0
- package/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.js +34 -0
- package/api/hooks/mutations/useCreateViewBehaviorMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateViewBehaviorMutation.js +34 -0
- package/{esm/api/hooks/mutations/useDeleteApiMutation.d.ts → api/hooks/mutations/useDeleteApisMutation.d.ts} +10 -10
- package/api/hooks/mutations/{useDeleteApiMutation.js → useDeleteApisMutation.js} +6 -6
- package/api/hooks/mutations/useDeleteDeriveMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteDeriveMutation.js +39 -0
- package/api/hooks/mutations/useDeleteFieldBehaviorMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteFieldBehaviorMutation.js +39 -0
- package/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.js +39 -0
- package/api/hooks/mutations/useDeletePageMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePageMutation.js +39 -0
- package/{esm/api/hooks/mutations/useDeletePlatformApiMutation.d.ts → api/hooks/mutations/useDeletePlatformApisMutation.d.ts} +10 -10
- package/api/hooks/mutations/{useDeletePlatformApiMutation.js → useDeletePlatformApisMutation.js} +6 -6
- package/api/hooks/mutations/useDeletePlatformPageMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformPageMutation.js +39 -0
- package/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.js +39 -0
- package/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.js +39 -0
- package/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.js +39 -0
- package/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.js +39 -0
- package/api/hooks/mutations/useDeleteSiteAppLinkMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteSiteAppLinkMutation.js +39 -0
- package/api/hooks/mutations/useDeleteSiteDeepLinkMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteSiteDeepLinkMutation.js +39 -0
- package/api/hooks/mutations/useDeleteSiteErrorPageMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteSiteErrorPageMutation.js +39 -0
- package/api/hooks/mutations/useDeleteSiteWebConfigMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteSiteWebConfigMutation.js +39 -0
- package/api/hooks/mutations/useDeleteTableBehaviorMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteTableBehaviorMutation.js +39 -0
- package/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.js +39 -0
- package/api/hooks/mutations/useDeleteViewBehaviorMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeleteViewBehaviorMutation.js +39 -0
- package/api/hooks/mutations/useDomainsAssignSubdomainMutation.d.ts +20 -0
- package/api/hooks/mutations/useDomainsAssignSubdomainMutation.js +26 -0
- package/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.d.ts +20 -0
- package/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.js +26 -0
- package/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.d.ts +20 -0
- package/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.js +26 -0
- package/api/hooks/mutations/useSitesProvisionStaticSiteMutation.d.ts +20 -0
- package/api/hooks/mutations/useSitesProvisionStaticSiteMutation.js +26 -0
- package/{esm/api/hooks/mutations/useUpdateApiMutation.d.ts → api/hooks/mutations/useUpdateApisMutation.d.ts} +13 -13
- package/api/hooks/mutations/{useUpdateApiMutation.js → useUpdateApisMutation.js} +8 -8
- package/api/hooks/mutations/useUpdateDeriveMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateDeriveMutation.js +40 -0
- package/api/hooks/mutations/useUpdateFieldBehaviorMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateFieldBehaviorMutation.js +40 -0
- package/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.js +40 -0
- package/api/hooks/mutations/useUpdatePageMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePageMutation.js +40 -0
- package/api/hooks/mutations/useUpdatePlatformApisMutation.d.ts +40 -0
- package/api/hooks/mutations/{useUpdatePlatformApiMutation.js → useUpdatePlatformApisMutation.js} +8 -8
- package/api/hooks/mutations/useUpdatePlatformPageMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformPageMutation.js +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.js +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.js +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.js +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.js +40 -0
- package/api/hooks/mutations/useUpdateSiteAppLinkMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateSiteAppLinkMutation.js +40 -0
- package/api/hooks/mutations/useUpdateSiteDeepLinkMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateSiteDeepLinkMutation.js +40 -0
- package/api/hooks/mutations/useUpdateSiteErrorPageMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateSiteErrorPageMutation.js +40 -0
- package/api/hooks/mutations/useUpdateSiteWebConfigMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateSiteWebConfigMutation.js +40 -0
- package/api/hooks/mutations/useUpdateTableBehaviorMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateTableBehaviorMutation.js +40 -0
- package/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.js +40 -0
- package/api/hooks/mutations/useUpdateViewBehaviorMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdateViewBehaviorMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +38 -4
- package/api/hooks/queries/index.js +38 -4
- package/api/hooks/queries/useApisQuery.d.ts +21 -25
- package/api/hooks/queries/useApisQuery.js +24 -9
- package/api/hooks/queries/useApisesQuery.d.ts +69 -0
- package/api/hooks/queries/useApisesQuery.js +38 -0
- package/api/hooks/queries/useDeriveQuery.d.ts +65 -0
- package/api/hooks/queries/{useApiQuery.js → useDeriveQuery.js} +14 -14
- package/api/hooks/queries/useDerivesQuery.d.ts +69 -0
- package/api/hooks/queries/useDerivesQuery.js +38 -0
- package/api/hooks/queries/useFieldBehaviorQuery.d.ts +65 -0
- package/api/hooks/queries/useFieldBehaviorQuery.js +53 -0
- package/api/hooks/queries/useFieldBehaviorsQuery.d.ts +69 -0
- package/api/hooks/queries/useFieldBehaviorsQuery.js +38 -0
- package/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.d.ts +65 -0
- package/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.js +53 -0
- package/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.d.ts +69 -0
- package/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.js +38 -0
- package/api/hooks/queries/usePageQuery.d.ts +65 -0
- package/api/hooks/queries/usePageQuery.js +53 -0
- package/api/hooks/queries/usePagesQuery.d.ts +69 -0
- package/api/hooks/queries/usePagesQuery.js +38 -0
- package/api/hooks/queries/usePlatformApisQuery.d.ts +21 -25
- package/api/hooks/queries/usePlatformApisQuery.js +24 -9
- package/api/hooks/queries/usePlatformApisesQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformApisesQuery.js +38 -0
- package/api/hooks/queries/usePlatformPageQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformPageQuery.js +53 -0
- package/api/hooks/queries/usePlatformPagesQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformPagesQuery.js +38 -0
- package/api/hooks/queries/usePlatformSiteAppLinkQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformSiteAppLinkQuery.js +53 -0
- package/api/hooks/queries/usePlatformSiteAppLinksQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformSiteAppLinksQuery.js +38 -0
- package/api/hooks/queries/usePlatformSiteDeepLinkQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformSiteDeepLinkQuery.js +53 -0
- package/api/hooks/queries/usePlatformSiteDeepLinksQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformSiteDeepLinksQuery.js +38 -0
- package/api/hooks/queries/usePlatformSiteErrorPageQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformSiteErrorPageQuery.js +53 -0
- package/api/hooks/queries/usePlatformSiteErrorPagesQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformSiteErrorPagesQuery.js +38 -0
- package/api/hooks/queries/usePlatformSiteWebConfigQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformSiteWebConfigQuery.js +53 -0
- package/api/hooks/queries/usePlatformSiteWebConfigsQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformSiteWebConfigsQuery.js +38 -0
- package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +53 -0
- package/api/hooks/queries/useResolveDeepLinkQuery.js +53 -0
- package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +53 -0
- package/api/hooks/queries/useResolveSiteAppLinksQuery.js +53 -0
- package/api/hooks/queries/useSiteAppLinkQuery.d.ts +65 -0
- package/api/hooks/queries/useSiteAppLinkQuery.js +53 -0
- package/api/hooks/queries/useSiteAppLinksQuery.d.ts +69 -0
- package/api/hooks/queries/useSiteAppLinksQuery.js +38 -0
- package/api/hooks/queries/useSiteDeepLinkQuery.d.ts +65 -0
- package/api/hooks/queries/useSiteDeepLinkQuery.js +53 -0
- package/api/hooks/queries/useSiteDeepLinksQuery.d.ts +69 -0
- package/api/hooks/queries/useSiteDeepLinksQuery.js +38 -0
- package/api/hooks/queries/useSiteErrorPageQuery.d.ts +65 -0
- package/api/hooks/queries/useSiteErrorPageQuery.js +53 -0
- package/api/hooks/queries/useSiteErrorPagesQuery.d.ts +69 -0
- package/api/hooks/queries/useSiteErrorPagesQuery.js +38 -0
- package/api/hooks/queries/useSiteWebConfigQuery.d.ts +65 -0
- package/api/hooks/queries/useSiteWebConfigQuery.js +53 -0
- package/api/hooks/queries/useSiteWebConfigsQuery.d.ts +69 -0
- package/api/hooks/queries/useSiteWebConfigsQuery.js +38 -0
- package/api/hooks/queries/useTableBehaviorQuery.d.ts +65 -0
- package/api/hooks/queries/useTableBehaviorQuery.js +53 -0
- package/api/hooks/queries/useTableBehaviorsQuery.d.ts +69 -0
- package/api/hooks/queries/useTableBehaviorsQuery.js +38 -0
- package/api/hooks/queries/useUniqueConstraintBehaviorQuery.d.ts +65 -0
- package/api/hooks/queries/useUniqueConstraintBehaviorQuery.js +53 -0
- package/api/hooks/queries/useUniqueConstraintBehaviorsQuery.d.ts +69 -0
- package/api/hooks/queries/useUniqueConstraintBehaviorsQuery.js +38 -0
- package/api/hooks/queries/useViewBehaviorQuery.d.ts +65 -0
- package/api/hooks/queries/useViewBehaviorQuery.js +53 -0
- package/api/hooks/queries/useViewBehaviorsQuery.d.ts +69 -0
- package/api/hooks/queries/useViewBehaviorsQuery.js +38 -0
- package/api/hooks/query-keys.d.ts +256 -28
- package/api/hooks/query-keys.js +148 -18
- package/api/orm/client.js +11 -1
- package/api/orm/index.d.ts +66 -4
- package/api/orm/index.js +36 -4
- package/api/orm/input-types.d.ts +4946 -630
- package/api/orm/input-types.js +34 -6
- package/api/orm/models/apis.d.ts +54 -0
- package/api/orm/models/{api.js → apis.js} +27 -27
- package/api/orm/models/derive.d.ts +54 -0
- package/api/orm/models/derive.js +104 -0
- package/api/orm/models/fieldBehavior.d.ts +54 -0
- package/api/orm/models/fieldBehavior.js +104 -0
- package/api/orm/models/foreignKeyConstraintBehavior.d.ts +54 -0
- package/api/orm/models/foreignKeyConstraintBehavior.js +104 -0
- package/api/orm/models/index.d.ts +18 -2
- package/api/orm/models/index.js +38 -6
- package/api/orm/models/page.d.ts +54 -0
- package/api/orm/models/page.js +104 -0
- package/api/orm/models/platformApis.d.ts +54 -0
- package/api/orm/models/platformApis.js +104 -0
- package/api/orm/models/platformPage.d.ts +54 -0
- package/api/orm/models/platformPage.js +104 -0
- package/api/orm/models/platformSiteAppLink.d.ts +54 -0
- package/api/orm/models/platformSiteAppLink.js +104 -0
- package/api/orm/models/platformSiteDeepLink.d.ts +54 -0
- package/api/orm/models/platformSiteDeepLink.js +104 -0
- package/api/orm/models/platformSiteErrorPage.d.ts +54 -0
- package/api/orm/models/platformSiteErrorPage.js +104 -0
- package/api/orm/models/platformSiteWebConfig.d.ts +54 -0
- package/api/orm/models/platformSiteWebConfig.js +104 -0
- package/api/orm/models/siteAppLink.d.ts +54 -0
- package/api/orm/models/{platformApi.js → siteAppLink.js} +27 -27
- package/api/orm/models/siteDeepLink.d.ts +54 -0
- package/api/orm/models/siteDeepLink.js +104 -0
- package/api/orm/models/siteErrorPage.d.ts +54 -0
- package/api/orm/models/siteErrorPage.js +104 -0
- package/api/orm/models/siteWebConfig.d.ts +54 -0
- package/api/orm/models/siteWebConfig.js +104 -0
- package/api/orm/models/tableBehavior.d.ts +54 -0
- package/api/orm/models/tableBehavior.js +104 -0
- package/api/orm/models/uniqueConstraintBehavior.d.ts +54 -0
- package/api/orm/models/uniqueConstraintBehavior.js +104 -0
- package/api/orm/models/viewBehavior.d.ts +54 -0
- package/api/orm/models/viewBehavior.js +104 -0
- package/api/orm/mutation/index.d.ts +33 -1
- package/api/orm/mutation/index.js +48 -0
- package/api/orm/query/index.d.ts +17 -0
- package/api/orm/query/index.js +28 -0
- package/api/schema-types.d.ts +2732 -338
- package/api/types.d.ts +238 -26
- package/auth/orm/client.js +11 -1
- package/auth/orm/input-types.d.ts +166 -220
- package/auth/orm/input-types.js +6 -11
- package/auth/schema-types.d.ts +31 -46
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -0
- package/compute/hooks/invalidation.js +32 -0
- package/compute/hooks/mutation-keys.d.ts +24 -0
- package/compute/hooks/mutation-keys.js +22 -2
- package/compute/hooks/mutations/index.d.ts +6 -0
- package/compute/hooks/mutations/index.js +6 -0
- package/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.js +39 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.js +39 -0
- package/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +4 -0
- package/compute/hooks/queries/index.js +4 -0
- package/compute/hooks/queries/useFunctionCapabilityBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/useFunctionCapabilityBindingQuery.js +53 -0
- package/compute/hooks/queries/useFunctionCapabilityBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/useFunctionCapabilityBindingsQuery.js +38 -0
- package/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.js +53 -0
- package/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +28 -0
- package/compute/hooks/query-keys.js +20 -2
- package/compute/orm/client.js +11 -1
- package/compute/orm/index.d.ts +4 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +539 -8
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionCapabilityBinding.d.ts +54 -0
- package/compute/orm/models/functionCapabilityBinding.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +6 -2
- package/compute/orm/models/platformFunctionCapabilityBinding.d.ts +54 -0
- package/compute/orm/models/platformFunctionCapabilityBinding.js +104 -0
- package/compute/schema-types.d.ts +312 -10
- package/compute/types.d.ts +31 -0
- package/config/orm/client.js +11 -1
- package/config/orm/input-types.d.ts +53 -5
- package/config/schema-types.d.ts +42 -6
- package/config/types.d.ts +5 -0
- package/esm/admin/orm/client.js +11 -1
- package/esm/admin/schema-types.d.ts +7 -1
- package/esm/agent/orm/client.js +11 -1
- package/esm/agent/orm/input-types.d.ts +0 -3
- package/esm/agent/schema-types.d.ts +7 -3
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +108 -12
- package/esm/api/hooks/invalidation.js +288 -32
- package/esm/api/hooks/mutation-keys.d.ts +224 -24
- package/esm/api/hooks/mutation-keys.js +150 -14
- package/esm/api/hooks/mutations/index.d.ts +58 -6
- package/esm/api/hooks/mutations/index.js +58 -6
- package/esm/api/hooks/mutations/useCreateApisMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/{useCreateApiMutation.js → useCreateApisMutation.js} +6 -6
- package/esm/api/hooks/mutations/useCreateDeriveMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateDeriveMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateFieldBehaviorMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateFieldBehaviorMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateForeignKeyConstraintBehaviorMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreatePageMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreatePageMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreatePlatformApisMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/{useCreatePlatformApiMutation.js → useCreatePlatformApisMutation.js} +6 -6
- package/esm/api/hooks/mutations/useCreatePlatformPageMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreatePlatformPageMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteAppLinkMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteDeepLinkMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteErrorPageMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreatePlatformSiteWebConfigMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateSiteAppLinkMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateSiteAppLinkMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateSiteDeepLinkMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateSiteDeepLinkMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateSiteErrorPageMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateSiteErrorPageMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateSiteWebConfigMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateSiteWebConfigMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateTableBehaviorMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateTableBehaviorMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateUniqueConstraintBehaviorMutation.js +31 -0
- package/esm/api/hooks/mutations/useCreateViewBehaviorMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateViewBehaviorMutation.js +31 -0
- package/{api/hooks/mutations/useDeleteApiMutation.d.ts → esm/api/hooks/mutations/useDeleteApisMutation.d.ts} +10 -10
- package/esm/api/hooks/mutations/{useDeleteApiMutation.js → useDeleteApisMutation.js} +7 -7
- package/esm/api/hooks/mutations/useDeleteDeriveMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteDeriveMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteFieldBehaviorMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteFieldBehaviorMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteForeignKeyConstraintBehaviorMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeletePageMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeletePageMutation.js +36 -0
- package/{api/hooks/mutations/useDeletePlatformApiMutation.d.ts → esm/api/hooks/mutations/useDeletePlatformApisMutation.d.ts} +10 -10
- package/esm/api/hooks/mutations/{useDeletePlatformApiMutation.js → useDeletePlatformApisMutation.js} +7 -7
- package/esm/api/hooks/mutations/useDeletePlatformPageMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeletePlatformPageMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteAppLinkMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteDeepLinkMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteErrorPageMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeletePlatformSiteWebConfigMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteSiteAppLinkMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteSiteAppLinkMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteSiteDeepLinkMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteSiteDeepLinkMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteSiteErrorPageMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteSiteErrorPageMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteSiteWebConfigMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteSiteWebConfigMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteTableBehaviorMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteTableBehaviorMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteUniqueConstraintBehaviorMutation.js +36 -0
- package/esm/api/hooks/mutations/useDeleteViewBehaviorMutation.d.ts +38 -0
- package/esm/api/hooks/mutations/useDeleteViewBehaviorMutation.js +36 -0
- package/esm/api/hooks/mutations/useDomainsAssignSubdomainMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/useDomainsAssignSubdomainMutation.js +23 -0
- package/esm/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/usePlatformDomainsAssignSubdomainMutation.js +23 -0
- package/esm/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/usePlatformSitesProvisionStaticSiteMutation.js +23 -0
- package/esm/api/hooks/mutations/useSitesProvisionStaticSiteMutation.d.ts +20 -0
- package/esm/api/hooks/mutations/useSitesProvisionStaticSiteMutation.js +23 -0
- package/{api/hooks/mutations/useUpdateApiMutation.d.ts → esm/api/hooks/mutations/useUpdateApisMutation.d.ts} +13 -13
- package/esm/api/hooks/mutations/{useUpdateApiMutation.js → useUpdateApisMutation.js} +9 -9
- package/esm/api/hooks/mutations/useUpdateDeriveMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateDeriveMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateFieldBehaviorMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateFieldBehaviorMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateForeignKeyConstraintBehaviorMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdatePageMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdatePageMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdatePlatformApisMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/{useUpdatePlatformApiMutation.js → useUpdatePlatformApisMutation.js} +9 -9
- package/esm/api/hooks/mutations/useUpdatePlatformPageMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdatePlatformPageMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteAppLinkMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteDeepLinkMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteErrorPageMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdatePlatformSiteWebConfigMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateSiteAppLinkMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateSiteAppLinkMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateSiteDeepLinkMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateSiteDeepLinkMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateSiteErrorPageMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateSiteErrorPageMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateSiteWebConfigMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateSiteWebConfigMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateTableBehaviorMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateTableBehaviorMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateUniqueConstraintBehaviorMutation.js +37 -0
- package/esm/api/hooks/mutations/useUpdateViewBehaviorMutation.d.ts +40 -0
- package/esm/api/hooks/mutations/useUpdateViewBehaviorMutation.js +37 -0
- package/esm/api/hooks/queries/index.d.ts +38 -4
- package/esm/api/hooks/queries/index.js +38 -4
- package/esm/api/hooks/queries/useApisQuery.d.ts +21 -25
- package/esm/api/hooks/queries/useApisQuery.js +26 -11
- package/esm/api/hooks/queries/useApisesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useApisesQuery.js +32 -0
- package/esm/api/hooks/queries/useDeriveQuery.d.ts +65 -0
- package/esm/api/hooks/queries/{useApiQuery.js → useDeriveQuery.js} +11 -11
- package/esm/api/hooks/queries/useDerivesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useDerivesQuery.js +32 -0
- package/esm/api/hooks/queries/useFieldBehaviorQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useFieldBehaviorQuery.js +47 -0
- package/esm/api/hooks/queries/useFieldBehaviorsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useFieldBehaviorsQuery.js +32 -0
- package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorQuery.js +47 -0
- package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useForeignKeyConstraintBehaviorsQuery.js +32 -0
- package/esm/api/hooks/queries/usePageQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePageQuery.js +47 -0
- package/esm/api/hooks/queries/usePagesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePagesQuery.js +32 -0
- package/esm/api/hooks/queries/usePlatformApisQuery.d.ts +21 -25
- package/esm/api/hooks/queries/usePlatformApisQuery.js +26 -11
- package/esm/api/hooks/queries/usePlatformApisesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformApisesQuery.js +32 -0
- package/esm/api/hooks/queries/usePlatformPageQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformPageQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformPagesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformPagesQuery.js +32 -0
- package/esm/api/hooks/queries/usePlatformSiteAppLinkQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformSiteAppLinkQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformSiteAppLinksQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformSiteAppLinksQuery.js +32 -0
- package/esm/api/hooks/queries/usePlatformSiteDeepLinkQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformSiteDeepLinkQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformSiteDeepLinksQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformSiteDeepLinksQuery.js +32 -0
- package/esm/api/hooks/queries/usePlatformSiteErrorPageQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformSiteErrorPageQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformSiteErrorPagesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformSiteErrorPagesQuery.js +32 -0
- package/esm/api/hooks/queries/usePlatformSiteWebConfigQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformSiteWebConfigQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformSiteWebConfigsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformSiteWebConfigsQuery.js +32 -0
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +53 -0
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +47 -0
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +53 -0
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +47 -0
- package/esm/api/hooks/queries/useSiteAppLinkQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useSiteAppLinkQuery.js +47 -0
- package/esm/api/hooks/queries/useSiteAppLinksQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useSiteAppLinksQuery.js +32 -0
- package/esm/api/hooks/queries/useSiteDeepLinkQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useSiteDeepLinkQuery.js +47 -0
- package/esm/api/hooks/queries/useSiteDeepLinksQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useSiteDeepLinksQuery.js +32 -0
- package/esm/api/hooks/queries/useSiteErrorPageQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useSiteErrorPageQuery.js +47 -0
- package/esm/api/hooks/queries/useSiteErrorPagesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useSiteErrorPagesQuery.js +32 -0
- package/esm/api/hooks/queries/useSiteWebConfigQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useSiteWebConfigQuery.js +47 -0
- package/esm/api/hooks/queries/useSiteWebConfigsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useSiteWebConfigsQuery.js +32 -0
- package/esm/api/hooks/queries/useTableBehaviorQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useTableBehaviorQuery.js +47 -0
- package/esm/api/hooks/queries/useTableBehaviorsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useTableBehaviorsQuery.js +32 -0
- package/esm/api/hooks/queries/useUniqueConstraintBehaviorQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useUniqueConstraintBehaviorQuery.js +47 -0
- package/esm/api/hooks/queries/useUniqueConstraintBehaviorsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useUniqueConstraintBehaviorsQuery.js +32 -0
- package/esm/api/hooks/queries/useViewBehaviorQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useViewBehaviorQuery.js +47 -0
- package/esm/api/hooks/queries/useViewBehaviorsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useViewBehaviorsQuery.js +32 -0
- package/esm/api/hooks/query-keys.d.ts +256 -28
- package/esm/api/hooks/query-keys.js +146 -16
- package/esm/api/orm/client.js +11 -1
- package/esm/api/orm/index.d.ts +66 -4
- package/esm/api/orm/index.js +36 -4
- package/esm/api/orm/input-types.d.ts +4946 -630
- package/esm/api/orm/input-types.js +34 -6
- package/esm/api/orm/models/apis.d.ts +54 -0
- package/esm/api/orm/models/{api.js → apis.js} +25 -25
- package/esm/api/orm/models/derive.d.ts +54 -0
- package/esm/api/orm/models/derive.js +100 -0
- package/esm/api/orm/models/fieldBehavior.d.ts +54 -0
- package/esm/api/orm/models/fieldBehavior.js +100 -0
- package/esm/api/orm/models/foreignKeyConstraintBehavior.d.ts +54 -0
- package/esm/api/orm/models/foreignKeyConstraintBehavior.js +100 -0
- package/esm/api/orm/models/index.d.ts +18 -2
- package/esm/api/orm/models/index.js +18 -2
- package/esm/api/orm/models/page.d.ts +54 -0
- package/esm/api/orm/models/page.js +100 -0
- package/esm/api/orm/models/platformApis.d.ts +54 -0
- package/esm/api/orm/models/{platformApi.js → platformApis.js} +25 -25
- package/esm/api/orm/models/platformPage.d.ts +54 -0
- package/esm/api/orm/models/platformPage.js +100 -0
- package/esm/api/orm/models/platformSiteAppLink.d.ts +54 -0
- package/esm/api/orm/models/platformSiteAppLink.js +100 -0
- package/esm/api/orm/models/platformSiteDeepLink.d.ts +54 -0
- package/esm/api/orm/models/platformSiteDeepLink.js +100 -0
- package/esm/api/orm/models/platformSiteErrorPage.d.ts +54 -0
- package/esm/api/orm/models/platformSiteErrorPage.js +100 -0
- package/esm/api/orm/models/platformSiteWebConfig.d.ts +54 -0
- package/esm/api/orm/models/platformSiteWebConfig.js +100 -0
- package/esm/api/orm/models/siteAppLink.d.ts +54 -0
- package/esm/api/orm/models/siteAppLink.js +100 -0
- package/esm/api/orm/models/siteDeepLink.d.ts +54 -0
- package/esm/api/orm/models/siteDeepLink.js +100 -0
- package/esm/api/orm/models/siteErrorPage.d.ts +54 -0
- package/esm/api/orm/models/siteErrorPage.js +100 -0
- package/esm/api/orm/models/siteWebConfig.d.ts +54 -0
- package/esm/api/orm/models/siteWebConfig.js +100 -0
- package/esm/api/orm/models/tableBehavior.d.ts +54 -0
- package/esm/api/orm/models/tableBehavior.js +100 -0
- package/esm/api/orm/models/uniqueConstraintBehavior.d.ts +54 -0
- package/esm/api/orm/models/uniqueConstraintBehavior.js +100 -0
- package/esm/api/orm/models/viewBehavior.d.ts +54 -0
- package/esm/api/orm/models/viewBehavior.js +100 -0
- package/esm/api/orm/mutation/index.d.ts +33 -1
- package/esm/api/orm/mutation/index.js +48 -0
- package/esm/api/orm/query/index.d.ts +17 -0
- package/esm/api/orm/query/index.js +28 -0
- package/esm/api/schema-types.d.ts +2732 -338
- package/esm/api/types.d.ts +238 -26
- package/esm/auth/orm/client.js +11 -1
- package/esm/auth/orm/input-types.d.ts +166 -220
- package/esm/auth/orm/input-types.js +6 -11
- package/esm/auth/schema-types.d.ts +31 -46
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -0
- package/esm/compute/hooks/invalidation.js +33 -1
- package/esm/compute/hooks/mutation-keys.d.ts +24 -0
- package/esm/compute/hooks/mutation-keys.js +20 -0
- package/esm/compute/hooks/mutations/index.d.ts +6 -0
- package/esm/compute/hooks/mutations/index.js +6 -0
- package/esm/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateFunctionCapabilityBindingMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionCapabilityBindingMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionCapabilityBindingMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionCapabilityBindingMutation.js +36 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionCapabilityBindingMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionCapabilityBindingMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -0
- package/esm/compute/hooks/queries/index.js +4 -0
- package/esm/compute/hooks/queries/useFunctionCapabilityBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useFunctionCapabilityBindingQuery.js +47 -0
- package/esm/compute/hooks/queries/useFunctionCapabilityBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useFunctionCapabilityBindingsQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformFunctionCapabilityBindingsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -0
- package/esm/compute/hooks/query-keys.js +18 -0
- package/esm/compute/orm/client.js +11 -1
- package/esm/compute/orm/index.d.ts +4 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +539 -8
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionCapabilityBinding.d.ts +54 -0
- package/esm/compute/orm/models/functionCapabilityBinding.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/models/platformFunctionCapabilityBinding.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionCapabilityBinding.js +100 -0
- package/esm/compute/schema-types.d.ts +312 -10
- package/esm/compute/types.d.ts +31 -0
- package/esm/config/orm/client.js +11 -1
- package/esm/config/orm/input-types.d.ts +53 -5
- package/esm/config/schema-types.d.ts +42 -6
- package/esm/config/types.d.ts +5 -0
- package/esm/infra/orm/client.js +11 -1
- package/esm/infra/schema-types.d.ts +7 -1
- package/esm/modules/hooks/index.d.ts +1 -1
- package/esm/modules/hooks/index.js +1 -1
- package/esm/modules/hooks/invalidation.d.ts +6 -0
- package/esm/modules/hooks/invalidation.js +17 -1
- package/esm/modules/hooks/mutation-keys.d.ts +12 -0
- package/esm/modules/hooks/mutation-keys.js +7 -0
- package/esm/modules/hooks/mutations/index.d.ts +3 -0
- package/esm/modules/hooks/mutations/index.js +3 -0
- package/esm/modules/hooks/mutations/useCreatePagesModuleMutation.d.ts +34 -0
- package/esm/modules/hooks/mutations/useCreatePagesModuleMutation.js +31 -0
- package/esm/modules/hooks/mutations/useDeletePagesModuleMutation.d.ts +38 -0
- package/esm/modules/hooks/mutations/useDeletePagesModuleMutation.js +36 -0
- package/esm/modules/hooks/mutations/useUpdatePagesModuleMutation.d.ts +40 -0
- package/esm/modules/hooks/mutations/useUpdatePagesModuleMutation.js +37 -0
- package/esm/modules/hooks/queries/index.d.ts +2 -0
- package/esm/modules/hooks/queries/index.js +2 -0
- package/esm/modules/hooks/queries/usePagesModuleQuery.d.ts +65 -0
- package/esm/{api/hooks/queries/usePlatformApiQuery.js → modules/hooks/queries/usePagesModuleQuery.js} +11 -11
- package/esm/modules/hooks/queries/usePagesModulesQuery.d.ts +69 -0
- package/esm/modules/hooks/queries/usePagesModulesQuery.js +32 -0
- package/esm/modules/hooks/query-keys.d.ts +14 -0
- package/esm/modules/hooks/query-keys.js +8 -0
- package/esm/modules/orm/client.js +11 -1
- package/esm/modules/orm/index.d.ts +2 -0
- package/esm/modules/orm/index.js +2 -0
- package/esm/modules/orm/input-types.d.ts +2116 -122
- package/esm/modules/orm/input-types.js +40 -0
- package/esm/modules/orm/models/index.d.ts +1 -0
- package/esm/modules/orm/models/index.js +1 -0
- package/esm/modules/orm/models/pagesModule.d.ts +54 -0
- package/esm/modules/orm/models/pagesModule.js +100 -0
- package/esm/modules/schema-types.d.ts +505 -6
- package/esm/modules/types.d.ts +43 -0
- package/esm/objects/orm/client.js +11 -1
- package/esm/objects/schema-types.d.ts +7 -1
- package/esm/usage/orm/client.js +11 -1
- package/esm/usage/schema-types.d.ts +7 -1
- package/infra/orm/client.js +11 -1
- package/infra/schema-types.d.ts +7 -1
- package/modules/hooks/index.d.ts +1 -1
- package/modules/hooks/index.js +1 -1
- package/modules/hooks/invalidation.d.ts +6 -0
- package/modules/hooks/invalidation.js +16 -0
- package/modules/hooks/mutation-keys.d.ts +12 -0
- package/modules/hooks/mutation-keys.js +9 -2
- package/modules/hooks/mutations/index.d.ts +3 -0
- package/modules/hooks/mutations/index.js +3 -0
- package/modules/hooks/mutations/useCreatePagesModuleMutation.d.ts +34 -0
- package/modules/hooks/mutations/useCreatePagesModuleMutation.js +34 -0
- package/modules/hooks/mutations/useDeletePagesModuleMutation.d.ts +38 -0
- package/modules/hooks/mutations/useDeletePagesModuleMutation.js +39 -0
- package/modules/hooks/mutations/useUpdatePagesModuleMutation.d.ts +40 -0
- package/modules/hooks/mutations/useUpdatePagesModuleMutation.js +40 -0
- package/modules/hooks/queries/index.d.ts +2 -0
- package/modules/hooks/queries/index.js +2 -0
- package/modules/hooks/queries/usePagesModuleQuery.d.ts +65 -0
- package/{api/hooks/queries/usePlatformApiQuery.js → modules/hooks/queries/usePagesModuleQuery.js} +14 -14
- package/modules/hooks/queries/usePagesModulesQuery.d.ts +69 -0
- package/modules/hooks/queries/usePagesModulesQuery.js +38 -0
- package/modules/hooks/query-keys.d.ts +14 -0
- package/modules/hooks/query-keys.js +10 -2
- package/modules/orm/client.js +11 -1
- package/modules/orm/index.d.ts +2 -0
- package/modules/orm/index.js +2 -0
- package/modules/orm/input-types.d.ts +2116 -122
- package/modules/orm/input-types.js +40 -0
- package/modules/orm/models/index.d.ts +1 -0
- package/modules/orm/models/index.js +4 -2
- package/modules/orm/models/pagesModule.d.ts +54 -0
- package/modules/orm/models/pagesModule.js +104 -0
- package/modules/schema-types.d.ts +505 -6
- package/modules/types.d.ts +43 -0
- package/objects/orm/client.js +11 -1
- package/objects/schema-types.d.ts +7 -1
- package/package.json +5 -5
- package/usage/orm/client.js +11 -1
- package/usage/schema-types.d.ts +7 -1
- package/api/hooks/mutations/useCreateApiMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreatePlatformApiMutation.d.ts +0 -34
- package/api/hooks/mutations/useUpdatePlatformApiMutation.d.ts +0 -40
- package/api/hooks/queries/useApiQuery.d.ts +0 -65
- package/api/hooks/queries/usePlatformApiQuery.d.ts +0 -65
- package/api/orm/models/api.d.ts +0 -54
- package/api/orm/models/platformApi.d.ts +0 -54
- package/esm/api/hooks/mutations/useCreateApiMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreatePlatformApiMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useUpdatePlatformApiMutation.d.ts +0 -40
- package/esm/api/hooks/queries/useApiQuery.d.ts +0 -65
- package/esm/api/hooks/queries/usePlatformApiQuery.d.ts +0 -65
- package/esm/api/orm/models/api.d.ts +0 -54
- package/esm/api/orm/models/platformApi.d.ts +0 -54
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ForeignKeyConstraintBehavior 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 { ForeignKeyConstraintBehaviorWithRelations, ForeignKeyConstraintBehaviorSelect, ForeignKeyConstraintBehaviorFilter, ForeignKeyConstraintBehaviorOrderBy, CreateForeignKeyConstraintBehaviorInput, ForeignKeyConstraintBehaviorPatch } from '../input-types';
|
|
10
|
+
export declare class ForeignKeyConstraintBehaviorModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends ForeignKeyConstraintBehaviorSelect>(args: FindManyArgs<S, ForeignKeyConstraintBehaviorFilter, ForeignKeyConstraintBehaviorOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, ForeignKeyConstraintBehaviorSelect>): QueryBuilder<{
|
|
16
|
+
foreignKeyConstraintBehaviors: ConnectionResult<InferSelectResult<ForeignKeyConstraintBehaviorWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends ForeignKeyConstraintBehaviorSelect>(args: FindFirstArgs<S, ForeignKeyConstraintBehaviorFilter, ForeignKeyConstraintBehaviorOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, ForeignKeyConstraintBehaviorSelect>): QueryBuilder<{
|
|
21
|
+
foreignKeyConstraintBehavior: InferSelectResult<ForeignKeyConstraintBehaviorWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends ForeignKeyConstraintBehaviorSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, ForeignKeyConstraintBehaviorSelect>): QueryBuilder<{
|
|
27
|
+
foreignKeyConstraintBehavior: InferSelectResult<ForeignKeyConstraintBehaviorWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends ForeignKeyConstraintBehaviorSelect>(args: CreateArgs<S, CreateForeignKeyConstraintBehaviorInput['foreignKeyConstraintBehavior']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, ForeignKeyConstraintBehaviorSelect>): QueryBuilder<{
|
|
32
|
+
createForeignKeyConstraintBehavior: {
|
|
33
|
+
foreignKeyConstraintBehavior: InferSelectResult<ForeignKeyConstraintBehaviorWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends ForeignKeyConstraintBehaviorSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, ForeignKeyConstraintBehaviorPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, ForeignKeyConstraintBehaviorSelect>): QueryBuilder<{
|
|
41
|
+
updateForeignKeyConstraintBehavior: {
|
|
42
|
+
foreignKeyConstraintBehavior: InferSelectResult<ForeignKeyConstraintBehaviorWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends ForeignKeyConstraintBehaviorSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, ForeignKeyConstraintBehaviorSelect>): QueryBuilder<{
|
|
50
|
+
deleteForeignKeyConstraintBehavior: {
|
|
51
|
+
foreignKeyConstraintBehavior: InferSelectResult<ForeignKeyConstraintBehaviorWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ForeignKeyConstraintBehaviorModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class ForeignKeyConstraintBehaviorModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ForeignKeyConstraintBehavior', 'foreignKeyConstraintBehaviors', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'ForeignKeyConstraintBehaviorFilter', 'ForeignKeyConstraintBehaviorOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'ForeignKeyConstraintBehavior',
|
|
25
|
+
fieldName: 'foreignKeyConstraintBehaviors',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('ForeignKeyConstraintBehavior', 'foreignKeyConstraintBehaviors', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'ForeignKeyConstraintBehaviorFilter', 'ForeignKeyConstraintBehaviorOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'ForeignKeyConstraintBehavior',
|
|
39
|
+
fieldName: 'foreignKeyConstraintBehavior',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
foreignKeyConstraintBehavior: data.foreignKeyConstraintBehaviors?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('ForeignKeyConstraintBehavior', 'foreignKeyConstraintBehaviors', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'ForeignKeyConstraintBehaviorFilter', 'ForeignKeyConstraintBehaviorOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'ForeignKeyConstraintBehavior',
|
|
60
|
+
fieldName: 'foreignKeyConstraintBehavior',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
foreignKeyConstraintBehavior: data.foreignKeyConstraintBehaviors?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('ForeignKeyConstraintBehavior', 'createForeignKeyConstraintBehavior', 'foreignKeyConstraintBehavior', args.select, args.data, 'CreateForeignKeyConstraintBehaviorInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'ForeignKeyConstraintBehavior',
|
|
74
|
+
fieldName: 'createForeignKeyConstraintBehavior',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('ForeignKeyConstraintBehavior', 'updateForeignKeyConstraintBehavior', 'foreignKeyConstraintBehavior', args.select, args.where.id, args.data, 'UpdateForeignKeyConstraintBehaviorInput', 'id', 'foreignKeyConstraintBehaviorPatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'ForeignKeyConstraintBehavior',
|
|
85
|
+
fieldName: 'updateForeignKeyConstraintBehavior',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('ForeignKeyConstraintBehavior', 'deleteForeignKeyConstraintBehavior', 'foreignKeyConstraintBehavior', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeleteForeignKeyConstraintBehaviorInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'ForeignKeyConstraintBehavior',
|
|
98
|
+
fieldName: 'deleteForeignKeyConstraintBehavior',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.ForeignKeyConstraintBehaviorModel = ForeignKeyConstraintBehaviorModel;
|
|
@@ -3,9 +3,9 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
export { ApiModel } from './api';
|
|
7
6
|
export { ApiSchemaModel } from './apiSchema';
|
|
8
7
|
export { ApiSettingModel } from './apiSetting';
|
|
8
|
+
export { ApisModel } from './apis';
|
|
9
9
|
export { AstMigrationModel } from './astMigration';
|
|
10
10
|
export { CheckConstraintModel } from './checkConstraint';
|
|
11
11
|
export { CompositeTypeModel } from './compositeType';
|
|
@@ -14,6 +14,7 @@ export { DatabaseModel } from './database';
|
|
|
14
14
|
export { DatabaseSettingModel } from './databaseSetting';
|
|
15
15
|
export { DatabaseTransferModel } from './databaseTransfer';
|
|
16
16
|
export { DefaultPrivilegeModel } from './defaultPrivilege';
|
|
17
|
+
export { DeriveModel } from './derive';
|
|
17
18
|
export { DomainModel } from './domain';
|
|
18
19
|
export { DomainEventModel } from './domainEvent';
|
|
19
20
|
export { DomainTypeModel } from './domainType';
|
|
@@ -21,7 +22,9 @@ export { DomainVerificationModel } from './domainVerification';
|
|
|
21
22
|
export { EmbeddingChunkModel } from './embeddingChunk';
|
|
22
23
|
export { EnumModel } from './enum';
|
|
23
24
|
export { ExclusionConstraintModel } from './exclusionConstraint';
|
|
25
|
+
export { FieldBehaviorModel } from './fieldBehavior';
|
|
24
26
|
export { FieldModel } from './field';
|
|
27
|
+
export { ForeignKeyConstraintBehaviorModel } from './foreignKeyConstraintBehavior';
|
|
25
28
|
export { ForeignKeyConstraintModel } from './foreignKeyConstraint';
|
|
26
29
|
export { FullTextSearchModel } from './fullTextSearch';
|
|
27
30
|
export { FunctionModel } from './function';
|
|
@@ -30,19 +33,25 @@ export { HttpRouteModel } from './httpRoute';
|
|
|
30
33
|
export { IndexModel } from './indexModel';
|
|
31
34
|
export { ManagedDomainModel } from './managedDomain';
|
|
32
35
|
export { NodeTypeRegistryModel } from './nodeTypeRegistry';
|
|
36
|
+
export { PageModel } from './page';
|
|
33
37
|
export { PartitionModel } from './partition';
|
|
34
|
-
export { PlatformApiModel } from './platformApi';
|
|
35
38
|
export { PlatformApiSchemaModel } from './platformApiSchema';
|
|
36
39
|
export { PlatformApiSettingModel } from './platformApiSetting';
|
|
40
|
+
export { PlatformApisModel } from './platformApis';
|
|
37
41
|
export { PlatformCorsSettingModel } from './platformCorsSetting';
|
|
38
42
|
export { PlatformDomainModel } from './platformDomain';
|
|
39
43
|
export { PlatformDomainEventModel } from './platformDomainEvent';
|
|
40
44
|
export { PlatformDomainVerificationModel } from './platformDomainVerification';
|
|
41
45
|
export { PlatformManagedDomainModel } from './platformManagedDomain';
|
|
46
|
+
export { PlatformPageModel } from './platformPage';
|
|
47
|
+
export { PlatformSiteAppLinkModel } from './platformSiteAppLink';
|
|
42
48
|
export { PlatformSiteModel } from './platformSite';
|
|
49
|
+
export { PlatformSiteDeepLinkModel } from './platformSiteDeepLink';
|
|
50
|
+
export { PlatformSiteErrorPageModel } from './platformSiteErrorPage';
|
|
43
51
|
export { PlatformSiteMetadatumModel } from './platformSiteMetadatum';
|
|
44
52
|
export { PlatformSiteModuleModel } from './platformSiteModule';
|
|
45
53
|
export { PlatformSiteThemeModel } from './platformSiteTheme';
|
|
54
|
+
export { PlatformSiteWebConfigModel } from './platformSiteWebConfig';
|
|
46
55
|
export { PolicyModel } from './policy';
|
|
47
56
|
export { PrimaryKeyConstraintModel } from './primaryKeyConstraint';
|
|
48
57
|
export { PubkeySettingModel } from './pubkeySetting';
|
|
@@ -51,17 +60,24 @@ export { RouteBindingModel } from './routeBinding';
|
|
|
51
60
|
export { RouteModel } from './route';
|
|
52
61
|
export { SchemaModel } from './schema';
|
|
53
62
|
export { SchemaGrantModel } from './schemaGrant';
|
|
63
|
+
export { SiteAppLinkModel } from './siteAppLink';
|
|
54
64
|
export { SiteModel } from './site';
|
|
65
|
+
export { SiteDeepLinkModel } from './siteDeepLink';
|
|
66
|
+
export { SiteErrorPageModel } from './siteErrorPage';
|
|
55
67
|
export { SiteMetadatumModel } from './siteMetadatum';
|
|
56
68
|
export { SiteModuleModel } from './siteModule';
|
|
57
69
|
export { SiteThemeModel } from './siteTheme';
|
|
70
|
+
export { SiteWebConfigModel } from './siteWebConfig';
|
|
58
71
|
export { SpatialRelationModel } from './spatialRelation';
|
|
59
72
|
export { SqlActionModel } from './sqlAction';
|
|
73
|
+
export { TableBehaviorModel } from './tableBehavior';
|
|
60
74
|
export { TableModel } from './table';
|
|
61
75
|
export { TableGrantModel } from './tableGrant';
|
|
62
76
|
export { TriggerModel } from './trigger';
|
|
63
77
|
export { TriggerFunctionModel } from './triggerFunction';
|
|
78
|
+
export { UniqueConstraintBehaviorModel } from './uniqueConstraintBehavior';
|
|
64
79
|
export { UniqueConstraintModel } from './uniqueConstraint';
|
|
80
|
+
export { ViewBehaviorModel } from './viewBehavior';
|
|
65
81
|
export { ViewModel } from './view';
|
|
66
82
|
export { ViewGrantModel } from './viewGrant';
|
|
67
83
|
export { ViewRuleModel } from './viewRule';
|
package/api/orm/models/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.UniqueConstraintModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteThemeModel = exports.SiteModuleModel = void 0;
|
|
3
|
+
exports.PolicyModel = exports.PlatformSiteWebConfigModel = exports.PlatformSiteThemeModel = exports.PlatformSiteModuleModel = exports.PlatformSiteMetadatumModel = exports.PlatformSiteErrorPageModel = exports.PlatformSiteDeepLinkModel = exports.PlatformSiteModel = exports.PlatformSiteAppLinkModel = exports.PlatformPageModel = exports.PlatformManagedDomainModel = exports.PlatformDomainVerificationModel = exports.PlatformDomainEventModel = exports.PlatformDomainModel = exports.PlatformCorsSettingModel = exports.PlatformApisModel = exports.PlatformApiSettingModel = exports.PlatformApiSchemaModel = exports.PartitionModel = exports.PageModel = exports.NodeTypeRegistryModel = exports.ManagedDomainModel = exports.IndexModel = exports.HttpRouteModel = exports.HostnameBindingModel = exports.FunctionModel = exports.FullTextSearchModel = exports.ForeignKeyConstraintModel = exports.ForeignKeyConstraintBehaviorModel = exports.FieldModel = exports.FieldBehaviorModel = exports.ExclusionConstraintModel = exports.EnumModel = exports.EmbeddingChunkModel = exports.DomainVerificationModel = exports.DomainTypeModel = exports.DomainEventModel = exports.DomainModel = exports.DeriveModel = exports.DefaultPrivilegeModel = exports.DatabaseTransferModel = exports.DatabaseSettingModel = exports.DatabaseModel = exports.CorsSettingModel = exports.CompositeTypeModel = exports.CheckConstraintModel = exports.AstMigrationModel = exports.ApisModel = exports.ApiSettingModel = exports.ApiSchemaModel = void 0;
|
|
4
|
+
exports.WebauthnSettingModel = exports.ViewTableModel = exports.ViewRuleModel = exports.ViewGrantModel = exports.ViewModel = exports.ViewBehaviorModel = exports.UniqueConstraintModel = exports.UniqueConstraintBehaviorModel = exports.TriggerFunctionModel = exports.TriggerModel = exports.TableGrantModel = exports.TableModel = exports.TableBehaviorModel = exports.SqlActionModel = exports.SpatialRelationModel = exports.SiteWebConfigModel = exports.SiteThemeModel = exports.SiteModuleModel = exports.SiteMetadatumModel = exports.SiteErrorPageModel = exports.SiteDeepLinkModel = exports.SiteModel = exports.SiteAppLinkModel = exports.SchemaGrantModel = exports.SchemaModel = exports.RouteModel = exports.RouteBindingModel = exports.RlsSettingModel = exports.PubkeySettingModel = exports.PrimaryKeyConstraintModel = void 0;
|
|
5
5
|
/**
|
|
6
6
|
* Models barrel export
|
|
7
7
|
* @generated by @constructive-io/graphql-codegen
|
|
8
8
|
* DO NOT EDIT - changes will be overwritten
|
|
9
9
|
*/
|
|
10
|
-
var api_1 = require("./api");
|
|
11
|
-
Object.defineProperty(exports, "ApiModel", { enumerable: true, get: function () { return api_1.ApiModel; } });
|
|
12
10
|
var apiSchema_1 = require("./apiSchema");
|
|
13
11
|
Object.defineProperty(exports, "ApiSchemaModel", { enumerable: true, get: function () { return apiSchema_1.ApiSchemaModel; } });
|
|
14
12
|
var apiSetting_1 = require("./apiSetting");
|
|
15
13
|
Object.defineProperty(exports, "ApiSettingModel", { enumerable: true, get: function () { return apiSetting_1.ApiSettingModel; } });
|
|
14
|
+
var apis_1 = require("./apis");
|
|
15
|
+
Object.defineProperty(exports, "ApisModel", { enumerable: true, get: function () { return apis_1.ApisModel; } });
|
|
16
16
|
var astMigration_1 = require("./astMigration");
|
|
17
17
|
Object.defineProperty(exports, "AstMigrationModel", { enumerable: true, get: function () { return astMigration_1.AstMigrationModel; } });
|
|
18
18
|
var checkConstraint_1 = require("./checkConstraint");
|
|
@@ -29,6 +29,8 @@ var databaseTransfer_1 = require("./databaseTransfer");
|
|
|
29
29
|
Object.defineProperty(exports, "DatabaseTransferModel", { enumerable: true, get: function () { return databaseTransfer_1.DatabaseTransferModel; } });
|
|
30
30
|
var defaultPrivilege_1 = require("./defaultPrivilege");
|
|
31
31
|
Object.defineProperty(exports, "DefaultPrivilegeModel", { enumerable: true, get: function () { return defaultPrivilege_1.DefaultPrivilegeModel; } });
|
|
32
|
+
var derive_1 = require("./derive");
|
|
33
|
+
Object.defineProperty(exports, "DeriveModel", { enumerable: true, get: function () { return derive_1.DeriveModel; } });
|
|
32
34
|
var domain_1 = require("./domain");
|
|
33
35
|
Object.defineProperty(exports, "DomainModel", { enumerable: true, get: function () { return domain_1.DomainModel; } });
|
|
34
36
|
var domainEvent_1 = require("./domainEvent");
|
|
@@ -43,8 +45,12 @@ var enum_1 = require("./enum");
|
|
|
43
45
|
Object.defineProperty(exports, "EnumModel", { enumerable: true, get: function () { return enum_1.EnumModel; } });
|
|
44
46
|
var exclusionConstraint_1 = require("./exclusionConstraint");
|
|
45
47
|
Object.defineProperty(exports, "ExclusionConstraintModel", { enumerable: true, get: function () { return exclusionConstraint_1.ExclusionConstraintModel; } });
|
|
48
|
+
var fieldBehavior_1 = require("./fieldBehavior");
|
|
49
|
+
Object.defineProperty(exports, "FieldBehaviorModel", { enumerable: true, get: function () { return fieldBehavior_1.FieldBehaviorModel; } });
|
|
46
50
|
var field_1 = require("./field");
|
|
47
51
|
Object.defineProperty(exports, "FieldModel", { enumerable: true, get: function () { return field_1.FieldModel; } });
|
|
52
|
+
var foreignKeyConstraintBehavior_1 = require("./foreignKeyConstraintBehavior");
|
|
53
|
+
Object.defineProperty(exports, "ForeignKeyConstraintBehaviorModel", { enumerable: true, get: function () { return foreignKeyConstraintBehavior_1.ForeignKeyConstraintBehaviorModel; } });
|
|
48
54
|
var foreignKeyConstraint_1 = require("./foreignKeyConstraint");
|
|
49
55
|
Object.defineProperty(exports, "ForeignKeyConstraintModel", { enumerable: true, get: function () { return foreignKeyConstraint_1.ForeignKeyConstraintModel; } });
|
|
50
56
|
var fullTextSearch_1 = require("./fullTextSearch");
|
|
@@ -61,14 +67,16 @@ var managedDomain_1 = require("./managedDomain");
|
|
|
61
67
|
Object.defineProperty(exports, "ManagedDomainModel", { enumerable: true, get: function () { return managedDomain_1.ManagedDomainModel; } });
|
|
62
68
|
var nodeTypeRegistry_1 = require("./nodeTypeRegistry");
|
|
63
69
|
Object.defineProperty(exports, "NodeTypeRegistryModel", { enumerable: true, get: function () { return nodeTypeRegistry_1.NodeTypeRegistryModel; } });
|
|
70
|
+
var page_1 = require("./page");
|
|
71
|
+
Object.defineProperty(exports, "PageModel", { enumerable: true, get: function () { return page_1.PageModel; } });
|
|
64
72
|
var partition_1 = require("./partition");
|
|
65
73
|
Object.defineProperty(exports, "PartitionModel", { enumerable: true, get: function () { return partition_1.PartitionModel; } });
|
|
66
|
-
var platformApi_1 = require("./platformApi");
|
|
67
|
-
Object.defineProperty(exports, "PlatformApiModel", { enumerable: true, get: function () { return platformApi_1.PlatformApiModel; } });
|
|
68
74
|
var platformApiSchema_1 = require("./platformApiSchema");
|
|
69
75
|
Object.defineProperty(exports, "PlatformApiSchemaModel", { enumerable: true, get: function () { return platformApiSchema_1.PlatformApiSchemaModel; } });
|
|
70
76
|
var platformApiSetting_1 = require("./platformApiSetting");
|
|
71
77
|
Object.defineProperty(exports, "PlatformApiSettingModel", { enumerable: true, get: function () { return platformApiSetting_1.PlatformApiSettingModel; } });
|
|
78
|
+
var platformApis_1 = require("./platformApis");
|
|
79
|
+
Object.defineProperty(exports, "PlatformApisModel", { enumerable: true, get: function () { return platformApis_1.PlatformApisModel; } });
|
|
72
80
|
var platformCorsSetting_1 = require("./platformCorsSetting");
|
|
73
81
|
Object.defineProperty(exports, "PlatformCorsSettingModel", { enumerable: true, get: function () { return platformCorsSetting_1.PlatformCorsSettingModel; } });
|
|
74
82
|
var platformDomain_1 = require("./platformDomain");
|
|
@@ -79,14 +87,24 @@ var platformDomainVerification_1 = require("./platformDomainVerification");
|
|
|
79
87
|
Object.defineProperty(exports, "PlatformDomainVerificationModel", { enumerable: true, get: function () { return platformDomainVerification_1.PlatformDomainVerificationModel; } });
|
|
80
88
|
var platformManagedDomain_1 = require("./platformManagedDomain");
|
|
81
89
|
Object.defineProperty(exports, "PlatformManagedDomainModel", { enumerable: true, get: function () { return platformManagedDomain_1.PlatformManagedDomainModel; } });
|
|
90
|
+
var platformPage_1 = require("./platformPage");
|
|
91
|
+
Object.defineProperty(exports, "PlatformPageModel", { enumerable: true, get: function () { return platformPage_1.PlatformPageModel; } });
|
|
92
|
+
var platformSiteAppLink_1 = require("./platformSiteAppLink");
|
|
93
|
+
Object.defineProperty(exports, "PlatformSiteAppLinkModel", { enumerable: true, get: function () { return platformSiteAppLink_1.PlatformSiteAppLinkModel; } });
|
|
82
94
|
var platformSite_1 = require("./platformSite");
|
|
83
95
|
Object.defineProperty(exports, "PlatformSiteModel", { enumerable: true, get: function () { return platformSite_1.PlatformSiteModel; } });
|
|
96
|
+
var platformSiteDeepLink_1 = require("./platformSiteDeepLink");
|
|
97
|
+
Object.defineProperty(exports, "PlatformSiteDeepLinkModel", { enumerable: true, get: function () { return platformSiteDeepLink_1.PlatformSiteDeepLinkModel; } });
|
|
98
|
+
var platformSiteErrorPage_1 = require("./platformSiteErrorPage");
|
|
99
|
+
Object.defineProperty(exports, "PlatformSiteErrorPageModel", { enumerable: true, get: function () { return platformSiteErrorPage_1.PlatformSiteErrorPageModel; } });
|
|
84
100
|
var platformSiteMetadatum_1 = require("./platformSiteMetadatum");
|
|
85
101
|
Object.defineProperty(exports, "PlatformSiteMetadatumModel", { enumerable: true, get: function () { return platformSiteMetadatum_1.PlatformSiteMetadatumModel; } });
|
|
86
102
|
var platformSiteModule_1 = require("./platformSiteModule");
|
|
87
103
|
Object.defineProperty(exports, "PlatformSiteModuleModel", { enumerable: true, get: function () { return platformSiteModule_1.PlatformSiteModuleModel; } });
|
|
88
104
|
var platformSiteTheme_1 = require("./platformSiteTheme");
|
|
89
105
|
Object.defineProperty(exports, "PlatformSiteThemeModel", { enumerable: true, get: function () { return platformSiteTheme_1.PlatformSiteThemeModel; } });
|
|
106
|
+
var platformSiteWebConfig_1 = require("./platformSiteWebConfig");
|
|
107
|
+
Object.defineProperty(exports, "PlatformSiteWebConfigModel", { enumerable: true, get: function () { return platformSiteWebConfig_1.PlatformSiteWebConfigModel; } });
|
|
90
108
|
var policy_1 = require("./policy");
|
|
91
109
|
Object.defineProperty(exports, "PolicyModel", { enumerable: true, get: function () { return policy_1.PolicyModel; } });
|
|
92
110
|
var primaryKeyConstraint_1 = require("./primaryKeyConstraint");
|
|
@@ -103,18 +121,28 @@ var schema_1 = require("./schema");
|
|
|
103
121
|
Object.defineProperty(exports, "SchemaModel", { enumerable: true, get: function () { return schema_1.SchemaModel; } });
|
|
104
122
|
var schemaGrant_1 = require("./schemaGrant");
|
|
105
123
|
Object.defineProperty(exports, "SchemaGrantModel", { enumerable: true, get: function () { return schemaGrant_1.SchemaGrantModel; } });
|
|
124
|
+
var siteAppLink_1 = require("./siteAppLink");
|
|
125
|
+
Object.defineProperty(exports, "SiteAppLinkModel", { enumerable: true, get: function () { return siteAppLink_1.SiteAppLinkModel; } });
|
|
106
126
|
var site_1 = require("./site");
|
|
107
127
|
Object.defineProperty(exports, "SiteModel", { enumerable: true, get: function () { return site_1.SiteModel; } });
|
|
128
|
+
var siteDeepLink_1 = require("./siteDeepLink");
|
|
129
|
+
Object.defineProperty(exports, "SiteDeepLinkModel", { enumerable: true, get: function () { return siteDeepLink_1.SiteDeepLinkModel; } });
|
|
130
|
+
var siteErrorPage_1 = require("./siteErrorPage");
|
|
131
|
+
Object.defineProperty(exports, "SiteErrorPageModel", { enumerable: true, get: function () { return siteErrorPage_1.SiteErrorPageModel; } });
|
|
108
132
|
var siteMetadatum_1 = require("./siteMetadatum");
|
|
109
133
|
Object.defineProperty(exports, "SiteMetadatumModel", { enumerable: true, get: function () { return siteMetadatum_1.SiteMetadatumModel; } });
|
|
110
134
|
var siteModule_1 = require("./siteModule");
|
|
111
135
|
Object.defineProperty(exports, "SiteModuleModel", { enumerable: true, get: function () { return siteModule_1.SiteModuleModel; } });
|
|
112
136
|
var siteTheme_1 = require("./siteTheme");
|
|
113
137
|
Object.defineProperty(exports, "SiteThemeModel", { enumerable: true, get: function () { return siteTheme_1.SiteThemeModel; } });
|
|
138
|
+
var siteWebConfig_1 = require("./siteWebConfig");
|
|
139
|
+
Object.defineProperty(exports, "SiteWebConfigModel", { enumerable: true, get: function () { return siteWebConfig_1.SiteWebConfigModel; } });
|
|
114
140
|
var spatialRelation_1 = require("./spatialRelation");
|
|
115
141
|
Object.defineProperty(exports, "SpatialRelationModel", { enumerable: true, get: function () { return spatialRelation_1.SpatialRelationModel; } });
|
|
116
142
|
var sqlAction_1 = require("./sqlAction");
|
|
117
143
|
Object.defineProperty(exports, "SqlActionModel", { enumerable: true, get: function () { return sqlAction_1.SqlActionModel; } });
|
|
144
|
+
var tableBehavior_1 = require("./tableBehavior");
|
|
145
|
+
Object.defineProperty(exports, "TableBehaviorModel", { enumerable: true, get: function () { return tableBehavior_1.TableBehaviorModel; } });
|
|
118
146
|
var table_1 = require("./table");
|
|
119
147
|
Object.defineProperty(exports, "TableModel", { enumerable: true, get: function () { return table_1.TableModel; } });
|
|
120
148
|
var tableGrant_1 = require("./tableGrant");
|
|
@@ -123,8 +151,12 @@ var trigger_1 = require("./trigger");
|
|
|
123
151
|
Object.defineProperty(exports, "TriggerModel", { enumerable: true, get: function () { return trigger_1.TriggerModel; } });
|
|
124
152
|
var triggerFunction_1 = require("./triggerFunction");
|
|
125
153
|
Object.defineProperty(exports, "TriggerFunctionModel", { enumerable: true, get: function () { return triggerFunction_1.TriggerFunctionModel; } });
|
|
154
|
+
var uniqueConstraintBehavior_1 = require("./uniqueConstraintBehavior");
|
|
155
|
+
Object.defineProperty(exports, "UniqueConstraintBehaviorModel", { enumerable: true, get: function () { return uniqueConstraintBehavior_1.UniqueConstraintBehaviorModel; } });
|
|
126
156
|
var uniqueConstraint_1 = require("./uniqueConstraint");
|
|
127
157
|
Object.defineProperty(exports, "UniqueConstraintModel", { enumerable: true, get: function () { return uniqueConstraint_1.UniqueConstraintModel; } });
|
|
158
|
+
var viewBehavior_1 = require("./viewBehavior");
|
|
159
|
+
Object.defineProperty(exports, "ViewBehaviorModel", { enumerable: true, get: function () { return viewBehavior_1.ViewBehaviorModel; } });
|
|
128
160
|
var view_1 = require("./view");
|
|
129
161
|
Object.defineProperty(exports, "ViewModel", { enumerable: true, get: function () { return view_1.ViewModel; } });
|
|
130
162
|
var viewGrant_1 = require("./viewGrant");
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Page 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 { PageWithRelations, PageSelect, PageFilter, PageOrderBy, CreatePageInput, PagePatch } from '../input-types';
|
|
10
|
+
export declare class PageModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PageSelect>(args: FindManyArgs<S, PageFilter, PageOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PageSelect>): QueryBuilder<{
|
|
16
|
+
pages: ConnectionResult<InferSelectResult<PageWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PageSelect>(args: FindFirstArgs<S, PageFilter, PageOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PageSelect>): QueryBuilder<{
|
|
21
|
+
page: InferSelectResult<PageWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PageSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PageSelect>): QueryBuilder<{
|
|
27
|
+
page: InferSelectResult<PageWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PageSelect>(args: CreateArgs<S, CreatePageInput['page']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PageSelect>): QueryBuilder<{
|
|
32
|
+
createPage: {
|
|
33
|
+
page: InferSelectResult<PageWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PageSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PagePatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PageSelect>): QueryBuilder<{
|
|
41
|
+
updatePage: {
|
|
42
|
+
page: InferSelectResult<PageWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PageSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PageSelect>): QueryBuilder<{
|
|
50
|
+
deletePage: {
|
|
51
|
+
page: InferSelectResult<PageWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PageModel = void 0;
|
|
4
|
+
const query_builder_1 = require("../query-builder");
|
|
5
|
+
const input_types_1 = require("../input-types");
|
|
6
|
+
class PageModel {
|
|
7
|
+
client;
|
|
8
|
+
constructor(client) {
|
|
9
|
+
this.client = client;
|
|
10
|
+
}
|
|
11
|
+
findMany(args) {
|
|
12
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Page', 'pages', args.select, {
|
|
13
|
+
where: args?.where,
|
|
14
|
+
orderBy: args?.orderBy,
|
|
15
|
+
first: args?.first,
|
|
16
|
+
last: args?.last,
|
|
17
|
+
after: args?.after,
|
|
18
|
+
before: args?.before,
|
|
19
|
+
offset: args?.offset,
|
|
20
|
+
}, 'PageFilter', 'PageOrderBy', input_types_1.connectionFieldsMap);
|
|
21
|
+
return new query_builder_1.QueryBuilder({
|
|
22
|
+
client: this.client,
|
|
23
|
+
operation: 'query',
|
|
24
|
+
operationName: 'Page',
|
|
25
|
+
fieldName: 'pages',
|
|
26
|
+
document,
|
|
27
|
+
variables,
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
findFirst(args) {
|
|
31
|
+
const { document, variables } = (0, query_builder_1.buildFindFirstDocument)('Page', 'pages', args.select, {
|
|
32
|
+
where: args?.where,
|
|
33
|
+
orderBy: args?.orderBy,
|
|
34
|
+
}, 'PageFilter', 'PageOrderBy', input_types_1.connectionFieldsMap);
|
|
35
|
+
return new query_builder_1.QueryBuilder({
|
|
36
|
+
client: this.client,
|
|
37
|
+
operation: 'query',
|
|
38
|
+
operationName: 'Page',
|
|
39
|
+
fieldName: 'page',
|
|
40
|
+
document,
|
|
41
|
+
variables,
|
|
42
|
+
transform: (data) => ({
|
|
43
|
+
page: data.pages?.nodes?.[0] ?? null,
|
|
44
|
+
}),
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
findOne(args) {
|
|
48
|
+
const { document, variables } = (0, query_builder_1.buildFindManyDocument)('Page', 'pages', args.select, {
|
|
49
|
+
where: {
|
|
50
|
+
id: {
|
|
51
|
+
equalTo: args.id,
|
|
52
|
+
},
|
|
53
|
+
},
|
|
54
|
+
first: 1,
|
|
55
|
+
}, 'PageFilter', 'PageOrderBy', input_types_1.connectionFieldsMap);
|
|
56
|
+
return new query_builder_1.QueryBuilder({
|
|
57
|
+
client: this.client,
|
|
58
|
+
operation: 'query',
|
|
59
|
+
operationName: 'Page',
|
|
60
|
+
fieldName: 'page',
|
|
61
|
+
document,
|
|
62
|
+
variables,
|
|
63
|
+
transform: (data) => ({
|
|
64
|
+
page: data.pages?.nodes?.[0] ?? null,
|
|
65
|
+
}),
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
create(args) {
|
|
69
|
+
const { document, variables } = (0, query_builder_1.buildCreateDocument)('Page', 'createPage', 'page', args.select, args.data, 'CreatePageInput', input_types_1.connectionFieldsMap);
|
|
70
|
+
return new query_builder_1.QueryBuilder({
|
|
71
|
+
client: this.client,
|
|
72
|
+
operation: 'mutation',
|
|
73
|
+
operationName: 'Page',
|
|
74
|
+
fieldName: 'createPage',
|
|
75
|
+
document,
|
|
76
|
+
variables,
|
|
77
|
+
});
|
|
78
|
+
}
|
|
79
|
+
update(args) {
|
|
80
|
+
const { document, variables } = (0, query_builder_1.buildUpdateByPkDocument)('Page', 'updatePage', 'page', args.select, args.where.id, args.data, 'UpdatePageInput', 'id', 'pagePatch', input_types_1.connectionFieldsMap, undefined);
|
|
81
|
+
return new query_builder_1.QueryBuilder({
|
|
82
|
+
client: this.client,
|
|
83
|
+
operation: 'mutation',
|
|
84
|
+
operationName: 'Page',
|
|
85
|
+
fieldName: 'updatePage',
|
|
86
|
+
document,
|
|
87
|
+
variables,
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
delete(args) {
|
|
91
|
+
const { document, variables } = (0, query_builder_1.buildDeleteByPkDocument)('Page', 'deletePage', 'page', {
|
|
92
|
+
id: args.where.id,
|
|
93
|
+
}, 'DeletePageInput', args.select, input_types_1.connectionFieldsMap);
|
|
94
|
+
return new query_builder_1.QueryBuilder({
|
|
95
|
+
client: this.client,
|
|
96
|
+
operation: 'mutation',
|
|
97
|
+
operationName: 'Page',
|
|
98
|
+
fieldName: 'deletePage',
|
|
99
|
+
document,
|
|
100
|
+
variables,
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
exports.PageModel = PageModel;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* PlatformApis 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 { PlatformApisWithRelations, PlatformApisSelect, PlatformApisFilter, PlatformApisOrderBy, CreatePlatformApisInput, PlatformApisPatch } from '../input-types';
|
|
10
|
+
export declare class PlatformApisModel {
|
|
11
|
+
private client;
|
|
12
|
+
constructor(client: OrmClient);
|
|
13
|
+
findMany<S extends PlatformApisSelect>(args: FindManyArgs<S, PlatformApisFilter, PlatformApisOrderBy> & {
|
|
14
|
+
select: S;
|
|
15
|
+
} & StrictSelect<S, PlatformApisSelect>): QueryBuilder<{
|
|
16
|
+
platformApises: ConnectionResult<InferSelectResult<PlatformApisWithRelations, S>>;
|
|
17
|
+
}>;
|
|
18
|
+
findFirst<S extends PlatformApisSelect>(args: FindFirstArgs<S, PlatformApisFilter, PlatformApisOrderBy> & {
|
|
19
|
+
select: S;
|
|
20
|
+
} & StrictSelect<S, PlatformApisSelect>): QueryBuilder<{
|
|
21
|
+
platformApis: InferSelectResult<PlatformApisWithRelations, S> | null;
|
|
22
|
+
}>;
|
|
23
|
+
findOne<S extends PlatformApisSelect>(args: {
|
|
24
|
+
id: string;
|
|
25
|
+
select: S;
|
|
26
|
+
} & StrictSelect<S, PlatformApisSelect>): QueryBuilder<{
|
|
27
|
+
platformApis: InferSelectResult<PlatformApisWithRelations, S> | null;
|
|
28
|
+
}>;
|
|
29
|
+
create<S extends PlatformApisSelect>(args: CreateArgs<S, CreatePlatformApisInput['platformApis']> & {
|
|
30
|
+
select: S;
|
|
31
|
+
} & StrictSelect<S, PlatformApisSelect>): QueryBuilder<{
|
|
32
|
+
createPlatformApis: {
|
|
33
|
+
platformApis: InferSelectResult<PlatformApisWithRelations, S>;
|
|
34
|
+
};
|
|
35
|
+
}>;
|
|
36
|
+
update<S extends PlatformApisSelect>(args: UpdateArgs<S, {
|
|
37
|
+
id: string;
|
|
38
|
+
}, PlatformApisPatch> & {
|
|
39
|
+
select: S;
|
|
40
|
+
} & StrictSelect<S, PlatformApisSelect>): QueryBuilder<{
|
|
41
|
+
updatePlatformApis: {
|
|
42
|
+
platformApis: InferSelectResult<PlatformApisWithRelations, S>;
|
|
43
|
+
};
|
|
44
|
+
}>;
|
|
45
|
+
delete<S extends PlatformApisSelect>(args: DeleteArgs<{
|
|
46
|
+
id: string;
|
|
47
|
+
}, S> & {
|
|
48
|
+
select: S;
|
|
49
|
+
} & StrictSelect<S, PlatformApisSelect>): QueryBuilder<{
|
|
50
|
+
deletePlatformApis: {
|
|
51
|
+
platformApis: InferSelectResult<PlatformApisWithRelations, S>;
|
|
52
|
+
};
|
|
53
|
+
}>;
|
|
54
|
+
}
|