Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: align with API types (#34821)

Kevin Grüneberg4532286e0451
diff --git a/apps/studio/components/interfaces/Database/Privileges/Privileges.utils.ts b/apps/studio/components/interfaces/Database/Privileges/Privileges.utils.ts
index 90b08108777..ee91af701eb 100644
--- a/apps/studio/components/interfaces/Database/Privileges/Privileges.utils.ts
+++ b/apps/studio/components/interfaces/Database/Privileges/Privileges.utils.ts
@@ -2,10 +2,7 @@ import { useQueryClient } from '@tanstack/react-query'
import { useCallback, useState } from 'react'
import { useProjectContext } from 'components/layouts/ProjectLayout/ProjectContext'
-import {
- ColumnPrivilegesGrant,
- grantColumnPrivileges,
-} from 'data/privileges/column-privileges-grant-mutation'
+import { grantColumnPrivileges } from 'data/privileges/column-privileges-grant-mutation'
import type { ColumnPrivilege } from 'data/privileges/column-privileges-query'
import {
ColumnPrivilegesRevoke,
@@ -303,14 +300,14 @@ export function useApplyPrivilegeOperations(callback?: () => void) {
.map((op) => ({
column_id: String(op.id),
grantee: op.grantee,
- privilege_type: op.privilege_type as ColumnPrivilegesGrant['privilege_type'],
+ privilege_type: op.privilege_type as ColumnPrivilegesRevoke[number]['privilege_type'],
}))
const revokeColumnOperations = columnOperations
.filter((op) => op.type === 'revoke')
.map((op) => ({
column_id: String(op.id),
grantee: op.grantee,
- privilege_type: op.privilege_type as ColumnPrivilegesRevoke['privilege_type'],
+ privilege_type: op.privilege_type as ColumnPrivilegesRevoke[number]['privilege_type'],
}))
// annoyingly these can't be run all at once
diff --git a/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx b/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx
index 71e6a2686b5..21aa5ffcbeb 100644
--- a/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx
+++ b/apps/studio/components/layouts/ProjectLayout/PausedState/PauseDisabledState.tsx
@@ -92,12 +92,6 @@ export const PauseDisabledState = () => {
ref,
backup: {
id: latestBackup,
- // [Joshen] Just FYI these params aren't required for the download backup request
- // API types need to be updated
- project_id: -1,
- inserted_at: '',
- isPhysicalBackup: false,
- status: {},
},
},
{
diff --git a/apps/studio/data/branches/branch-reset-mutation.ts b/apps/studio/data/branches/branch-reset-mutation.ts
index 7f378fc09b4..f36fb6ab370 100644
--- a/apps/studio/data/branches/branch-reset-mutation.ts
+++ b/apps/studio/data/branches/branch-reset-mutation.ts
@@ -13,6 +13,7 @@ export type BranchResetVariables = {
export async function resetBranch({ id }: Pick<BranchResetVariables, 'id'>) {
const { data, error } = await post('/v1/branches/{branch_id}/reset', {
params: { path: { branch_id: id } },
+ body: {},
})
if (error) handleError(error)
diff --git a/apps/studio/data/database-columns/database-column-delete-mutation.ts b/apps/studio/data/database-columns/database-column-delete-mutation.ts
index 5ef14555e59..593a70c9cf6 100644
--- a/apps/studio/data/database-columns/database-column-delete-mutation.ts
+++ b/apps/studio/data/database-columns/database-column-delete-mutation.ts
@@ -31,7 +31,7 @@ export async function deleteDatabaseColumn({
header: { 'x-connection-encrypted': connectionString! },
path: { ref: projectRef },
// cascade is expected to be a string 'true' or 'false'
- query: { id, cascade: cascade.toString() },
+ query: { id, cascade },
},
headers,
})
diff --git a/apps/studio/data/database/backup-download-mutation.ts b/apps/studio/data/database/backup-download-mutation.ts
index c7ea1601982..a6460101c3d 100644
--- a/apps/studio/data/database/backup-download-mutation.ts
+++ b/apps/studio/data/database/backup-download-mutation.ts
@@ -3,17 +3,16 @@ import { toast } from 'sonner'
import { handleError, post } from 'data/fetchers'
import type { ResponseError } from 'types'
-import { Backup } from './backup-restore-mutation'
+import { components } from 'api-types'
export type BackupDownloadVariables = {
ref: string
- backup: Backup
+ backup: components['schemas']['DownloadBackupBody']
}
export async function downloadBackup({ ref, backup }: BackupDownloadVariables) {
const { data, error } = await post('/platform/database/{ref}/backups/download', {
params: { path: { ref } },
- // @ts-ignore TODO(kamil): Remove ts-ignore once `DownloadBackupBody` changes lands
body: {
id: backup.id,
},
diff --git a/apps/studio/data/database/backup-restore-mutation.ts b/apps/studio/data/database/backup-restore-mutation.ts
index cbe713a2236..615246a4fa1 100644
--- a/apps/studio/data/database/backup-restore-mutation.ts
+++ b/apps/studio/data/database/backup-restore-mutation.ts
@@ -11,7 +11,7 @@ export type BackupRestoreVariables = {
}
// [Joshen] Shift to backups RQ query once created
-export type Backup = components['schemas']['Backup']
+export type Backup = components['schemas']['BackupsResponse']['backups'][number]
export async function restoreFromBackup({ ref, backup }: BackupRestoreVariables) {
if (backup.isPhysicalBackup) {
diff --git a/apps/studio/data/database/backups-query.ts b/apps/studio/data/database/backups-query.ts
index 63824aff058..626ffef968d 100644
--- a/apps/studio/data/database/backups-query.ts
+++ b/apps/studio/data/database/backups-query.ts
@@ -10,7 +10,7 @@ export type BackupsVariables = {
projectRef?: string
}
-export type DatabaseBackup = components['schemas']['Backup']
+export type DatabaseBackup = components['schemas']['BackupsResponse']['backups'][number]
export async function getBackups({ projectRef }: BackupsVariables, signal?: AbortSignal) {
if (!projectRef) throw new Error('Project ref is required')
diff --git a/apps/studio/data/enumerated-types/enumerated-types-query.ts b/apps/studio/data/enumerated-types/enumerated-types-query.ts
index 05948c6f31b..5aeb8432e0c 100644
--- a/apps/studio/data/enumerated-types/enumerated-types-query.ts
+++ b/apps/studio/data/enumerated-types/enumerated-types-query.ts
@@ -22,7 +22,6 @@ export async function getEnumeratedTypes(
if (connectionString) headers.set('x-connection-encrypted', connectionString)
const { data, error } = await get('/platform/pg-meta/{ref}/types', {
- // @ts-expect-error: We don't need to pass included included_schemas / excluded_schemas in query params
params: {
header: { 'x-connection-encrypted': connectionString! },
path: { ref: projectRef },
diff --git a/apps/studio/data/integrations/integrations-vercel-projects-query.ts b/apps/studio/data/integrations/integrations-vercel-projects-query.ts
index 82a5201cab7..cfdf3937251 100644
--- a/apps/studio/data/integrations/integrations-vercel-projects-query.ts
+++ b/apps/studio/data/integrations/integrations-vercel-projects-query.ts
@@ -22,7 +22,7 @@ export async function getVercelProjects(
query: {
// [Alaister]: setting a large limit here to avoid pagination
// until we have merged the new shadcn listbox which will support it
- limit: '1000',
+ limit: 1000,
},
},
signal,
diff --git a/apps/studio/data/integrations/vercel-connection-update-mutate.ts b/apps/studio/data/integrations/vercel-connection-update-mutate.ts
index 08199756507..fa81264f8c4 100644
--- a/apps/studio/data/integrations/vercel-connection-update-mutate.ts
+++ b/apps/studio/data/integrations/vercel-connection-update-mutate.ts
@@ -16,7 +16,6 @@ export async function updateVercelConnection({
path: { connection_id: id },
},
body: {
- // @ts-expect-error for some reason openapi-typescript doesn't generate
// the array part of this type correctly
env_sync_targets: envSyncTargets,
public_env_var_prefix: publicEnvVarPrefix,
diff --git a/apps/studio/data/privileges/column-privileges-grant-mutation.ts b/apps/studio/data/privileges/column-privileges-grant-mutation.ts
index aa1a4cc92c5..820e60b94e8 100644
--- a/apps/studio/data/privileges/column-privileges-grant-mutation.ts
+++ b/apps/studio/data/privileges/column-privileges-grant-mutation.ts
@@ -11,7 +11,7 @@ export type ColumnPrivilegesGrant = components['schemas']['GrantColumnPrivileges
export type ColumnPrivilegesGrantVariables = {
projectRef: string
connectionString?: string
- grants: ColumnPrivilegesGrant[]
+ grants: ColumnPrivilegesGrant
}
export async function grantColumnPrivileges({
diff --git a/apps/studio/data/privileges/column-privileges-revoke-mutation.ts b/apps/studio/data/privileges/column-privileges-revoke-mutation.ts
index c1e68a62d23..eec7afc2415 100644
--- a/apps/studio/data/privileges/column-privileges-revoke-mutation.ts
+++ b/apps/studio/data/privileges/column-privileges-revoke-mutation.ts
@@ -11,7 +11,7 @@ export type ColumnPrivilegesRevoke = components['schemas']['RevokeColumnPrivileg
export type ColumnPrivilegesRevokeVariables = {
projectRef: string
connectionString?: string
- revokes: ColumnPrivilegesRevoke[]
+ revokes: ColumnPrivilegesRevoke
}
export async function revokeColumnPrivileges({
diff --git a/apps/studio/data/projects/new-project.constants.ts b/apps/studio/data/projects/new-project.constants.ts
index 5eab2c5ff57..aad9488de61 100644
--- a/apps/studio/data/projects/new-project.constants.ts
+++ b/apps/studio/data/projects/new-project.constants.ts
@@ -14,16 +14,6 @@ export const instanceSizeSpecs: Record<
cloud_providers: string[]
}
> = {
- // [Joshen] Just to fix the TS error since this size is now expected
- // Unsure the parameters here, so leaving cloud_providers blank for now to prevent it from showing up in new project page
- pico: {
- label: 'Pico',
- ram: '',
- cpu: '',
- priceHourly: 0,
- priceMonthly: 0,
- cloud_providers: [],
- },
micro: {
label: 'Micro',
ram: '1 GB',
diff --git a/packages/api-types/types/api.d.ts b/packages/api-types/types/api.d.ts
index d2641b382cb..c4951f2f9f7 100644
--- a/packages/api-types/types/api.d.ts
+++ b/packages/api-types/types/api.d.ts
@@ -1533,6 +1533,9 @@ export interface components {
}
/** @enum {string} */
BillingPlanId: 'free' | 'pro' | 'team' | 'enterprise'
+ BranchActionBody: {
+ migration_version?: string
+ }
BranchDeleteResponse: {
/** @enum {string} */
message: 'ok'
@@ -1708,7 +1711,7 @@ export interface components {
status?: 'in_use' | 'standby'
}
CreateThirdPartyAuthBody: {
- custom_jwks?: Record<string, never>
+ custom_jwks?: unknown
jwks_url?: string
oidc_issuer_url?: string
}
@@ -1970,7 +1973,7 @@ export interface components {
code?: string
code_verifier?: string
/** @enum {string} */
- grant_type: 'authorization_code' | 'refresh_token'
+ grant_type?: 'authorization_code' | 'refresh_token'
redirect_uri?: string
refresh_token?: string
}
@@ -2216,29 +2219,22 @@ export interface components {
validation_records: components['schemas']['ValidationRecord'][]
}
StorageConfigResponse: {
- features: components['schemas']['StorageFeatures']
- /** Format: int64 */
+ features: {
+ imageTransformation: {
+ enabled: boolean
+ }
+ s3Protocol: {
+ enabled: boolean
+ }
+ }
fileSizeLimit: number
}
- StorageFeatureImageTransformation: {
- enabled: boolean
- }
- StorageFeatures: {
- imageTransformation: components['schemas']['StorageFeatureImageTransformation']
- s3Protocol: components['schemas']['StorageFeatureS3Protocol']
- }
- StorageFeatureS3Protocol: {
- enabled: boolean
- }
SubdomainAvailabilityResponse: {
available: boolean
}
SupavisorConfigResponse: {
connection_string: string
- /**
- * @deprecated
- * @description Use connection_string instead
- */
+ /** @description Use connection_string instead */
connectionString: string
/** @enum {string} */
database_type: 'PRIMARY' | 'READ_REPLICA'
@@ -2254,13 +2250,14 @@ export interface components {
pool_mode: 'transaction' | 'session'
}
ThirdPartyAuth: {
- custom_jwks?: Record<string, never> | null
+ custom_jwks?: unknown
+ /** Format: uuid */
id: string
inserted_at: string
jwks_url?: string | null
oidc_issuer_url?: string | null
resolved_at?: string | null
- resolved_jwks?: Record<string, never> | null
+ resolved_jwks?: unknown
type: string
updated_at: string
}
@@ -2529,14 +2526,19 @@ export interface components {
status: 'in_use' | 'previously_used' | 'revoked' | 'standby'
}
UpdateStorageConfigBody: {
- features?: components['schemas']['StorageFeatures']
- /** Format: int64 */
+ features?: {
+ imageTransformation: {
+ enabled: boolean
+ }
+ s3Protocol: {
+ enabled: boolean
+ }
+ }
fileSizeLimit?: number
}
UpdateSupavisorConfigBody: {
default_pool_size?: number | null
/**
- * @deprecated
* @description Dedicated pooler mode for the project
* @enum {string}
*/
@@ -2587,6 +2589,10 @@ export interface components {
slug: string
verify_jwt?: boolean
}
+ V1CreateMigrationBody: {
+ name?: string
+ query: string
+ }
V1CreateProjectBodyDto: {
/** @description Database password */
db_pass: string
@@ -2779,6 +2785,7 @@ export interface components {
}
V1RunQueryBody: {
query: string
+ read_only?: boolean
}
V1ServiceHealthResponse: {
error?: string
@@ -2931,7 +2938,11 @@ export interface operations {
}
cookie?: never
}
- requestBody?: never
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['BranchActionBody']
+ }
+ }
responses: {
201: {
headers: {
@@ -2959,7 +2970,11 @@ export interface operations {
}
cookie?: never
}
- requestBody?: never
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['BranchActionBody']
+ }
+ }
responses: {
201: {
headers: {
@@ -2987,7 +3002,11 @@ export interface operations {
}
cookie?: never
}
- requestBody?: never
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['BranchActionBody']
+ }
+ }
responses: {
201: {
headers: {
@@ -4110,7 +4129,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -4138,7 +4156,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -4170,7 +4187,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
tpa_id: string
}
@@ -4199,7 +4215,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
tpa_id: string
}
@@ -4263,7 +4278,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -4292,7 +4306,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -4783,7 +4796,11 @@ export interface operations {
}
cookie?: never
}
- requestBody?: never
+ requestBody: {
+ content: {
+ 'application/json': components['schemas']['V1CreateMigrationBody']
+ }
+ }
responses: {
200: {
headers: {
diff --git a/packages/api-types/types/platform.d.ts b/packages/api-types/types/platform.d.ts
index cdc08c531ba..e5b56e9afcc 100644
--- a/packages/api-types/types/platform.d.ts
+++ b/packages/api-types/types/platform.d.ts
@@ -1637,7 +1637,7 @@ export interface paths {
/** Gets project pg.publications */
get: operations['PublicationsController_getPublications']
put?: never
- /** Gets project pg.publications */
+ /** Creates project pg.publication */
post: operations['PublicationsController_createPublication']
/** Deletes project pg.publication with the given ID */
delete: operations['PublicationsController_deletePublication']
@@ -3976,23 +3976,6 @@ export interface paths {
patch?: never
trace?: never
}
- '/platform/vercel/token': {
- parameters: {
- query?: never
- header?: never
- path?: never
- cookie?: never
- }
- /** Gets the Vercel access token for the given code */
- get: operations['VercelAccessTokenController_getAccessToken']
- put?: never
- post?: never
- delete?: never
- options?: never
- head?: never
- patch?: never
- trace?: never
- }
'/platform/workflow-runs': {
parameters: {
query?: never
@@ -4197,18 +4180,18 @@ export interface components {
type: components['schemas']['ProjectAddonType']
variants: components['schemas']['ProjectAddonVariantResponse'][]
}
- Backup: {
- id: number
- inserted_at: string
- isPhysicalBackup: boolean
- project_id: number
- status: Record<string, never>
- }
BackupId: {
id: number
}
BackupsResponse: {
- backups: components['schemas']['Backup'][]
+ backups: {
+ id: number
+ inserted_at: string
+ isPhysicalBackup: boolean
+ project_id: number
+ /** @enum {string} */
+ status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'REMOVED' | 'ARCHIVED' | 'CANCELLED'
+ }[]
physicalBackupData: {
earliestPhysicalBackupDateUnix?: number
latestPhysicalBackupDateUnix?: number
@@ -4250,7 +4233,14 @@ export interface components {
id: string
}
CloneBackupsResponse: {
- backups: components['schemas']['Backup'][]
+ backups: {
+ id: number
+ inserted_at: string
+ isPhysicalBackup: boolean
+ project_id: number
+ /** @enum {string} */
+ status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'REMOVED' | 'ARCHIVED' | 'CANCELLED'
+ }[]
physicalBackupData: {
earliestPhysicalBackupDateUnix?: number
latestPhysicalBackupDateUnix?: number
@@ -4270,13 +4260,6 @@ export interface components {
/** @default 0 */
recoveryTimeTarget?: number
}
- ColumnPrivilege: {
- grantee: string
- grantor: string
- is_grantable: boolean
- /** @enum {string} */
- privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
- }
CopyObjectBody: {
from: string
to: string
@@ -4307,13 +4290,14 @@ export interface components {
}
CreateCliLoginSessionBody: {
public_key: string
+ /** Format: uuid */
session_id: string
token_name?: string
}
CreateColumnBody: {
check?: string
comment?: string
- defaultValue?: Record<string, never>
+ defaultValue?: unknown
/** @enum {string} */
defaultValueFormat?: 'expression' | 'literal'
/** @enum {string} */
@@ -4356,7 +4340,9 @@ export interface components {
args: string[]
/** @enum {string} */
behavior: 'VOLATILE' | 'STABLE' | 'IMMUTABLE'
- config_params?: Record<string, never>
+ config_params?: {
+ [key: string]: string
+ }
definition: string
language: string
name: string
@@ -4639,7 +4625,7 @@ export interface components {
/** @enum {string} */
enabled_mode: 'ORIGIN' | 'REPLICA' | 'ALWAYS' | 'DISABLED'
events: ('INSERT' | 'UPDATE' | 'DELETE')[]
- function_args: string[]
+ function_args?: string[]
function_name: string
function_schema: string
name: string
@@ -4705,11 +4691,19 @@ export interface components {
updated_at?: string
}
CreateVercelConnectionResponse: {
- env_sync_error?: components['schemas']['SyncVercelEnvError']
+ env_sync_error?: {
+ message: string
+ }
id: string
}
CreateVercelConnectionsBody: {
- connection: components['schemas']['IntegrationConnectionVercel']
+ connection: {
+ foreign_project_id: string
+ metadata: {
+ [key: string]: unknown
+ }
+ supabase_project_ref: string
+ }
organization_integration_id: string
}
CreateVercelEnvironmentVariableBody: {
@@ -4721,7 +4715,9 @@ export interface components {
CreateVercelIntegrationBody: {
code: string
configuration_id: string
- metadata: Record<string, never>
+ metadata: {
+ [key: string]: unknown
+ }
organization_slug: string
source: string
teamId?: string
@@ -4841,7 +4837,6 @@ export interface components {
}
/** @enum {string} */
DesiredInstanceSize:
- | 'pico'
| 'micro'
| 'small'
| 'medium'
@@ -4913,17 +4908,19 @@ export interface components {
timestamp: string
}
DownloadableBackupsResponse: {
- backups: components['schemas']['Backup'][]
- status: Record<string, never>
+ backups: {
+ id: number
+ inserted_at: string
+ isPhysicalBackup: boolean
+ project_id: number
+ /** @enum {string} */
+ status: 'COMPLETED' | 'FAILED' | 'PENDING' | 'REMOVED' | 'ARCHIVED' | 'CANCELLED'
+ }[]
+ /** @enum {string} */
+ status: 'ok' | 'physical-backups-enabled' | 'project-not-active'
}
DownloadBackupBody: {
- data: Record<string, never>
id: number
- inserted_at: string
- project_id: number
- s3_bucket: string
- s3_path: string
- status: string
}
DownloadBackupResponse: {
fileUrl: string
@@ -5284,22 +5281,40 @@ export interface components {
}
updated_at: string
}
- GetVercelConnections: {
+ GetVercelConnectionsResponse: {
foreign_project_id: string
id: string
inserted_at: string
- metadata: Record<string, never>
+ metadata: {
+ [key: string]: unknown
+ }
organization_integration_id: string
supabase_project_ref: string
updated_at: string
- }
+ }[]
GetVercelProjectsResponse: {
pagination: {
- count?: number
- next?: number | null
- prev?: number | null
+ count: number
+ next: number | null
+ prev: number | null
}
- projects: components['schemas']['IntegrationVercelProject'][]
+ projects: {
+ framework?: string | null
+ id: string
+ link?: {
+ deployHooks: {
+ createdAt?: number
+ id: string
+ name: string
+ ref: string
+ url: string
+ }[]
+ gitCredentialId?: string
+ productionBranch?: string
+ type?: string
+ }
+ name: string
+ }[]
}
GitHubAuthorizationResponse: {
id: number
@@ -5484,21 +5499,10 @@ export interface components {
is_grantable?: boolean
/** @enum {string} */
privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
- }
+ }[]
HCaptchaBody: {
hcaptchaToken: string
}
- IntegrationConnectionVercel: {
- foreign_project_id: string
- metadata: Record<string, never>
- supabase_project_ref: string
- }
- IntegrationVercelProject: {
- framework?: string | null
- id: string
- link?: components['schemas']['VercelProjectLink']
- name: string
- }
InvitationByTokenResponse: {
authorized_user: boolean
email_match: boolean
@@ -5601,34 +5605,30 @@ export interface components {
phone: string | null
token: string
}
- ListGitHubConnectionsConnection: {
- branch_limit: number
- id: number
- inserted_at: string
- installation_id: number
- project: components['schemas']['ListGitHubConnectionsProject']
- repository: components['schemas']['ListGitHubConnectionsRepository']
- supabase_changes_only: boolean
- updated_at: string
- user: components['schemas']['ListGitHubConnectionsUser'] | null
- workdir: string
- }
- ListGitHubConnectionsProject: {
- id: number
- name: string
- ref: string
- }
- ListGitHubConnectionsRepository: {
- id: number
- name: string
- }
ListGitHubConnectionsResponse: {
- connections: components['schemas']['ListGitHubConnectionsConnection'][]
- }
- ListGitHubConnectionsUser: {
- id: number
- primary_email: string | null
- username: string
+ connections: {
+ branch_limit: number
+ id: number
+ inserted_at: string
+ installation_id: number
+ project: {
+ id: number
+ name: string
+ ref: string
+ }
+ repository: {
+ id: number
+ name: string
+ }
+ supabase_changes_only: boolean
+ updated_at: string
+ user: {
+ id: number
+ primary_email: string | null
+ username: string
+ } | null
+ workdir: string
+ }[]
}
ListNotificationExceptionsResponseDto: {
exceptions: {
@@ -5689,10 +5689,6 @@ export interface components {
role_ids: number[]
username: string
}
- MemberExceedingFreeProjectLimit: {
- limit: number
- name: string
- }
MemberWithFreeProjectLimit: {
free_project_limit: number
primary_email: string
@@ -5702,32 +5698,20 @@ export interface components {
from: string
to: string
}
- NotificationAction: {
- action_type?: string
- label: string
- url?: string
- }
- NotificationData: {
- actions?: components['schemas']['NotificationAction'][]
- message?: string
- org_slug?: string
- project_ref?: string
- title: string
- }
NotificationResponseV1: {
- data: Record<string, never>
+ data?: unknown
id: string
inserted_at: string
- meta: Record<string, never>
+ meta?: unknown
notification_name: string
notification_status: string
project_id: number
}
NotificationResponseV2: {
- data: components['schemas']['NotificationData']
+ data?: unknown
id: string
inserted_at: string
- meta: Record<string, never>
+ meta?: unknown
name: string
/** @enum {string} */
priority: 'Critical' | 'Warning' | 'Info'
@@ -6064,11 +6048,12 @@ export interface components {
check: string | null
comment: string | null
data_type: string
- default_value: Record<string, never>
+ default_value: (string | number) | null
enums: string[]
format: string
id: string
- identity_generation: Record<string, never>
+ /** @enum {string|null} */
+ identity_generation: 'BY DEFAULT' | 'ALWAYS' | null
is_generated: boolean
is_identity: boolean
is_nullable: boolean
@@ -6083,7 +6068,13 @@ export interface components {
PostgresColumnPrivileges: {
column_id: string
column_name: string
- privileges: components['schemas']['ColumnPrivilege'][]
+ privileges: {
+ grantee: string
+ grantor: string
+ is_grantable: boolean
+ /** @enum {string} */
+ privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
+ }[]
relation_name: string
relation_schema: string
}
@@ -6157,7 +6148,9 @@ export interface components {
/** @enum {string} */
behavior: 'VOLATILE' | 'STABLE' | 'IMMUTABLE'
complete_statement: string
- config_params: Record<string, never> | null
+ config_params: {
+ [key: string]: string
+ } | null
definition: string
id: number
identity_argument_types: string
@@ -6217,7 +6210,13 @@ export interface components {
publish_insert: boolean
publish_truncate: boolean
publish_update: boolean
- tables: components['schemas']['Table'][] | null
+ tables:
+ | {
+ id: number
+ name: string
+ schema: string
+ }[]
+ | null
}
PostgresSchema: {
id: number
@@ -6226,14 +6225,48 @@ export interface components {
}
PostgresTable: {
bytes: number
- columns?: components['schemas']['PostgresColumn'][]
+ columns?: {
+ check: string | null
+ comment: string | null
+ data_type: string
+ default_value: (string | number) | null
+ enums: string[]
+ format: string
+ id: string
+ /** @enum {string|null} */
+ identity_generation: 'BY DEFAULT' | 'ALWAYS' | null
+ is_generated: boolean
+ is_identity: boolean
+ is_nullable: boolean
+ is_unique: boolean
+ is_updatable: boolean
+ name: string
+ ordinal_position: number
+ schema: string
+ table: string
+ table_id: number
+ }[]
comment: string | null
dead_rows_estimate: number
id: number
live_rows_estimate: number
name: string
- primary_keys: components['schemas']['PrimaryKey'][]
- relationships: components['schemas']['Relationship'][]
+ primary_keys: {
+ name: string
+ schema: string
+ table_id: number
+ table_name: string
+ }[]
+ relationships: {
+ constraint_name: string
+ id: number
+ source_column_name: string
+ source_schema: string
+ source_table_name: string
+ target_column_name: string
+ target_table_name: string
+ target_table_schema: string
+ }[]
/** @enum {string} */
replica_identity: 'DEFAULT' | 'INDEX' | 'FULL' | 'NOTHING'
rls_enabled: boolean
@@ -6296,27 +6329,32 @@ export interface components {
schema: string
}
PreviewProjectTransferResponse: {
- errors: components['schemas']['PreviewTransferInfo'][]
+ errors: {
+ key: string
+ message: string
+ }[]
has_access_to_target_organization: boolean
has_permissions_on_source_organization: boolean
- members_exceeding_free_project_limit: components['schemas']['MemberExceedingFreeProjectLimit'][]
+ info: {
+ key: string
+ message: string
+ }[]
+ members_exceeding_free_project_limit: {
+ limit: number
+ name: string
+ }[]
source_project_eligible: boolean
- source_subscription_plan: components['schemas']['BillingPlanId']
+ /** @enum {string} */
+ source_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise'
target_organization_eligible: boolean | null
target_organization_has_free_project_slots: boolean | null
- target_subscription_plan: components['schemas']['BillingPlanId']
+ /** @enum {string|null} */
+ target_subscription_plan: 'free' | 'pro' | 'team' | 'enterprise' | null
valid: boolean
- warnings: components['schemas']['PreviewTransferInfo'][]
- }
- PreviewTransferInfo: {
- key: string
- message: string
- }
- PrimaryKey: {
- name: string
- schema: string
- table_id: number
- table_name: string
+ warnings: {
+ key: string
+ message: string
+ }[]
}
Profile: {
first_name: string
@@ -6392,8 +6430,25 @@ export interface components {
target_project_ref: string
}
ProjectClonedStatusResponse: {
- cloned_from: Record<string, never>
- clones: components['schemas']['TargetCloneStatus'][]
+ cloned_from?: {
+ project_id: number
+ source_project: {
+ name: string
+ ref: string
+ }
+ }
+ clones: {
+ inserted_at: string | null
+ project_id: number
+ /** @enum {string} */
+ status: 'COMPLETED' | 'IN_PROGRESS' | 'FAILED' | 'REMOVED'
+ target_project: {
+ name: string
+ ref: string
+ }
+ target_project_id: number
+ updated_at: string | null
+ }[]
id: number
ref: string
}
@@ -6408,7 +6463,20 @@ export interface components {
db_host: string
dbVersion?: string
id: number
- infra_compute_size?: components['schemas']['DbInstanceSize']
+ /** @enum {string} */
+ infra_compute_size?:
+ | 'pico'
+ | 'nano'
+ | 'micro'
+ | 'small'
+ | 'medium'
+ | 'large'
+ | 'xlarge'
+ | '2xlarge'
+ | '4xlarge'
+ | '8xlarge'
+ | '12xlarge'
+ | '16xlarge'
inserted_at: string
is_branch_enabled: boolean
is_physical_backups_enabled: boolean
@@ -6556,16 +6624,6 @@ export interface components {
/** @description Whether to only allow private channels */
private_only: boolean | null
}
- Relationship: {
- constraint_name: string
- id: number
- source_column_name: string
- source_schema: string
- source_table_name: string
- target_column_name: string
- target_table_name: string
- target_table_schema: string
- }
/**
* @description Release channel. If not provided, GA will be used.
* @enum {string}
@@ -6723,7 +6781,7 @@ export interface components {
grantee: string
/** @enum {string} */
privilege_type: 'ALL' | 'SELECT' | 'INSERT' | 'UPDATE' | 'REFERENCES'
- }
+ }[]
RunQueryBody: {
query: string
}
@@ -6863,7 +6921,9 @@ export interface components {
redirectTo?: string
}
StorageBucketResponse: {
+ allowed_mime_types?: string[]
created_at: string
+ file_size_limit?: number
id: string
name: string
owner: string
@@ -6871,24 +6931,22 @@ export interface components {
updated_at: string
}
StorageConfigResponse: {
- features: components['schemas']['StorageFeatures']
- /** Format: int64 */
+ features: {
+ imageTransformation: {
+ enabled: boolean
+ }
+ s3Protocol: {
+ enabled: boolean
+ }
+ }
fileSizeLimit: number
}
- StorageFeatureImageTransformation: {
- enabled: boolean
- }
- StorageFeatures: {
- imageTransformation: components['schemas']['StorageFeatureImageTransformation']
- s3Protocol: components['schemas']['StorageFeatureS3Protocol']
- }
- StorageFeatureS3Protocol: {
- enabled: boolean
- }
StorageObject: {
bucket_id: string
buckets: {
+ allowed_mime_types?: string[]
created_at: string
+ file_size_limit?: number
id: string
name: string
owner: string
@@ -6907,10 +6965,7 @@ export interface components {
}
SupavisorConfigResponse: {
connection_string: string
- /**
- * @deprecated
- * @description Use connection_string instead
- */
+ /** @description Use connection_string instead */
connectionString: string
/** @enum {string} */
database_type: 'PRIMARY' | 'READ_REPLICA'
@@ -6925,27 +6980,6 @@ export interface components {
/** @enum {string} */
pool_mode: 'transaction' | 'session'
}
- SyncVercelEnvError: {
- message: string
- }
- Table: {
- id: number
- name: string
- schema: string
- }
- TargetClonedProject: {
- name: string
- ref: string
- }
- TargetCloneStatus: {
- inserted_at: string | null
- project_id: number
- /** @enum {string} */
- status: 'COMPLETED' | 'IN_PROGRESS' | 'FAILED' | 'REMOVED'
- target_project: components['schemas']['TargetClonedProject']
- target_project_id: number
- updated_at: string | null
- }
TaxIdResponse: {
tax_id: {
country: string
@@ -7064,7 +7098,7 @@ export interface components {
UpdateColumnBody: {
check?: string
comment?: string
- defaultValue?: Record<string, never>
+ defaultValue?: unknown
/** @enum {string} */
defaultValueFormat?: 'expression' | 'literal'
dropDefault?: boolean
@@ -7104,7 +7138,9 @@ export interface components {
args?: string[]
/** @enum {string} */
behavior?: 'VOLATILE' | 'STABLE' | 'IMMUTABLE'
- config_params?: Record<string, never>
+ config_params?: {
+ [key: string]: string
+ }
definition?: string
id?: number
language?: string
@@ -7113,7 +7149,7 @@ export interface components {
schema?: string
security_definer?: boolean
}
- UpdateGitHubConnectionsBody: {
+ UpdateGitHubConnectionBody: {
branch_limit?: number
supabase_changes_only?: boolean
workdir?: string
@@ -7321,10 +7357,11 @@ export interface components {
role_scoped_projects: string[]
}
UpdateNotificationBodyV2: {
+ /** Format: uuid */
id: string
/** @enum {string} */
status: 'new' | 'seen' | 'archived'
- }
+ }[]
UpdateNotificationExceptionParamsDto: {
/** Format: uuid */
id: string
@@ -7356,8 +7393,12 @@ export interface components {
default_pool_size?: number
ignore_startup_parameters: string
max_client_conn?: number
+ /** @deprecated */
pgbouncer_enabled?: boolean
- /** @enum {string} */
+ /**
+ * @deprecated
+ * @enum {string}
+ */
pool_mode?: 'transaction' | 'session' | 'statement'
}
UpdatePolicyBody: {
@@ -7493,13 +7534,19 @@ export interface components {
message: string
}
UpdateStorageBucketBody: {
- allowed_mime_types?: string[]
- file_size_limit?: number
+ allowed_mime_types?: string[] | null
+ file_size_limit?: number | null
public: boolean
}
UpdateStorageConfigBody: {
- features?: components['schemas']['StorageFeatures']
- /** Format: int64 */
+ features?: {
+ imageTransformation: {
+ enabled: boolean
+ }
+ s3Protocol: {
+ enabled: boolean
+ }
+ }
fileSizeLimit?: number
}
UpdateSubscriptionBody: {
@@ -7510,7 +7557,6 @@ export interface components {
UpdateSupavisorConfigBody: {
default_pool_size?: number | null
/**
- * @deprecated
* @description Dedicated pooler mode for the project
* @enum {string}
*/
@@ -7595,8 +7641,7 @@ export interface components {
updated_at?: string
}
UpdateVercelConnectionsBody: {
- /** @enum {array} */
- env_sync_targets?: 'production' | 'preview' | 'development'
+ env_sync_targets?: ('production' | 'preview' | 'development')[]
public_env_var_prefix?: string
}
UpsertContentBodyDto: {
@@ -7719,19 +7764,6 @@ export interface components {
score: number
}[]
}
- VercelProjectDeployHooks: {
- createdAt?: number
- id: string
- name: string
- ref: string
- url: string
- }
- VercelProjectLink: {
- deployHooks: components['schemas']['VercelProjectDeployHooks'][]
- gitCredentialId?: string
- productionBranch?: string
- type?: string
- }
VercelRedirectResponse: {
url: string
}
@@ -8320,7 +8352,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -8409,7 +8440,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -8440,7 +8470,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -8471,7 +8500,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -8502,7 +8530,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -8531,7 +8558,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -8564,7 +8590,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -9046,7 +9071,7 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateGitHubConnectionsBody']
+ 'application/json': components['schemas']['UpdateGitHubConnectionBody']
}
}
responses: {
@@ -9273,7 +9298,7 @@ export interface operations {
[name: string]: unknown
}
content: {
- 'application/json': components['schemas']['GetVercelConnections'][]
+ 'application/json': components['schemas']['GetVercelConnectionsResponse']
}
}
/** @description Failed to get installed vercel connections for the given organization integration */
@@ -9287,9 +9312,9 @@ export interface operations {
}
VercelProjectController_getVercelProjects: {
parameters: {
- query: {
- from?: string
- limit: string
+ query?: {
+ from?: number
+ limit?: number
search?: string
}
header?: never
@@ -9389,7 +9414,7 @@ export interface operations {
}
requestBody: {
content: {
- 'application/json': components['schemas']['UpdateNotificationBodyV2'][]
+ 'application/json': components['schemas']['UpdateNotificationBodyV2']
}
}
responses: {
@@ -10117,49 +10142,12 @@ export interface operations {
parameters: {
query: {
endDate: string
- interval: string
- metric:
- | 'EGRESS'
- | 'DATABASE_SIZE'
- | 'STORAGE_SIZE'
- | 'MONTHLY_ACTIVE_USERS'
- | 'MONTHLY_ACTIVE_SSO_USERS'
- | 'FUNCTION_INVOCATIONS'
- | 'STORAGE_IMAGES_TRANSFORMED'
- | 'REALTIME_MESSAGE_COUNT'
- | 'REALTIME_PEAK_CONNECTIONS'
- | 'DISK_SIZE_GB_HOURS_GP3'
- | 'DISK_SIZE_GB_HOURS_IO2'
- | 'AUTH_MFA_PHONE'
- | 'AUTH_MFA_WEB_AUTHN'
- | 'LOG_DRAIN_EVENTS'
- | 'MONTHLY_ACTIVE_THIRD_PARTY_USERS'
- | 'DISK_THROUGHPUT_GP3'
- | 'DISK_IOPS_GP3'
- | 'DISK_IOPS_IO2'
- | 'COMPUTE_HOURS_BRANCH'
- | 'COMPUTE_HOURS_XS'
- | 'COMPUTE_HOURS_SM'
- | 'COMPUTE_HOURS_MD'
- | 'COMPUTE_HOURS_L'
- | 'COMPUTE_HOURS_XL'
- | 'COMPUTE_HOURS_2XL'
- | 'COMPUTE_HOURS_4XL'
- | 'COMPUTE_HOURS_8XL'
- | 'COMPUTE_HOURS_12XL'
- | 'COMPUTE_HOURS_16XL'
- | 'CUSTOM_DOMAIN'
- | 'PITR_7'
- | 'PITR_14'
- | 'PITR_28'
- | 'IPV4'
- | 'LOG_DRAIN'
+ metric: string
projectRef?: string
startDate: string
}
header?: never
path: {
- /** @description Organization slug */
slug: string
}
cookie?: never
@@ -10192,7 +10180,6 @@ export interface operations {
}
header?: never
path: {
- /** @description Organization slug */
slug: string
}
cookie?: never
@@ -11261,7 +11248,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11298,14 +11284,13 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
}
requestBody: {
content: {
- 'application/json': components['schemas']['GrantColumnPrivilegesBody'][]
+ 'application/json': components['schemas']['GrantColumnPrivilegesBody']
}
}
responses: {
@@ -11339,14 +11324,13 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
}
requestBody: {
content: {
- 'application/json': components['schemas']['RevokeColumnPrivilegesBody'][]
+ 'application/json': components['schemas']['RevokeColumnPrivilegesBody']
}
}
responses: {
@@ -11375,15 +11359,14 @@ export interface operations {
}
ColumnsController_getColumns: {
parameters: {
- query: {
- excluded_schemas: string
- included_schemas: string
+ query?: {
+ excluded_schemas?: string
+ included_schemas?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11420,7 +11403,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11457,7 +11439,7 @@ export interface operations {
ColumnsController_deleteColumn: {
parameters: {
query: {
- cascade?: string
+ cascade?: boolean
/** @description Column ID */
id: string
}
@@ -11465,7 +11447,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11505,7 +11486,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11546,7 +11526,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11583,7 +11562,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11627,7 +11605,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11659,17 +11636,16 @@ export interface operations {
}
ForeignTablesController_getForeignTables: {
parameters: {
- query: {
- id: string
- include_columns: string
- limit: string
- offset: string
+ query?: {
+ id?: string
+ include_columns?: string
+ limit?: string
+ offset?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11701,15 +11677,14 @@ export interface operations {
}
FunctionsController_getFunctions: {
parameters: {
- query: {
- excluded_schemas: string
- included_schemas: string
+ query?: {
+ excluded_schemas?: string
+ included_schemas?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11746,7 +11721,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11790,7 +11764,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11830,7 +11803,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11866,19 +11838,18 @@ export interface operations {
}
MaterializedViewsController_getMaterializedViews: {
parameters: {
- query: {
- excluded_schemas: string
- id: string
- include_columns: string
- included_schemas: string
- limit: string
- offset: string
+ query?: {
+ excluded_schemas?: string
+ id?: string
+ include_columns?: string
+ included_schemas?: string
+ limit?: string
+ offset?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11910,15 +11881,14 @@ export interface operations {
}
PoliciesController_getPolicies: {
parameters: {
- query: {
- excluded_schemas: string
- included_schemas: string
+ query?: {
+ excluded_schemas?: string
+ included_schemas?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11955,7 +11925,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -11999,7 +11968,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12039,7 +12007,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12080,7 +12047,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12117,7 +12083,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12161,7 +12126,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12201,7 +12165,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12242,7 +12205,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12281,7 +12243,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12314,7 +12275,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12349,7 +12309,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12386,7 +12345,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12430,7 +12388,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12470,7 +12427,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12506,21 +12462,19 @@ export interface operations {
}
TablesController_getTables: {
parameters: {
- query: {
- excluded_schemas: string
- /** @description Table ID */
+ query?: {
+ excluded_schemas?: string
id?: string
- include_columns: string
- include_system_schemas: string
- included_schemas: string
- limit: string
- offset: string
+ include_columns?: string
+ include_system_schemas?: string
+ included_schemas?: string
+ limit?: string
+ offset?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12557,7 +12511,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12594,7 +12547,7 @@ export interface operations {
TablesController_deleteTable: {
parameters: {
query: {
- cascade: boolean
+ cascade?: boolean
/** @description Table ID */
id: number
}
@@ -12602,7 +12555,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12642,7 +12594,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12678,15 +12629,14 @@ export interface operations {
}
TriggersController_getTriggers: {
parameters: {
- query: {
- excluded_schemas: string
- included_schemas: string
+ query?: {
+ excluded_schemas?: string
+ included_schemas?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12723,7 +12673,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12767,7 +12716,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12807,7 +12755,6 @@ export interface operations {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12843,15 +12790,14 @@ export interface operations {
}
TypesController_getTypes: {
parameters: {
- query: {
- excluded_schemas: string
- included_schemas: string
+ query?: {
+ excluded_schemas?: string
+ included_schemas?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -12883,20 +12829,19 @@ export interface operations {
}
ViewsController_getViews: {
parameters: {
- query: {
- excluded_schemas: string
- id: string
- include_columns: string
- include_system_schemas: string
- included_schemas: string
- limit: string
- offset: string
+ query?: {
+ excluded_schemas?: string
+ id?: string
+ include_columns?: string
+ include_system_schemas?: string
+ included_schemas?: string
+ limit?: string
+ offset?: string
}
header: {
'x-connection-encrypted': string
}
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -13351,7 +13296,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -13373,7 +13317,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -13401,7 +13344,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -14511,7 +14453,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -14540,7 +14481,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -14579,7 +14519,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -14875,7 +14814,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -14910,7 +14848,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -14949,7 +14886,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -14978,7 +14914,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -15371,7 +15306,6 @@ export interface operations {
attribute:
| 'total_realtime_requests'
| 'total_realtime_egress'
- | 'avg_cpu_usage'
| 'total_ingress'
| 'total_egress'
| 'total_requests'
@@ -15379,7 +15313,6 @@ export interface operations {
| 'total_patch_requests'
| 'total_post_requests'
| 'total_delete_requests'
- | 'total_options_requests'
| 'total_supavisor_egress_bytes'
| 'total_rest_ingress'
| 'total_rest_egress'
@@ -15388,16 +15321,10 @@ export interface operations {
| 'total_rest_post_requests'
| 'total_rest_patch_requests'
| 'total_rest_delete_requests'
- | 'total_rest_options_requests'
| 'total_auth_billing_period_mau'
| 'total_auth_billing_period_sso_mau'
- | 'total_auth_ingress'
| 'total_auth_egress'
| 'total_auth_requests'
- | 'total_auth_get_requests'
- | 'total_auth_post_requests'
- | 'total_auth_patch_requests'
- | 'total_auth_options_requests'
| 'total_auth_delete_requests'
| 'total_storage_ingress'
| 'total_storage_egress'
@@ -15406,8 +15333,6 @@ export interface operations {
| 'total_storage_get_requests'
| 'total_storage_post_requests'
| 'total_storage_delete_requests'
- | 'total_storage_options_requests'
- | 'total_storage_patch_requests'
| 'total_logdrain_egress'
endDate: string
interval?: string
@@ -16419,7 +16344,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -16449,7 +16373,6 @@ export interface operations {
query?: never
header?: never
path: {
- /** @description Project ref */
ref: string
}
cookie?: never
@@ -18514,32 +18437,6 @@ export interface operations {
}
}
}
- VercelAccessTokenController_getAccessToken: {
- parameters: {
- query: {
- code: string
- }
- header?: never
- path?: never
- cookie?: never
- }
- requestBody?: never
- responses: {
- 200: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- /** @description Failed to get Vercel access token */
- 500: {
- headers: {
- [name: string]: unknown
- }
- content?: never
- }
- }
- }
WorkflowRunController_listWorkflowRuns: {
parameters: {
query?: {