@constructive-io/react 1.21.34 → 1.21.35
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 +8 -0
- package/auth/hooks/mutation-keys.js +12 -0
- package/auth/hooks/mutations/index.d.ts +4 -6
- package/auth/hooks/mutations/index.js +4 -6
- 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/{config/hooks/mutations/useCreateSecretMutation.js → auth/hooks/mutations/useEnsureAuthCsrfMutation.js} +6 -14
- package/auth/hooks/mutations/useExchangeNativeHandoffMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateSqlActionMutation.js → auth/hooks/mutations/useExchangeNativeHandoffMutation.js} +6 -14
- package/auth/hooks/mutations/useRequestDeviceApprovalMutation.d.ts +20 -0
- package/{api/hooks/mutations/useCreateAstMigrationMutation.js → auth/hooks/mutations/useRequestDeviceApprovalMutation.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 +25 -0
- package/auth/orm/input-types.d.ts +159 -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 +37 -1
- package/auth/orm/mutation/index.js +48 -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 +119 -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 +8 -0
- package/esm/auth/hooks/mutation-keys.js +12 -0
- package/esm/auth/hooks/mutations/index.d.ts +4 -6
- package/esm/auth/hooks/mutations/index.js +4 -6
- 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/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 +25 -0
- package/esm/auth/orm/input-types.d.ts +159 -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 +37 -1
- package/esm/auth/orm/mutation/index.js +48 -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 +119 -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/useCreateFileMutation.js +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.d.ts +0 -34
- package/storage/hooks/mutations/useCreatePlatformFileMutation.js +0 -34
|
@@ -230,7 +230,7 @@ export interface UUIDListFilter {
|
|
|
230
230
|
anyGreaterThanOrEqualTo?: string;
|
|
231
231
|
}
|
|
232
232
|
export type BucketType = 'PRIVATE' | 'PUBLIC' | 'TEMP';
|
|
233
|
-
export type FileStatus = '
|
|
233
|
+
export type FileStatus = 'PROCESSED' | 'REJECTED' | 'REQUESTED' | 'UPLOADED';
|
|
234
234
|
export type ConstructiveInternalTypeUpload = unknown;
|
|
235
235
|
/** Logical storage containers that group files with shared access policies and CDN behavior */
|
|
236
236
|
export interface Bucket {
|
|
@@ -283,7 +283,7 @@ export interface File {
|
|
|
283
283
|
databaseId?: string | null;
|
|
284
284
|
/** Human-readable description or alt text for the file (mutable) */
|
|
285
285
|
description?: string | null;
|
|
286
|
-
/** URL to download this file. For public files, returns the public URL. For private files, returns a time-limited presigned URL. */
|
|
286
|
+
/** URL to download this file. For public files, returns the public URL. For private files, returns a time-limited presigned URL. Null until the upload is confirmed (status uploaded or processed), and for a rejected file. */
|
|
287
287
|
downloadUrl?: string | null;
|
|
288
288
|
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
289
289
|
expiryEnqueuedAt?: string | null;
|
|
@@ -299,15 +299,21 @@ export interface File {
|
|
|
299
299
|
mimeType?: string | null;
|
|
300
300
|
/** 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. */
|
|
301
301
|
promotedAt?: string | null;
|
|
302
|
+
/** Why the upload was rejected (declared MIME, extension and magic bytes disagreed, size mismatch, ...). NULL unless status is rejected. */
|
|
303
|
+
rejectionReason?: string | null;
|
|
302
304
|
/** File size in bytes. Immutable after INSERT. */
|
|
303
305
|
size?: string | null;
|
|
304
|
-
/** 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)
|
|
306
|
+
/** 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. */
|
|
305
307
|
status?: FileStatus | null;
|
|
306
308
|
/** User-defined tags for categorization and search (mutable) */
|
|
307
309
|
tags?: string[] | null;
|
|
308
310
|
updatedAt?: string | null;
|
|
309
311
|
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
310
312
|
upload?: ConstructiveInternalTypeUpload | null;
|
|
313
|
+
/** URL to fetch `upload`: the narrowest rendered version at least `width` pixels wide, else the source file. Null when the column names no file the reader can fetch. */
|
|
314
|
+
uploadUrl?: string | null;
|
|
315
|
+
/** The versions rendered beside `upload`, narrowest first, each with a URL. Empty when there are none. */
|
|
316
|
+
uploadVersions?: FileVersion[] | null;
|
|
311
317
|
}
|
|
312
318
|
/** Logical storage containers that group files with shared access policies and CDN behavior */
|
|
313
319
|
export interface PlatformBucket {
|
|
@@ -356,7 +362,7 @@ export interface PlatformFile {
|
|
|
356
362
|
createdAt?: string | null;
|
|
357
363
|
/** Human-readable description or alt text for the file (mutable) */
|
|
358
364
|
description?: string | null;
|
|
359
|
-
/** URL to download this file. For public files, returns the public URL. For private files, returns a time-limited presigned URL. */
|
|
365
|
+
/** URL to download this file. For public files, returns the public URL. For private files, returns a time-limited presigned URL. Null until the upload is confirmed (status uploaded or processed), and for a rejected file. */
|
|
360
366
|
downloadUrl?: string | null;
|
|
361
367
|
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
362
368
|
expiryEnqueuedAt?: string | null;
|
|
@@ -372,15 +378,21 @@ export interface PlatformFile {
|
|
|
372
378
|
mimeType?: string | null;
|
|
373
379
|
/** 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. */
|
|
374
380
|
promotedAt?: string | null;
|
|
381
|
+
/** Why the upload was rejected (declared MIME, extension and magic bytes disagreed, size mismatch, ...). NULL unless status is rejected. */
|
|
382
|
+
rejectionReason?: string | null;
|
|
375
383
|
/** File size in bytes. Immutable after INSERT. */
|
|
376
384
|
size?: string | null;
|
|
377
|
-
/** 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)
|
|
385
|
+
/** 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. */
|
|
378
386
|
status?: FileStatus | null;
|
|
379
387
|
/** User-defined tags for categorization and search (mutable) */
|
|
380
388
|
tags?: string[] | null;
|
|
381
389
|
updatedAt?: string | null;
|
|
382
390
|
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
383
391
|
upload?: ConstructiveInternalTypeUpload | null;
|
|
392
|
+
/** URL to fetch `upload`: the narrowest rendered version at least `width` pixels wide, else the source file. Null when the column names no file the reader can fetch. */
|
|
393
|
+
uploadUrl?: string | null;
|
|
394
|
+
/** The versions rendered beside `upload`, narrowest first, each with a URL. Empty when there are none. */
|
|
395
|
+
uploadVersions?: FileVersion[] | null;
|
|
384
396
|
}
|
|
385
397
|
export interface ConnectionResult<T> {
|
|
386
398
|
nodes: T[];
|
|
@@ -465,11 +477,21 @@ export type FileSelect = {
|
|
|
465
477
|
key?: boolean;
|
|
466
478
|
mimeType?: boolean;
|
|
467
479
|
promotedAt?: boolean;
|
|
480
|
+
rejectionReason?: boolean;
|
|
468
481
|
size?: boolean;
|
|
469
482
|
status?: boolean;
|
|
470
483
|
tags?: boolean;
|
|
471
484
|
updatedAt?: boolean;
|
|
472
485
|
upload?: boolean;
|
|
486
|
+
uploadUrl?: {
|
|
487
|
+
args: {
|
|
488
|
+
width?: number;
|
|
489
|
+
};
|
|
490
|
+
select?: Record<string, boolean>;
|
|
491
|
+
};
|
|
492
|
+
uploadVersions?: {
|
|
493
|
+
select: FileVersionSelect;
|
|
494
|
+
};
|
|
473
495
|
bucket?: {
|
|
474
496
|
select: BucketSelect;
|
|
475
497
|
};
|
|
@@ -524,11 +546,21 @@ export type PlatformFileSelect = {
|
|
|
524
546
|
key?: boolean;
|
|
525
547
|
mimeType?: boolean;
|
|
526
548
|
promotedAt?: boolean;
|
|
549
|
+
rejectionReason?: boolean;
|
|
527
550
|
size?: boolean;
|
|
528
551
|
status?: boolean;
|
|
529
552
|
tags?: boolean;
|
|
530
553
|
updatedAt?: boolean;
|
|
531
554
|
upload?: boolean;
|
|
555
|
+
uploadUrl?: {
|
|
556
|
+
args: {
|
|
557
|
+
width?: number;
|
|
558
|
+
};
|
|
559
|
+
select?: Record<string, boolean>;
|
|
560
|
+
};
|
|
561
|
+
uploadVersions?: {
|
|
562
|
+
select: FileVersionSelect;
|
|
563
|
+
};
|
|
532
564
|
bucket?: {
|
|
533
565
|
select: PlatformBucketSelect;
|
|
534
566
|
};
|
|
@@ -624,6 +656,8 @@ export interface FileFilter {
|
|
|
624
656
|
or?: FileFilter[];
|
|
625
657
|
/** Filter by the object’s `promotedAt` field. */
|
|
626
658
|
promotedAt?: DatetimeFilter;
|
|
659
|
+
/** Filter by the object’s `rejectionReason` field. */
|
|
660
|
+
rejectionReason?: StringFilter;
|
|
627
661
|
/** Filter by the object’s `size` field. */
|
|
628
662
|
size?: BigIntFilter;
|
|
629
663
|
/** Filter by the object’s `status` field. */
|
|
@@ -722,6 +756,8 @@ export interface PlatformFileFilter {
|
|
|
722
756
|
or?: PlatformFileFilter[];
|
|
723
757
|
/** Filter by the object’s `promotedAt` field. */
|
|
724
758
|
promotedAt?: DatetimeFilter;
|
|
759
|
+
/** Filter by the object’s `rejectionReason` field. */
|
|
760
|
+
rejectionReason?: StringFilter;
|
|
725
761
|
/** Filter by the object’s `size` field. */
|
|
726
762
|
size?: BigIntFilter;
|
|
727
763
|
/** Filter by the object’s `status` field. */
|
|
@@ -734,9 +770,9 @@ export interface PlatformFileFilter {
|
|
|
734
770
|
upload?: ConstructiveInternalTypeUploadFilter;
|
|
735
771
|
}
|
|
736
772
|
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';
|
|
737
|
-
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';
|
|
773
|
+
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';
|
|
738
774
|
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';
|
|
739
|
-
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';
|
|
775
|
+
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';
|
|
740
776
|
export interface CreateBucketInput {
|
|
741
777
|
clientMutationId?: string;
|
|
742
778
|
bucket: {
|
|
@@ -783,24 +819,6 @@ export interface DeleteBucketInput {
|
|
|
783
819
|
clientMutationId?: string;
|
|
784
820
|
id: string;
|
|
785
821
|
}
|
|
786
|
-
export interface CreateFileInput {
|
|
787
|
-
clientMutationId?: string;
|
|
788
|
-
file: {
|
|
789
|
-
actorId: string;
|
|
790
|
-
bucketId: string;
|
|
791
|
-
contentHash?: string;
|
|
792
|
-
description?: string;
|
|
793
|
-
expiryEnqueuedAt?: string;
|
|
794
|
-
filename?: string;
|
|
795
|
-
key: string;
|
|
796
|
-
mimeType: string;
|
|
797
|
-
promotedAt?: string;
|
|
798
|
-
size: string;
|
|
799
|
-
status?: FileStatus;
|
|
800
|
-
tags?: string[];
|
|
801
|
-
upload?: ConstructiveInternalTypeUpload;
|
|
802
|
-
};
|
|
803
|
-
}
|
|
804
822
|
export interface FilePatch {
|
|
805
823
|
actorId?: string | null;
|
|
806
824
|
bucketId?: string | null;
|
|
@@ -813,11 +831,11 @@ export interface FilePatch {
|
|
|
813
831
|
key?: string | null;
|
|
814
832
|
mimeType?: string | null;
|
|
815
833
|
promotedAt?: string | null;
|
|
834
|
+
rejectionReason?: string | null;
|
|
816
835
|
size?: string | null;
|
|
817
836
|
status?: FileStatus | null;
|
|
818
837
|
tags?: string[] | null;
|
|
819
838
|
upload?: ConstructiveInternalTypeUpload | null;
|
|
820
|
-
uploadUpload?: File | null;
|
|
821
839
|
}
|
|
822
840
|
export interface UpdateFileInput {
|
|
823
841
|
clientMutationId?: string;
|
|
@@ -872,24 +890,6 @@ export interface DeletePlatformBucketInput {
|
|
|
872
890
|
clientMutationId?: string;
|
|
873
891
|
id: string;
|
|
874
892
|
}
|
|
875
|
-
export interface CreatePlatformFileInput {
|
|
876
|
-
clientMutationId?: string;
|
|
877
|
-
platformFile: {
|
|
878
|
-
actorId: string;
|
|
879
|
-
bucketId: string;
|
|
880
|
-
contentHash?: string;
|
|
881
|
-
description?: string;
|
|
882
|
-
expiryEnqueuedAt?: string;
|
|
883
|
-
filename?: string;
|
|
884
|
-
key: string;
|
|
885
|
-
mimeType: string;
|
|
886
|
-
promotedAt?: string;
|
|
887
|
-
size: string;
|
|
888
|
-
status?: FileStatus;
|
|
889
|
-
tags?: string[];
|
|
890
|
-
upload?: ConstructiveInternalTypeUpload;
|
|
891
|
-
};
|
|
892
|
-
}
|
|
893
893
|
export interface PlatformFilePatch {
|
|
894
894
|
actorId?: string | null;
|
|
895
895
|
bucketId?: string | null;
|
|
@@ -901,11 +901,11 @@ export interface PlatformFilePatch {
|
|
|
901
901
|
key?: string | null;
|
|
902
902
|
mimeType?: string | null;
|
|
903
903
|
promotedAt?: string | null;
|
|
904
|
+
rejectionReason?: string | null;
|
|
904
905
|
size?: string | null;
|
|
905
906
|
status?: FileStatus | null;
|
|
906
907
|
tags?: string[] | null;
|
|
907
908
|
upload?: ConstructiveInternalTypeUpload | null;
|
|
908
|
-
uploadUpload?: File | null;
|
|
909
909
|
}
|
|
910
910
|
export interface UpdatePlatformFileInput {
|
|
911
911
|
clientMutationId?: string;
|
|
@@ -943,6 +943,8 @@ export interface UploadFileInput {
|
|
|
943
943
|
contentHash: string;
|
|
944
944
|
/** MIME type of the file */
|
|
945
945
|
contentType: string;
|
|
946
|
+
/** 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. */
|
|
947
|
+
databaseId?: string;
|
|
946
948
|
/** Original filename (optional) */
|
|
947
949
|
filename?: string;
|
|
948
950
|
/** Which default bucket to resolve when bucketKey is omitted: the public one (true) or the private one (default false). Ignored when bucketKey is given. */
|
|
@@ -955,6 +957,8 @@ export interface UploadFileInput {
|
|
|
955
957
|
export interface UploadFileBulkInput {
|
|
956
958
|
/** Bucket key (e.g., "public", "private"). Omit to use the database's default bucket for the requested access. */
|
|
957
959
|
bucketKey?: string;
|
|
960
|
+
/** 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. */
|
|
961
|
+
databaseId?: string;
|
|
958
962
|
/** Array of files to upload */
|
|
959
963
|
files: UploadFileBulkFileInput[];
|
|
960
964
|
/** Which default bucket to resolve when bucketKey is omitted. Ignored when bucketKey is given. */
|
|
@@ -1185,38 +1189,6 @@ export interface IntervalInput {
|
|
|
1185
1189
|
/** A quantity of years. */
|
|
1186
1190
|
years?: number;
|
|
1187
1191
|
}
|
|
1188
|
-
/** An input for mutations affecting `File` */
|
|
1189
|
-
export interface FileInput {
|
|
1190
|
-
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
1191
|
-
actorId: string;
|
|
1192
|
-
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
1193
|
-
bucketId: string;
|
|
1194
|
-
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
1195
|
-
contentHash?: string;
|
|
1196
|
-
createdAt?: string;
|
|
1197
|
-
/** Human-readable description or alt text for the file (mutable) */
|
|
1198
|
-
description?: string;
|
|
1199
|
-
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
1200
|
-
expiryEnqueuedAt?: string;
|
|
1201
|
-
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
1202
|
-
filename?: string;
|
|
1203
|
-
id?: string;
|
|
1204
|
-
/** S3 object key for this file, unique within its bucket */
|
|
1205
|
-
key: string;
|
|
1206
|
-
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
1207
|
-
mimeType: string;
|
|
1208
|
-
/** 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. */
|
|
1209
|
-
promotedAt?: string;
|
|
1210
|
-
/** File size in bytes. Immutable after INSERT. */
|
|
1211
|
-
size: string;
|
|
1212
|
-
/** 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). */
|
|
1213
|
-
status?: FileStatus;
|
|
1214
|
-
/** User-defined tags for categorization and search (mutable) */
|
|
1215
|
-
tags?: string[];
|
|
1216
|
-
updatedAt?: string;
|
|
1217
|
-
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
1218
|
-
upload?: ConstructiveInternalTypeUpload;
|
|
1219
|
-
}
|
|
1220
1192
|
/** An input for mutations affecting `PlatformBucket` */
|
|
1221
1193
|
export interface PlatformBucketInput {
|
|
1222
1194
|
/** User who created this bucket. Forced to current_user_id() on INSERT. */
|
|
@@ -1251,38 +1223,6 @@ export interface PlatformBucketInput {
|
|
|
1251
1223
|
type?: BucketType;
|
|
1252
1224
|
updatedAt?: string;
|
|
1253
1225
|
}
|
|
1254
|
-
/** An input for mutations affecting `PlatformFile` */
|
|
1255
|
-
export interface PlatformFileInput {
|
|
1256
|
-
/** User who uploaded this file. Forced to current_user_id() on INSERT. Used for UPDATE/DELETE authorization. */
|
|
1257
|
-
actorId: string;
|
|
1258
|
-
/** Bucket this file belongs to. Determines owner_id and is_public via inheritance trigger. */
|
|
1259
|
-
bucketId: string;
|
|
1260
|
-
/** SHA-256 content hash for integrity verification and dedup. In default mode, equals the S3 key. In custom key mode, stored separately. */
|
|
1261
|
-
contentHash?: string;
|
|
1262
|
-
createdAt?: string;
|
|
1263
|
-
/** Human-readable description or alt text for the file (mutable) */
|
|
1264
|
-
description?: string;
|
|
1265
|
-
/** When the staged-expiry sweep enqueued deletion of this file's object. NULL until it expires; set once so expiry is enqueued exactly once. */
|
|
1266
|
-
expiryEnqueuedAt?: string;
|
|
1267
|
-
/** Original filename provided by the uploader. Used for display and Content-Disposition header on download. */
|
|
1268
|
-
filename?: string;
|
|
1269
|
-
id?: string;
|
|
1270
|
-
/** S3 object key for this file, unique within its bucket */
|
|
1271
|
-
key: string;
|
|
1272
|
-
/** MIME type of the file (e.g. image/png, application/pdf). Immutable after INSERT. */
|
|
1273
|
-
mimeType: string;
|
|
1274
|
-
/** 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. */
|
|
1275
|
-
promotedAt?: string;
|
|
1276
|
-
/** File size in bytes. Immutable after INSERT. */
|
|
1277
|
-
size: string;
|
|
1278
|
-
/** 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). */
|
|
1279
|
-
status?: FileStatus;
|
|
1280
|
-
/** User-defined tags for categorization and search (mutable) */
|
|
1281
|
-
tags?: string[];
|
|
1282
|
-
updatedAt?: string;
|
|
1283
|
-
/** Processed file reference (upload domain). Populated by processing jobs after file is uploaded. Copy this value to other tables to reference the file. */
|
|
1284
|
-
upload?: ConstructiveInternalTypeUpload;
|
|
1285
|
-
}
|
|
1286
1226
|
export interface UploadFileBulkFileInput {
|
|
1287
1227
|
/** SHA-256 content hash (hex-encoded, 64 chars) */
|
|
1288
1228
|
contentHash: string;
|
|
@@ -1400,6 +1340,8 @@ export interface FileFilter {
|
|
|
1400
1340
|
or?: FileFilter[];
|
|
1401
1341
|
/** Filter by the object’s `promotedAt` field. */
|
|
1402
1342
|
promotedAt?: DatetimeFilter;
|
|
1343
|
+
/** Filter by the object’s `rejectionReason` field. */
|
|
1344
|
+
rejectionReason?: StringFilter;
|
|
1403
1345
|
/** Filter by the object’s `size` field. */
|
|
1404
1346
|
size?: BigIntFilter;
|
|
1405
1347
|
/** Filter by the object’s `status` field. */
|
|
@@ -1500,6 +1442,8 @@ export interface PlatformFileFilter {
|
|
|
1500
1442
|
or?: PlatformFileFilter[];
|
|
1501
1443
|
/** Filter by the object’s `promotedAt` field. */
|
|
1502
1444
|
promotedAt?: DatetimeFilter;
|
|
1445
|
+
/** Filter by the object’s `rejectionReason` field. */
|
|
1446
|
+
rejectionReason?: StringFilter;
|
|
1503
1447
|
/** Filter by the object’s `size` field. */
|
|
1504
1448
|
size?: BigIntFilter;
|
|
1505
1449
|
/** Filter by the object’s `status` field. */
|
|
@@ -1781,6 +1725,8 @@ export interface UploadFilePayload {
|
|
|
1781
1725
|
fileId: string;
|
|
1782
1726
|
/** The S3 object key */
|
|
1783
1727
|
key: string;
|
|
1728
|
+
/** 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. */
|
|
1729
|
+
uploadHeaders?: Record<string, unknown> | null;
|
|
1784
1730
|
/** Presigned PUT URL (null if deduplicated) */
|
|
1785
1731
|
uploadUrl?: string | null;
|
|
1786
1732
|
}
|
|
@@ -1790,6 +1736,7 @@ export type UploadFilePayloadSelect = {
|
|
|
1790
1736
|
file?: boolean;
|
|
1791
1737
|
fileId?: boolean;
|
|
1792
1738
|
key?: boolean;
|
|
1739
|
+
uploadHeaders?: boolean;
|
|
1793
1740
|
uploadUrl?: boolean;
|
|
1794
1741
|
};
|
|
1795
1742
|
export interface UploadFileBulkPayload {
|
|
@@ -1811,6 +1758,8 @@ export interface UploadPlatformFilePayload {
|
|
|
1811
1758
|
fileId: string;
|
|
1812
1759
|
/** The S3 object key */
|
|
1813
1760
|
key: string;
|
|
1761
|
+
/** 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. */
|
|
1762
|
+
uploadHeaders?: Record<string, unknown> | null;
|
|
1814
1763
|
/** Presigned PUT URL (null if deduplicated) */
|
|
1815
1764
|
uploadUrl?: string | null;
|
|
1816
1765
|
}
|
|
@@ -1820,6 +1769,7 @@ export type UploadPlatformFilePayloadSelect = {
|
|
|
1820
1769
|
file?: boolean;
|
|
1821
1770
|
fileId?: boolean;
|
|
1822
1771
|
key?: boolean;
|
|
1772
|
+
uploadHeaders?: boolean;
|
|
1823
1773
|
uploadUrl?: boolean;
|
|
1824
1774
|
};
|
|
1825
1775
|
export interface UploadPlatformFileBulkPayload {
|
|
@@ -1875,21 +1825,6 @@ export type DeleteBucketPayloadSelect = {
|
|
|
1875
1825
|
};
|
|
1876
1826
|
clientMutationId?: boolean;
|
|
1877
1827
|
};
|
|
1878
|
-
export interface CreateFilePayload {
|
|
1879
|
-
clientMutationId?: string | null;
|
|
1880
|
-
/** The `File` that was created by this mutation. */
|
|
1881
|
-
file?: File | null;
|
|
1882
|
-
fileEdge?: FileEdge | null;
|
|
1883
|
-
}
|
|
1884
|
-
export type CreateFilePayloadSelect = {
|
|
1885
|
-
clientMutationId?: boolean;
|
|
1886
|
-
file?: {
|
|
1887
|
-
select: FileSelect;
|
|
1888
|
-
};
|
|
1889
|
-
fileEdge?: {
|
|
1890
|
-
select: FileEdgeSelect;
|
|
1891
|
-
};
|
|
1892
|
-
};
|
|
1893
1828
|
export interface UpdateFilePayload {
|
|
1894
1829
|
clientMutationId?: string | null;
|
|
1895
1830
|
/** The `File` that was updated by this mutation. */
|
|
@@ -1965,21 +1900,6 @@ export type DeletePlatformBucketPayloadSelect = {
|
|
|
1965
1900
|
select: PlatformBucketEdgeSelect;
|
|
1966
1901
|
};
|
|
1967
1902
|
};
|
|
1968
|
-
export interface CreatePlatformFilePayload {
|
|
1969
|
-
clientMutationId?: string | null;
|
|
1970
|
-
/** The `PlatformFile` that was created by this mutation. */
|
|
1971
|
-
platformFile?: PlatformFile | null;
|
|
1972
|
-
platformFileEdge?: PlatformFileEdge | null;
|
|
1973
|
-
}
|
|
1974
|
-
export type CreatePlatformFilePayloadSelect = {
|
|
1975
|
-
clientMutationId?: boolean;
|
|
1976
|
-
platformFile?: {
|
|
1977
|
-
select: PlatformFileSelect;
|
|
1978
|
-
};
|
|
1979
|
-
platformFileEdge?: {
|
|
1980
|
-
select: PlatformFileEdgeSelect;
|
|
1981
|
-
};
|
|
1982
|
-
};
|
|
1983
1903
|
export interface UpdatePlatformFilePayload {
|
|
1984
1904
|
clientMutationId?: string | null;
|
|
1985
1905
|
/** The `PlatformFile` that was updated by this mutation. */
|
|
@@ -2010,6 +1930,25 @@ export type DeletePlatformFilePayloadSelect = {
|
|
|
2010
1930
|
select: PlatformFileEdgeSelect;
|
|
2011
1931
|
};
|
|
2012
1932
|
};
|
|
1933
|
+
/** One version rendered beside a file, with a URL to fetch it. */
|
|
1934
|
+
export interface FileVersion {
|
|
1935
|
+
format?: string | null;
|
|
1936
|
+
height?: number | null;
|
|
1937
|
+
key: string;
|
|
1938
|
+
name?: string | null;
|
|
1939
|
+
size?: number | null;
|
|
1940
|
+
url: string;
|
|
1941
|
+
width?: number | null;
|
|
1942
|
+
}
|
|
1943
|
+
export type FileVersionSelect = {
|
|
1944
|
+
format?: boolean;
|
|
1945
|
+
height?: boolean;
|
|
1946
|
+
key?: boolean;
|
|
1947
|
+
name?: boolean;
|
|
1948
|
+
size?: boolean;
|
|
1949
|
+
url?: boolean;
|
|
1950
|
+
width?: boolean;
|
|
1951
|
+
};
|
|
2013
1952
|
/** A `File` edge in the connection. */
|
|
2014
1953
|
export interface FileEdge {
|
|
2015
1954
|
cursor?: string | null;
|
|
@@ -2041,6 +1980,8 @@ export interface UploadFileBulkFilePayload {
|
|
|
2041
1980
|
file?: Record<string, unknown> | null;
|
|
2042
1981
|
fileId: string;
|
|
2043
1982
|
key: string;
|
|
1983
|
+
/** The exact headers the PUT to uploadUrl must send. */
|
|
1984
|
+
uploadHeaders?: Record<string, unknown> | null;
|
|
2044
1985
|
uploadUrl?: string | null;
|
|
2045
1986
|
}
|
|
2046
1987
|
export type UploadFileBulkFilePayloadSelect = {
|
|
@@ -2049,6 +1990,7 @@ export type UploadFileBulkFilePayloadSelect = {
|
|
|
2049
1990
|
file?: boolean;
|
|
2050
1991
|
fileId?: boolean;
|
|
2051
1992
|
key?: boolean;
|
|
1993
|
+
uploadHeaders?: boolean;
|
|
2052
1994
|
uploadUrl?: boolean;
|
|
2053
1995
|
};
|
|
2054
1996
|
export interface UploadPlatformFileBulkFilePayload {
|
|
@@ -2058,6 +2000,8 @@ export interface UploadPlatformFileBulkFilePayload {
|
|
|
2058
2000
|
file?: Record<string, unknown> | null;
|
|
2059
2001
|
fileId: string;
|
|
2060
2002
|
key: string;
|
|
2003
|
+
/** The exact headers the PUT to uploadUrl must send. */
|
|
2004
|
+
uploadHeaders?: Record<string, unknown> | null;
|
|
2061
2005
|
uploadUrl?: string | null;
|
|
2062
2006
|
}
|
|
2063
2007
|
export type UploadPlatformFileBulkFilePayloadSelect = {
|
|
@@ -2066,6 +2010,7 @@ export type UploadPlatformFileBulkFilePayloadSelect = {
|
|
|
2066
2010
|
file?: boolean;
|
|
2067
2011
|
fileId?: boolean;
|
|
2068
2012
|
key?: boolean;
|
|
2013
|
+
uploadHeaders?: boolean;
|
|
2069
2014
|
uploadUrl?: boolean;
|
|
2070
2015
|
};
|
|
2071
2016
|
/** A `Bucket` edge in the connection. */
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs,
|
|
9
|
-
import type { FileWithRelations, FileSelect, FileFilter, FileOrderBy,
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { FileWithRelations, FileSelect, FileFilter, FileOrderBy, FilePatch } from '../input-types';
|
|
10
10
|
export declare class FileModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
@@ -26,13 +26,6 @@ export declare class FileModel {
|
|
|
26
26
|
} & StrictSelect<S, FileSelect>): QueryBuilder<{
|
|
27
27
|
file: InferSelectResult<FileWithRelations, S> | null;
|
|
28
28
|
}>;
|
|
29
|
-
create<S extends FileSelect>(args: CreateArgs<S, CreateFileInput['file']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, FileSelect>): QueryBuilder<{
|
|
32
|
-
createFile: {
|
|
33
|
-
file: InferSelectResult<FileWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
29
|
update<S extends FileSelect>(args: UpdateArgs<S, {
|
|
37
30
|
id: string;
|
|
38
31
|
}, FilePatch> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument,
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export class FileModel {
|
|
4
4
|
client;
|
|
@@ -62,17 +62,6 @@ export class FileModel {
|
|
|
62
62
|
}),
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('File', 'createFile', 'file', args.select, args.data, 'CreateFileInput', connectionFieldsMap);
|
|
67
|
-
return new QueryBuilder({
|
|
68
|
-
client: this.client,
|
|
69
|
-
operation: 'mutation',
|
|
70
|
-
operationName: 'File',
|
|
71
|
-
fieldName: 'createFile',
|
|
72
|
-
document,
|
|
73
|
-
variables,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
65
|
update(args) {
|
|
77
66
|
const { document, variables } = buildUpdateByPkDocument('File', 'updateFile', 'file', args.select, args.where.id, args.data, 'UpdateFileInput', 'id', 'filePatch', connectionFieldsMap, undefined);
|
|
78
67
|
return new QueryBuilder({
|
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
*/
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
|
-
import type { ConnectionResult, FindManyArgs, FindFirstArgs,
|
|
9
|
-
import type { PlatformFileWithRelations, PlatformFileSelect, PlatformFileFilter, PlatformFileOrderBy,
|
|
8
|
+
import type { ConnectionResult, FindManyArgs, FindFirstArgs, UpdateArgs, DeleteArgs, InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
+
import type { PlatformFileWithRelations, PlatformFileSelect, PlatformFileFilter, PlatformFileOrderBy, PlatformFilePatch } from '../input-types';
|
|
10
10
|
export declare class PlatformFileModel {
|
|
11
11
|
private client;
|
|
12
12
|
constructor(client: OrmClient);
|
|
@@ -26,13 +26,6 @@ export declare class PlatformFileModel {
|
|
|
26
26
|
} & StrictSelect<S, PlatformFileSelect>): QueryBuilder<{
|
|
27
27
|
platformFile: InferSelectResult<PlatformFileWithRelations, S> | null;
|
|
28
28
|
}>;
|
|
29
|
-
create<S extends PlatformFileSelect>(args: CreateArgs<S, CreatePlatformFileInput['platformFile']> & {
|
|
30
|
-
select: S;
|
|
31
|
-
} & StrictSelect<S, PlatformFileSelect>): QueryBuilder<{
|
|
32
|
-
createPlatformFile: {
|
|
33
|
-
platformFile: InferSelectResult<PlatformFileWithRelations, S>;
|
|
34
|
-
};
|
|
35
|
-
}>;
|
|
36
29
|
update<S extends PlatformFileSelect>(args: UpdateArgs<S, {
|
|
37
30
|
id: string;
|
|
38
31
|
}, PlatformFilePatch> & {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument,
|
|
1
|
+
import { QueryBuilder, buildFindManyDocument, buildFindFirstDocument, buildUpdateByPkDocument, buildDeleteByPkDocument, } from '../query-builder';
|
|
2
2
|
import { connectionFieldsMap } from '../input-types';
|
|
3
3
|
export class PlatformFileModel {
|
|
4
4
|
client;
|
|
@@ -62,17 +62,6 @@ export class PlatformFileModel {
|
|
|
62
62
|
}),
|
|
63
63
|
});
|
|
64
64
|
}
|
|
65
|
-
create(args) {
|
|
66
|
-
const { document, variables } = buildCreateDocument('PlatformFile', 'createPlatformFile', 'platformFile', args.select, args.data, 'CreatePlatformFileInput', connectionFieldsMap);
|
|
67
|
-
return new QueryBuilder({
|
|
68
|
-
client: this.client,
|
|
69
|
-
operation: 'mutation',
|
|
70
|
-
operationName: 'PlatformFile',
|
|
71
|
-
fieldName: 'createPlatformFile',
|
|
72
|
-
document,
|
|
73
|
-
variables,
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
65
|
update(args) {
|
|
77
66
|
const { document, variables } = buildUpdateByPkDocument('PlatformFile', 'updatePlatformFile', 'platformFile', args.select, args.where.id, args.data, 'UpdatePlatformFileInput', 'id', 'platformFilePatch', connectionFieldsMap, undefined);
|
|
78
67
|
return new QueryBuilder({
|
|
@@ -94,9 +94,7 @@ export function buildSelections(select, connectionFieldsMap, entityType) {
|
|
|
94
94
|
const fieldArgs = Object.entries(nested.args).map(([argName, argValue]) => t.argument({ name: argName, value: buildValueAst(argValue) }));
|
|
95
95
|
const nestedSelect = nested.select;
|
|
96
96
|
if (nestedSelect && typeof nestedSelect === 'object') {
|
|
97
|
-
const subSelections =
|
|
98
|
-
.filter(([, v]) => v)
|
|
99
|
-
.map(([name]) => t.field({ name }));
|
|
97
|
+
const subSelections = buildSelections(nestedSelect, connectionFieldsMap);
|
|
100
98
|
fields.push(t.field({
|
|
101
99
|
name: key,
|
|
102
100
|
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 {};
|