@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,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom error pages for a site surface, keyed by HTTP status code
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.platformSiteErrorPagesQueryKey = void 0;
|
|
9
|
+
exports.usePlatformSiteErrorPagesQuery = usePlatformSiteErrorPagesQuery;
|
|
10
|
+
exports.fetchPlatformSiteErrorPagesQuery = fetchPlatformSiteErrorPagesQuery;
|
|
11
|
+
exports.prefetchPlatformSiteErrorPagesQuery = prefetchPlatformSiteErrorPagesQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.platformSiteErrorPagesQueryKey = query_keys_1.platformSiteErrorPageKeys.list;
|
|
18
|
+
function usePlatformSiteErrorPagesQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.platformSiteErrorPageKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().platformSiteErrorPage.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchPlatformSiteErrorPagesQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().platformSiteErrorPage.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchPlatformSiteErrorPagesQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.platformSiteErrorPageKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().platformSiteErrorPage.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
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 { PlatformSiteWebConfigSelect, PlatformSiteWebConfigWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { PlatformSiteWebConfigSelect, PlatformSiteWebConfigWithRelations, } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const platformSiteWebConfigQueryKey: (id: string | number) => readonly ["platformsitewebconfig", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = usePlatformSiteWebConfigQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function usePlatformSiteWebConfigQuery<S extends PlatformSiteWebConfigSelect, TData = {
|
|
24
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, PlatformSiteWebConfigSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchPlatformSiteWebConfigQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchPlatformSiteWebConfigQuery<S extends PlatformSiteWebConfigSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, PlatformSiteWebConfigSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
platformSiteWebConfig: InferSelectResult<PlatformSiteWebConfigWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchPlatformSiteWebConfigQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchPlatformSiteWebConfigQuery<S extends PlatformSiteWebConfigSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, PlatformSiteWebConfigSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.platformSiteWebConfigQueryKey = void 0;
|
|
9
|
+
exports.usePlatformSiteWebConfigQuery = usePlatformSiteWebConfigQuery;
|
|
10
|
+
exports.fetchPlatformSiteWebConfigQuery = fetchPlatformSiteWebConfigQuery;
|
|
11
|
+
exports.prefetchPlatformSiteWebConfigQuery = prefetchPlatformSiteWebConfigQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.platformSiteWebConfigQueryKey = query_keys_1.platformSiteWebConfigKeys.detail;
|
|
18
|
+
function usePlatformSiteWebConfigQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.platformSiteWebConfigKeys.detail(params.id),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)()
|
|
25
|
+
.platformSiteWebConfig.findOne({
|
|
26
|
+
id: params.id,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
...queryOptions,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function fetchPlatformSiteWebConfigQuery(params) {
|
|
34
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
+
return (0, client_1.getClient)()
|
|
36
|
+
.platformSiteWebConfig.findOne({
|
|
37
|
+
id: params.id,
|
|
38
|
+
select: args.select,
|
|
39
|
+
})
|
|
40
|
+
.unwrap();
|
|
41
|
+
}
|
|
42
|
+
async function prefetchPlatformSiteWebConfigQuery(queryClient, params) {
|
|
43
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
+
await queryClient.prefetchQuery({
|
|
45
|
+
queryKey: query_keys_1.platformSiteWebConfigKeys.detail(params.id),
|
|
46
|
+
queryFn: () => (0, client_1.getClient)()
|
|
47
|
+
.platformSiteWebConfig.findOne({
|
|
48
|
+
id: params.id,
|
|
49
|
+
select: args.select,
|
|
50
|
+
})
|
|
51
|
+
.unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
+
import type { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { PlatformSiteWebConfigSelect, PlatformSiteWebConfigWithRelations, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { PlatformSiteWebConfigSelect, PlatformSiteWebConfigWithRelations, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const platformSiteWebConfigsQueryKey: (variables?: object) => readonly ["platformsitewebconfig", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = usePlatformSiteWebConfigsQuery({
|
|
19
|
+
* selection: {
|
|
20
|
+
* fields: { id: true, name: true },
|
|
21
|
+
* where: { name: { equalTo: "example" } },
|
|
22
|
+
* orderBy: ['CREATED_AT_DESC'],
|
|
23
|
+
* first: 10,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function usePlatformSiteWebConfigsQuery<S extends PlatformSiteWebConfigSelect, TData = {
|
|
29
|
+
platformSiteWebConfigs: ConnectionResult<InferSelectResult<PlatformSiteWebConfigWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformSiteWebConfigSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
platformSiteWebConfigs: ConnectionResult<InferSelectResult<PlatformSiteWebConfigWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchPlatformSiteWebConfigsQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchPlatformSiteWebConfigsQuery<S extends PlatformSiteWebConfigSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformSiteWebConfigSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
platformSiteWebConfigs: ConnectionResult<InferSelectResult<PlatformSiteWebConfigWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchPlatformSiteWebConfigsQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchPlatformSiteWebConfigsQuery<S extends PlatformSiteWebConfigSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, PlatformSiteWebConfigFilter, PlatformSiteWebConfigOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, PlatformSiteWebConfigSelect>;
|
|
69
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Static-site serving configuration for a site surface (index document, clean URLs, SPA fallback)
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.platformSiteWebConfigsQueryKey = void 0;
|
|
9
|
+
exports.usePlatformSiteWebConfigsQuery = usePlatformSiteWebConfigsQuery;
|
|
10
|
+
exports.fetchPlatformSiteWebConfigsQuery = fetchPlatformSiteWebConfigsQuery;
|
|
11
|
+
exports.prefetchPlatformSiteWebConfigsQuery = prefetchPlatformSiteWebConfigsQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.platformSiteWebConfigsQueryKey = query_keys_1.platformSiteWebConfigKeys.list;
|
|
18
|
+
function usePlatformSiteWebConfigsQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.platformSiteWebConfigKeys.list(args),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)().platformSiteWebConfig.findMany(args).unwrap(),
|
|
25
|
+
...queryOptions,
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
async function fetchPlatformSiteWebConfigsQuery(params) {
|
|
29
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
30
|
+
return (0, client_1.getClient)().platformSiteWebConfig.findMany(args).unwrap();
|
|
31
|
+
}
|
|
32
|
+
async function prefetchPlatformSiteWebConfigsQuery(queryClient, params) {
|
|
33
|
+
const args = (0, selection_1.buildListSelectionArgs)(params.selection);
|
|
34
|
+
await queryClient.prefetchQuery({
|
|
35
|
+
queryKey: query_keys_1.platformSiteWebConfigKeys.list(args),
|
|
36
|
+
queryFn: () => (0, client_1.getClient)().platformSiteWebConfig.findMany(args).unwrap(),
|
|
37
|
+
});
|
|
38
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query hook for resolveDeepLink
|
|
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 { ResolveDeepLinkVariables } from '../../orm/query';
|
|
8
|
+
export type { ResolveDeepLinkVariables } from '../../orm/query';
|
|
9
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
10
|
+
export declare const resolveDeepLinkQueryKey: (variables?: object) => readonly ["resolveDeepLink", object];
|
|
11
|
+
/**
|
|
12
|
+
* Query hook for resolveDeepLink
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const { data, isLoading } = useResolveDeepLinkQuery({ variables: { linkSlug, targetSiteId } });
|
|
17
|
+
*
|
|
18
|
+
* if (data?.resolveDeepLink) {
|
|
19
|
+
* console.log(data.resolveDeepLink);
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useResolveDeepLinkQuery<TData = {
|
|
24
|
+
resolveDeepLink: unknown | null;
|
|
25
|
+
}>(params?: {
|
|
26
|
+
variables?: ResolveDeepLinkVariables;
|
|
27
|
+
} & Omit<UseQueryOptions<{
|
|
28
|
+
resolveDeepLink: unknown | null;
|
|
29
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
30
|
+
/**
|
|
31
|
+
* Fetch resolveDeepLink without React hooks
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const data = await fetchResolveDeepLinkQuery({ variables: { linkSlug, targetSiteId } });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare function fetchResolveDeepLinkQuery(params?: {
|
|
39
|
+
variables?: ResolveDeepLinkVariables;
|
|
40
|
+
}): Promise<{
|
|
41
|
+
resolveDeepLink: unknown | null;
|
|
42
|
+
}>;
|
|
43
|
+
/**
|
|
44
|
+
* Prefetch resolveDeepLink for SSR or cache warming
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* await prefetchResolveDeepLinkQuery(queryClient, { variables: { linkSlug, targetSiteId } });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare function prefetchResolveDeepLinkQuery(queryClient: QueryClient, params?: {
|
|
52
|
+
variables?: ResolveDeepLinkVariables;
|
|
53
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom query hook for resolveDeepLink
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.resolveDeepLinkQueryKey = void 0;
|
|
9
|
+
exports.useResolveDeepLinkQuery = useResolveDeepLinkQuery;
|
|
10
|
+
exports.fetchResolveDeepLinkQuery = fetchResolveDeepLinkQuery;
|
|
11
|
+
exports.prefetchResolveDeepLinkQuery = prefetchResolveDeepLinkQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const query_keys_1 = require("../query-keys");
|
|
15
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
16
|
+
exports.resolveDeepLinkQueryKey = query_keys_1.customQueryKeys.resolveDeepLink;
|
|
17
|
+
function useResolveDeepLinkQuery(params) {
|
|
18
|
+
const variables = params?.variables ?? {};
|
|
19
|
+
const { variables: _variables, ...queryOptions } = params ?? {};
|
|
20
|
+
void _variables;
|
|
21
|
+
return (0, react_query_1.useQuery)({
|
|
22
|
+
queryKey: (0, exports.resolveDeepLinkQueryKey)(variables),
|
|
23
|
+
queryFn: () => (0, client_1.getClient)().query.resolveDeepLink(variables).unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Fetch resolveDeepLink without React hooks
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const data = await fetchResolveDeepLinkQuery({ variables: { linkSlug, targetSiteId } });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
async function fetchResolveDeepLinkQuery(params) {
|
|
36
|
+
const variables = params?.variables ?? {};
|
|
37
|
+
return (0, client_1.getClient)().query.resolveDeepLink(variables).unwrap();
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Prefetch resolveDeepLink for SSR or cache warming
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* await prefetchResolveDeepLinkQuery(queryClient, { variables: { linkSlug, targetSiteId } });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
async function prefetchResolveDeepLinkQuery(queryClient, params) {
|
|
48
|
+
const variables = params?.variables ?? {};
|
|
49
|
+
await queryClient.prefetchQuery({
|
|
50
|
+
queryKey: (0, exports.resolveDeepLinkQueryKey)(variables),
|
|
51
|
+
queryFn: () => (0, client_1.getClient)().query.resolveDeepLink(variables).unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom query hook for resolveSiteAppLinks
|
|
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 { ResolveSiteAppLinksVariables } from '../../orm/query';
|
|
8
|
+
export type { ResolveSiteAppLinksVariables } from '../../orm/query';
|
|
9
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
10
|
+
export declare const resolveSiteAppLinksQueryKey: (variables?: object) => readonly ["resolveSiteAppLinks", object];
|
|
11
|
+
/**
|
|
12
|
+
* Query hook for resolveSiteAppLinks
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* const { data, isLoading } = useResolveSiteAppLinksQuery({ variables: { targetSiteId } });
|
|
17
|
+
*
|
|
18
|
+
* if (data?.resolveSiteAppLinks) {
|
|
19
|
+
* console.log(data.resolveSiteAppLinks);
|
|
20
|
+
* }
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useResolveSiteAppLinksQuery<TData = {
|
|
24
|
+
resolveSiteAppLinks: unknown | null;
|
|
25
|
+
}>(params?: {
|
|
26
|
+
variables?: ResolveSiteAppLinksVariables;
|
|
27
|
+
} & Omit<UseQueryOptions<{
|
|
28
|
+
resolveSiteAppLinks: unknown | null;
|
|
29
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
30
|
+
/**
|
|
31
|
+
* Fetch resolveSiteAppLinks without React hooks
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* const data = await fetchResolveSiteAppLinksQuery({ variables: { targetSiteId } });
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare function fetchResolveSiteAppLinksQuery(params?: {
|
|
39
|
+
variables?: ResolveSiteAppLinksVariables;
|
|
40
|
+
}): Promise<{
|
|
41
|
+
resolveSiteAppLinks: unknown | null;
|
|
42
|
+
}>;
|
|
43
|
+
/**
|
|
44
|
+
* Prefetch resolveSiteAppLinks for SSR or cache warming
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* await prefetchResolveSiteAppLinksQuery(queryClient, { variables: { targetSiteId } });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export declare function prefetchResolveSiteAppLinksQuery(queryClient: QueryClient, params?: {
|
|
52
|
+
variables?: ResolveSiteAppLinksVariables;
|
|
53
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom query hook for resolveSiteAppLinks
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.resolveSiteAppLinksQueryKey = void 0;
|
|
9
|
+
exports.useResolveSiteAppLinksQuery = useResolveSiteAppLinksQuery;
|
|
10
|
+
exports.fetchResolveSiteAppLinksQuery = fetchResolveSiteAppLinksQuery;
|
|
11
|
+
exports.prefetchResolveSiteAppLinksQuery = prefetchResolveSiteAppLinksQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const query_keys_1 = require("../query-keys");
|
|
15
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
16
|
+
exports.resolveSiteAppLinksQueryKey = query_keys_1.customQueryKeys.resolveSiteAppLinks;
|
|
17
|
+
function useResolveSiteAppLinksQuery(params) {
|
|
18
|
+
const variables = params?.variables ?? {};
|
|
19
|
+
const { variables: _variables, ...queryOptions } = params ?? {};
|
|
20
|
+
void _variables;
|
|
21
|
+
return (0, react_query_1.useQuery)({
|
|
22
|
+
queryKey: (0, exports.resolveSiteAppLinksQueryKey)(variables),
|
|
23
|
+
queryFn: () => (0, client_1.getClient)().query.resolveSiteAppLinks(variables).unwrap(),
|
|
24
|
+
...queryOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Fetch resolveSiteAppLinks without React hooks
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```ts
|
|
32
|
+
* const data = await fetchResolveSiteAppLinksQuery({ variables: { targetSiteId } });
|
|
33
|
+
* ```
|
|
34
|
+
*/
|
|
35
|
+
async function fetchResolveSiteAppLinksQuery(params) {
|
|
36
|
+
const variables = params?.variables ?? {};
|
|
37
|
+
return (0, client_1.getClient)().query.resolveSiteAppLinks(variables).unwrap();
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* Prefetch resolveSiteAppLinks for SSR or cache warming
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* ```ts
|
|
44
|
+
* await prefetchResolveSiteAppLinksQuery(queryClient, { variables: { targetSiteId } });
|
|
45
|
+
* ```
|
|
46
|
+
*/
|
|
47
|
+
async function prefetchResolveSiteAppLinksQuery(queryClient, params) {
|
|
48
|
+
const variables = params?.variables ?? {};
|
|
49
|
+
await queryClient.prefetchQuery({
|
|
50
|
+
queryKey: (0, exports.resolveSiteAppLinksQueryKey)(variables),
|
|
51
|
+
queryFn: () => (0, client_1.getClient)().query.resolveSiteAppLinks(variables).unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
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 { SiteAppLinkSelect, SiteAppLinkWithRelations } from '../../orm/input-types';
|
|
8
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
9
|
+
export type { SiteAppLinkSelect, SiteAppLinkWithRelations } from '../../orm/input-types';
|
|
10
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
11
|
+
export declare const siteAppLinkQueryKey: (id: string | number) => readonly ["siteapplink", "detail", string | number];
|
|
12
|
+
/**
|
|
13
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```tsx
|
|
17
|
+
* const { data, isLoading } = useSiteAppLinkQuery({
|
|
18
|
+
* id: 'some-id',
|
|
19
|
+
* selection: { fields: { id: true, name: true } },
|
|
20
|
+
* });
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
export declare function useSiteAppLinkQuery<S extends SiteAppLinkSelect, TData = {
|
|
24
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S> | null;
|
|
25
|
+
}>(params: {
|
|
26
|
+
id: string;
|
|
27
|
+
selection: {
|
|
28
|
+
fields: S;
|
|
29
|
+
} & HookStrictSelect<NoInfer<S>, SiteAppLinkSelect>;
|
|
30
|
+
} & Omit<UseQueryOptions<{
|
|
31
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S> | null;
|
|
32
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
33
|
+
/**
|
|
34
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* ```ts
|
|
38
|
+
* const data = await fetchSiteAppLinkQuery({
|
|
39
|
+
* id: 'some-id',
|
|
40
|
+
* selection: { fields: { id: true } },
|
|
41
|
+
* });
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
export declare function fetchSiteAppLinkQuery<S extends SiteAppLinkSelect>(params: {
|
|
45
|
+
id: string;
|
|
46
|
+
selection: {
|
|
47
|
+
fields: S;
|
|
48
|
+
} & HookStrictSelect<NoInfer<S>, SiteAppLinkSelect>;
|
|
49
|
+
}): Promise<{
|
|
50
|
+
siteAppLink: InferSelectResult<SiteAppLinkWithRelations, S> | null;
|
|
51
|
+
}>;
|
|
52
|
+
/**
|
|
53
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* ```ts
|
|
57
|
+
* await prefetchSiteAppLinkQuery(queryClient, { id: 'some-id', selection: { fields: { id: true } } });
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function prefetchSiteAppLinkQuery<S extends SiteAppLinkSelect>(queryClient: QueryClient, params: {
|
|
61
|
+
id: string;
|
|
62
|
+
selection: {
|
|
63
|
+
fields: S;
|
|
64
|
+
} & HookStrictSelect<NoInfer<S>, SiteAppLinkSelect>;
|
|
65
|
+
}): Promise<void>;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.siteAppLinkQueryKey = void 0;
|
|
9
|
+
exports.useSiteAppLinkQuery = useSiteAppLinkQuery;
|
|
10
|
+
exports.fetchSiteAppLinkQuery = fetchSiteAppLinkQuery;
|
|
11
|
+
exports.prefetchSiteAppLinkQuery = prefetchSiteAppLinkQuery;
|
|
12
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
13
|
+
const client_1 = require("../client");
|
|
14
|
+
const selection_1 = require("../selection");
|
|
15
|
+
const query_keys_1 = require("../query-keys");
|
|
16
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
17
|
+
exports.siteAppLinkQueryKey = query_keys_1.siteAppLinkKeys.detail;
|
|
18
|
+
function useSiteAppLinkQuery(params) {
|
|
19
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
20
|
+
const { selection: _selection, ...queryOptions } = params ?? {};
|
|
21
|
+
void _selection;
|
|
22
|
+
return (0, react_query_1.useQuery)({
|
|
23
|
+
queryKey: query_keys_1.siteAppLinkKeys.detail(params.id),
|
|
24
|
+
queryFn: () => (0, client_1.getClient)()
|
|
25
|
+
.siteAppLink.findOne({
|
|
26
|
+
id: params.id,
|
|
27
|
+
select: args.select,
|
|
28
|
+
})
|
|
29
|
+
.unwrap(),
|
|
30
|
+
...queryOptions,
|
|
31
|
+
});
|
|
32
|
+
}
|
|
33
|
+
async function fetchSiteAppLinkQuery(params) {
|
|
34
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
35
|
+
return (0, client_1.getClient)()
|
|
36
|
+
.siteAppLink.findOne({
|
|
37
|
+
id: params.id,
|
|
38
|
+
select: args.select,
|
|
39
|
+
})
|
|
40
|
+
.unwrap();
|
|
41
|
+
}
|
|
42
|
+
async function prefetchSiteAppLinkQuery(queryClient, params) {
|
|
43
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
44
|
+
await queryClient.prefetchQuery({
|
|
45
|
+
queryKey: query_keys_1.siteAppLinkKeys.detail(params.id),
|
|
46
|
+
queryFn: () => (0, client_1.getClient)()
|
|
47
|
+
.siteAppLink.findOne({
|
|
48
|
+
id: params.id,
|
|
49
|
+
select: args.select,
|
|
50
|
+
})
|
|
51
|
+
.unwrap(),
|
|
52
|
+
});
|
|
53
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseQueryOptions, UseQueryResult, QueryClient } from '@tanstack/react-query';
|
|
7
|
+
import type { ListSelectionConfig } from '../selection';
|
|
8
|
+
import type { SiteAppLinkSelect, SiteAppLinkWithRelations, SiteAppLinkFilter, SiteAppLinkOrderBy } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, ConnectionResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { SiteAppLinkSelect, SiteAppLinkWithRelations, SiteAppLinkFilter, SiteAppLinkOrderBy, } from '../../orm/input-types';
|
|
11
|
+
/** Query key factory - re-exported from query-keys.ts */
|
|
12
|
+
export declare const siteAppLinksQueryKey: (variables?: object) => readonly ["siteapplink", "list", object];
|
|
13
|
+
/**
|
|
14
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```tsx
|
|
18
|
+
* const { data, isLoading } = useSiteAppLinksQuery({
|
|
19
|
+
* selection: {
|
|
20
|
+
* fields: { id: true, name: true },
|
|
21
|
+
* where: { name: { equalTo: "example" } },
|
|
22
|
+
* orderBy: ['CREATED_AT_DESC'],
|
|
23
|
+
* first: 10,
|
|
24
|
+
* },
|
|
25
|
+
* });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare function useSiteAppLinksQuery<S extends SiteAppLinkSelect, TData = {
|
|
29
|
+
siteAppLinks: ConnectionResult<InferSelectResult<SiteAppLinkWithRelations, S>>;
|
|
30
|
+
}>(params: {
|
|
31
|
+
selection: {
|
|
32
|
+
fields: S;
|
|
33
|
+
} & Omit<ListSelectionConfig<S, SiteAppLinkFilter, SiteAppLinkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteAppLinkSelect>;
|
|
34
|
+
} & Omit<UseQueryOptions<{
|
|
35
|
+
siteAppLinks: ConnectionResult<InferSelectResult<SiteAppLinkWithRelations, S>>;
|
|
36
|
+
}, Error, TData>, 'queryKey' | 'queryFn'>): UseQueryResult<TData>;
|
|
37
|
+
/**
|
|
38
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
39
|
+
*
|
|
40
|
+
* @example
|
|
41
|
+
* ```ts
|
|
42
|
+
* const data = await fetchSiteAppLinksQuery({
|
|
43
|
+
* selection: {
|
|
44
|
+
* fields: { id: true },
|
|
45
|
+
* first: 10,
|
|
46
|
+
* },
|
|
47
|
+
* });
|
|
48
|
+
* ```
|
|
49
|
+
*/
|
|
50
|
+
export declare function fetchSiteAppLinksQuery<S extends SiteAppLinkSelect>(params: {
|
|
51
|
+
selection: {
|
|
52
|
+
fields: S;
|
|
53
|
+
} & Omit<ListSelectionConfig<S, SiteAppLinkFilter, SiteAppLinkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteAppLinkSelect>;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
siteAppLinks: ConnectionResult<InferSelectResult<SiteAppLinkWithRelations, S>>;
|
|
56
|
+
}>;
|
|
57
|
+
/**
|
|
58
|
+
* Native-app deep-link association metadata for a site surface (feeds AASA / assetlinks.json generation)
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* await prefetchSiteAppLinksQuery(queryClient, { selection: { fields: { id: true }, first: 10 } });
|
|
63
|
+
* ```
|
|
64
|
+
*/
|
|
65
|
+
export declare function prefetchSiteAppLinksQuery<S extends SiteAppLinkSelect>(queryClient: QueryClient, params: {
|
|
66
|
+
selection: {
|
|
67
|
+
fields: S;
|
|
68
|
+
} & Omit<ListSelectionConfig<S, SiteAppLinkFilter, SiteAppLinkOrderBy>, 'fields'> & HookStrictSelect<NoInfer<S>, SiteAppLinkSelect>;
|
|
69
|
+
}): Promise<void>;
|