@constructive-io/react 1.21.34 → 1.21.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/admin/hooks/mutations/index.d.ts +0 -4
- package/admin/hooks/mutations/index.js +0 -4
- package/admin/orm/input-types.d.ts +32 -32
- package/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingAppInvitesRecord.js +0 -11
- package/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/admin/orm/models/myPendingOrgInvitesRecord.js +0 -11
- package/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/admin/orm/models/orgGetManagersRecord.js +0 -11
- package/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/admin/orm/models/orgGetSubordinatesRecord.js +0 -11
- package/admin/orm/query-builder.js +1 -3
- package/admin/orm/select-types.d.ts +1 -1
- package/admin/schema-types.d.ts +54 -19
- package/admin/types.d.ts +3 -0
- package/agent/orm/input-types.d.ts +36 -8
- package/agent/orm/query-builder.js +1 -3
- package/agent/orm/select-types.d.ts +1 -1
- package/agent/schema-types.d.ts +76 -29
- package/agent/types.d.ts +4 -0
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +12 -2
- package/api/hooks/mutations/index.d.ts +3 -5
- package/api/hooks/mutations/index.js +3 -5
- package/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/{admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +6 -6
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js +39 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js +40 -0
- package/api/hooks/queries/index.d.ts +2 -4
- package/api/hooks/queries/index.js +2 -4
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/api/hooks/queries/usePlatformReservedSubdomainQuery.js +53 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +38 -0
- package/api/hooks/query-keys.d.ts +14 -8
- package/api/hooks/query-keys.js +10 -6
- package/api/orm/index.d.ts +2 -20
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +281 -159
- package/api/orm/models/astMigration.d.ts +2 -9
- package/api/orm/models/astMigration.js +0 -11
- package/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/getSitePreviewsRecord.js +0 -11
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/api/orm/models/listSuspendedDatabasesRecord.js +0 -11
- package/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/api/orm/models/platformGetSitePreviewsRecord.js +0 -11
- package/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/api/orm/models/platformReservedSubdomain.js +104 -0
- package/api/orm/models/sqlAction.d.ts +2 -9
- package/api/orm/models/sqlAction.js +0 -11
- package/api/orm/query/index.d.ts +0 -37
- package/api/orm/query/index.js +0 -60
- package/api/orm/query-builder.js +1 -3
- package/api/orm/select-types.d.ts +1 -1
- package/api/schema-types.d.ts +161 -88
- package/api/types.d.ts +29 -5
- package/auth/hooks/mutation-keys.d.ts +12 -0
- package/auth/hooks/mutation-keys.js +18 -0
- package/auth/hooks/mutations/index.d.ts +6 -6
- package/auth/hooks/mutations/index.js +6 -6
- package/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateSqlActionMutation.js → auth/hooks/mutations/useCancelSignUpHandoffMutation.js} +6 -14
- package/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/auth/hooks/mutations/useCreatePrincipalMutation.js +4 -12
- package/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateAstMigrationMutation.js → auth/hooks/mutations/useEnsureAuthCsrfMutation.js} +6 -14
- package/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/{storage/hooks/mutations/useCreateFileMutation.js → auth/hooks/mutations/useExchangeNativeHandoffMutation.js} +6 -14
- package/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +26 -0
- package/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
- package/{config/hooks/mutations/useCreateSecretMutation.js → auth/hooks/mutations/useVerifyEmailHandoffMutation.js} +6 -14
- package/auth/hooks/queries/index.d.ts +1 -0
- package/auth/hooks/queries/index.js +1 -0
- package/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +15 -19
- package/auth/hooks/query-keys.d.ts +2 -0
- package/auth/hooks/query-keys.js +1 -0
- package/auth/orm/index.d.ts +35 -0
- package/auth/orm/input-types.d.ts +202 -78
- package/auth/orm/models/identityProvider.d.ts +2 -9
- package/auth/orm/models/identityProvider.js +0 -11
- package/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/auth/orm/models/orgApiKeyList.js +0 -11
- package/auth/orm/models/principal.d.ts +2 -9
- package/auth/orm/models/principal.js +0 -11
- package/auth/orm/models/principalEntity.d.ts +2 -9
- package/auth/orm/models/principalEntity.js +0 -11
- package/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/auth/orm/models/principalScopeOverride.js +0 -11
- package/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/auth/orm/models/userConnectedAccount.js +0 -11
- package/auth/orm/mutation/index.d.ts +53 -1
- package/auth/orm/mutation/index.js +72 -0
- package/auth/orm/query/index.d.ts +6 -1
- package/auth/orm/query/index.js +7 -0
- package/auth/orm/query-builder.js +1 -3
- package/auth/orm/select-types.d.ts +1 -1
- package/auth/schema-types.d.ts +146 -20
- package/auth/types.d.ts +3 -0
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -12
- package/compute/hooks/invalidation.js +32 -32
- package/compute/hooks/mutation-keys.d.ts +26 -24
- package/compute/hooks/mutation-keys.js +23 -20
- package/compute/hooks/mutations/index.d.ts +7 -24
- package/compute/hooks/mutations/index.js +7 -24
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/compute/hooks/mutations/useCreateFunctionGraphMutation.js +4 -12
- package/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/compute/hooks/mutations/{useCreateBuilderBindingMutation.js → useCreateServiceBindingMutation.js} +6 -6
- package/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/compute/hooks/mutations/{useDeleteBuilderBindingMutation.js → useDeleteServiceBindingMutation.js} +7 -7
- package/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +9 -9
- package/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/compute/hooks/mutations/{useUpdateBuilderBindingMutation.js → useUpdateServiceBindingMutation.js} +9 -9
- package/compute/hooks/queries/index.d.ts +4 -4
- package/compute/hooks/queries/index.js +4 -4
- package/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformServiceBindingsQuery.js +38 -0
- package/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +14 -14
- package/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/compute/hooks/queries/{useBuilderBindingsQuery.js → useServiceBindingsQuery.js} +14 -14
- package/compute/hooks/query-keys.d.ts +28 -28
- package/compute/hooks/query-keys.js +19 -19
- package/compute/orm/index.d.ts +9 -4
- package/compute/orm/index.js +4 -4
- package/compute/orm/input-types.d.ts +965 -1025
- package/compute/orm/input-types.js +8 -8
- package/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/compute/orm/models/databaseFunctionGraph.js +0 -11
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/functionGraph.d.ts +2 -9
- package/compute/orm/models/functionGraph.js +0 -11
- package/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/getAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/index.d.ts +2 -2
- package/compute/orm/models/index.js +7 -7
- package/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/infraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/platformResourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/platformResourceObservedStorage.js +0 -11
- package/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/compute/orm/models/platformResourceUtilization.js +0 -11
- package/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/compute/orm/models/platformResourcesHealth.js +0 -11
- package/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/platformResourcesRequirementsState.js +0 -11
- package/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/platformResourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +27 -27
- package/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/compute/orm/models/resourceDeclaredCapacity.js +0 -11
- package/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/compute/orm/models/resourceObservedStorage.js +0 -11
- package/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/compute/orm/models/resourceUtilization.js +0 -11
- package/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/compute/orm/models/resourcesHealth.js +0 -11
- package/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/compute/orm/models/resourcesRequirementsState.js +0 -11
- package/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/compute/orm/models/resourcesResolvedRequirement.js +0 -11
- package/compute/orm/models/serviceBinding.d.ts +54 -0
- package/compute/orm/models/{builderBinding.js → serviceBinding.js} +27 -27
- package/compute/orm/mutation/index.d.ts +9 -1
- package/compute/orm/mutation/index.js +12 -0
- package/compute/orm/query-builder.js +1 -3
- package/compute/orm/select-types.d.ts +1 -1
- package/compute/schema-types.d.ts +467 -386
- package/compute/types.d.ts +60 -33
- package/config/hooks/mutations/index.d.ts +0 -5
- package/config/hooks/mutations/index.js +0 -5
- package/config/orm/input-types.d.ts +0 -66
- package/config/orm/models/appInternalSecret.d.ts +2 -9
- package/config/orm/models/appInternalSecret.js +0 -11
- package/config/orm/models/internalSecret.d.ts +2 -9
- package/config/orm/models/internalSecret.js +0 -11
- package/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/config/orm/models/platformInternalSecret.js +0 -11
- package/config/orm/models/platformSecret.d.ts +2 -9
- package/config/orm/models/platformSecret.js +0 -11
- package/config/orm/models/secret.d.ts +2 -9
- package/config/orm/models/secret.js +0 -11
- package/config/orm/query-builder.js +1 -3
- package/config/orm/select-types.d.ts +1 -1
- package/config/schema-types.d.ts +54 -17
- package/esm/admin/hooks/mutations/index.d.ts +0 -4
- package/esm/admin/hooks/mutations/index.js +0 -4
- package/esm/admin/orm/input-types.d.ts +32 -32
- package/esm/admin/orm/models/myPendingAppInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingAppInvitesRecord.js +1 -12
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.d.ts +2 -9
- package/esm/admin/orm/models/myPendingOrgInvitesRecord.js +1 -12
- package/esm/admin/orm/models/orgGetManagersRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetManagersRecord.js +1 -12
- package/esm/admin/orm/models/orgGetSubordinatesRecord.d.ts +2 -9
- package/esm/admin/orm/models/orgGetSubordinatesRecord.js +1 -12
- package/esm/admin/orm/query-builder.js +1 -3
- package/esm/admin/orm/select-types.d.ts +1 -1
- package/esm/admin/schema-types.d.ts +54 -19
- package/esm/admin/types.d.ts +3 -0
- package/esm/agent/orm/input-types.d.ts +36 -8
- package/esm/agent/orm/query-builder.js +1 -3
- package/esm/agent/orm/select-types.d.ts +1 -1
- package/esm/agent/schema-types.d.ts +76 -29
- package/esm/agent/types.d.ts +4 -0
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +10 -0
- package/esm/api/hooks/mutations/index.d.ts +3 -5
- package/esm/api/hooks/mutations/index.js +3 -5
- package/esm/api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.d.ts +34 -0
- package/esm/{admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js → api/hooks/mutations/useCreatePlatformReservedSubdomainMutation.js} +7 -7
- package/esm/api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.d.ts +38 -0
- package/esm/{compute/hooks/mutations/useDeleteBuilderBindingMutation.js → api/hooks/mutations/useDeletePlatformReservedSubdomainMutation.js} +8 -8
- package/esm/api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.d.ts +40 -0
- package/esm/{compute/hooks/mutations/useUpdateBuilderBindingMutation.js → api/hooks/mutations/useUpdatePlatformReservedSubdomainMutation.js} +10 -10
- package/esm/api/hooks/queries/index.d.ts +2 -4
- package/esm/api/hooks/queries/index.js +2 -4
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.d.ts +65 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainQuery.js +47 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.d.ts +69 -0
- package/esm/api/hooks/queries/usePlatformReservedSubdomainsQuery.js +32 -0
- package/esm/api/hooks/query-keys.d.ts +14 -8
- package/esm/api/hooks/query-keys.js +8 -4
- package/esm/api/orm/index.d.ts +2 -20
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +281 -159
- package/esm/api/orm/models/astMigration.d.ts +2 -9
- package/esm/api/orm/models/astMigration.js +1 -12
- package/esm/api/orm/models/getSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/getSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +2 -9
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +1 -12
- package/esm/api/orm/models/platformGetSitePreviewsRecord.d.ts +2 -9
- package/esm/api/orm/models/platformGetSitePreviewsRecord.js +1 -12
- package/esm/api/orm/models/platformReservedSubdomain.d.ts +54 -0
- package/esm/api/orm/models/platformReservedSubdomain.js +100 -0
- package/esm/api/orm/models/sqlAction.d.ts +2 -9
- package/esm/api/orm/models/sqlAction.js +1 -12
- package/esm/api/orm/query/index.d.ts +0 -37
- package/esm/api/orm/query/index.js +0 -60
- package/esm/api/orm/query-builder.js +1 -3
- package/esm/api/orm/select-types.d.ts +1 -1
- package/esm/api/schema-types.d.ts +161 -88
- package/esm/api/types.d.ts +29 -5
- package/esm/auth/hooks/mutation-keys.d.ts +12 -0
- package/esm/auth/hooks/mutation-keys.js +18 -0
- package/esm/auth/hooks/mutations/index.d.ts +6 -6
- package/esm/auth/hooks/mutations/index.js +6 -6
- package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.js +23 -0
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.d.ts +12 -26
- package/esm/auth/hooks/mutations/useCreatePrincipalMutation.js +6 -14
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useEnsureAuthCsrfMutation.js +23 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useExchangeNativeHandoffMutation.js +23 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useRequestDeviceApprovalMutation.js +23 -0
- package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.js +23 -0
- package/esm/auth/hooks/queries/index.d.ts +1 -0
- package/esm/auth/hooks/queries/index.js +1 -0
- package/esm/auth/hooks/queries/useSignInOptionsQuery.d.ts +60 -0
- package/esm/{api/hooks/queries/useResolveRouteQuery.js → auth/hooks/queries/useSignInOptionsQuery.js} +11 -15
- package/esm/auth/hooks/query-keys.d.ts +2 -0
- package/esm/auth/hooks/query-keys.js +1 -0
- package/esm/auth/orm/index.d.ts +35 -0
- package/esm/auth/orm/input-types.d.ts +202 -78
- package/esm/auth/orm/models/identityProvider.d.ts +2 -9
- package/esm/auth/orm/models/identityProvider.js +1 -12
- package/esm/auth/orm/models/orgApiKeyList.d.ts +2 -9
- package/esm/auth/orm/models/orgApiKeyList.js +1 -12
- package/esm/auth/orm/models/principal.d.ts +2 -9
- package/esm/auth/orm/models/principal.js +1 -12
- package/esm/auth/orm/models/principalEntity.d.ts +2 -9
- package/esm/auth/orm/models/principalEntity.js +1 -12
- package/esm/auth/orm/models/principalScopeOverride.d.ts +2 -9
- package/esm/auth/orm/models/principalScopeOverride.js +1 -12
- package/esm/auth/orm/models/userConnectedAccount.d.ts +2 -9
- package/esm/auth/orm/models/userConnectedAccount.js +1 -12
- package/esm/auth/orm/mutation/index.d.ts +53 -1
- package/esm/auth/orm/mutation/index.js +72 -0
- package/esm/auth/orm/query/index.d.ts +6 -1
- package/esm/auth/orm/query/index.js +7 -0
- package/esm/auth/orm/query-builder.js +1 -3
- package/esm/auth/orm/select-types.d.ts +1 -1
- package/esm/auth/schema-types.d.ts +146 -20
- package/esm/auth/types.d.ts +3 -0
- 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 -12
- package/esm/compute/hooks/invalidation.js +33 -33
- package/esm/compute/hooks/mutation-keys.d.ts +26 -24
- package/esm/compute/hooks/mutation-keys.js +20 -17
- package/esm/compute/hooks/mutations/index.d.ts +7 -24
- package/esm/compute/hooks/mutations/index.js +7 -24
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.d.ts +12 -26
- package/esm/compute/hooks/mutations/useCreateFunctionGraphMutation.js +6 -14
- package/esm/compute/hooks/mutations/useCreatePlatformServiceBindingMutation.d.ts +34 -0
- package/esm/{auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.js → compute/hooks/mutations/useCreatePlatformServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useCreateServiceBindingMutation.d.ts +34 -0
- package/esm/{api/hooks/mutations/useCreateSqlActionMutation.js → compute/hooks/mutations/useCreateServiceBindingMutation.js} +7 -7
- package/esm/compute/hooks/mutations/useDeletePlatformServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/{useDeletePlatformBuilderBindingMutation.js → useDeletePlatformServiceBindingMutation.js} +8 -8
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteServiceBindingMutation.js +36 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/{useUpdatePlatformBuilderBindingMutation.js → useUpdatePlatformServiceBindingMutation.js} +10 -10
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateServiceBindingMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -4
- package/esm/compute/hooks/queries/index.js +4 -4
- package/esm/compute/hooks/queries/usePlatformServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{usePlatformBuilderBindingQuery.js → usePlatformServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/queries/useServiceBindingQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/{useBuilderBindingQuery.js → useServiceBindingQuery.js} +11 -11
- package/esm/compute/hooks/queries/useServiceBindingsQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useServiceBindingsQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -28
- package/esm/compute/hooks/query-keys.js +16 -16
- package/esm/compute/orm/index.d.ts +9 -4
- package/esm/compute/orm/index.js +4 -4
- package/esm/compute/orm/input-types.d.ts +965 -1025
- package/esm/compute/orm/input-types.js +8 -8
- package/esm/compute/orm/models/databaseFunctionGraph.d.ts +2 -9
- package/esm/compute/orm/models/databaseFunctionGraph.js +1 -12
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/databaseGraphGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/functionGraph.d.ts +2 -9
- package/esm/compute/orm/models/functionGraph.js +1 -12
- package/esm/compute/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/index.d.ts +2 -2
- package/esm/compute/orm/models/index.js +2 -2
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/infraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/compute/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/platformResourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/platformResourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/platformResourceUtilization.js +1 -12
- package/esm/compute/orm/models/platformResourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesHealth.js +1 -12
- package/esm/compute/orm/models/platformResourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/platformResourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/platformServiceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{platformBuilderBinding.js → platformServiceBinding.js} +25 -25
- package/esm/compute/orm/models/resourceDeclaredCapacity.d.ts +2 -9
- package/esm/compute/orm/models/resourceDeclaredCapacity.js +1 -12
- package/esm/compute/orm/models/resourceObservedStorage.d.ts +2 -9
- package/esm/compute/orm/models/resourceObservedStorage.js +1 -12
- package/esm/compute/orm/models/resourceUtilization.d.ts +2 -9
- package/esm/compute/orm/models/resourceUtilization.js +1 -12
- package/esm/compute/orm/models/resourcesHealth.d.ts +2 -9
- package/esm/compute/orm/models/resourcesHealth.js +1 -12
- package/esm/compute/orm/models/resourcesRequirementsState.d.ts +2 -9
- package/esm/compute/orm/models/resourcesRequirementsState.js +1 -12
- package/esm/compute/orm/models/resourcesResolvedRequirement.d.ts +2 -9
- package/esm/compute/orm/models/resourcesResolvedRequirement.js +1 -12
- package/esm/compute/orm/models/serviceBinding.d.ts +54 -0
- package/esm/compute/orm/models/{builderBinding.js → serviceBinding.js} +25 -25
- package/esm/compute/orm/mutation/index.d.ts +9 -1
- package/esm/compute/orm/mutation/index.js +12 -0
- package/esm/compute/orm/query-builder.js +1 -3
- package/esm/compute/orm/select-types.d.ts +1 -1
- package/esm/compute/schema-types.d.ts +467 -386
- package/esm/compute/types.d.ts +60 -33
- package/esm/config/hooks/mutations/index.d.ts +0 -5
- package/esm/config/hooks/mutations/index.js +0 -5
- package/esm/config/orm/input-types.d.ts +0 -66
- package/esm/config/orm/models/appInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/appInternalSecret.js +1 -12
- package/esm/config/orm/models/internalSecret.d.ts +2 -9
- package/esm/config/orm/models/internalSecret.js +1 -12
- package/esm/config/orm/models/platformInternalSecret.d.ts +2 -9
- package/esm/config/orm/models/platformInternalSecret.js +1 -12
- package/esm/config/orm/models/platformSecret.d.ts +2 -9
- package/esm/config/orm/models/platformSecret.js +1 -12
- package/esm/config/orm/models/secret.d.ts +2 -9
- package/esm/config/orm/models/secret.js +1 -12
- package/esm/config/orm/query-builder.js +1 -3
- package/esm/config/orm/select-types.d.ts +1 -1
- package/esm/config/schema-types.d.ts +54 -17
- package/esm/infra/hooks/mutations/index.d.ts +0 -1
- package/esm/infra/hooks/mutations/index.js +0 -1
- package/esm/infra/orm/input-types.d.ts +0 -7
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/esm/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +1 -12
- package/esm/infra/orm/query-builder.js +1 -3
- package/esm/infra/orm/select-types.d.ts +1 -1
- package/esm/infra/schema-types.d.ts +54 -17
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/esm/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/esm/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/esm/modules/orm/input-types.d.ts +95 -38
- package/esm/modules/orm/mutation/index.d.ts +1 -1
- package/esm/modules/orm/query-builder.js +1 -3
- package/esm/modules/orm/select-types.d.ts +1 -1
- package/esm/modules/schema-types.d.ts +104 -39
- package/esm/modules/types.d.ts +10 -3
- package/esm/objects/hooks/mutations/index.d.ts +0 -1
- package/esm/objects/hooks/mutations/index.js +0 -1
- package/esm/objects/orm/input-types.d.ts +0 -7
- package/esm/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/esm/objects/orm/models/getAllTreeNodesRecord.js +1 -12
- package/esm/objects/orm/query-builder.js +1 -3
- package/esm/objects/orm/select-types.d.ts +1 -1
- package/esm/objects/schema-types.d.ts +54 -17
- package/esm/remote/hooks/queries/index.d.ts +1 -0
- package/esm/remote/hooks/queries/index.js +1 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/esm/remote/hooks/queries/useCurrentDatabaseIdQuery.js +43 -0
- package/esm/remote/hooks/query-keys.d.ts +6 -0
- package/esm/remote/hooks/query-keys.js +7 -0
- package/esm/remote/orm/index.d.ts +8 -0
- package/esm/remote/orm/index.js +3 -0
- package/esm/remote/orm/query/index.d.ts +14 -0
- package/esm/remote/orm/query/index.js +13 -0
- package/esm/remote/orm/query-builder.js +1 -3
- package/esm/remote/orm/select-types.d.ts +1 -1
- package/esm/remote/schema-types.d.ts +54 -17
- package/esm/storage/hooks/mutations/index.d.ts +0 -2
- package/esm/storage/hooks/mutations/index.js +0 -2
- package/esm/storage/orm/input-types.d.ts +84 -139
- package/esm/storage/orm/models/file.d.ts +2 -9
- package/esm/storage/orm/models/file.js +1 -12
- package/esm/storage/orm/models/platformFile.d.ts +2 -9
- package/esm/storage/orm/models/platformFile.js +1 -12
- package/esm/storage/orm/query-builder.js +1 -3
- package/esm/storage/orm/select-types.d.ts +1 -1
- package/esm/storage/schema-types.d.ts +79 -112
- package/esm/storage/types.d.ts +7 -0
- package/esm/usage/orm/query-builder.js +1 -3
- package/esm/usage/orm/select-types.d.ts +1 -1
- package/esm/usage/schema-types.d.ts +54 -17
- package/infra/hooks/mutations/index.d.ts +0 -1
- package/infra/hooks/mutations/index.js +0 -1
- package/infra/orm/input-types.d.ts +0 -7
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.d.ts +2 -9
- package/infra/orm/models/platformInfraGetAllTreeNodesRecord.js +0 -11
- package/infra/orm/query-builder.js +1 -3
- package/infra/orm/select-types.d.ts +1 -1
- package/infra/schema-types.d.ts +54 -17
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useCreateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useDeleteBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.d.ts +2 -2
- package/modules/hooks/mutations/useUpdateBlueprintConstructionMutation.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionQuery.js +1 -1
- package/modules/hooks/queries/useBlueprintConstructionsQuery.d.ts +4 -4
- package/modules/hooks/queries/useBlueprintConstructionsQuery.js +1 -1
- package/modules/orm/input-types.d.ts +95 -38
- package/modules/orm/mutation/index.d.ts +1 -1
- package/modules/orm/query-builder.js +1 -3
- package/modules/orm/select-types.d.ts +1 -1
- package/modules/schema-types.d.ts +104 -39
- package/modules/types.d.ts +10 -3
- package/objects/hooks/mutations/index.d.ts +0 -1
- package/objects/hooks/mutations/index.js +0 -1
- package/objects/orm/input-types.d.ts +0 -7
- package/objects/orm/models/getAllTreeNodesRecord.d.ts +2 -9
- package/objects/orm/models/getAllTreeNodesRecord.js +0 -11
- package/objects/orm/query-builder.js +1 -3
- package/objects/orm/select-types.d.ts +1 -1
- package/objects/schema-types.d.ts +54 -17
- package/package.json +5 -5
- package/remote/hooks/queries/index.d.ts +1 -0
- package/remote/hooks/queries/index.js +1 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.d.ts +45 -0
- package/remote/hooks/queries/useCurrentDatabaseIdQuery.js +49 -0
- package/remote/hooks/query-keys.d.ts +6 -0
- package/remote/hooks/query-keys.js +8 -1
- package/remote/orm/index.d.ts +8 -0
- package/remote/orm/index.js +5 -1
- package/remote/orm/query/index.d.ts +14 -0
- package/remote/orm/query/index.js +16 -0
- package/remote/orm/query-builder.js +1 -3
- package/remote/orm/select-types.d.ts +1 -1
- package/remote/schema-types.d.ts +54 -17
- package/storage/hooks/mutations/index.d.ts +0 -2
- package/storage/hooks/mutations/index.js +0 -2
- package/storage/orm/input-types.d.ts +84 -139
- package/storage/orm/models/file.d.ts +2 -9
- package/storage/orm/models/file.js +0 -11
- package/storage/orm/models/platformFile.d.ts +2 -9
- package/storage/orm/models/platformFile.js +0 -11
- package/storage/orm/query-builder.js +1 -3
- package/storage/orm/select-types.d.ts +1 -1
- package/storage/schema-types.d.ts +79 -112
- package/storage/types.d.ts +7 -0
- package/usage/orm/query-builder.js +1 -3
- package/usage/orm/select-types.d.ts +1 -1
- package/usage/schema-types.d.ts +54 -17
- package/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -34
- package/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/api/hooks/queries/useApiSchemaNamesQuery.js +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveDeepLinkQuery.js +0 -53
- package/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -53
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -34
- package/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -34
- package/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -34
- package/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -38
- package/compute/orm/models/builderBinding.d.ts +0 -54
- package/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -34
- package/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateMyPendingAppInvitesRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateMyPendingOrgInvitesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetManagersRecordMutation.js +0 -31
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.d.ts +0 -34
- package/esm/admin/hooks/mutations/useCreateOrgGetSubordinatesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateAstMigrationMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.d.ts +0 -34
- package/esm/api/hooks/mutations/useCreatePlatformGetSitePreviewsRecordMutation.js +0 -31
- package/esm/api/hooks/mutations/useCreateSqlActionMutation.d.ts +0 -34
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useApiSchemaNamesQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveDeepLinkQuery.js +0 -47
- package/esm/api/hooks/queries/useResolveRouteQuery.d.ts +0 -65
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.d.ts +0 -53
- package/esm/api/hooks/queries/useResolveSiteAppLinksQuery.js +0 -47
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateOrgApiKeyListMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreatePrincipalEntityMutation.js +0 -31
- package/esm/auth/hooks/mutations/useCreatePrincipalScopeOverrideMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.d.ts +0 -34
- package/esm/auth/hooks/mutations/useCreateUserConnectedAccountMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseFunctionGraphMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateDatabaseGraphGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformBuilderBindingMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreatePlatformResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceDeclaredCapacityMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceObservedStorageMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourceUtilizationMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesHealthMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesRequirementsStateMutation.js +0 -31
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.d.ts +0 -34
- package/esm/compute/hooks/mutations/useCreateResourcesResolvedRequirementMutation.js +0 -31
- package/esm/compute/hooks/mutations/useDeleteBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useDeletePlatformBuilderBindingMutation.d.ts +0 -38
- package/esm/compute/hooks/mutations/useUpdateBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/mutations/useUpdatePlatformBuilderBindingMutation.d.ts +0 -40
- package/esm/compute/hooks/queries/useBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/useBuilderBindingsQuery.js +0 -32
- package/esm/compute/hooks/queries/usePlatformBuilderBindingQuery.d.ts +0 -65
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.d.ts +0 -69
- package/esm/compute/hooks/queries/usePlatformBuilderBindingsQuery.js +0 -32
- package/esm/compute/orm/models/builderBinding.d.ts +0 -54
- package/esm/compute/orm/models/platformBuilderBinding.d.ts +0 -54
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateAppInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformInternalSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreatePlatformSecretMutation.js +0 -31
- package/esm/config/hooks/mutations/useCreateSecretMutation.d.ts +0 -34
- package/esm/config/hooks/mutations/useCreateSecretMutation.js +0 -31
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/esm/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreateFileMutation.js +0 -31
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/esm/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -31
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/infra/hooks/mutations/useCreatePlatformInfraGetAllTreeNodesRecordMutation.js +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.d.ts +0 -34
- package/objects/hooks/mutations/useCreateGetAllTreeNodesRecordMutation.js +0 -34
- package/storage/hooks/mutations/useCreateFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -34
|
@@ -9,12 +9,12 @@ export type ConstructiveInternalTypeUpload = unknown;
|
|
|
9
9
|
export type BucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVISION_REQUESTED_AT_ASC' | 'PROVISION_REQUESTED_AT_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
10
10
|
export type BucketType = 'PRIVATE' | 'PUBLIC' | 'TEMP';
|
|
11
11
|
/** Methods to use when ordering `File`. */
|
|
12
|
-
export type FileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
13
|
-
export type FileStatus = '
|
|
12
|
+
export type FileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DATABASE_ID_ASC' | 'DATABASE_ID_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'REJECTION_REASON_ASC' | 'REJECTION_REASON_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
13
|
+
export type FileStatus = 'PROCESSED' | 'REJECTED' | 'REQUESTED' | 'UPLOADED';
|
|
14
14
|
/** Methods to use when ordering `PlatformBucket`. */
|
|
15
15
|
export type PlatformBucketOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ALLOWED_MIME_TYPES_ASC' | 'ALLOWED_MIME_TYPES_DESC' | 'ALLOWED_ORIGINS_ASC' | 'ALLOWED_ORIGINS_DESC' | 'ALLOW_CUSTOM_KEYS_ASC' | 'ALLOW_CUSTOM_KEYS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'DESTINATION_BUCKET_ID_ASC' | 'DESTINATION_BUCKET_ID_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MAX_FILE_SIZE_ASC' | 'MAX_FILE_SIZE_DESC' | 'NATURAL' | 'PHYSICAL_NAME_ASC' | 'PHYSICAL_NAME_DESC' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROVISION_REQUESTED_AT_ASC' | 'PROVISION_REQUESTED_AT_DESC' | 'STAGING_TTL_ASC' | 'STAGING_TTL_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'TYPE_ASC' | 'TYPE_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
16
16
|
/** Methods to use when ordering `PlatformFile`. */
|
|
17
|
-
export type PlatformFileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
17
|
+
export type PlatformFileOrderBy = 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'BUCKET_ID_ASC' | 'BUCKET_ID_DESC' | 'CONTENT_HASH_ASC' | 'CONTENT_HASH_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'DESCRIPTION_ASC' | 'DESCRIPTION_DESC' | 'EXPIRY_ENQUEUED_AT_ASC' | 'EXPIRY_ENQUEUED_AT_DESC' | 'FILENAME_ASC' | 'FILENAME_DESC' | 'ID_ASC' | 'ID_DESC' | 'IS_PUBLIC_ASC' | 'IS_PUBLIC_DESC' | 'KEY_ASC' | 'KEY_DESC' | 'MIME_TYPE_ASC' | 'MIME_TYPE_DESC' | 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'PROMOTED_AT_ASC' | 'PROMOTED_AT_DESC' | 'REJECTION_REASON_ASC' | 'REJECTION_REASON_DESC' | 'SIZE_ASC' | 'SIZE_DESC' | 'STATUS_ASC' | 'STATUS_DESC' | 'TAGS_ASC' | 'TAGS_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC' | 'UPLOAD_ASC' | 'UPLOAD_DESC';
|
|
18
18
|
/** A filter to be used against `Bucket` object types. All fields are combined with a logical ‘and.’ */
|
|
19
19
|
export interface BucketFilter {
|
|
20
20
|
/** Filter by the object’s `actorId` field. */
|
|
@@ -227,21 +227,11 @@ export interface CreateBucketInput {
|
|
|
227
227
|
bucket: BucketInput;
|
|
228
228
|
clientMutationId?: string;
|
|
229
229
|
}
|
|
230
|
-
export interface CreateFileInput {
|
|
231
|
-
clientMutationId?: string;
|
|
232
|
-
/** The `File` to be created by this mutation. */
|
|
233
|
-
file: FileInput;
|
|
234
|
-
}
|
|
235
230
|
export interface CreatePlatformBucketInput {
|
|
236
231
|
clientMutationId?: string;
|
|
237
232
|
/** The `PlatformBucket` to be created by this mutation. */
|
|
238
233
|
platformBucket: PlatformBucketInput;
|
|
239
234
|
}
|
|
240
|
-
export interface CreatePlatformFileInput {
|
|
241
|
-
clientMutationId?: string;
|
|
242
|
-
/** The `PlatformFile` to be created by this mutation. */
|
|
243
|
-
platformFile: PlatformFileInput;
|
|
244
|
-
}
|
|
245
235
|
export interface DeleteBucketInput {
|
|
246
236
|
clientMutationId?: string;
|
|
247
237
|
id: string;
|
|
@@ -294,6 +284,8 @@ export interface FileFilter {
|
|
|
294
284
|
or?: FileFilter[];
|
|
295
285
|
/** Filter by the object’s `promotedAt` field. */
|
|
296
286
|
promotedAt?: DatetimeFilter;
|
|
287
|
+
/** Filter by the object’s `rejectionReason` field. */
|
|
288
|
+
rejectionReason?: StringFilter;
|
|
297
289
|
/** Filter by the object’s `size` field. */
|
|
298
290
|
size?: BigIntFilter;
|
|
299
291
|
/** Filter by the object’s `status` field. */
|
|
@@ -305,38 +297,6 @@ export interface FileFilter {
|
|
|
305
297
|
/** Filter by the object’s `upload` field. */
|
|
306
298
|
upload?: ConstructiveInternalTypeUploadFilter;
|
|
307
299
|
}
|
|
308
|
-
/** An input for mutations affecting `File` */
|
|
309
|
-
export interface FileInput {
|
|
310
|
-
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
311
|
-
actorId: string;
|
|
312
|
-
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
313
|
-
bucketId: string;
|
|
314
|
-
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
315
|
-
contentHash?: string;
|
|
316
|
-
createdAt?: string;
|
|
317
|
-
/** Human-readable description or alt text for the file (mutable) */
|
|
318
|
-
description?: string;
|
|
319
|
-
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
320
|
-
expiryEnqueuedAt?: string;
|
|
321
|
-
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
322
|
-
filename?: string;
|
|
323
|
-
id?: string;
|
|
324
|
-
/** S3 object key for this file, unique within its bucket */
|
|
325
|
-
key: string;
|
|
326
|
-
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
327
|
-
mimeType: string;
|
|
328
|
-
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
329
|
-
promotedAt?: string;
|
|
330
|
-
/** File size in bytes. Immutable after INSERT. */
|
|
331
|
-
size: string;
|
|
332
|
-
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes), expired (bytes never arrived before the confirm window closed). */
|
|
333
|
-
status?: FileStatus;
|
|
334
|
-
/** User-defined tags for categorization and search (mutable) */
|
|
335
|
-
tags?: string[];
|
|
336
|
-
updatedAt?: string;
|
|
337
|
-
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
338
|
-
upload?: ConstructiveInternalTypeUpload;
|
|
339
|
-
}
|
|
340
300
|
/** Represents an update to a `File`. Fields that are set will be updated. */
|
|
341
301
|
export interface FilePatch {
|
|
342
302
|
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
@@ -363,17 +323,17 @@ export interface FilePatch {
|
|
|
363
323
|
mimeType?: string;
|
|
364
324
|
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
365
325
|
promotedAt?: string;
|
|
326
|
+
/** Why the upload was rejected (declared MIME, extension and magic bytes disagreed, size mismatch, ...). NULL unless status is rejected. */
|
|
327
|
+
rejectionReason?: string;
|
|
366
328
|
/** File size in bytes. Immutable after INSERT. */
|
|
367
329
|
size?: string;
|
|
368
|
-
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes)
|
|
330
|
+
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes). A requested row whose bytes never arrive within upload_url_expiry_seconds is deleted by the confirm loop. */
|
|
369
331
|
status?: FileStatus;
|
|
370
332
|
/** User-defined tags for categorization and search (mutable) */
|
|
371
333
|
tags?: string[];
|
|
372
334
|
updatedAt?: string;
|
|
373
335
|
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
374
336
|
upload?: ConstructiveInternalTypeUpload;
|
|
375
|
-
/** Upload for Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
376
|
-
uploadUpload?: File;
|
|
377
337
|
}
|
|
378
338
|
/** A filter to be used against FileStatus fields. All fields are combined with a logical ‘and.’ */
|
|
379
339
|
export interface FileStatusFilter {
|
|
@@ -624,6 +584,8 @@ export interface PlatformFileFilter {
|
|
|
624
584
|
or?: PlatformFileFilter[];
|
|
625
585
|
/** Filter by the object’s `promotedAt` field. */
|
|
626
586
|
promotedAt?: DatetimeFilter;
|
|
587
|
+
/** Filter by the object’s `rejectionReason` field. */
|
|
588
|
+
rejectionReason?: StringFilter;
|
|
627
589
|
/** Filter by the object’s `size` field. */
|
|
628
590
|
size?: BigIntFilter;
|
|
629
591
|
/** Filter by the object’s `status` field. */
|
|
@@ -635,38 +597,6 @@ export interface PlatformFileFilter {
|
|
|
635
597
|
/** Filter by the object’s `upload` field. */
|
|
636
598
|
upload?: ConstructiveInternalTypeUploadFilter;
|
|
637
599
|
}
|
|
638
|
-
/** An input for mutations affecting `PlatformFile` */
|
|
639
|
-
export interface PlatformFileInput {
|
|
640
|
-
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
641
|
-
actorId: string;
|
|
642
|
-
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
643
|
-
bucketId: string;
|
|
644
|
-
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
645
|
-
contentHash?: string;
|
|
646
|
-
createdAt?: string;
|
|
647
|
-
/** Human-readable description or alt text for the file (mutable) */
|
|
648
|
-
description?: string;
|
|
649
|
-
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
650
|
-
expiryEnqueuedAt?: string;
|
|
651
|
-
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
652
|
-
filename?: string;
|
|
653
|
-
id?: string;
|
|
654
|
-
/** S3 object key for this file, unique within its bucket */
|
|
655
|
-
key: string;
|
|
656
|
-
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
657
|
-
mimeType: string;
|
|
658
|
-
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
659
|
-
promotedAt?: string;
|
|
660
|
-
/** File size in bytes. Immutable after INSERT. */
|
|
661
|
-
size: string;
|
|
662
|
-
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes), expired (bytes never arrived before the confirm window closed). */
|
|
663
|
-
status?: FileStatus;
|
|
664
|
-
/** User-defined tags for categorization and search (mutable) */
|
|
665
|
-
tags?: string[];
|
|
666
|
-
updatedAt?: string;
|
|
667
|
-
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
668
|
-
upload?: ConstructiveInternalTypeUpload;
|
|
669
|
-
}
|
|
670
600
|
/** Represents an update to a `PlatformFile`. Fields that are set will be updated. */
|
|
671
601
|
export interface PlatformFilePatch {
|
|
672
602
|
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
@@ -691,17 +621,17 @@ export interface PlatformFilePatch {
|
|
|
691
621
|
mimeType?: string;
|
|
692
622
|
/** When this file was promoted out of its staging bucket into its destination bucket. NULL for a file that was never staged, or is still staged. */
|
|
693
623
|
promotedAt?: string;
|
|
624
|
+
/** Why the upload was rejected (declared MIME, extension and magic bytes disagreed, size mismatch, ...). NULL unless status is rejected. */
|
|
625
|
+
rejectionReason?: string;
|
|
694
626
|
/** File size in bytes. Immutable after INSERT. */
|
|
695
627
|
size?: string;
|
|
696
|
-
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes)
|
|
628
|
+
/** File lifecycle status: requested (presigned URL generated, not yet in S3), uploaded (file in S3 and content validated, ready for use), processed (image resized, text extracted, embedding computed), rejected (declared type disagreed with the bytes). A requested row whose bytes never arrive within upload_url_expiry_seconds is deleted by the confirm loop. */
|
|
697
629
|
status?: FileStatus;
|
|
698
630
|
/** User-defined tags for categorization and search (mutable) */
|
|
699
631
|
tags?: string[];
|
|
700
632
|
updatedAt?: string;
|
|
701
633
|
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
702
634
|
upload?: ConstructiveInternalTypeUpload;
|
|
703
|
-
/** Upload for Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
704
|
-
uploadUpload?: File;
|
|
705
635
|
}
|
|
706
636
|
export interface PlatformFilesRenameInput {
|
|
707
637
|
clientMutationId?: string;
|
|
@@ -756,6 +686,8 @@ export interface UploadFileBulkFileInput {
|
|
|
756
686
|
export interface UploadFileBulkInput {
|
|
757
687
|
/** Bucket key (e.g., "public", "private"). Omit to use the database's default bucket for the requested access. */
|
|
758
688
|
bucketKey?: string;
|
|
689
|
+
/** Database the file belongs to. Omit for the database of the current session; a caller who is not a member of the named database is refused. */
|
|
690
|
+
databaseId?: string;
|
|
759
691
|
/** Array of files to upload */
|
|
760
692
|
files: UploadFileBulkFileInput[];
|
|
761
693
|
/** Which default bucket to resolve when bucketKey is omitted. Ignored when bucketKey is given. */
|
|
@@ -768,6 +700,8 @@ export interface UploadFileInput {
|
|
|
768
700
|
contentHash: string;
|
|
769
701
|
/** MIME type of the file */
|
|
770
702
|
contentType: string;
|
|
703
|
+
/** Database the file belongs to. Omit for the database of the current session; a caller who is not a member of the named database is refused. */
|
|
704
|
+
databaseId?: string;
|
|
771
705
|
/** Original filename (optional) */
|
|
772
706
|
filename?: string;
|
|
773
707
|
/** Which default bucket to resolve when bucketKey is omitted: the public one (true) or the private one (default false). Ignored when bucketKey is given. */
|
|
@@ -851,24 +785,12 @@ export interface CreateBucketPayload {
|
|
|
851
785
|
bucketEdge?: BucketEdge | null;
|
|
852
786
|
clientMutationId?: string | null;
|
|
853
787
|
}
|
|
854
|
-
export interface CreateFilePayload {
|
|
855
|
-
clientMutationId?: string | null;
|
|
856
|
-
/** The `File` that was created by this mutation. */
|
|
857
|
-
file?: File | null;
|
|
858
|
-
fileEdge?: FileEdge | null;
|
|
859
|
-
}
|
|
860
788
|
export interface CreatePlatformBucketPayload {
|
|
861
789
|
clientMutationId?: string | null;
|
|
862
790
|
/** The `PlatformBucket` that was created by this mutation. */
|
|
863
791
|
platformBucket?: PlatformBucket | null;
|
|
864
792
|
platformBucketEdge?: PlatformBucketEdge | null;
|
|
865
793
|
}
|
|
866
|
-
export interface CreatePlatformFilePayload {
|
|
867
|
-
clientMutationId?: string | null;
|
|
868
|
-
/** The `PlatformFile` that was created by this mutation. */
|
|
869
|
-
platformFile?: PlatformFile | null;
|
|
870
|
-
platformFileEdge?: PlatformFileEdge | null;
|
|
871
|
-
}
|
|
872
794
|
export interface DeleteBucketPayload {
|
|
873
795
|
/** The `Bucket` that was deleted by this mutation. */
|
|
874
796
|
bucket?: Bucket | null;
|
|
@@ -947,6 +869,8 @@ export interface UploadFilePayload {
|
|
|
947
869
|
fileId: string;
|
|
948
870
|
/** The S3 object key */
|
|
949
871
|
key: string;
|
|
872
|
+
/** The exact headers the PUT to uploadUrl must send (Content-Type and every header the URL is signed over, e.g. x-amz-checksum-sha256 and x-amz-meta-upload-id). Forward them as-is. Null if deduplicated. */
|
|
873
|
+
uploadHeaders?: unknown | null;
|
|
950
874
|
/** Presigned PUT URL (null if deduplicated) */
|
|
951
875
|
uploadUrl?: string | null;
|
|
952
876
|
}
|
|
@@ -964,6 +888,8 @@ export interface UploadPlatformFilePayload {
|
|
|
964
888
|
fileId: string;
|
|
965
889
|
/** The S3 object key */
|
|
966
890
|
key: string;
|
|
891
|
+
/** The exact headers the PUT to uploadUrl must send (Content-Type and every header the URL is signed over, e.g. x-amz-checksum-sha256 and x-amz-meta-upload-id). Forward them as-is. Null if deduplicated. */
|
|
892
|
+
uploadHeaders?: unknown | null;
|
|
967
893
|
/** Presigned PUT URL (null if deduplicated) */
|
|
968
894
|
uploadUrl?: string | null;
|
|
969
895
|
}
|
|
@@ -973,21 +899,27 @@ export interface UploadPlatformFileBulkPayload {
|
|
|
973
899
|
/** Information about a database table */
|
|
974
900
|
export interface MetaTable {
|
|
975
901
|
constraints: MetaConstraints;
|
|
902
|
+
/** Description written for this table, or null */
|
|
903
|
+
description?: string | null;
|
|
976
904
|
fields: MetaField[];
|
|
977
905
|
foreignKeyConstraints: MetaForeignKeyConstraint[];
|
|
978
|
-
/** i18n metadata (null if
|
|
906
|
+
/** i18n metadata (null if the table is not translatable) */
|
|
979
907
|
i18n?: MetaI18n | null;
|
|
980
908
|
indexes: MetaIndex[];
|
|
981
909
|
inflection: MetaInflection;
|
|
910
|
+
/** Whether this table only links rows of two other tables; the link appears in their manyToMany relations */
|
|
911
|
+
isJunction: boolean;
|
|
912
|
+
/** 'table' when rows are stored in this table, 'view' when they come from a view of other tables */
|
|
913
|
+
kind: string;
|
|
982
914
|
/** Final GraphQL output type name */
|
|
983
915
|
name: string;
|
|
984
916
|
primaryKeyConstraints: MetaPrimaryKeyConstraint[];
|
|
985
917
|
query: MetaQuery;
|
|
986
|
-
/** Realtime metadata (null if no
|
|
918
|
+
/** Realtime metadata (null if the table has no change subscriptions) */
|
|
987
919
|
realtime?: MetaRealtime | null;
|
|
988
920
|
relations: MetaRelations;
|
|
989
921
|
schemaName: string;
|
|
990
|
-
/** Provisioning scope metadata (null if no
|
|
922
|
+
/** Provisioning scope metadata (null if the table has no scope) */
|
|
991
923
|
scope?: MetaScope | null;
|
|
992
924
|
/** Search metadata (null if no search configured) */
|
|
993
925
|
search?: MetaSearch | null;
|
|
@@ -1039,6 +971,8 @@ export interface UploadFileBulkFilePayload {
|
|
|
1039
971
|
file?: unknown | null;
|
|
1040
972
|
fileId: string;
|
|
1041
973
|
key: string;
|
|
974
|
+
/** The exact headers the PUT to uploadUrl must send. */
|
|
975
|
+
uploadHeaders?: unknown | null;
|
|
1042
976
|
uploadUrl?: string | null;
|
|
1043
977
|
}
|
|
1044
978
|
export interface UploadPlatformFileBulkFilePayload {
|
|
@@ -1048,6 +982,8 @@ export interface UploadPlatformFileBulkFilePayload {
|
|
|
1048
982
|
file?: unknown | null;
|
|
1049
983
|
fileId: string;
|
|
1050
984
|
key: string;
|
|
985
|
+
/** The exact headers the PUT to uploadUrl must send. */
|
|
986
|
+
uploadHeaders?: unknown | null;
|
|
1051
987
|
uploadUrl?: string | null;
|
|
1052
988
|
}
|
|
1053
989
|
/** Table constraints */
|
|
@@ -1058,15 +994,27 @@ export interface MetaConstraints {
|
|
|
1058
994
|
}
|
|
1059
995
|
/** Information about a table field/column */
|
|
1060
996
|
export interface MetaField {
|
|
997
|
+
/** Values this field accepts, when the set is fixed; null otherwise. Set on a table's own fields only. */
|
|
998
|
+
allowedValues?: string[] | null;
|
|
1061
999
|
/** PostgreSQL column name */
|
|
1062
1000
|
columnName: string;
|
|
1063
1001
|
description?: string | null;
|
|
1064
1002
|
/** Enum metadata if this field has an enum type */
|
|
1065
1003
|
enumValues?: MetaEnum | null;
|
|
1004
|
+
/** Set when the field holds files; null otherwise. Set on a table's own fields only. */
|
|
1005
|
+
file?: MetaFileField | null;
|
|
1066
1006
|
hasDefault: boolean;
|
|
1007
|
+
/** Whether the value is always computed and cannot be written, even when a create or update input offers the field. Set on a table's own fields only. */
|
|
1008
|
+
isComputed?: boolean | null;
|
|
1067
1009
|
isForeignKey: boolean;
|
|
1068
1010
|
isNotNull: boolean;
|
|
1069
1011
|
isPrimaryKey: boolean;
|
|
1012
|
+
/** Whether a create must provide this field. Set on a table's own fields only. */
|
|
1013
|
+
isRequiredOnCreate?: boolean | null;
|
|
1014
|
+
/** Whether a create may set this field. Set on a table's own fields only. */
|
|
1015
|
+
isWritableOnCreate?: boolean | null;
|
|
1016
|
+
/** Whether an update may change this field. Set on a table's own fields only. */
|
|
1017
|
+
isWritableOnUpdate?: boolean | null;
|
|
1070
1018
|
/** Final GraphQL field name */
|
|
1071
1019
|
name: string;
|
|
1072
1020
|
type: MetaType;
|
|
@@ -1080,7 +1028,7 @@ export interface MetaForeignKeyConstraint {
|
|
|
1080
1028
|
referencedFields: string[];
|
|
1081
1029
|
referencedTable: string;
|
|
1082
1030
|
}
|
|
1083
|
-
/** i18n metadata for a table
|
|
1031
|
+
/** i18n metadata for a translatable table */
|
|
1084
1032
|
export interface MetaI18n {
|
|
1085
1033
|
/** Fields that are translatable */
|
|
1086
1034
|
translatableFields: MetaI18nField[];
|
|
@@ -1095,7 +1043,7 @@ export interface MetaIndex {
|
|
|
1095
1043
|
isUnique: boolean;
|
|
1096
1044
|
name: string;
|
|
1097
1045
|
}
|
|
1098
|
-
/**
|
|
1046
|
+
/** Type and field names generated for this table */
|
|
1099
1047
|
export interface MetaInflection {
|
|
1100
1048
|
allRows: string;
|
|
1101
1049
|
conditionType: string;
|
|
@@ -1123,7 +1071,7 @@ export interface MetaQuery {
|
|
|
1123
1071
|
one?: string | null;
|
|
1124
1072
|
update?: string | null;
|
|
1125
1073
|
}
|
|
1126
|
-
/** Realtime metadata for a table with
|
|
1074
|
+
/** Realtime metadata for a table with change subscriptions */
|
|
1127
1075
|
export interface MetaRealtime {
|
|
1128
1076
|
/** The generated subscription field name (e.g. onPostChanged) */
|
|
1129
1077
|
subscriptionFieldName: string;
|
|
@@ -1138,13 +1086,13 @@ export interface MetaRelations {
|
|
|
1138
1086
|
}
|
|
1139
1087
|
/** Provisioning scope metadata for a table */
|
|
1140
1088
|
export interface MetaScope {
|
|
1141
|
-
/**
|
|
1089
|
+
/** Name of the entity table for entity scopes, else null */
|
|
1142
1090
|
entityTable?: string | null;
|
|
1143
|
-
/**
|
|
1091
|
+
/** Field name of the scope key (e.g. databaseId, orgId), null for global tiers */
|
|
1144
1092
|
keyColumn?: string | null;
|
|
1145
1093
|
/** Provisioning scope: 'platform', 'app', 'database', or an entity scope (e.g. 'org') */
|
|
1146
1094
|
scope: string;
|
|
1147
|
-
/**
|
|
1095
|
+
/** Where this scope metadata comes from */
|
|
1148
1096
|
source: string;
|
|
1149
1097
|
/** Coarse bucket: 'global', 'database', or 'entity' */
|
|
1150
1098
|
tier: string;
|
|
@@ -1162,17 +1110,17 @@ export interface MetaSearch {
|
|
|
1162
1110
|
}
|
|
1163
1111
|
/** Storage metadata for a table */
|
|
1164
1112
|
export interface MetaStorage {
|
|
1165
|
-
/** GraphQL type name of the
|
|
1113
|
+
/** GraphQL type name of the paired buckets table */
|
|
1166
1114
|
bucketsType: string;
|
|
1167
1115
|
/** Computed download-URL field on the files type; null on the buckets side */
|
|
1168
1116
|
downloadUrlField?: string | null;
|
|
1169
|
-
/** GraphQL type name of the
|
|
1117
|
+
/** GraphQL type name of the paired files table */
|
|
1170
1118
|
filesType: string;
|
|
1171
1119
|
/** Whether this table is a storage buckets table */
|
|
1172
1120
|
isBucketsTable: boolean;
|
|
1173
1121
|
/** Whether this table is a storage files table */
|
|
1174
1122
|
isFilesTable: boolean;
|
|
1175
|
-
/**
|
|
1123
|
+
/** Upload mutations and types for this storage */
|
|
1176
1124
|
upload: MetaStorageUpload;
|
|
1177
1125
|
}
|
|
1178
1126
|
/** Information about a unique constraint */
|
|
@@ -1187,6 +1135,15 @@ export interface MetaEnum {
|
|
|
1187
1135
|
/** Allowed values for this enum */
|
|
1188
1136
|
values: string[];
|
|
1189
1137
|
}
|
|
1138
|
+
/** How a field holds files */
|
|
1139
|
+
export interface MetaFileField {
|
|
1140
|
+
/** GraphQL type name of the files table uploads are recorded in, when this API has exactly one; null otherwise */
|
|
1141
|
+
filesType?: string | null;
|
|
1142
|
+
/** Whether the field holds a list of files */
|
|
1143
|
+
isMultiple: boolean;
|
|
1144
|
+
/** image, upload, or attachment. An image or upload holds a file document; an attachment holds a link to a file. */
|
|
1145
|
+
kind: string;
|
|
1146
|
+
}
|
|
1190
1147
|
/** Information about a PostgreSQL type */
|
|
1191
1148
|
export interface MetaType {
|
|
1192
1149
|
/** Scalar serialization contract (null for plain scalars) */
|
|
@@ -1195,7 +1152,13 @@ export interface MetaType {
|
|
|
1195
1152
|
hasDefault?: boolean | null;
|
|
1196
1153
|
isArray: boolean;
|
|
1197
1154
|
isNotNull?: boolean | null;
|
|
1155
|
+
/** Most characters a text value may hold, or most bits a bit string may hold; for a list, each item. Null when unbounded. */
|
|
1156
|
+
maxLength?: number | null;
|
|
1198
1157
|
pgType: string;
|
|
1158
|
+
/** Most significant digits a decimal number may hold. Null when unbounded. */
|
|
1159
|
+
precision?: number | null;
|
|
1160
|
+
/** Digits a decimal number keeps after the decimal point. Null when unbounded. */
|
|
1161
|
+
scale?: number | null;
|
|
1199
1162
|
subtype?: string | null;
|
|
1200
1163
|
}
|
|
1201
1164
|
/** Reference to a related table */
|
|
@@ -1214,6 +1177,8 @@ export interface MetaBelongsToRelation {
|
|
|
1214
1177
|
fieldName?: string | null;
|
|
1215
1178
|
isUnique: boolean;
|
|
1216
1179
|
keys: MetaField[];
|
|
1180
|
+
/** Fields on the referenced table that keys point at, in the same order as keys */
|
|
1181
|
+
refKeys: MetaField[];
|
|
1217
1182
|
references: MetaRefTable;
|
|
1218
1183
|
type?: string | null;
|
|
1219
1184
|
}
|
|
@@ -1223,6 +1188,8 @@ export interface MetaHasRelation {
|
|
|
1223
1188
|
isUnique: boolean;
|
|
1224
1189
|
keys: MetaField[];
|
|
1225
1190
|
referencedBy: MetaRefTable;
|
|
1191
|
+
/** Fields on the related table that point at this table, in the same order as keys */
|
|
1192
|
+
remoteKeys: MetaField[];
|
|
1226
1193
|
type?: string | null;
|
|
1227
1194
|
}
|
|
1228
1195
|
/** A many-to-many relation via junction table */
|
|
@@ -1245,7 +1212,7 @@ export interface MetaSearchColumn {
|
|
|
1245
1212
|
/** Column name (camelCase) */
|
|
1246
1213
|
name: string;
|
|
1247
1214
|
}
|
|
1248
|
-
/** Per-table search configuration
|
|
1215
|
+
/** Per-table search configuration */
|
|
1249
1216
|
export interface MetaSearchConfig {
|
|
1250
1217
|
/** Exponential decay factor per day */
|
|
1251
1218
|
boostRecencyDecay?: number | null;
|
|
@@ -1256,7 +1223,7 @@ export interface MetaSearchConfig {
|
|
|
1256
1223
|
/** JSON-encoded per-adapter score weights */
|
|
1257
1224
|
weights?: string | null;
|
|
1258
1225
|
}
|
|
1259
|
-
/** The
|
|
1226
|
+
/** The upload mutations and types for a storage table pair */
|
|
1260
1227
|
export interface MetaStorageUpload {
|
|
1261
1228
|
/** Per-file input type inside the bulk input */
|
|
1262
1229
|
bulkFileInputType: string;
|
|
@@ -1274,14 +1241,14 @@ export interface MetaStorageUpload {
|
|
|
1274
1241
|
mutation: string;
|
|
1275
1242
|
/** Payload type of the single upload mutation */
|
|
1276
1243
|
payloadType: string;
|
|
1277
|
-
/** Whether the upload input requires ownerId
|
|
1244
|
+
/** Whether the upload input requires ownerId */
|
|
1278
1245
|
requiresOwnerId: boolean;
|
|
1279
1246
|
}
|
|
1280
|
-
/** How a client must serialize
|
|
1247
|
+
/** How a client must serialize and parse a scalar whose wire format gqlType alone does not settle. Null for plain scalars whose wire format is obvious from gqlType. */
|
|
1281
1248
|
export interface MetaScalarEncoding {
|
|
1282
1249
|
/** For 'vector': declared length, else null. */
|
|
1283
1250
|
dimensions?: number | null;
|
|
1284
|
-
/** For 'ltree': values are dot-separated
|
|
1251
|
+
/** For 'ltree': true when values are dot-separated paths ('a.b.c'), false when they are slash-separated paths ('/a/b/c'). */
|
|
1285
1252
|
dotPath?: boolean | null;
|
|
1286
1253
|
/** For 'vector': element scalar (e.g. 'float'). */
|
|
1287
1254
|
elementType?: string | null;
|
package/storage/types.d.ts
CHANGED
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import type { BucketType, FileStatus } from './schema-types';
|
|
7
7
|
export type ConstructiveInternalTypeUpload = unknown;
|
|
8
|
+
export type FileVersion = unknown;
|
|
8
9
|
export interface Bucket {
|
|
9
10
|
actorId: string | null;
|
|
10
11
|
allowCustomKeys: boolean | null;
|
|
@@ -42,11 +43,14 @@ export interface File {
|
|
|
42
43
|
key: string | null;
|
|
43
44
|
mimeType: string | null;
|
|
44
45
|
promotedAt: string | null;
|
|
46
|
+
rejectionReason: string | null;
|
|
45
47
|
size: string | null;
|
|
46
48
|
status: FileStatus | null;
|
|
47
49
|
tags: string[] | null;
|
|
48
50
|
updatedAt: string | null;
|
|
49
51
|
upload: ConstructiveInternalTypeUpload | null;
|
|
52
|
+
uploadUrl: string | null;
|
|
53
|
+
uploadVersions: FileVersion[] | null;
|
|
50
54
|
}
|
|
51
55
|
export interface PlatformBucket {
|
|
52
56
|
actorId: string | null;
|
|
@@ -83,11 +87,14 @@ export interface PlatformFile {
|
|
|
83
87
|
key: string | null;
|
|
84
88
|
mimeType: string | null;
|
|
85
89
|
promotedAt: string | null;
|
|
90
|
+
rejectionReason: string | null;
|
|
86
91
|
size: string | null;
|
|
87
92
|
status: FileStatus | null;
|
|
88
93
|
tags: string[] | null;
|
|
89
94
|
updatedAt: string | null;
|
|
90
95
|
upload: ConstructiveInternalTypeUpload | null;
|
|
96
|
+
uploadUrl: string | null;
|
|
97
|
+
uploadVersions: FileVersion[] | null;
|
|
91
98
|
}
|
|
92
99
|
export interface StringFilter {
|
|
93
100
|
isNull?: boolean;
|
|
@@ -146,9 +146,7 @@ function buildSelections(select, connectionFieldsMap, entityType) {
|
|
|
146
146
|
const fieldArgs = Object.entries(nested.args).map(([argName, argValue]) => t.argument({ name: argName, value: buildValueAst(argValue) }));
|
|
147
147
|
const nestedSelect = nested.select;
|
|
148
148
|
if (nestedSelect && typeof nestedSelect === 'object') {
|
|
149
|
-
const subSelections =
|
|
150
|
-
.filter(([, v]) => v)
|
|
151
|
-
.map(([name]) => t.field({ name }));
|
|
149
|
+
const subSelections = buildSelections(nestedSelect, connectionFieldsMap);
|
|
152
150
|
fields.push(t.field({
|
|
153
151
|
name: key,
|
|
154
152
|
args: fieldArgs.length ? fieldArgs : undefined,
|
|
@@ -120,6 +120,6 @@ export type HookStrictSelect<S, Shape> = S extends DeepExact<S, Shape, 5> ? {} :
|
|
|
120
120
|
export type InferSelectResult<TEntity, TSelect> = TSelect extends undefined ? TEntity : {
|
|
121
121
|
[K in keyof TSelect as TSelect[K] extends false | undefined ? never : K]: TSelect[K] extends true ? K extends keyof TEntity ? TEntity[K] : never : TSelect[K] extends {
|
|
122
122
|
select: infer NestedSelect;
|
|
123
|
-
} ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
|
|
123
|
+
} ? K extends keyof TEntity ? NonNullable<TEntity[K]> extends ConnectionResult<infer NodeType> ? ConnectionResult<InferSelectResult<NodeType, NestedSelect>> : NonNullable<TEntity[K]> extends readonly (infer Item)[] ? InferSelectResult<NonNullable<Item>, NestedSelect>[] | (null extends TEntity[K] ? null : never) : InferSelectResult<NonNullable<TEntity[K]>, NestedSelect> | (null extends TEntity[K] ? null : never) : never : K extends keyof TEntity ? TEntity[K] : never;
|
|
124
124
|
};
|
|
125
125
|
export {};
|