The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
feat(studio): port API handlers to TanStack server routes (stack 4/6, from #46424) (#47113)
Alaister Young2f90228f0470
diff --git a/apps/studio/routeTree.gen.ts b/apps/studio/routeTree.gen.tsindex 1ac39c28ab0..0587305614f 100644--- a/apps/studio/routeTree.gen.ts+++ b/apps/studio/routeTree.gen.ts@@ -9,6 +9,18 @@// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.import { Route as rootRouteImport } from './routes/__root'+import { Route as ApiStatusOverrideRouteImport } from './routes/api/status-override'+import { Route as ApiParseQueryRouteImport } from './routes/api/parse-query'+import { Route as ApiIncidentStatusRouteImport } from './routes/api/incident-status'+import { Route as ApiIncidentBannerRouteImport } from './routes/api/incident-banner'+import { Route as ApiGetUtcTimeRouteImport } from './routes/api/get-utc-time'+import { Route as ApiGetS3KeysRouteImport } from './routes/api/get-s3-keys'+import { Route as ApiGetIpAddressRouteImport } from './routes/api/get-ip-address'+import { Route as ApiGetDeploymentCommitRouteImport } from './routes/api/get-deployment-commit'+import { Route as ApiGenerateAttachmentUrlRouteImport } from './routes/api/generate-attachment-url'+import { Route as ApiEnabledFeaturesOverridesRouteImport } from './routes/api/enabled-features-overrides'+import { Route as ApiCliReleaseVersionRouteImport } from './routes/api/cli-release-version'+import { Route as ApiCheckCnameRouteImport } from './routes/api/check-cname'import { Route as AuthSignUpRouteImport } from './routes/_auth/sign-up'import { Route as AuthSignInSsoRouteImport } from './routes/_auth/sign-in-sso'import { Route as AuthSignInPartnerRouteImport } from './routes/_auth/sign-in-partner'@@ -20,16 +32,39 @@ import { Route as AuthForgotPasswordRouteImport } from './routes/_auth/forgot-paimport { Route as AppOrganizationsRouteImport } from './routes/_app/organizations'import { Route as AppOrgRouteImport } from './routes/_app/org'import { Route as AppAccountRouteImport } from './routes/_app/account'+import { Route as ApiMcpIndexRouteImport } from './routes/api/mcp/index'+import { Route as ApiConnectIndexRouteImport } from './routes/api/connect/index'import { Route as AppOrgIndexRouteImport } from './routes/_app/org/index'import { Route as AppNewIndexRouteImport } from './routes/_app/new/index'+import { Route as ApiPlatformDeploymentModeRouteImport } from './routes/api/platform/deployment-mode'+import { Route as ApiIntegrationsStripeSyncRouteImport } from './routes/api/integrations/stripe-sync'+import { Route as ApiEdgeFunctionsTestRouteImport } from './routes/api/edge-functions/test'+import { Route as ApiContentGraphqlRouteImport } from './routes/api/content/graphql'+import { Route as ApiAiDocsRouteImport } from './routes/api/ai/docs'import { Route as AuthCliLoginRouteImport } from './routes/_auth/cli/login'import { Route as AppSupportNewRouteImport } from './routes/_app/support/new'import { Route as AppSupportLinkRouteImport } from './routes/_app/support/link'import { Route as AppAccountSecurityRouteImport } from './routes/_app/account/security'import { Route as AppAccountMeRouteImport } from './routes/_app/account/me'import { Route as AppAccountAuditRouteImport } from './routes/_app/account/audit'+import { Route as ApiPlatformProjectsIndexRouteImport } from './routes/api/platform/projects/index'+import { Route as ApiPlatformProfileIndexRouteImport } from './routes/api/platform/profile/index'+import { Route as ApiPlatformOrganizationsIndexRouteImport } from './routes/api/platform/organizations/index'import { Route as AppOrgSlugIndexRouteImport } from './routes/_app/org/$slug/index'import { Route as AppAccountTokensIndexRouteImport } from './routes/_app/account/tokens/index'+import { Route as ApiPlatformTelemetryEventRouteImport } from './routes/api/platform/telemetry/event'+import { Route as ApiPlatformIntegrationsSlugRouteImport } from './routes/api/platform/integrations/$slug'+import { Route as ApiAiSqlTitleV2RouteImport } from './routes/api/ai/sql/title-v2'+import { Route as ApiAiSqlPolicyRouteImport } from './routes/api/ai/sql/policy'+import { Route as ApiAiSqlParseClientCodeRouteImport } from './routes/api/ai/sql/parse-client-code'+import { Route as ApiAiSqlGenerateV4RouteImport } from './routes/api/ai/sql/generate-v4'+import { Route as ApiAiSqlFilterV1RouteImport } from './routes/api/ai/sql/filter-v1'+import { Route as ApiAiSqlCronV2RouteImport } from './routes/api/ai/sql/cron-v2'+import { Route as ApiAiSqlCheckApiKeyRouteImport } from './routes/api/ai/sql/check-api-key'+import { Route as ApiAiOnboardingDesignRouteImport } from './routes/api/ai/onboarding/design'+import { Route as ApiAiFeedbackRateRouteImport } from './routes/api/ai/feedback/rate'+import { Route as ApiAiFeedbackClassifyRouteImport } from './routes/api/ai/feedback/classify'+import { Route as ApiAiCodeCompleteRouteImport } from './routes/api/ai/code/complete'import { Route as AppOrgSlugUsageRouteImport } from './routes/_app/org/$slug/usage'import { Route as AppOrgSlugTeamRouteImport } from './routes/_app/org/$slug/team'import { Route as AppOrgSlugSsoRouteImport } from './routes/_app/org/$slug/sso'@@ -42,11 +77,142 @@ import { Route as AppOrgSlugAuditLogDrainsRouteImport } from './routes/_app/org/import { Route as AppOrgSlugAuditRouteImport } from './routes/_app/org/$slug/audit'import { Route as AppOrgSlugAppsRouteImport } from './routes/_app/org/$slug/apps'import { Route as AppAccountTokensScopedRouteImport } from './routes/_app/account/tokens/scoped'+import { Route as ApiPlatformProjectsRefIndexRouteImport } from './routes/api/platform/projects/$ref/index'import { Route as AppOrgSlugWebhooksIndexRouteImport } from './routes/_app/org/$slug/webhooks/index'import { Route as AppOrgSlugPrivateAppsIndexRouteImport } from './routes/_app/org/$slug/private-apps/index'+import { Route as ApiV1ProjectsRefApiKeysRouteImport } from './routes/api/v1/projects/$ref/api-keys'+import { Route as ApiPlatformPropsOrgSlugRouteImport } from './routes/api/platform/props/org/$slug'+import { Route as ApiPlatformProjectsRefSettingsRouteImport } from './routes/api/platform/projects/$ref/settings'+import { Route as ApiPlatformProjectsRefRunLintsRouteImport } from './routes/api/platform/projects/$ref/run-lints'+import { Route as ApiPlatformProjectsRefInfraMonitoringRouteImport } from './routes/api/platform/projects/$ref/infra-monitoring'+import { Route as ApiPlatformProjectsRefDatabasesRouteImport } from './routes/api/platform/projects/$ref/databases'+import { Route as ApiPlatformPgMetaRefViewsRouteImport } from './routes/api/platform/pg-meta/$ref/views'+import { Route as ApiPlatformPgMetaRefTypesRouteImport } from './routes/api/platform/pg-meta/$ref/types'+import { Route as ApiPlatformPgMetaRefTriggersRouteImport } from './routes/api/platform/pg-meta/$ref/triggers'+import { Route as ApiPlatformPgMetaRefTablesRouteImport } from './routes/api/platform/pg-meta/$ref/tables'+import { Route as ApiPlatformPgMetaRefPublicationsRouteImport } from './routes/api/platform/pg-meta/$ref/publications'+import { Route as ApiPlatformPgMetaRefPoliciesRouteImport } from './routes/api/platform/pg-meta/$ref/policies'+import { Route as ApiPlatformPgMetaRefMaterializedViewsRouteImport } from './routes/api/platform/pg-meta/$ref/materialized-views'+import { Route as ApiPlatformPgMetaRefForeignTablesRouteImport } from './routes/api/platform/pg-meta/$ref/foreign-tables'+import { Route as ApiPlatformPgMetaRefExtensionsRouteImport } from './routes/api/platform/pg-meta/$ref/extensions'+import { Route as ApiPlatformPgMetaRefColumnPrivilegesRouteImport } from './routes/api/platform/pg-meta/$ref/column-privileges'+import { Route as ApiPlatformIntegrationsGithubRepositoriesRouteImport } from './routes/api/platform/integrations/github/repositories'+import { Route as ApiPlatformIntegrationsGithubConnectionsRouteImport } from './routes/api/platform/integrations/github/connections'+import { Route as ApiPlatformIntegrationsGithubAuthorizationRouteImport } from './routes/api/platform/integrations/github/authorization'+import { Route as ApiPlatformDatabaseRefPoolingRouteImport } from './routes/api/platform/database/$ref/pooling'+import { Route as ApiPlatformAuthRefRecoverRouteImport } from './routes/api/platform/auth/$ref/recover'+import { Route as ApiPlatformAuthRefOtpRouteImport } from './routes/api/platform/auth/$ref/otp'+import { Route as ApiPlatformAuthRefMagiclinkRouteImport } from './routes/api/platform/auth/$ref/magiclink'+import { Route as ApiPlatformAuthRefInviteRouteImport } from './routes/api/platform/auth/$ref/invite'import { Route as AuthPartnersStripeProjectsLoginRouteImport } from './routes/_auth/partners/stripe/projects/login'import { Route as AppOrgSlugWebhooksEndpointIdRouteImport } from './routes/_app/org/$slug/webhooks/$endpointId'+import { Route as ApiV1ProjectsRefFunctionsIndexRouteImport } from './routes/api/v1/projects/$ref/functions/index'+import { Route as ApiPlatformStorageRefVectorBucketsIndexRouteImport } from './routes/api/platform/storage/$ref/vector-buckets/index'+import { Route as ApiPlatformStorageRefBucketsIndexRouteImport } from './routes/api/platform/storage/$ref/buckets/index'+import { Route as ApiPlatformPropsProjectRefIndexRouteImport } from './routes/api/platform/props/project/$ref/index'+import { Route as ApiPlatformProjectsRefContentIndexRouteImport } from './routes/api/platform/projects/$ref/content/index'+import { Route as ApiPlatformProjectsRefConfigIndexRouteImport } from './routes/api/platform/projects/$ref/config/index'+import { Route as ApiPlatformPgMetaRefQueryIndexRouteImport } from './routes/api/platform/pg-meta/$ref/query/index'+import { Route as ApiPlatformAuthRefUsersIndexRouteImport } from './routes/api/platform/auth/$ref/users/index'+import { Route as ApiV1ProjectsRefTypesTypescriptRouteImport } from './routes/api/v1/projects/$ref/types/typescript'+import { Route as ApiV1ProjectsRefDatabaseMigrationsRouteImport } from './routes/api/v1/projects/$ref/database/migrations'+import { Route as ApiV1ProjectsRefApiKeysIdRouteImport } from './routes/api/v1/projects/$ref/api-keys/$id'+import { Route as ApiPlatformPropsProjectRefApiRouteImport } from './routes/api/platform/props/project/$ref/api'+import { Route as ApiPlatformProjectsRefContentCountRouteImport } from './routes/api/platform/projects/$ref/content/count'+import { Route as ApiPlatformProjectsRefConfigPostgrestRouteImport } from './routes/api/platform/projects/$ref/config/postgrest'+import { Route as ApiPlatformProjectsRefBillingAddonsRouteImport } from './routes/api/platform/projects/$ref/billing/addons'+import { Route as ApiPlatformProjectsRefApiRestRouteImport } from './routes/api/platform/projects/$ref/api/rest'+import { Route as ApiPlatformProjectsRefApiGraphqlRouteImport } from './routes/api/platform/projects/$ref/api/graphql'+import { Route as ApiPlatformProjectsRefApiKeysTemporaryRouteImport } from './routes/api/platform/projects/$ref/api-keys/temporary'+import { Route as ApiPlatformProjectsRefAnalyticsLogDrainsRouteImport } from './routes/api/platform/projects/$ref/analytics/log-drains'+import { Route as ApiPlatformOrganizationsSlugBillingSubscriptionRouteImport } from './routes/api/platform/organizations/$slug/billing/subscription'+import { Route as ApiV1ProjectsRefFunctionsSlugIndexRouteImport } from './routes/api/v1/projects/$ref/functions/$slug/index'+import { Route as ApiPlatformStorageRefVectorBucketsIdIndexRouteImport } from './routes/api/platform/storage/$ref/vector-buckets/$id/index'+import { Route as ApiPlatformStorageRefBucketsIdIndexRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/index'+import { Route as ApiPlatformProjectsRefContentFoldersIndexRouteImport } from './routes/api/platform/projects/$ref/content/folders/index'+import { Route as ApiPlatformAuthRefUsersIdIndexRouteImport } from './routes/api/platform/auth/$ref/users/$id/index'+import { Route as ApiV1ProjectsRefFunctionsSlugBodyRouteImport } from './routes/api/v1/projects/$ref/functions/$slug/body'+import { Route as ApiPlatformStorageRefBucketsIdEmptyRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/empty'+import { Route as ApiPlatformProjectsRefContentItemIdRouteImport } from './routes/api/platform/projects/$ref/content/item/$id'+import { Route as ApiPlatformProjectsRefContentFoldersIdRouteImport } from './routes/api/platform/projects/$ref/content/folders/$id'+import { Route as ApiPlatformProjectsRefConfigSecretsUpdateStatusRouteImport } from './routes/api/platform/projects/$ref/config/secrets/update-status'+import { Route as ApiPlatformProjectsRefAnalyticsLogDrainsUuidRouteImport } from './routes/api/platform/projects/$ref/analytics/log-drains/$uuid'+import { Route as ApiPlatformProjectsRefAnalyticsEndpointsNameRouteImport } from './routes/api/platform/projects/$ref/analytics/endpoints/$name'+import { Route as ApiPlatformAuthRefUsersIdFactorsRouteImport } from './routes/api/platform/auth/$ref/users/$id/factors'+import { Route as ApiV1ProjectsRefConfigAuthSigningKeysIndexRouteImport } from './routes/api/v1/projects/$ref/config/auth/signing-keys/index'+import { Route as ApiPlatformStorageRefVectorBucketsIdIndexesIndexRouteImport } from './routes/api/platform/storage/$ref/vector-buckets/$id/indexes/index'+import { Route as ApiPlatformStorageRefBucketsIdObjectsIndexRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/index'+import { Route as ApiV1ProjectsRefConfigAuthSigningKeysLegacyRouteImport } from './routes/api/v1/projects/$ref/config/auth/signing-keys/legacy'+import { Route as ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRouteImport } from './routes/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+import { Route as ApiPlatformStorageRefBucketsIdObjectsSignMultiRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/sign-multi'+import { Route as ApiPlatformStorageRefBucketsIdObjectsSignRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/sign'+import { Route as ApiPlatformStorageRefBucketsIdObjectsPublicUrlRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/public-url'+import { Route as ApiPlatformStorageRefBucketsIdObjectsMoveRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/move'+import { Route as ApiPlatformStorageRefBucketsIdObjectsListRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/list'+import { Route as ApiPlatformStorageRefBucketsIdObjectsDownloadRouteImport } from './routes/api/platform/storage/$ref/buckets/$id/objects/download'+const ApiStatusOverrideRoute = ApiStatusOverrideRouteImport.update({+ id: '/api/status-override',+ path: '/api/status-override',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiParseQueryRoute = ApiParseQueryRouteImport.update({+ id: '/api/parse-query',+ path: '/api/parse-query',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiIncidentStatusRoute = ApiIncidentStatusRouteImport.update({+ id: '/api/incident-status',+ path: '/api/incident-status',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiIncidentBannerRoute = ApiIncidentBannerRouteImport.update({+ id: '/api/incident-banner',+ path: '/api/incident-banner',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiGetUtcTimeRoute = ApiGetUtcTimeRouteImport.update({+ id: '/api/get-utc-time',+ path: '/api/get-utc-time',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiGetS3KeysRoute = ApiGetS3KeysRouteImport.update({+ id: '/api/get-s3-keys',+ path: '/api/get-s3-keys',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiGetIpAddressRoute = ApiGetIpAddressRouteImport.update({+ id: '/api/get-ip-address',+ path: '/api/get-ip-address',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiGetDeploymentCommitRoute = ApiGetDeploymentCommitRouteImport.update({+ id: '/api/get-deployment-commit',+ path: '/api/get-deployment-commit',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiGenerateAttachmentUrlRoute =+ ApiGenerateAttachmentUrlRouteImport.update({+ id: '/api/generate-attachment-url',+ path: '/api/generate-attachment-url',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiEnabledFeaturesOverridesRoute =+ ApiEnabledFeaturesOverridesRouteImport.update({+ id: '/api/enabled-features-overrides',+ path: '/api/enabled-features-overrides',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiCliReleaseVersionRoute = ApiCliReleaseVersionRouteImport.update({+ id: '/api/cli-release-version',+ path: '/api/cli-release-version',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiCheckCnameRoute = ApiCheckCnameRouteImport.update({+ id: '/api/check-cname',+ path: '/api/check-cname',+ getParentRoute: () => rootRouteImport,+} as any)const AuthSignUpRoute = AuthSignUpRouteImport.update({id: '/_auth/sign-up',path: '/sign-up',@@ -102,6 +268,16 @@ const AppAccountRoute = AppAccountRouteImport.update({path: '/account',getParentRoute: () => rootRouteImport,} as any)+const ApiMcpIndexRoute = ApiMcpIndexRouteImport.update({+ id: '/api/mcp/',+ path: '/api/mcp/',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiConnectIndexRoute = ApiConnectIndexRouteImport.update({+ id: '/api/connect/',+ path: '/api/connect/',+ getParentRoute: () => rootRouteImport,+} as any)const AppOrgIndexRoute = AppOrgIndexRouteImport.update({id: '/',path: '/',@@ -112,6 +288,33 @@ const AppNewIndexRoute = AppNewIndexRouteImport.update({path: '/new/',getParentRoute: () => rootRouteImport,} as any)+const ApiPlatformDeploymentModeRoute =+ ApiPlatformDeploymentModeRouteImport.update({+ id: '/api/platform/deployment-mode',+ path: '/api/platform/deployment-mode',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiIntegrationsStripeSyncRoute =+ ApiIntegrationsStripeSyncRouteImport.update({+ id: '/api/integrations/stripe-sync',+ path: '/api/integrations/stripe-sync',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiEdgeFunctionsTestRoute = ApiEdgeFunctionsTestRouteImport.update({+ id: '/api/edge-functions/test',+ path: '/api/edge-functions/test',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiContentGraphqlRoute = ApiContentGraphqlRouteImport.update({+ id: '/api/content/graphql',+ path: '/api/content/graphql',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiDocsRoute = ApiAiDocsRouteImport.update({+ id: '/api/ai/docs',+ path: '/api/ai/docs',+ getParentRoute: () => rootRouteImport,+} as any)const AuthCliLoginRoute = AuthCliLoginRouteImport.update({id: '/_auth/cli/login',path: '/cli/login',@@ -142,6 +345,23 @@ const AppAccountAuditRoute = AppAccountAuditRouteImport.update({path: '/audit',getParentRoute: () => AppAccountRoute,} as any)+const ApiPlatformProjectsIndexRoute =+ ApiPlatformProjectsIndexRouteImport.update({+ id: '/api/platform/projects/',+ path: '/api/platform/projects/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProfileIndexRoute = ApiPlatformProfileIndexRouteImport.update({+ id: '/api/platform/profile/',+ path: '/api/platform/profile/',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiPlatformOrganizationsIndexRoute =+ ApiPlatformOrganizationsIndexRouteImport.update({+ id: '/api/platform/organizations/',+ path: '/api/platform/organizations/',+ getParentRoute: () => rootRouteImport,+ } as any)const AppOrgSlugIndexRoute = AppOrgSlugIndexRouteImport.update({id: '/$slug/',path: '/$slug/',@@ -152,6 +372,73 @@ const AppAccountTokensIndexRoute = AppAccountTokensIndexRouteImport.update({path: '/tokens/',getParentRoute: () => AppAccountRoute,} as any)+const ApiPlatformTelemetryEventRoute =+ ApiPlatformTelemetryEventRouteImport.update({+ id: '/api/platform/telemetry/event',+ path: '/api/platform/telemetry/event',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformIntegrationsSlugRoute =+ ApiPlatformIntegrationsSlugRouteImport.update({+ id: '/api/platform/integrations/$slug',+ path: '/api/platform/integrations/$slug',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiAiSqlTitleV2Route = ApiAiSqlTitleV2RouteImport.update({+ id: '/api/ai/sql/title-v2',+ path: '/api/ai/sql/title-v2',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiSqlPolicyRoute = ApiAiSqlPolicyRouteImport.update({+ id: '/api/ai/sql/policy',+ path: '/api/ai/sql/policy',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiSqlParseClientCodeRoute = ApiAiSqlParseClientCodeRouteImport.update({+ id: '/api/ai/sql/parse-client-code',+ path: '/api/ai/sql/parse-client-code',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiSqlGenerateV4Route = ApiAiSqlGenerateV4RouteImport.update({+ id: '/api/ai/sql/generate-v4',+ path: '/api/ai/sql/generate-v4',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiSqlFilterV1Route = ApiAiSqlFilterV1RouteImport.update({+ id: '/api/ai/sql/filter-v1',+ path: '/api/ai/sql/filter-v1',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiSqlCronV2Route = ApiAiSqlCronV2RouteImport.update({+ id: '/api/ai/sql/cron-v2',+ path: '/api/ai/sql/cron-v2',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiSqlCheckApiKeyRoute = ApiAiSqlCheckApiKeyRouteImport.update({+ id: '/api/ai/sql/check-api-key',+ path: '/api/ai/sql/check-api-key',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiOnboardingDesignRoute = ApiAiOnboardingDesignRouteImport.update({+ id: '/api/ai/onboarding/design',+ path: '/api/ai/onboarding/design',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiFeedbackRateRoute = ApiAiFeedbackRateRouteImport.update({+ id: '/api/ai/feedback/rate',+ path: '/api/ai/feedback/rate',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiFeedbackClassifyRoute = ApiAiFeedbackClassifyRouteImport.update({+ id: '/api/ai/feedback/classify',+ path: '/api/ai/feedback/classify',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiAiCodeCompleteRoute = ApiAiCodeCompleteRouteImport.update({+ id: '/api/ai/code/complete',+ path: '/api/ai/code/complete',+ getParentRoute: () => rootRouteImport,+} as any)const AppOrgSlugUsageRoute = AppOrgSlugUsageRouteImport.update({id: '/$slug/usage',path: '/$slug/usage',@@ -213,6 +500,12 @@ const AppAccountTokensScopedRoute = AppAccountTokensScopedRouteImport.update({path: '/tokens/scoped',getParentRoute: () => AppAccountRoute,} as any)+const ApiPlatformProjectsRefIndexRoute =+ ApiPlatformProjectsRefIndexRouteImport.update({+ id: '/api/platform/projects/$ref/',+ path: '/api/platform/projects/$ref/',+ getParentRoute: () => rootRouteImport,+ } as any)const AppOrgSlugWebhooksIndexRoute = AppOrgSlugWebhooksIndexRouteImport.update({id: '/$slug/webhooks/',path: '/$slug/webhooks/',@@ -224,6 +517,147 @@ const AppOrgSlugPrivateAppsIndexRoute =path: '/$slug/private-apps/',getParentRoute: () => AppOrgRoute,} as any)+const ApiV1ProjectsRefApiKeysRoute = ApiV1ProjectsRefApiKeysRouteImport.update({+ id: '/api/v1/projects/$ref/api-keys',+ path: '/api/v1/projects/$ref/api-keys',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiPlatformPropsOrgSlugRoute = ApiPlatformPropsOrgSlugRouteImport.update({+ id: '/api/platform/props/org/$slug',+ path: '/api/platform/props/org/$slug',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiPlatformProjectsRefSettingsRoute =+ ApiPlatformProjectsRefSettingsRouteImport.update({+ id: '/api/platform/projects/$ref/settings',+ path: '/api/platform/projects/$ref/settings',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefRunLintsRoute =+ ApiPlatformProjectsRefRunLintsRouteImport.update({+ id: '/api/platform/projects/$ref/run-lints',+ path: '/api/platform/projects/$ref/run-lints',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefInfraMonitoringRoute =+ ApiPlatformProjectsRefInfraMonitoringRouteImport.update({+ id: '/api/platform/projects/$ref/infra-monitoring',+ path: '/api/platform/projects/$ref/infra-monitoring',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefDatabasesRoute =+ ApiPlatformProjectsRefDatabasesRouteImport.update({+ id: '/api/platform/projects/$ref/databases',+ path: '/api/platform/projects/$ref/databases',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefViewsRoute =+ ApiPlatformPgMetaRefViewsRouteImport.update({+ id: '/api/platform/pg-meta/$ref/views',+ path: '/api/platform/pg-meta/$ref/views',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefTypesRoute =+ ApiPlatformPgMetaRefTypesRouteImport.update({+ id: '/api/platform/pg-meta/$ref/types',+ path: '/api/platform/pg-meta/$ref/types',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefTriggersRoute =+ ApiPlatformPgMetaRefTriggersRouteImport.update({+ id: '/api/platform/pg-meta/$ref/triggers',+ path: '/api/platform/pg-meta/$ref/triggers',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefTablesRoute =+ ApiPlatformPgMetaRefTablesRouteImport.update({+ id: '/api/platform/pg-meta/$ref/tables',+ path: '/api/platform/pg-meta/$ref/tables',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefPublicationsRoute =+ ApiPlatformPgMetaRefPublicationsRouteImport.update({+ id: '/api/platform/pg-meta/$ref/publications',+ path: '/api/platform/pg-meta/$ref/publications',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefPoliciesRoute =+ ApiPlatformPgMetaRefPoliciesRouteImport.update({+ id: '/api/platform/pg-meta/$ref/policies',+ path: '/api/platform/pg-meta/$ref/policies',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefMaterializedViewsRoute =+ ApiPlatformPgMetaRefMaterializedViewsRouteImport.update({+ id: '/api/platform/pg-meta/$ref/materialized-views',+ path: '/api/platform/pg-meta/$ref/materialized-views',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefForeignTablesRoute =+ ApiPlatformPgMetaRefForeignTablesRouteImport.update({+ id: '/api/platform/pg-meta/$ref/foreign-tables',+ path: '/api/platform/pg-meta/$ref/foreign-tables',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefExtensionsRoute =+ ApiPlatformPgMetaRefExtensionsRouteImport.update({+ id: '/api/platform/pg-meta/$ref/extensions',+ path: '/api/platform/pg-meta/$ref/extensions',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefColumnPrivilegesRoute =+ ApiPlatformPgMetaRefColumnPrivilegesRouteImport.update({+ id: '/api/platform/pg-meta/$ref/column-privileges',+ path: '/api/platform/pg-meta/$ref/column-privileges',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformIntegrationsGithubRepositoriesRoute =+ ApiPlatformIntegrationsGithubRepositoriesRouteImport.update({+ id: '/api/platform/integrations/github/repositories',+ path: '/api/platform/integrations/github/repositories',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformIntegrationsGithubConnectionsRoute =+ ApiPlatformIntegrationsGithubConnectionsRouteImport.update({+ id: '/api/platform/integrations/github/connections',+ path: '/api/platform/integrations/github/connections',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformIntegrationsGithubAuthorizationRoute =+ ApiPlatformIntegrationsGithubAuthorizationRouteImport.update({+ id: '/api/platform/integrations/github/authorization',+ path: '/api/platform/integrations/github/authorization',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformDatabaseRefPoolingRoute =+ ApiPlatformDatabaseRefPoolingRouteImport.update({+ id: '/api/platform/database/$ref/pooling',+ path: '/api/platform/database/$ref/pooling',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformAuthRefRecoverRoute =+ ApiPlatformAuthRefRecoverRouteImport.update({+ id: '/api/platform/auth/$ref/recover',+ path: '/api/platform/auth/$ref/recover',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformAuthRefOtpRoute = ApiPlatformAuthRefOtpRouteImport.update({+ id: '/api/platform/auth/$ref/otp',+ path: '/api/platform/auth/$ref/otp',+ getParentRoute: () => rootRouteImport,+} as any)+const ApiPlatformAuthRefMagiclinkRoute =+ ApiPlatformAuthRefMagiclinkRouteImport.update({+ id: '/api/platform/auth/$ref/magiclink',+ path: '/api/platform/auth/$ref/magiclink',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformAuthRefInviteRoute =+ ApiPlatformAuthRefInviteRouteImport.update({+ id: '/api/platform/auth/$ref/invite',+ path: '/api/platform/auth/$ref/invite',+ getParentRoute: () => rootRouteImport,+ } as any)const AuthPartnersStripeProjectsLoginRoute =AuthPartnersStripeProjectsLoginRouteImport.update({id: '/_auth/partners/stripe/projects/login',@@ -236,6 +670,270 @@ const AppOrgSlugWebhooksEndpointIdRoute =path: '/$slug/webhooks/$endpointId',getParentRoute: () => AppOrgRoute,} as any)+const ApiV1ProjectsRefFunctionsIndexRoute =+ ApiV1ProjectsRefFunctionsIndexRouteImport.update({+ id: '/api/v1/projects/$ref/functions/',+ path: '/api/v1/projects/$ref/functions/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefVectorBucketsIndexRoute =+ ApiPlatformStorageRefVectorBucketsIndexRouteImport.update({+ id: '/api/platform/storage/$ref/vector-buckets/',+ path: '/api/platform/storage/$ref/vector-buckets/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIndexRoute =+ ApiPlatformStorageRefBucketsIndexRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/',+ path: '/api/platform/storage/$ref/buckets/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPropsProjectRefIndexRoute =+ ApiPlatformPropsProjectRefIndexRouteImport.update({+ id: '/api/platform/props/project/$ref/',+ path: '/api/platform/props/project/$ref/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefContentIndexRoute =+ ApiPlatformProjectsRefContentIndexRouteImport.update({+ id: '/api/platform/projects/$ref/content/',+ path: '/api/platform/projects/$ref/content/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefConfigIndexRoute =+ ApiPlatformProjectsRefConfigIndexRouteImport.update({+ id: '/api/platform/projects/$ref/config/',+ path: '/api/platform/projects/$ref/config/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformPgMetaRefQueryIndexRoute =+ ApiPlatformPgMetaRefQueryIndexRouteImport.update({+ id: '/api/platform/pg-meta/$ref/query/',+ path: '/api/platform/pg-meta/$ref/query/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformAuthRefUsersIndexRoute =+ ApiPlatformAuthRefUsersIndexRouteImport.update({+ id: '/api/platform/auth/$ref/users/',+ path: '/api/platform/auth/$ref/users/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiV1ProjectsRefTypesTypescriptRoute =+ ApiV1ProjectsRefTypesTypescriptRouteImport.update({+ id: '/api/v1/projects/$ref/types/typescript',+ path: '/api/v1/projects/$ref/types/typescript',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiV1ProjectsRefDatabaseMigrationsRoute =+ ApiV1ProjectsRefDatabaseMigrationsRouteImport.update({+ id: '/api/v1/projects/$ref/database/migrations',+ path: '/api/v1/projects/$ref/database/migrations',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiV1ProjectsRefApiKeysIdRoute =+ ApiV1ProjectsRefApiKeysIdRouteImport.update({+ id: '/$id',+ path: '/$id',+ getParentRoute: () => ApiV1ProjectsRefApiKeysRoute,+ } as any)+const ApiPlatformPropsProjectRefApiRoute =+ ApiPlatformPropsProjectRefApiRouteImport.update({+ id: '/api/platform/props/project/$ref/api',+ path: '/api/platform/props/project/$ref/api',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefContentCountRoute =+ ApiPlatformProjectsRefContentCountRouteImport.update({+ id: '/api/platform/projects/$ref/content/count',+ path: '/api/platform/projects/$ref/content/count',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefConfigPostgrestRoute =+ ApiPlatformProjectsRefConfigPostgrestRouteImport.update({+ id: '/api/platform/projects/$ref/config/postgrest',+ path: '/api/platform/projects/$ref/config/postgrest',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefBillingAddonsRoute =+ ApiPlatformProjectsRefBillingAddonsRouteImport.update({+ id: '/api/platform/projects/$ref/billing/addons',+ path: '/api/platform/projects/$ref/billing/addons',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefApiRestRoute =+ ApiPlatformProjectsRefApiRestRouteImport.update({+ id: '/api/platform/projects/$ref/api/rest',+ path: '/api/platform/projects/$ref/api/rest',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefApiGraphqlRoute =+ ApiPlatformProjectsRefApiGraphqlRouteImport.update({+ id: '/api/platform/projects/$ref/api/graphql',+ path: '/api/platform/projects/$ref/api/graphql',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefApiKeysTemporaryRoute =+ ApiPlatformProjectsRefApiKeysTemporaryRouteImport.update({+ id: '/api/platform/projects/$ref/api-keys/temporary',+ path: '/api/platform/projects/$ref/api-keys/temporary',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefAnalyticsLogDrainsRoute =+ ApiPlatformProjectsRefAnalyticsLogDrainsRouteImport.update({+ id: '/api/platform/projects/$ref/analytics/log-drains',+ path: '/api/platform/projects/$ref/analytics/log-drains',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformOrganizationsSlugBillingSubscriptionRoute =+ ApiPlatformOrganizationsSlugBillingSubscriptionRouteImport.update({+ id: '/api/platform/organizations/$slug/billing/subscription',+ path: '/api/platform/organizations/$slug/billing/subscription',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiV1ProjectsRefFunctionsSlugIndexRoute =+ ApiV1ProjectsRefFunctionsSlugIndexRouteImport.update({+ id: '/api/v1/projects/$ref/functions/$slug/',+ path: '/api/v1/projects/$ref/functions/$slug/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefVectorBucketsIdIndexRoute =+ ApiPlatformStorageRefVectorBucketsIdIndexRouteImport.update({+ id: '/api/platform/storage/$ref/vector-buckets/$id/',+ path: '/api/platform/storage/$ref/vector-buckets/$id/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdIndexRoute =+ ApiPlatformStorageRefBucketsIdIndexRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/',+ path: '/api/platform/storage/$ref/buckets/$id/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefContentFoldersIndexRoute =+ ApiPlatformProjectsRefContentFoldersIndexRouteImport.update({+ id: '/api/platform/projects/$ref/content/folders/',+ path: '/api/platform/projects/$ref/content/folders/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformAuthRefUsersIdIndexRoute =+ ApiPlatformAuthRefUsersIdIndexRouteImport.update({+ id: '/api/platform/auth/$ref/users/$id/',+ path: '/api/platform/auth/$ref/users/$id/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiV1ProjectsRefFunctionsSlugBodyRoute =+ ApiV1ProjectsRefFunctionsSlugBodyRouteImport.update({+ id: '/api/v1/projects/$ref/functions/$slug/body',+ path: '/api/v1/projects/$ref/functions/$slug/body',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdEmptyRoute =+ ApiPlatformStorageRefBucketsIdEmptyRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/empty',+ path: '/api/platform/storage/$ref/buckets/$id/empty',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefContentItemIdRoute =+ ApiPlatformProjectsRefContentItemIdRouteImport.update({+ id: '/api/platform/projects/$ref/content/item/$id',+ path: '/api/platform/projects/$ref/content/item/$id',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefContentFoldersIdRoute =+ ApiPlatformProjectsRefContentFoldersIdRouteImport.update({+ id: '/api/platform/projects/$ref/content/folders/$id',+ path: '/api/platform/projects/$ref/content/folders/$id',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute =+ ApiPlatformProjectsRefConfigSecretsUpdateStatusRouteImport.update({+ id: '/api/platform/projects/$ref/config/secrets/update-status',+ path: '/api/platform/projects/$ref/config/secrets/update-status',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute =+ ApiPlatformProjectsRefAnalyticsLogDrainsUuidRouteImport.update({+ id: '/$uuid',+ path: '/$uuid',+ getParentRoute: () => ApiPlatformProjectsRefAnalyticsLogDrainsRoute,+ } as any)+const ApiPlatformProjectsRefAnalyticsEndpointsNameRoute =+ ApiPlatformProjectsRefAnalyticsEndpointsNameRouteImport.update({+ id: '/api/platform/projects/$ref/analytics/endpoints/$name',+ path: '/api/platform/projects/$ref/analytics/endpoints/$name',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformAuthRefUsersIdFactorsRoute =+ ApiPlatformAuthRefUsersIdFactorsRouteImport.update({+ id: '/api/platform/auth/$ref/users/$id/factors',+ path: '/api/platform/auth/$ref/users/$id/factors',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute =+ ApiV1ProjectsRefConfigAuthSigningKeysIndexRouteImport.update({+ id: '/api/v1/projects/$ref/config/auth/signing-keys/',+ path: '/api/v1/projects/$ref/config/auth/signing-keys/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute =+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexRouteImport.update({+ id: '/api/platform/storage/$ref/vector-buckets/$id/indexes/',+ path: '/api/platform/storage/$ref/vector-buckets/$id/indexes/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdObjectsIndexRoute =+ ApiPlatformStorageRefBucketsIdObjectsIndexRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/objects/',+ path: '/api/platform/storage/$ref/buckets/$id/objects/',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute =+ ApiV1ProjectsRefConfigAuthSigningKeysLegacyRouteImport.update({+ id: '/api/v1/projects/$ref/config/auth/signing-keys/legacy',+ path: '/api/v1/projects/$ref/config/auth/signing-keys/legacy',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute =+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRouteImport.update({+ id: '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName',+ path: '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute =+ ApiPlatformStorageRefBucketsIdObjectsSignMultiRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/objects/sign-multi',+ path: '/api/platform/storage/$ref/buckets/$id/objects/sign-multi',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdObjectsSignRoute =+ ApiPlatformStorageRefBucketsIdObjectsSignRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/objects/sign',+ path: '/api/platform/storage/$ref/buckets/$id/objects/sign',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute =+ ApiPlatformStorageRefBucketsIdObjectsPublicUrlRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/objects/public-url',+ path: '/api/platform/storage/$ref/buckets/$id/objects/public-url',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdObjectsMoveRoute =+ ApiPlatformStorageRefBucketsIdObjectsMoveRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/objects/move',+ path: '/api/platform/storage/$ref/buckets/$id/objects/move',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdObjectsListRoute =+ ApiPlatformStorageRefBucketsIdObjectsListRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/objects/list',+ path: '/api/platform/storage/$ref/buckets/$id/objects/list',+ getParentRoute: () => rootRouteImport,+ } as any)+const ApiPlatformStorageRefBucketsIdObjectsDownloadRoute =+ ApiPlatformStorageRefBucketsIdObjectsDownloadRouteImport.update({+ id: '/api/platform/storage/$ref/buckets/$id/objects/download',+ path: '/api/platform/storage/$ref/buckets/$id/objects/download',+ getParentRoute: () => rootRouteImport,+ } as any)export interface FileRoutesByFullPath {'/account': typeof AppAccountRouteWithChildren@@ -249,14 +947,33 @@ export interface FileRoutesByFullPath {'/sign-in-partner': typeof AuthSignInPartnerRoute'/sign-in-sso': typeof AuthSignInSsoRoute'/sign-up': typeof AuthSignUpRoute+ '/api/check-cname': typeof ApiCheckCnameRoute+ '/api/cli-release-version': typeof ApiCliReleaseVersionRoute+ '/api/enabled-features-overrides': typeof ApiEnabledFeaturesOverridesRoute+ '/api/generate-attachment-url': typeof ApiGenerateAttachmentUrlRoute+ '/api/get-deployment-commit': typeof ApiGetDeploymentCommitRoute+ '/api/get-ip-address': typeof ApiGetIpAddressRoute+ '/api/get-s3-keys': typeof ApiGetS3KeysRoute+ '/api/get-utc-time': typeof ApiGetUtcTimeRoute+ '/api/incident-banner': typeof ApiIncidentBannerRoute+ '/api/incident-status': typeof ApiIncidentStatusRoute+ '/api/parse-query': typeof ApiParseQueryRoute+ '/api/status-override': typeof ApiStatusOverrideRoute'/account/audit': typeof AppAccountAuditRoute'/account/me': typeof AppAccountMeRoute'/account/security': typeof AppAccountSecurityRoute'/support/link': typeof AppSupportLinkRoute'/support/new': typeof AppSupportNewRoute'/cli/login': typeof AuthCliLoginRoute+ '/api/ai/docs': typeof ApiAiDocsRoute+ '/api/content/graphql': typeof ApiContentGraphqlRoute+ '/api/edge-functions/test': typeof ApiEdgeFunctionsTestRoute+ '/api/integrations/stripe-sync': typeof ApiIntegrationsStripeSyncRoute+ '/api/platform/deployment-mode': typeof ApiPlatformDeploymentModeRoute'/new/': typeof AppNewIndexRoute'/org/': typeof AppOrgIndexRoute+ '/api/connect/': typeof ApiConnectIndexRoute+ '/api/mcp/': typeof ApiMcpIndexRoute'/account/tokens/scoped': typeof AppAccountTokensScopedRoute'/org/$slug/apps': typeof AppOrgSlugAppsRoute'/org/$slug/audit': typeof AppOrgSlugAuditRoute@@ -269,12 +986,97 @@ export interface FileRoutesByFullPath {'/org/$slug/sso': typeof AppOrgSlugSsoRoute'/org/$slug/team': typeof AppOrgSlugTeamRoute'/org/$slug/usage': typeof AppOrgSlugUsageRoute+ '/api/ai/code/complete': typeof ApiAiCodeCompleteRoute+ '/api/ai/feedback/classify': typeof ApiAiFeedbackClassifyRoute+ '/api/ai/feedback/rate': typeof ApiAiFeedbackRateRoute+ '/api/ai/onboarding/design': typeof ApiAiOnboardingDesignRoute+ '/api/ai/sql/check-api-key': typeof ApiAiSqlCheckApiKeyRoute+ '/api/ai/sql/cron-v2': typeof ApiAiSqlCronV2Route+ '/api/ai/sql/filter-v1': typeof ApiAiSqlFilterV1Route+ '/api/ai/sql/generate-v4': typeof ApiAiSqlGenerateV4Route+ '/api/ai/sql/parse-client-code': typeof ApiAiSqlParseClientCodeRoute+ '/api/ai/sql/policy': typeof ApiAiSqlPolicyRoute+ '/api/ai/sql/title-v2': typeof ApiAiSqlTitleV2Route+ '/api/platform/integrations/$slug': typeof ApiPlatformIntegrationsSlugRoute+ '/api/platform/telemetry/event': typeof ApiPlatformTelemetryEventRoute'/account/tokens/': typeof AppAccountTokensIndexRoute'/org/$slug/': typeof AppOrgSlugIndexRoute+ '/api/platform/organizations/': typeof ApiPlatformOrganizationsIndexRoute+ '/api/platform/profile/': typeof ApiPlatformProfileIndexRoute+ '/api/platform/projects/': typeof ApiPlatformProjectsIndexRoute'/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute'/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute+ '/api/platform/auth/$ref/invite': typeof ApiPlatformAuthRefInviteRoute+ '/api/platform/auth/$ref/magiclink': typeof ApiPlatformAuthRefMagiclinkRoute+ '/api/platform/auth/$ref/otp': typeof ApiPlatformAuthRefOtpRoute+ '/api/platform/auth/$ref/recover': typeof ApiPlatformAuthRefRecoverRoute+ '/api/platform/database/$ref/pooling': typeof ApiPlatformDatabaseRefPoolingRoute+ '/api/platform/integrations/github/authorization': typeof ApiPlatformIntegrationsGithubAuthorizationRoute+ '/api/platform/integrations/github/connections': typeof ApiPlatformIntegrationsGithubConnectionsRoute+ '/api/platform/integrations/github/repositories': typeof ApiPlatformIntegrationsGithubRepositoriesRoute+ '/api/platform/pg-meta/$ref/column-privileges': typeof ApiPlatformPgMetaRefColumnPrivilegesRoute+ '/api/platform/pg-meta/$ref/extensions': typeof ApiPlatformPgMetaRefExtensionsRoute+ '/api/platform/pg-meta/$ref/foreign-tables': typeof ApiPlatformPgMetaRefForeignTablesRoute+ '/api/platform/pg-meta/$ref/materialized-views': typeof ApiPlatformPgMetaRefMaterializedViewsRoute+ '/api/platform/pg-meta/$ref/policies': typeof ApiPlatformPgMetaRefPoliciesRoute+ '/api/platform/pg-meta/$ref/publications': typeof ApiPlatformPgMetaRefPublicationsRoute+ '/api/platform/pg-meta/$ref/tables': typeof ApiPlatformPgMetaRefTablesRoute+ '/api/platform/pg-meta/$ref/triggers': typeof ApiPlatformPgMetaRefTriggersRoute+ '/api/platform/pg-meta/$ref/types': typeof ApiPlatformPgMetaRefTypesRoute+ '/api/platform/pg-meta/$ref/views': typeof ApiPlatformPgMetaRefViewsRoute+ '/api/platform/projects/$ref/databases': typeof ApiPlatformProjectsRefDatabasesRoute+ '/api/platform/projects/$ref/infra-monitoring': typeof ApiPlatformProjectsRefInfraMonitoringRoute+ '/api/platform/projects/$ref/run-lints': typeof ApiPlatformProjectsRefRunLintsRoute+ '/api/platform/projects/$ref/settings': typeof ApiPlatformProjectsRefSettingsRoute+ '/api/platform/props/org/$slug': typeof ApiPlatformPropsOrgSlugRoute+ '/api/v1/projects/$ref/api-keys': typeof ApiV1ProjectsRefApiKeysRouteWithChildren'/org/$slug/private-apps/': typeof AppOrgSlugPrivateAppsIndexRoute'/org/$slug/webhooks/': typeof AppOrgSlugWebhooksIndexRoute+ '/api/platform/projects/$ref/': typeof ApiPlatformProjectsRefIndexRoute+ '/api/platform/organizations/$slug/billing/subscription': typeof ApiPlatformOrganizationsSlugBillingSubscriptionRoute+ '/api/platform/projects/$ref/analytics/log-drains': typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren+ '/api/platform/projects/$ref/api-keys/temporary': typeof ApiPlatformProjectsRefApiKeysTemporaryRoute+ '/api/platform/projects/$ref/api/graphql': typeof ApiPlatformProjectsRefApiGraphqlRoute+ '/api/platform/projects/$ref/api/rest': typeof ApiPlatformProjectsRefApiRestRoute+ '/api/platform/projects/$ref/billing/addons': typeof ApiPlatformProjectsRefBillingAddonsRoute+ '/api/platform/projects/$ref/config/postgrest': typeof ApiPlatformProjectsRefConfigPostgrestRoute+ '/api/platform/projects/$ref/content/count': typeof ApiPlatformProjectsRefContentCountRoute+ '/api/platform/props/project/$ref/api': typeof ApiPlatformPropsProjectRefApiRoute+ '/api/v1/projects/$ref/api-keys/$id': typeof ApiV1ProjectsRefApiKeysIdRoute+ '/api/v1/projects/$ref/database/migrations': typeof ApiV1ProjectsRefDatabaseMigrationsRoute+ '/api/v1/projects/$ref/types/typescript': typeof ApiV1ProjectsRefTypesTypescriptRoute+ '/api/platform/auth/$ref/users/': typeof ApiPlatformAuthRefUsersIndexRoute+ '/api/platform/pg-meta/$ref/query/': typeof ApiPlatformPgMetaRefQueryIndexRoute+ '/api/platform/projects/$ref/config/': typeof ApiPlatformProjectsRefConfigIndexRoute+ '/api/platform/projects/$ref/content/': typeof ApiPlatformProjectsRefContentIndexRoute+ '/api/platform/props/project/$ref/': typeof ApiPlatformPropsProjectRefIndexRoute+ '/api/platform/storage/$ref/buckets/': typeof ApiPlatformStorageRefBucketsIndexRoute+ '/api/platform/storage/$ref/vector-buckets/': typeof ApiPlatformStorageRefVectorBucketsIndexRoute+ '/api/v1/projects/$ref/functions/': typeof ApiV1ProjectsRefFunctionsIndexRoute+ '/api/platform/auth/$ref/users/$id/factors': typeof ApiPlatformAuthRefUsersIdFactorsRoute+ '/api/platform/projects/$ref/analytics/endpoints/$name': typeof ApiPlatformProjectsRefAnalyticsEndpointsNameRoute+ '/api/platform/projects/$ref/analytics/log-drains/$uuid': typeof ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute+ '/api/platform/projects/$ref/config/secrets/update-status': typeof ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute+ '/api/platform/projects/$ref/content/folders/$id': typeof ApiPlatformProjectsRefContentFoldersIdRoute+ '/api/platform/projects/$ref/content/item/$id': typeof ApiPlatformProjectsRefContentItemIdRoute+ '/api/platform/storage/$ref/buckets/$id/empty': typeof ApiPlatformStorageRefBucketsIdEmptyRoute+ '/api/v1/projects/$ref/functions/$slug/body': typeof ApiV1ProjectsRefFunctionsSlugBodyRoute+ '/api/platform/auth/$ref/users/$id/': typeof ApiPlatformAuthRefUsersIdIndexRoute+ '/api/platform/projects/$ref/content/folders/': typeof ApiPlatformProjectsRefContentFoldersIndexRoute+ '/api/platform/storage/$ref/buckets/$id/': typeof ApiPlatformStorageRefBucketsIdIndexRoute+ '/api/platform/storage/$ref/vector-buckets/$id/': typeof ApiPlatformStorageRefVectorBucketsIdIndexRoute+ '/api/v1/projects/$ref/functions/$slug/': typeof ApiV1ProjectsRefFunctionsSlugIndexRoute+ '/api/platform/storage/$ref/buckets/$id/objects/download': typeof ApiPlatformStorageRefBucketsIdObjectsDownloadRoute+ '/api/platform/storage/$ref/buckets/$id/objects/list': typeof ApiPlatformStorageRefBucketsIdObjectsListRoute+ '/api/platform/storage/$ref/buckets/$id/objects/move': typeof ApiPlatformStorageRefBucketsIdObjectsMoveRoute+ '/api/platform/storage/$ref/buckets/$id/objects/public-url': typeof ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute+ '/api/platform/storage/$ref/buckets/$id/objects/sign': typeof ApiPlatformStorageRefBucketsIdObjectsSignRoute+ '/api/platform/storage/$ref/buckets/$id/objects/sign-multi': typeof ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName': typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute+ '/api/v1/projects/$ref/config/auth/signing-keys/legacy': typeof ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute+ '/api/platform/storage/$ref/buckets/$id/objects/': typeof ApiPlatformStorageRefBucketsIdObjectsIndexRoute+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/': typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute+ '/api/v1/projects/$ref/config/auth/signing-keys/': typeof ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute}export interface FileRoutesByTo {'/account': typeof AppAccountRouteWithChildren@@ -287,14 +1089,33 @@ export interface FileRoutesByTo {'/sign-in-partner': typeof AuthSignInPartnerRoute'/sign-in-sso': typeof AuthSignInSsoRoute'/sign-up': typeof AuthSignUpRoute+ '/api/check-cname': typeof ApiCheckCnameRoute+ '/api/cli-release-version': typeof ApiCliReleaseVersionRoute+ '/api/enabled-features-overrides': typeof ApiEnabledFeaturesOverridesRoute+ '/api/generate-attachment-url': typeof ApiGenerateAttachmentUrlRoute+ '/api/get-deployment-commit': typeof ApiGetDeploymentCommitRoute+ '/api/get-ip-address': typeof ApiGetIpAddressRoute+ '/api/get-s3-keys': typeof ApiGetS3KeysRoute+ '/api/get-utc-time': typeof ApiGetUtcTimeRoute+ '/api/incident-banner': typeof ApiIncidentBannerRoute+ '/api/incident-status': typeof ApiIncidentStatusRoute+ '/api/parse-query': typeof ApiParseQueryRoute+ '/api/status-override': typeof ApiStatusOverrideRoute'/account/audit': typeof AppAccountAuditRoute'/account/me': typeof AppAccountMeRoute'/account/security': typeof AppAccountSecurityRoute'/support/link': typeof AppSupportLinkRoute'/support/new': typeof AppSupportNewRoute'/cli/login': typeof AuthCliLoginRoute+ '/api/ai/docs': typeof ApiAiDocsRoute+ '/api/content/graphql': typeof ApiContentGraphqlRoute+ '/api/edge-functions/test': typeof ApiEdgeFunctionsTestRoute+ '/api/integrations/stripe-sync': typeof ApiIntegrationsStripeSyncRoute+ '/api/platform/deployment-mode': typeof ApiPlatformDeploymentModeRoute'/new': typeof AppNewIndexRoute'/org': typeof AppOrgIndexRoute+ '/api/connect': typeof ApiConnectIndexRoute+ '/api/mcp': typeof ApiMcpIndexRoute'/account/tokens/scoped': typeof AppAccountTokensScopedRoute'/org/$slug/apps': typeof AppOrgSlugAppsRoute'/org/$slug/audit': typeof AppOrgSlugAuditRoute@@ -307,12 +1128,97 @@ export interface FileRoutesByTo {'/org/$slug/sso': typeof AppOrgSlugSsoRoute'/org/$slug/team': typeof AppOrgSlugTeamRoute'/org/$slug/usage': typeof AppOrgSlugUsageRoute+ '/api/ai/code/complete': typeof ApiAiCodeCompleteRoute+ '/api/ai/feedback/classify': typeof ApiAiFeedbackClassifyRoute+ '/api/ai/feedback/rate': typeof ApiAiFeedbackRateRoute+ '/api/ai/onboarding/design': typeof ApiAiOnboardingDesignRoute+ '/api/ai/sql/check-api-key': typeof ApiAiSqlCheckApiKeyRoute+ '/api/ai/sql/cron-v2': typeof ApiAiSqlCronV2Route+ '/api/ai/sql/filter-v1': typeof ApiAiSqlFilterV1Route+ '/api/ai/sql/generate-v4': typeof ApiAiSqlGenerateV4Route+ '/api/ai/sql/parse-client-code': typeof ApiAiSqlParseClientCodeRoute+ '/api/ai/sql/policy': typeof ApiAiSqlPolicyRoute+ '/api/ai/sql/title-v2': typeof ApiAiSqlTitleV2Route+ '/api/platform/integrations/$slug': typeof ApiPlatformIntegrationsSlugRoute+ '/api/platform/telemetry/event': typeof ApiPlatformTelemetryEventRoute'/account/tokens': typeof AppAccountTokensIndexRoute'/org/$slug': typeof AppOrgSlugIndexRoute+ '/api/platform/organizations': typeof ApiPlatformOrganizationsIndexRoute+ '/api/platform/profile': typeof ApiPlatformProfileIndexRoute+ '/api/platform/projects': typeof ApiPlatformProjectsIndexRoute'/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute'/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute+ '/api/platform/auth/$ref/invite': typeof ApiPlatformAuthRefInviteRoute+ '/api/platform/auth/$ref/magiclink': typeof ApiPlatformAuthRefMagiclinkRoute+ '/api/platform/auth/$ref/otp': typeof ApiPlatformAuthRefOtpRoute+ '/api/platform/auth/$ref/recover': typeof ApiPlatformAuthRefRecoverRoute+ '/api/platform/database/$ref/pooling': typeof ApiPlatformDatabaseRefPoolingRoute+ '/api/platform/integrations/github/authorization': typeof ApiPlatformIntegrationsGithubAuthorizationRoute+ '/api/platform/integrations/github/connections': typeof ApiPlatformIntegrationsGithubConnectionsRoute+ '/api/platform/integrations/github/repositories': typeof ApiPlatformIntegrationsGithubRepositoriesRoute+ '/api/platform/pg-meta/$ref/column-privileges': typeof ApiPlatformPgMetaRefColumnPrivilegesRoute+ '/api/platform/pg-meta/$ref/extensions': typeof ApiPlatformPgMetaRefExtensionsRoute+ '/api/platform/pg-meta/$ref/foreign-tables': typeof ApiPlatformPgMetaRefForeignTablesRoute+ '/api/platform/pg-meta/$ref/materialized-views': typeof ApiPlatformPgMetaRefMaterializedViewsRoute+ '/api/platform/pg-meta/$ref/policies': typeof ApiPlatformPgMetaRefPoliciesRoute+ '/api/platform/pg-meta/$ref/publications': typeof ApiPlatformPgMetaRefPublicationsRoute+ '/api/platform/pg-meta/$ref/tables': typeof ApiPlatformPgMetaRefTablesRoute+ '/api/platform/pg-meta/$ref/triggers': typeof ApiPlatformPgMetaRefTriggersRoute+ '/api/platform/pg-meta/$ref/types': typeof ApiPlatformPgMetaRefTypesRoute+ '/api/platform/pg-meta/$ref/views': typeof ApiPlatformPgMetaRefViewsRoute+ '/api/platform/projects/$ref/databases': typeof ApiPlatformProjectsRefDatabasesRoute+ '/api/platform/projects/$ref/infra-monitoring': typeof ApiPlatformProjectsRefInfraMonitoringRoute+ '/api/platform/projects/$ref/run-lints': typeof ApiPlatformProjectsRefRunLintsRoute+ '/api/platform/projects/$ref/settings': typeof ApiPlatformProjectsRefSettingsRoute+ '/api/platform/props/org/$slug': typeof ApiPlatformPropsOrgSlugRoute+ '/api/v1/projects/$ref/api-keys': typeof ApiV1ProjectsRefApiKeysRouteWithChildren'/org/$slug/private-apps': typeof AppOrgSlugPrivateAppsIndexRoute'/org/$slug/webhooks': typeof AppOrgSlugWebhooksIndexRoute+ '/api/platform/projects/$ref': typeof ApiPlatformProjectsRefIndexRoute+ '/api/platform/organizations/$slug/billing/subscription': typeof ApiPlatformOrganizationsSlugBillingSubscriptionRoute+ '/api/platform/projects/$ref/analytics/log-drains': typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren+ '/api/platform/projects/$ref/api-keys/temporary': typeof ApiPlatformProjectsRefApiKeysTemporaryRoute+ '/api/platform/projects/$ref/api/graphql': typeof ApiPlatformProjectsRefApiGraphqlRoute+ '/api/platform/projects/$ref/api/rest': typeof ApiPlatformProjectsRefApiRestRoute+ '/api/platform/projects/$ref/billing/addons': typeof ApiPlatformProjectsRefBillingAddonsRoute+ '/api/platform/projects/$ref/config/postgrest': typeof ApiPlatformProjectsRefConfigPostgrestRoute+ '/api/platform/projects/$ref/content/count': typeof ApiPlatformProjectsRefContentCountRoute+ '/api/platform/props/project/$ref/api': typeof ApiPlatformPropsProjectRefApiRoute+ '/api/v1/projects/$ref/api-keys/$id': typeof ApiV1ProjectsRefApiKeysIdRoute+ '/api/v1/projects/$ref/database/migrations': typeof ApiV1ProjectsRefDatabaseMigrationsRoute+ '/api/v1/projects/$ref/types/typescript': typeof ApiV1ProjectsRefTypesTypescriptRoute+ '/api/platform/auth/$ref/users': typeof ApiPlatformAuthRefUsersIndexRoute+ '/api/platform/pg-meta/$ref/query': typeof ApiPlatformPgMetaRefQueryIndexRoute+ '/api/platform/projects/$ref/config': typeof ApiPlatformProjectsRefConfigIndexRoute+ '/api/platform/projects/$ref/content': typeof ApiPlatformProjectsRefContentIndexRoute+ '/api/platform/props/project/$ref': typeof ApiPlatformPropsProjectRefIndexRoute+ '/api/platform/storage/$ref/buckets': typeof ApiPlatformStorageRefBucketsIndexRoute+ '/api/platform/storage/$ref/vector-buckets': typeof ApiPlatformStorageRefVectorBucketsIndexRoute+ '/api/v1/projects/$ref/functions': typeof ApiV1ProjectsRefFunctionsIndexRoute+ '/api/platform/auth/$ref/users/$id/factors': typeof ApiPlatformAuthRefUsersIdFactorsRoute+ '/api/platform/projects/$ref/analytics/endpoints/$name': typeof ApiPlatformProjectsRefAnalyticsEndpointsNameRoute+ '/api/platform/projects/$ref/analytics/log-drains/$uuid': typeof ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute+ '/api/platform/projects/$ref/config/secrets/update-status': typeof ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute+ '/api/platform/projects/$ref/content/folders/$id': typeof ApiPlatformProjectsRefContentFoldersIdRoute+ '/api/platform/projects/$ref/content/item/$id': typeof ApiPlatformProjectsRefContentItemIdRoute+ '/api/platform/storage/$ref/buckets/$id/empty': typeof ApiPlatformStorageRefBucketsIdEmptyRoute+ '/api/v1/projects/$ref/functions/$slug/body': typeof ApiV1ProjectsRefFunctionsSlugBodyRoute+ '/api/platform/auth/$ref/users/$id': typeof ApiPlatformAuthRefUsersIdIndexRoute+ '/api/platform/projects/$ref/content/folders': typeof ApiPlatformProjectsRefContentFoldersIndexRoute+ '/api/platform/storage/$ref/buckets/$id': typeof ApiPlatformStorageRefBucketsIdIndexRoute+ '/api/platform/storage/$ref/vector-buckets/$id': typeof ApiPlatformStorageRefVectorBucketsIdIndexRoute+ '/api/v1/projects/$ref/functions/$slug': typeof ApiV1ProjectsRefFunctionsSlugIndexRoute+ '/api/platform/storage/$ref/buckets/$id/objects/download': typeof ApiPlatformStorageRefBucketsIdObjectsDownloadRoute+ '/api/platform/storage/$ref/buckets/$id/objects/list': typeof ApiPlatformStorageRefBucketsIdObjectsListRoute+ '/api/platform/storage/$ref/buckets/$id/objects/move': typeof ApiPlatformStorageRefBucketsIdObjectsMoveRoute+ '/api/platform/storage/$ref/buckets/$id/objects/public-url': typeof ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute+ '/api/platform/storage/$ref/buckets/$id/objects/sign': typeof ApiPlatformStorageRefBucketsIdObjectsSignRoute+ '/api/platform/storage/$ref/buckets/$id/objects/sign-multi': typeof ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName': typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute+ '/api/v1/projects/$ref/config/auth/signing-keys/legacy': typeof ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute+ '/api/platform/storage/$ref/buckets/$id/objects': typeof ApiPlatformStorageRefBucketsIdObjectsIndexRoute+ '/api/platform/storage/$ref/vector-buckets/$id/indexes': typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute+ '/api/v1/projects/$ref/config/auth/signing-keys': typeof ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute}export interface FileRoutesById {__root__: typeof rootRouteImport@@ -327,14 +1233,33 @@ export interface FileRoutesById {'/_auth/sign-in-partner': typeof AuthSignInPartnerRoute'/_auth/sign-in-sso': typeof AuthSignInSsoRoute'/_auth/sign-up': typeof AuthSignUpRoute+ '/api/check-cname': typeof ApiCheckCnameRoute+ '/api/cli-release-version': typeof ApiCliReleaseVersionRoute+ '/api/enabled-features-overrides': typeof ApiEnabledFeaturesOverridesRoute+ '/api/generate-attachment-url': typeof ApiGenerateAttachmentUrlRoute+ '/api/get-deployment-commit': typeof ApiGetDeploymentCommitRoute+ '/api/get-ip-address': typeof ApiGetIpAddressRoute+ '/api/get-s3-keys': typeof ApiGetS3KeysRoute+ '/api/get-utc-time': typeof ApiGetUtcTimeRoute+ '/api/incident-banner': typeof ApiIncidentBannerRoute+ '/api/incident-status': typeof ApiIncidentStatusRoute+ '/api/parse-query': typeof ApiParseQueryRoute+ '/api/status-override': typeof ApiStatusOverrideRoute'/_app/account/audit': typeof AppAccountAuditRoute'/_app/account/me': typeof AppAccountMeRoute'/_app/account/security': typeof AppAccountSecurityRoute'/_app/support/link': typeof AppSupportLinkRoute'/_app/support/new': typeof AppSupportNewRoute'/_auth/cli/login': typeof AuthCliLoginRoute+ '/api/ai/docs': typeof ApiAiDocsRoute+ '/api/content/graphql': typeof ApiContentGraphqlRoute+ '/api/edge-functions/test': typeof ApiEdgeFunctionsTestRoute+ '/api/integrations/stripe-sync': typeof ApiIntegrationsStripeSyncRoute+ '/api/platform/deployment-mode': typeof ApiPlatformDeploymentModeRoute'/_app/new/': typeof AppNewIndexRoute'/_app/org/': typeof AppOrgIndexRoute+ '/api/connect/': typeof ApiConnectIndexRoute+ '/api/mcp/': typeof ApiMcpIndexRoute'/_app/account/tokens/scoped': typeof AppAccountTokensScopedRoute'/_app/org/$slug/apps': typeof AppOrgSlugAppsRoute'/_app/org/$slug/audit': typeof AppOrgSlugAuditRoute@@ -347,12 +1272,97 @@ export interface FileRoutesById {'/_app/org/$slug/sso': typeof AppOrgSlugSsoRoute'/_app/org/$slug/team': typeof AppOrgSlugTeamRoute'/_app/org/$slug/usage': typeof AppOrgSlugUsageRoute+ '/api/ai/code/complete': typeof ApiAiCodeCompleteRoute+ '/api/ai/feedback/classify': typeof ApiAiFeedbackClassifyRoute+ '/api/ai/feedback/rate': typeof ApiAiFeedbackRateRoute+ '/api/ai/onboarding/design': typeof ApiAiOnboardingDesignRoute+ '/api/ai/sql/check-api-key': typeof ApiAiSqlCheckApiKeyRoute+ '/api/ai/sql/cron-v2': typeof ApiAiSqlCronV2Route+ '/api/ai/sql/filter-v1': typeof ApiAiSqlFilterV1Route+ '/api/ai/sql/generate-v4': typeof ApiAiSqlGenerateV4Route+ '/api/ai/sql/parse-client-code': typeof ApiAiSqlParseClientCodeRoute+ '/api/ai/sql/policy': typeof ApiAiSqlPolicyRoute+ '/api/ai/sql/title-v2': typeof ApiAiSqlTitleV2Route+ '/api/platform/integrations/$slug': typeof ApiPlatformIntegrationsSlugRoute+ '/api/platform/telemetry/event': typeof ApiPlatformTelemetryEventRoute'/_app/account/tokens/': typeof AppAccountTokensIndexRoute'/_app/org/$slug/': typeof AppOrgSlugIndexRoute+ '/api/platform/organizations/': typeof ApiPlatformOrganizationsIndexRoute+ '/api/platform/profile/': typeof ApiPlatformProfileIndexRoute+ '/api/platform/projects/': typeof ApiPlatformProjectsIndexRoute'/_app/org/$slug/webhooks/$endpointId': typeof AppOrgSlugWebhooksEndpointIdRoute'/_auth/partners/stripe/projects/login': typeof AuthPartnersStripeProjectsLoginRoute+ '/api/platform/auth/$ref/invite': typeof ApiPlatformAuthRefInviteRoute+ '/api/platform/auth/$ref/magiclink': typeof ApiPlatformAuthRefMagiclinkRoute+ '/api/platform/auth/$ref/otp': typeof ApiPlatformAuthRefOtpRoute+ '/api/platform/auth/$ref/recover': typeof ApiPlatformAuthRefRecoverRoute+ '/api/platform/database/$ref/pooling': typeof ApiPlatformDatabaseRefPoolingRoute+ '/api/platform/integrations/github/authorization': typeof ApiPlatformIntegrationsGithubAuthorizationRoute+ '/api/platform/integrations/github/connections': typeof ApiPlatformIntegrationsGithubConnectionsRoute+ '/api/platform/integrations/github/repositories': typeof ApiPlatformIntegrationsGithubRepositoriesRoute+ '/api/platform/pg-meta/$ref/column-privileges': typeof ApiPlatformPgMetaRefColumnPrivilegesRoute+ '/api/platform/pg-meta/$ref/extensions': typeof ApiPlatformPgMetaRefExtensionsRoute+ '/api/platform/pg-meta/$ref/foreign-tables': typeof ApiPlatformPgMetaRefForeignTablesRoute+ '/api/platform/pg-meta/$ref/materialized-views': typeof ApiPlatformPgMetaRefMaterializedViewsRoute+ '/api/platform/pg-meta/$ref/policies': typeof ApiPlatformPgMetaRefPoliciesRoute+ '/api/platform/pg-meta/$ref/publications': typeof ApiPlatformPgMetaRefPublicationsRoute+ '/api/platform/pg-meta/$ref/tables': typeof ApiPlatformPgMetaRefTablesRoute+ '/api/platform/pg-meta/$ref/triggers': typeof ApiPlatformPgMetaRefTriggersRoute+ '/api/platform/pg-meta/$ref/types': typeof ApiPlatformPgMetaRefTypesRoute+ '/api/platform/pg-meta/$ref/views': typeof ApiPlatformPgMetaRefViewsRoute+ '/api/platform/projects/$ref/databases': typeof ApiPlatformProjectsRefDatabasesRoute+ '/api/platform/projects/$ref/infra-monitoring': typeof ApiPlatformProjectsRefInfraMonitoringRoute+ '/api/platform/projects/$ref/run-lints': typeof ApiPlatformProjectsRefRunLintsRoute+ '/api/platform/projects/$ref/settings': typeof ApiPlatformProjectsRefSettingsRoute+ '/api/platform/props/org/$slug': typeof ApiPlatformPropsOrgSlugRoute+ '/api/v1/projects/$ref/api-keys': typeof ApiV1ProjectsRefApiKeysRouteWithChildren'/_app/org/$slug/private-apps/': typeof AppOrgSlugPrivateAppsIndexRoute'/_app/org/$slug/webhooks/': typeof AppOrgSlugWebhooksIndexRoute+ '/api/platform/projects/$ref/': typeof ApiPlatformProjectsRefIndexRoute+ '/api/platform/organizations/$slug/billing/subscription': typeof ApiPlatformOrganizationsSlugBillingSubscriptionRoute+ '/api/platform/projects/$ref/analytics/log-drains': typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren+ '/api/platform/projects/$ref/api-keys/temporary': typeof ApiPlatformProjectsRefApiKeysTemporaryRoute+ '/api/platform/projects/$ref/api/graphql': typeof ApiPlatformProjectsRefApiGraphqlRoute+ '/api/platform/projects/$ref/api/rest': typeof ApiPlatformProjectsRefApiRestRoute+ '/api/platform/projects/$ref/billing/addons': typeof ApiPlatformProjectsRefBillingAddonsRoute+ '/api/platform/projects/$ref/config/postgrest': typeof ApiPlatformProjectsRefConfigPostgrestRoute+ '/api/platform/projects/$ref/content/count': typeof ApiPlatformProjectsRefContentCountRoute+ '/api/platform/props/project/$ref/api': typeof ApiPlatformPropsProjectRefApiRoute+ '/api/v1/projects/$ref/api-keys/$id': typeof ApiV1ProjectsRefApiKeysIdRoute+ '/api/v1/projects/$ref/database/migrations': typeof ApiV1ProjectsRefDatabaseMigrationsRoute+ '/api/v1/projects/$ref/types/typescript': typeof ApiV1ProjectsRefTypesTypescriptRoute+ '/api/platform/auth/$ref/users/': typeof ApiPlatformAuthRefUsersIndexRoute+ '/api/platform/pg-meta/$ref/query/': typeof ApiPlatformPgMetaRefQueryIndexRoute+ '/api/platform/projects/$ref/config/': typeof ApiPlatformProjectsRefConfigIndexRoute+ '/api/platform/projects/$ref/content/': typeof ApiPlatformProjectsRefContentIndexRoute+ '/api/platform/props/project/$ref/': typeof ApiPlatformPropsProjectRefIndexRoute+ '/api/platform/storage/$ref/buckets/': typeof ApiPlatformStorageRefBucketsIndexRoute+ '/api/platform/storage/$ref/vector-buckets/': typeof ApiPlatformStorageRefVectorBucketsIndexRoute+ '/api/v1/projects/$ref/functions/': typeof ApiV1ProjectsRefFunctionsIndexRoute+ '/api/platform/auth/$ref/users/$id/factors': typeof ApiPlatformAuthRefUsersIdFactorsRoute+ '/api/platform/projects/$ref/analytics/endpoints/$name': typeof ApiPlatformProjectsRefAnalyticsEndpointsNameRoute+ '/api/platform/projects/$ref/analytics/log-drains/$uuid': typeof ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute+ '/api/platform/projects/$ref/config/secrets/update-status': typeof ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute+ '/api/platform/projects/$ref/content/folders/$id': typeof ApiPlatformProjectsRefContentFoldersIdRoute+ '/api/platform/projects/$ref/content/item/$id': typeof ApiPlatformProjectsRefContentItemIdRoute+ '/api/platform/storage/$ref/buckets/$id/empty': typeof ApiPlatformStorageRefBucketsIdEmptyRoute+ '/api/v1/projects/$ref/functions/$slug/body': typeof ApiV1ProjectsRefFunctionsSlugBodyRoute+ '/api/platform/auth/$ref/users/$id/': typeof ApiPlatformAuthRefUsersIdIndexRoute+ '/api/platform/projects/$ref/content/folders/': typeof ApiPlatformProjectsRefContentFoldersIndexRoute+ '/api/platform/storage/$ref/buckets/$id/': typeof ApiPlatformStorageRefBucketsIdIndexRoute+ '/api/platform/storage/$ref/vector-buckets/$id/': typeof ApiPlatformStorageRefVectorBucketsIdIndexRoute+ '/api/v1/projects/$ref/functions/$slug/': typeof ApiV1ProjectsRefFunctionsSlugIndexRoute+ '/api/platform/storage/$ref/buckets/$id/objects/download': typeof ApiPlatformStorageRefBucketsIdObjectsDownloadRoute+ '/api/platform/storage/$ref/buckets/$id/objects/list': typeof ApiPlatformStorageRefBucketsIdObjectsListRoute+ '/api/platform/storage/$ref/buckets/$id/objects/move': typeof ApiPlatformStorageRefBucketsIdObjectsMoveRoute+ '/api/platform/storage/$ref/buckets/$id/objects/public-url': typeof ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute+ '/api/platform/storage/$ref/buckets/$id/objects/sign': typeof ApiPlatformStorageRefBucketsIdObjectsSignRoute+ '/api/platform/storage/$ref/buckets/$id/objects/sign-multi': typeof ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName': typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute+ '/api/v1/projects/$ref/config/auth/signing-keys/legacy': typeof ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute+ '/api/platform/storage/$ref/buckets/$id/objects/': typeof ApiPlatformStorageRefBucketsIdObjectsIndexRoute+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/': typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute+ '/api/v1/projects/$ref/config/auth/signing-keys/': typeof ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute}export interface FileRouteTypes {fileRoutesByFullPath: FileRoutesByFullPath@@ -368,14 +1378,33 @@ export interface FileRouteTypes {| '/sign-in-partner'| '/sign-in-sso'| '/sign-up'+ | '/api/check-cname'+ | '/api/cli-release-version'+ | '/api/enabled-features-overrides'+ | '/api/generate-attachment-url'+ | '/api/get-deployment-commit'+ | '/api/get-ip-address'+ | '/api/get-s3-keys'+ | '/api/get-utc-time'+ | '/api/incident-banner'+ | '/api/incident-status'+ | '/api/parse-query'+ | '/api/status-override'| '/account/audit'| '/account/me'| '/account/security'| '/support/link'| '/support/new'| '/cli/login'+ | '/api/ai/docs'+ | '/api/content/graphql'+ | '/api/edge-functions/test'+ | '/api/integrations/stripe-sync'+ | '/api/platform/deployment-mode'| '/new/'| '/org/'+ | '/api/connect/'+ | '/api/mcp/'| '/account/tokens/scoped'| '/org/$slug/apps'| '/org/$slug/audit'@@ -388,12 +1417,97 @@ export interface FileRouteTypes {| '/org/$slug/sso'| '/org/$slug/team'| '/org/$slug/usage'+ | '/api/ai/code/complete'+ | '/api/ai/feedback/classify'+ | '/api/ai/feedback/rate'+ | '/api/ai/onboarding/design'+ | '/api/ai/sql/check-api-key'+ | '/api/ai/sql/cron-v2'+ | '/api/ai/sql/filter-v1'+ | '/api/ai/sql/generate-v4'+ | '/api/ai/sql/parse-client-code'+ | '/api/ai/sql/policy'+ | '/api/ai/sql/title-v2'+ | '/api/platform/integrations/$slug'+ | '/api/platform/telemetry/event'| '/account/tokens/'| '/org/$slug/'+ | '/api/platform/organizations/'+ | '/api/platform/profile/'+ | '/api/platform/projects/'| '/org/$slug/webhooks/$endpointId'| '/partners/stripe/projects/login'+ | '/api/platform/auth/$ref/invite'+ | '/api/platform/auth/$ref/magiclink'+ | '/api/platform/auth/$ref/otp'+ | '/api/platform/auth/$ref/recover'+ | '/api/platform/database/$ref/pooling'+ | '/api/platform/integrations/github/authorization'+ | '/api/platform/integrations/github/connections'+ | '/api/platform/integrations/github/repositories'+ | '/api/platform/pg-meta/$ref/column-privileges'+ | '/api/platform/pg-meta/$ref/extensions'+ | '/api/platform/pg-meta/$ref/foreign-tables'+ | '/api/platform/pg-meta/$ref/materialized-views'+ | '/api/platform/pg-meta/$ref/policies'+ | '/api/platform/pg-meta/$ref/publications'+ | '/api/platform/pg-meta/$ref/tables'+ | '/api/platform/pg-meta/$ref/triggers'+ | '/api/platform/pg-meta/$ref/types'+ | '/api/platform/pg-meta/$ref/views'+ | '/api/platform/projects/$ref/databases'+ | '/api/platform/projects/$ref/infra-monitoring'+ | '/api/platform/projects/$ref/run-lints'+ | '/api/platform/projects/$ref/settings'+ | '/api/platform/props/org/$slug'+ | '/api/v1/projects/$ref/api-keys'| '/org/$slug/private-apps/'| '/org/$slug/webhooks/'+ | '/api/platform/projects/$ref/'+ | '/api/platform/organizations/$slug/billing/subscription'+ | '/api/platform/projects/$ref/analytics/log-drains'+ | '/api/platform/projects/$ref/api-keys/temporary'+ | '/api/platform/projects/$ref/api/graphql'+ | '/api/platform/projects/$ref/api/rest'+ | '/api/platform/projects/$ref/billing/addons'+ | '/api/platform/projects/$ref/config/postgrest'+ | '/api/platform/projects/$ref/content/count'+ | '/api/platform/props/project/$ref/api'+ | '/api/v1/projects/$ref/api-keys/$id'+ | '/api/v1/projects/$ref/database/migrations'+ | '/api/v1/projects/$ref/types/typescript'+ | '/api/platform/auth/$ref/users/'+ | '/api/platform/pg-meta/$ref/query/'+ | '/api/platform/projects/$ref/config/'+ | '/api/platform/projects/$ref/content/'+ | '/api/platform/props/project/$ref/'+ | '/api/platform/storage/$ref/buckets/'+ | '/api/platform/storage/$ref/vector-buckets/'+ | '/api/v1/projects/$ref/functions/'+ | '/api/platform/auth/$ref/users/$id/factors'+ | '/api/platform/projects/$ref/analytics/endpoints/$name'+ | '/api/platform/projects/$ref/analytics/log-drains/$uuid'+ | '/api/platform/projects/$ref/config/secrets/update-status'+ | '/api/platform/projects/$ref/content/folders/$id'+ | '/api/platform/projects/$ref/content/item/$id'+ | '/api/platform/storage/$ref/buckets/$id/empty'+ | '/api/v1/projects/$ref/functions/$slug/body'+ | '/api/platform/auth/$ref/users/$id/'+ | '/api/platform/projects/$ref/content/folders/'+ | '/api/platform/storage/$ref/buckets/$id/'+ | '/api/platform/storage/$ref/vector-buckets/$id/'+ | '/api/v1/projects/$ref/functions/$slug/'+ | '/api/platform/storage/$ref/buckets/$id/objects/download'+ | '/api/platform/storage/$ref/buckets/$id/objects/list'+ | '/api/platform/storage/$ref/buckets/$id/objects/move'+ | '/api/platform/storage/$ref/buckets/$id/objects/public-url'+ | '/api/platform/storage/$ref/buckets/$id/objects/sign'+ | '/api/platform/storage/$ref/buckets/$id/objects/sign-multi'+ | '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+ | '/api/v1/projects/$ref/config/auth/signing-keys/legacy'+ | '/api/platform/storage/$ref/buckets/$id/objects/'+ | '/api/platform/storage/$ref/vector-buckets/$id/indexes/'+ | '/api/v1/projects/$ref/config/auth/signing-keys/'fileRoutesByTo: FileRoutesByToto:| '/account'@@ -406,14 +1520,33 @@ export interface FileRouteTypes {| '/sign-in-partner'| '/sign-in-sso'| '/sign-up'+ | '/api/check-cname'+ | '/api/cli-release-version'+ | '/api/enabled-features-overrides'+ | '/api/generate-attachment-url'+ | '/api/get-deployment-commit'+ | '/api/get-ip-address'+ | '/api/get-s3-keys'+ | '/api/get-utc-time'+ | '/api/incident-banner'+ | '/api/incident-status'+ | '/api/parse-query'+ | '/api/status-override'| '/account/audit'| '/account/me'| '/account/security'| '/support/link'| '/support/new'| '/cli/login'+ | '/api/ai/docs'+ | '/api/content/graphql'+ | '/api/edge-functions/test'+ | '/api/integrations/stripe-sync'+ | '/api/platform/deployment-mode'| '/new'| '/org'+ | '/api/connect'+ | '/api/mcp'| '/account/tokens/scoped'| '/org/$slug/apps'| '/org/$slug/audit'@@ -426,12 +1559,97 @@ export interface FileRouteTypes {| '/org/$slug/sso'| '/org/$slug/team'| '/org/$slug/usage'+ | '/api/ai/code/complete'+ | '/api/ai/feedback/classify'+ | '/api/ai/feedback/rate'+ | '/api/ai/onboarding/design'+ | '/api/ai/sql/check-api-key'+ | '/api/ai/sql/cron-v2'+ | '/api/ai/sql/filter-v1'+ | '/api/ai/sql/generate-v4'+ | '/api/ai/sql/parse-client-code'+ | '/api/ai/sql/policy'+ | '/api/ai/sql/title-v2'+ | '/api/platform/integrations/$slug'+ | '/api/platform/telemetry/event'| '/account/tokens'| '/org/$slug'+ | '/api/platform/organizations'+ | '/api/platform/profile'+ | '/api/platform/projects'| '/org/$slug/webhooks/$endpointId'| '/partners/stripe/projects/login'+ | '/api/platform/auth/$ref/invite'+ | '/api/platform/auth/$ref/magiclink'+ | '/api/platform/auth/$ref/otp'+ | '/api/platform/auth/$ref/recover'+ | '/api/platform/database/$ref/pooling'+ | '/api/platform/integrations/github/authorization'+ | '/api/platform/integrations/github/connections'+ | '/api/platform/integrations/github/repositories'+ | '/api/platform/pg-meta/$ref/column-privileges'+ | '/api/platform/pg-meta/$ref/extensions'+ | '/api/platform/pg-meta/$ref/foreign-tables'+ | '/api/platform/pg-meta/$ref/materialized-views'+ | '/api/platform/pg-meta/$ref/policies'+ | '/api/platform/pg-meta/$ref/publications'+ | '/api/platform/pg-meta/$ref/tables'+ | '/api/platform/pg-meta/$ref/triggers'+ | '/api/platform/pg-meta/$ref/types'+ | '/api/platform/pg-meta/$ref/views'+ | '/api/platform/projects/$ref/databases'+ | '/api/platform/projects/$ref/infra-monitoring'+ | '/api/platform/projects/$ref/run-lints'+ | '/api/platform/projects/$ref/settings'+ | '/api/platform/props/org/$slug'+ | '/api/v1/projects/$ref/api-keys'| '/org/$slug/private-apps'| '/org/$slug/webhooks'+ | '/api/platform/projects/$ref'+ | '/api/platform/organizations/$slug/billing/subscription'+ | '/api/platform/projects/$ref/analytics/log-drains'+ | '/api/platform/projects/$ref/api-keys/temporary'+ | '/api/platform/projects/$ref/api/graphql'+ | '/api/platform/projects/$ref/api/rest'+ | '/api/platform/projects/$ref/billing/addons'+ | '/api/platform/projects/$ref/config/postgrest'+ | '/api/platform/projects/$ref/content/count'+ | '/api/platform/props/project/$ref/api'+ | '/api/v1/projects/$ref/api-keys/$id'+ | '/api/v1/projects/$ref/database/migrations'+ | '/api/v1/projects/$ref/types/typescript'+ | '/api/platform/auth/$ref/users'+ | '/api/platform/pg-meta/$ref/query'+ | '/api/platform/projects/$ref/config'+ | '/api/platform/projects/$ref/content'+ | '/api/platform/props/project/$ref'+ | '/api/platform/storage/$ref/buckets'+ | '/api/platform/storage/$ref/vector-buckets'+ | '/api/v1/projects/$ref/functions'+ | '/api/platform/auth/$ref/users/$id/factors'+ | '/api/platform/projects/$ref/analytics/endpoints/$name'+ | '/api/platform/projects/$ref/analytics/log-drains/$uuid'+ | '/api/platform/projects/$ref/config/secrets/update-status'+ | '/api/platform/projects/$ref/content/folders/$id'+ | '/api/platform/projects/$ref/content/item/$id'+ | '/api/platform/storage/$ref/buckets/$id/empty'+ | '/api/v1/projects/$ref/functions/$slug/body'+ | '/api/platform/auth/$ref/users/$id'+ | '/api/platform/projects/$ref/content/folders'+ | '/api/platform/storage/$ref/buckets/$id'+ | '/api/platform/storage/$ref/vector-buckets/$id'+ | '/api/v1/projects/$ref/functions/$slug'+ | '/api/platform/storage/$ref/buckets/$id/objects/download'+ | '/api/platform/storage/$ref/buckets/$id/objects/list'+ | '/api/platform/storage/$ref/buckets/$id/objects/move'+ | '/api/platform/storage/$ref/buckets/$id/objects/public-url'+ | '/api/platform/storage/$ref/buckets/$id/objects/sign'+ | '/api/platform/storage/$ref/buckets/$id/objects/sign-multi'+ | '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+ | '/api/v1/projects/$ref/config/auth/signing-keys/legacy'+ | '/api/platform/storage/$ref/buckets/$id/objects'+ | '/api/platform/storage/$ref/vector-buckets/$id/indexes'+ | '/api/v1/projects/$ref/config/auth/signing-keys'id:| '__root__'| '/_app/account'@@ -445,14 +1663,33 @@ export interface FileRouteTypes {| '/_auth/sign-in-partner'| '/_auth/sign-in-sso'| '/_auth/sign-up'+ | '/api/check-cname'+ | '/api/cli-release-version'+ | '/api/enabled-features-overrides'+ | '/api/generate-attachment-url'+ | '/api/get-deployment-commit'+ | '/api/get-ip-address'+ | '/api/get-s3-keys'+ | '/api/get-utc-time'+ | '/api/incident-banner'+ | '/api/incident-status'+ | '/api/parse-query'+ | '/api/status-override'| '/_app/account/audit'| '/_app/account/me'| '/_app/account/security'| '/_app/support/link'| '/_app/support/new'| '/_auth/cli/login'+ | '/api/ai/docs'+ | '/api/content/graphql'+ | '/api/edge-functions/test'+ | '/api/integrations/stripe-sync'+ | '/api/platform/deployment-mode'| '/_app/new/'| '/_app/org/'+ | '/api/connect/'+ | '/api/mcp/'| '/_app/account/tokens/scoped'| '/_app/org/$slug/apps'| '/_app/org/$slug/audit'@@ -465,12 +1702,97 @@ export interface FileRouteTypes {| '/_app/org/$slug/sso'| '/_app/org/$slug/team'| '/_app/org/$slug/usage'+ | '/api/ai/code/complete'+ | '/api/ai/feedback/classify'+ | '/api/ai/feedback/rate'+ | '/api/ai/onboarding/design'+ | '/api/ai/sql/check-api-key'+ | '/api/ai/sql/cron-v2'+ | '/api/ai/sql/filter-v1'+ | '/api/ai/sql/generate-v4'+ | '/api/ai/sql/parse-client-code'+ | '/api/ai/sql/policy'+ | '/api/ai/sql/title-v2'+ | '/api/platform/integrations/$slug'+ | '/api/platform/telemetry/event'| '/_app/account/tokens/'| '/_app/org/$slug/'+ | '/api/platform/organizations/'+ | '/api/platform/profile/'+ | '/api/platform/projects/'| '/_app/org/$slug/webhooks/$endpointId'| '/_auth/partners/stripe/projects/login'+ | '/api/platform/auth/$ref/invite'+ | '/api/platform/auth/$ref/magiclink'+ | '/api/platform/auth/$ref/otp'+ | '/api/platform/auth/$ref/recover'+ | '/api/platform/database/$ref/pooling'+ | '/api/platform/integrations/github/authorization'+ | '/api/platform/integrations/github/connections'+ | '/api/platform/integrations/github/repositories'+ | '/api/platform/pg-meta/$ref/column-privileges'+ | '/api/platform/pg-meta/$ref/extensions'+ | '/api/platform/pg-meta/$ref/foreign-tables'+ | '/api/platform/pg-meta/$ref/materialized-views'+ | '/api/platform/pg-meta/$ref/policies'+ | '/api/platform/pg-meta/$ref/publications'+ | '/api/platform/pg-meta/$ref/tables'+ | '/api/platform/pg-meta/$ref/triggers'+ | '/api/platform/pg-meta/$ref/types'+ | '/api/platform/pg-meta/$ref/views'+ | '/api/platform/projects/$ref/databases'+ | '/api/platform/projects/$ref/infra-monitoring'+ | '/api/platform/projects/$ref/run-lints'+ | '/api/platform/projects/$ref/settings'+ | '/api/platform/props/org/$slug'+ | '/api/v1/projects/$ref/api-keys'| '/_app/org/$slug/private-apps/'| '/_app/org/$slug/webhooks/'+ | '/api/platform/projects/$ref/'+ | '/api/platform/organizations/$slug/billing/subscription'+ | '/api/platform/projects/$ref/analytics/log-drains'+ | '/api/platform/projects/$ref/api-keys/temporary'+ | '/api/platform/projects/$ref/api/graphql'+ | '/api/platform/projects/$ref/api/rest'+ | '/api/platform/projects/$ref/billing/addons'+ | '/api/platform/projects/$ref/config/postgrest'+ | '/api/platform/projects/$ref/content/count'+ | '/api/platform/props/project/$ref/api'+ | '/api/v1/projects/$ref/api-keys/$id'+ | '/api/v1/projects/$ref/database/migrations'+ | '/api/v1/projects/$ref/types/typescript'+ | '/api/platform/auth/$ref/users/'+ | '/api/platform/pg-meta/$ref/query/'+ | '/api/platform/projects/$ref/config/'+ | '/api/platform/projects/$ref/content/'+ | '/api/platform/props/project/$ref/'+ | '/api/platform/storage/$ref/buckets/'+ | '/api/platform/storage/$ref/vector-buckets/'+ | '/api/v1/projects/$ref/functions/'+ | '/api/platform/auth/$ref/users/$id/factors'+ | '/api/platform/projects/$ref/analytics/endpoints/$name'+ | '/api/platform/projects/$ref/analytics/log-drains/$uuid'+ | '/api/platform/projects/$ref/config/secrets/update-status'+ | '/api/platform/projects/$ref/content/folders/$id'+ | '/api/platform/projects/$ref/content/item/$id'+ | '/api/platform/storage/$ref/buckets/$id/empty'+ | '/api/v1/projects/$ref/functions/$slug/body'+ | '/api/platform/auth/$ref/users/$id/'+ | '/api/platform/projects/$ref/content/folders/'+ | '/api/platform/storage/$ref/buckets/$id/'+ | '/api/platform/storage/$ref/vector-buckets/$id/'+ | '/api/v1/projects/$ref/functions/$slug/'+ | '/api/platform/storage/$ref/buckets/$id/objects/download'+ | '/api/platform/storage/$ref/buckets/$id/objects/list'+ | '/api/platform/storage/$ref/buckets/$id/objects/move'+ | '/api/platform/storage/$ref/buckets/$id/objects/public-url'+ | '/api/platform/storage/$ref/buckets/$id/objects/sign'+ | '/api/platform/storage/$ref/buckets/$id/objects/sign-multi'+ | '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+ | '/api/v1/projects/$ref/config/auth/signing-keys/legacy'+ | '/api/platform/storage/$ref/buckets/$id/objects/'+ | '/api/platform/storage/$ref/vector-buckets/$id/indexes/'+ | '/api/v1/projects/$ref/config/auth/signing-keys/'fileRoutesById: FileRoutesById}export interface RootRouteChildren {@@ -485,15 +1807,201 @@ export interface RootRouteChildren {AuthSignInPartnerRoute: typeof AuthSignInPartnerRouteAuthSignInSsoRoute: typeof AuthSignInSsoRouteAuthSignUpRoute: typeof AuthSignUpRoute+ ApiCheckCnameRoute: typeof ApiCheckCnameRoute+ ApiCliReleaseVersionRoute: typeof ApiCliReleaseVersionRoute+ ApiEnabledFeaturesOverridesRoute: typeof ApiEnabledFeaturesOverridesRoute+ ApiGenerateAttachmentUrlRoute: typeof ApiGenerateAttachmentUrlRoute+ ApiGetDeploymentCommitRoute: typeof ApiGetDeploymentCommitRoute+ ApiGetIpAddressRoute: typeof ApiGetIpAddressRoute+ ApiGetS3KeysRoute: typeof ApiGetS3KeysRoute+ ApiGetUtcTimeRoute: typeof ApiGetUtcTimeRoute+ ApiIncidentBannerRoute: typeof ApiIncidentBannerRoute+ ApiIncidentStatusRoute: typeof ApiIncidentStatusRoute+ ApiParseQueryRoute: typeof ApiParseQueryRoute+ ApiStatusOverrideRoute: typeof ApiStatusOverrideRouteAppSupportLinkRoute: typeof AppSupportLinkRouteAppSupportNewRoute: typeof AppSupportNewRouteAuthCliLoginRoute: typeof AuthCliLoginRoute+ ApiAiDocsRoute: typeof ApiAiDocsRoute+ ApiContentGraphqlRoute: typeof ApiContentGraphqlRoute+ ApiEdgeFunctionsTestRoute: typeof ApiEdgeFunctionsTestRoute+ ApiIntegrationsStripeSyncRoute: typeof ApiIntegrationsStripeSyncRoute+ ApiPlatformDeploymentModeRoute: typeof ApiPlatformDeploymentModeRouteAppNewIndexRoute: typeof AppNewIndexRoute+ ApiConnectIndexRoute: typeof ApiConnectIndexRoute+ ApiMcpIndexRoute: typeof ApiMcpIndexRoute+ ApiAiCodeCompleteRoute: typeof ApiAiCodeCompleteRoute+ ApiAiFeedbackClassifyRoute: typeof ApiAiFeedbackClassifyRoute+ ApiAiFeedbackRateRoute: typeof ApiAiFeedbackRateRoute+ ApiAiOnboardingDesignRoute: typeof ApiAiOnboardingDesignRoute+ ApiAiSqlCheckApiKeyRoute: typeof ApiAiSqlCheckApiKeyRoute+ ApiAiSqlCronV2Route: typeof ApiAiSqlCronV2Route+ ApiAiSqlFilterV1Route: typeof ApiAiSqlFilterV1Route+ ApiAiSqlGenerateV4Route: typeof ApiAiSqlGenerateV4Route+ ApiAiSqlParseClientCodeRoute: typeof ApiAiSqlParseClientCodeRoute+ ApiAiSqlPolicyRoute: typeof ApiAiSqlPolicyRoute+ ApiAiSqlTitleV2Route: typeof ApiAiSqlTitleV2Route+ ApiPlatformIntegrationsSlugRoute: typeof ApiPlatformIntegrationsSlugRoute+ ApiPlatformTelemetryEventRoute: typeof ApiPlatformTelemetryEventRoute+ ApiPlatformOrganizationsIndexRoute: typeof ApiPlatformOrganizationsIndexRoute+ ApiPlatformProfileIndexRoute: typeof ApiPlatformProfileIndexRoute+ ApiPlatformProjectsIndexRoute: typeof ApiPlatformProjectsIndexRouteAuthPartnersStripeProjectsLoginRoute: typeof AuthPartnersStripeProjectsLoginRoute+ ApiPlatformAuthRefInviteRoute: typeof ApiPlatformAuthRefInviteRoute+ ApiPlatformAuthRefMagiclinkRoute: typeof ApiPlatformAuthRefMagiclinkRoute+ ApiPlatformAuthRefOtpRoute: typeof ApiPlatformAuthRefOtpRoute+ ApiPlatformAuthRefRecoverRoute: typeof ApiPlatformAuthRefRecoverRoute+ ApiPlatformDatabaseRefPoolingRoute: typeof ApiPlatformDatabaseRefPoolingRoute+ ApiPlatformIntegrationsGithubAuthorizationRoute: typeof ApiPlatformIntegrationsGithubAuthorizationRoute+ ApiPlatformIntegrationsGithubConnectionsRoute: typeof ApiPlatformIntegrationsGithubConnectionsRoute+ ApiPlatformIntegrationsGithubRepositoriesRoute: typeof ApiPlatformIntegrationsGithubRepositoriesRoute+ ApiPlatformPgMetaRefColumnPrivilegesRoute: typeof ApiPlatformPgMetaRefColumnPrivilegesRoute+ ApiPlatformPgMetaRefExtensionsRoute: typeof ApiPlatformPgMetaRefExtensionsRoute+ ApiPlatformPgMetaRefForeignTablesRoute: typeof ApiPlatformPgMetaRefForeignTablesRoute+ ApiPlatformPgMetaRefMaterializedViewsRoute: typeof ApiPlatformPgMetaRefMaterializedViewsRoute+ ApiPlatformPgMetaRefPoliciesRoute: typeof ApiPlatformPgMetaRefPoliciesRoute+ ApiPlatformPgMetaRefPublicationsRoute: typeof ApiPlatformPgMetaRefPublicationsRoute+ ApiPlatformPgMetaRefTablesRoute: typeof ApiPlatformPgMetaRefTablesRoute+ ApiPlatformPgMetaRefTriggersRoute: typeof ApiPlatformPgMetaRefTriggersRoute+ ApiPlatformPgMetaRefTypesRoute: typeof ApiPlatformPgMetaRefTypesRoute+ ApiPlatformPgMetaRefViewsRoute: typeof ApiPlatformPgMetaRefViewsRoute+ ApiPlatformProjectsRefDatabasesRoute: typeof ApiPlatformProjectsRefDatabasesRoute+ ApiPlatformProjectsRefInfraMonitoringRoute: typeof ApiPlatformProjectsRefInfraMonitoringRoute+ ApiPlatformProjectsRefRunLintsRoute: typeof ApiPlatformProjectsRefRunLintsRoute+ ApiPlatformProjectsRefSettingsRoute: typeof ApiPlatformProjectsRefSettingsRoute+ ApiPlatformPropsOrgSlugRoute: typeof ApiPlatformPropsOrgSlugRoute+ ApiV1ProjectsRefApiKeysRoute: typeof ApiV1ProjectsRefApiKeysRouteWithChildren+ ApiPlatformProjectsRefIndexRoute: typeof ApiPlatformProjectsRefIndexRoute+ ApiPlatformOrganizationsSlugBillingSubscriptionRoute: typeof ApiPlatformOrganizationsSlugBillingSubscriptionRoute+ ApiPlatformProjectsRefAnalyticsLogDrainsRoute: typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren+ ApiPlatformProjectsRefApiKeysTemporaryRoute: typeof ApiPlatformProjectsRefApiKeysTemporaryRoute+ ApiPlatformProjectsRefApiGraphqlRoute: typeof ApiPlatformProjectsRefApiGraphqlRoute+ ApiPlatformProjectsRefApiRestRoute: typeof ApiPlatformProjectsRefApiRestRoute+ ApiPlatformProjectsRefBillingAddonsRoute: typeof ApiPlatformProjectsRefBillingAddonsRoute+ ApiPlatformProjectsRefConfigPostgrestRoute: typeof ApiPlatformProjectsRefConfigPostgrestRoute+ ApiPlatformProjectsRefContentCountRoute: typeof ApiPlatformProjectsRefContentCountRoute+ ApiPlatformPropsProjectRefApiRoute: typeof ApiPlatformPropsProjectRefApiRoute+ ApiV1ProjectsRefDatabaseMigrationsRoute: typeof ApiV1ProjectsRefDatabaseMigrationsRoute+ ApiV1ProjectsRefTypesTypescriptRoute: typeof ApiV1ProjectsRefTypesTypescriptRoute+ ApiPlatformAuthRefUsersIndexRoute: typeof ApiPlatformAuthRefUsersIndexRoute+ ApiPlatformPgMetaRefQueryIndexRoute: typeof ApiPlatformPgMetaRefQueryIndexRoute+ ApiPlatformProjectsRefConfigIndexRoute: typeof ApiPlatformProjectsRefConfigIndexRoute+ ApiPlatformProjectsRefContentIndexRoute: typeof ApiPlatformProjectsRefContentIndexRoute+ ApiPlatformPropsProjectRefIndexRoute: typeof ApiPlatformPropsProjectRefIndexRoute+ ApiPlatformStorageRefBucketsIndexRoute: typeof ApiPlatformStorageRefBucketsIndexRoute+ ApiPlatformStorageRefVectorBucketsIndexRoute: typeof ApiPlatformStorageRefVectorBucketsIndexRoute+ ApiV1ProjectsRefFunctionsIndexRoute: typeof ApiV1ProjectsRefFunctionsIndexRoute+ ApiPlatformAuthRefUsersIdFactorsRoute: typeof ApiPlatformAuthRefUsersIdFactorsRoute+ ApiPlatformProjectsRefAnalyticsEndpointsNameRoute: typeof ApiPlatformProjectsRefAnalyticsEndpointsNameRoute+ ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute: typeof ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute+ ApiPlatformProjectsRefContentFoldersIdRoute: typeof ApiPlatformProjectsRefContentFoldersIdRoute+ ApiPlatformProjectsRefContentItemIdRoute: typeof ApiPlatformProjectsRefContentItemIdRoute+ ApiPlatformStorageRefBucketsIdEmptyRoute: typeof ApiPlatformStorageRefBucketsIdEmptyRoute+ ApiV1ProjectsRefFunctionsSlugBodyRoute: typeof ApiV1ProjectsRefFunctionsSlugBodyRoute+ ApiPlatformAuthRefUsersIdIndexRoute: typeof ApiPlatformAuthRefUsersIdIndexRoute+ ApiPlatformProjectsRefContentFoldersIndexRoute: typeof ApiPlatformProjectsRefContentFoldersIndexRoute+ ApiPlatformStorageRefBucketsIdIndexRoute: typeof ApiPlatformStorageRefBucketsIdIndexRoute+ ApiPlatformStorageRefVectorBucketsIdIndexRoute: typeof ApiPlatformStorageRefVectorBucketsIdIndexRoute+ ApiV1ProjectsRefFunctionsSlugIndexRoute: typeof ApiV1ProjectsRefFunctionsSlugIndexRoute+ ApiPlatformStorageRefBucketsIdObjectsDownloadRoute: typeof ApiPlatformStorageRefBucketsIdObjectsDownloadRoute+ ApiPlatformStorageRefBucketsIdObjectsListRoute: typeof ApiPlatformStorageRefBucketsIdObjectsListRoute+ ApiPlatformStorageRefBucketsIdObjectsMoveRoute: typeof ApiPlatformStorageRefBucketsIdObjectsMoveRoute+ ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute: typeof ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute+ ApiPlatformStorageRefBucketsIdObjectsSignRoute: typeof ApiPlatformStorageRefBucketsIdObjectsSignRoute+ ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute: typeof ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute: typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute+ ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute: typeof ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute+ ApiPlatformStorageRefBucketsIdObjectsIndexRoute: typeof ApiPlatformStorageRefBucketsIdObjectsIndexRoute+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute: typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute+ ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute: typeof ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute}declare module '@tanstack/react-router' {interface FileRoutesByPath {+ '/api/status-override': {+ id: '/api/status-override'+ path: '/api/status-override'+ fullPath: '/api/status-override'+ preLoaderRoute: typeof ApiStatusOverrideRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/parse-query': {+ id: '/api/parse-query'+ path: '/api/parse-query'+ fullPath: '/api/parse-query'+ preLoaderRoute: typeof ApiParseQueryRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/incident-status': {+ id: '/api/incident-status'+ path: '/api/incident-status'+ fullPath: '/api/incident-status'+ preLoaderRoute: typeof ApiIncidentStatusRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/incident-banner': {+ id: '/api/incident-banner'+ path: '/api/incident-banner'+ fullPath: '/api/incident-banner'+ preLoaderRoute: typeof ApiIncidentBannerRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/get-utc-time': {+ id: '/api/get-utc-time'+ path: '/api/get-utc-time'+ fullPath: '/api/get-utc-time'+ preLoaderRoute: typeof ApiGetUtcTimeRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/get-s3-keys': {+ id: '/api/get-s3-keys'+ path: '/api/get-s3-keys'+ fullPath: '/api/get-s3-keys'+ preLoaderRoute: typeof ApiGetS3KeysRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/get-ip-address': {+ id: '/api/get-ip-address'+ path: '/api/get-ip-address'+ fullPath: '/api/get-ip-address'+ preLoaderRoute: typeof ApiGetIpAddressRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/get-deployment-commit': {+ id: '/api/get-deployment-commit'+ path: '/api/get-deployment-commit'+ fullPath: '/api/get-deployment-commit'+ preLoaderRoute: typeof ApiGetDeploymentCommitRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/generate-attachment-url': {+ id: '/api/generate-attachment-url'+ path: '/api/generate-attachment-url'+ fullPath: '/api/generate-attachment-url'+ preLoaderRoute: typeof ApiGenerateAttachmentUrlRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/enabled-features-overrides': {+ id: '/api/enabled-features-overrides'+ path: '/api/enabled-features-overrides'+ fullPath: '/api/enabled-features-overrides'+ preLoaderRoute: typeof ApiEnabledFeaturesOverridesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/cli-release-version': {+ id: '/api/cli-release-version'+ path: '/api/cli-release-version'+ fullPath: '/api/cli-release-version'+ preLoaderRoute: typeof ApiCliReleaseVersionRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/check-cname': {+ id: '/api/check-cname'+ path: '/api/check-cname'+ fullPath: '/api/check-cname'+ preLoaderRoute: typeof ApiCheckCnameRouteImport+ parentRoute: typeof rootRouteImport+ }'/_auth/sign-up': {id: '/_auth/sign-up'path: '/sign-up'@@ -571,6 +2079,20 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppAccountRouteImportparentRoute: typeof rootRouteImport}+ '/api/mcp/': {+ id: '/api/mcp/'+ path: '/api/mcp'+ fullPath: '/api/mcp/'+ preLoaderRoute: typeof ApiMcpIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/connect/': {+ id: '/api/connect/'+ path: '/api/connect'+ fullPath: '/api/connect/'+ preLoaderRoute: typeof ApiConnectIndexRouteImport+ parentRoute: typeof rootRouteImport+ }'/_app/org/': {id: '/_app/org/'path: '/'@@ -585,6 +2107,41 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppNewIndexRouteImportparentRoute: typeof rootRouteImport}+ '/api/platform/deployment-mode': {+ id: '/api/platform/deployment-mode'+ path: '/api/platform/deployment-mode'+ fullPath: '/api/platform/deployment-mode'+ preLoaderRoute: typeof ApiPlatformDeploymentModeRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/integrations/stripe-sync': {+ id: '/api/integrations/stripe-sync'+ path: '/api/integrations/stripe-sync'+ fullPath: '/api/integrations/stripe-sync'+ preLoaderRoute: typeof ApiIntegrationsStripeSyncRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/edge-functions/test': {+ id: '/api/edge-functions/test'+ path: '/api/edge-functions/test'+ fullPath: '/api/edge-functions/test'+ preLoaderRoute: typeof ApiEdgeFunctionsTestRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/content/graphql': {+ id: '/api/content/graphql'+ path: '/api/content/graphql'+ fullPath: '/api/content/graphql'+ preLoaderRoute: typeof ApiContentGraphqlRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/docs': {+ id: '/api/ai/docs'+ path: '/api/ai/docs'+ fullPath: '/api/ai/docs'+ preLoaderRoute: typeof ApiAiDocsRouteImport+ parentRoute: typeof rootRouteImport+ }'/_auth/cli/login': {id: '/_auth/cli/login'path: '/cli/login'@@ -627,6 +2184,27 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppAccountAuditRouteImportparentRoute: typeof AppAccountRoute}+ '/api/platform/projects/': {+ id: '/api/platform/projects/'+ path: '/api/platform/projects'+ fullPath: '/api/platform/projects/'+ preLoaderRoute: typeof ApiPlatformProjectsIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/profile/': {+ id: '/api/platform/profile/'+ path: '/api/platform/profile'+ fullPath: '/api/platform/profile/'+ preLoaderRoute: typeof ApiPlatformProfileIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/organizations/': {+ id: '/api/platform/organizations/'+ path: '/api/platform/organizations'+ fullPath: '/api/platform/organizations/'+ preLoaderRoute: typeof ApiPlatformOrganizationsIndexRouteImport+ parentRoute: typeof rootRouteImport+ }'/_app/org/$slug/': {id: '/_app/org/$slug/'path: '/$slug'@@ -641,6 +2219,97 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppAccountTokensIndexRouteImportparentRoute: typeof AppAccountRoute}+ '/api/platform/telemetry/event': {+ id: '/api/platform/telemetry/event'+ path: '/api/platform/telemetry/event'+ fullPath: '/api/platform/telemetry/event'+ preLoaderRoute: typeof ApiPlatformTelemetryEventRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/integrations/$slug': {+ id: '/api/platform/integrations/$slug'+ path: '/api/platform/integrations/$slug'+ fullPath: '/api/platform/integrations/$slug'+ preLoaderRoute: typeof ApiPlatformIntegrationsSlugRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/sql/title-v2': {+ id: '/api/ai/sql/title-v2'+ path: '/api/ai/sql/title-v2'+ fullPath: '/api/ai/sql/title-v2'+ preLoaderRoute: typeof ApiAiSqlTitleV2RouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/sql/policy': {+ id: '/api/ai/sql/policy'+ path: '/api/ai/sql/policy'+ fullPath: '/api/ai/sql/policy'+ preLoaderRoute: typeof ApiAiSqlPolicyRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/sql/parse-client-code': {+ id: '/api/ai/sql/parse-client-code'+ path: '/api/ai/sql/parse-client-code'+ fullPath: '/api/ai/sql/parse-client-code'+ preLoaderRoute: typeof ApiAiSqlParseClientCodeRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/sql/generate-v4': {+ id: '/api/ai/sql/generate-v4'+ path: '/api/ai/sql/generate-v4'+ fullPath: '/api/ai/sql/generate-v4'+ preLoaderRoute: typeof ApiAiSqlGenerateV4RouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/sql/filter-v1': {+ id: '/api/ai/sql/filter-v1'+ path: '/api/ai/sql/filter-v1'+ fullPath: '/api/ai/sql/filter-v1'+ preLoaderRoute: typeof ApiAiSqlFilterV1RouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/sql/cron-v2': {+ id: '/api/ai/sql/cron-v2'+ path: '/api/ai/sql/cron-v2'+ fullPath: '/api/ai/sql/cron-v2'+ preLoaderRoute: typeof ApiAiSqlCronV2RouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/sql/check-api-key': {+ id: '/api/ai/sql/check-api-key'+ path: '/api/ai/sql/check-api-key'+ fullPath: '/api/ai/sql/check-api-key'+ preLoaderRoute: typeof ApiAiSqlCheckApiKeyRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/onboarding/design': {+ id: '/api/ai/onboarding/design'+ path: '/api/ai/onboarding/design'+ fullPath: '/api/ai/onboarding/design'+ preLoaderRoute: typeof ApiAiOnboardingDesignRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/feedback/rate': {+ id: '/api/ai/feedback/rate'+ path: '/api/ai/feedback/rate'+ fullPath: '/api/ai/feedback/rate'+ preLoaderRoute: typeof ApiAiFeedbackRateRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/feedback/classify': {+ id: '/api/ai/feedback/classify'+ path: '/api/ai/feedback/classify'+ fullPath: '/api/ai/feedback/classify'+ preLoaderRoute: typeof ApiAiFeedbackClassifyRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/ai/code/complete': {+ id: '/api/ai/code/complete'+ path: '/api/ai/code/complete'+ fullPath: '/api/ai/code/complete'+ preLoaderRoute: typeof ApiAiCodeCompleteRouteImport+ parentRoute: typeof rootRouteImport+ }'/_app/org/$slug/usage': {id: '/_app/org/$slug/usage'path: '/$slug/usage'@@ -725,6 +2394,13 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppAccountTokensScopedRouteImportparentRoute: typeof AppAccountRoute}+ '/api/platform/projects/$ref/': {+ id: '/api/platform/projects/$ref/'+ path: '/api/platform/projects/$ref'+ fullPath: '/api/platform/projects/$ref/'+ preLoaderRoute: typeof ApiPlatformProjectsRefIndexRouteImport+ parentRoute: typeof rootRouteImport+ }'/_app/org/$slug/webhooks/': {id: '/_app/org/$slug/webhooks/'path: '/$slug/webhooks'@@ -739,6 +2415,174 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppOrgSlugPrivateAppsIndexRouteImportparentRoute: typeof AppOrgRoute}+ '/api/v1/projects/$ref/api-keys': {+ id: '/api/v1/projects/$ref/api-keys'+ path: '/api/v1/projects/$ref/api-keys'+ fullPath: '/api/v1/projects/$ref/api-keys'+ preLoaderRoute: typeof ApiV1ProjectsRefApiKeysRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/props/org/$slug': {+ id: '/api/platform/props/org/$slug'+ path: '/api/platform/props/org/$slug'+ fullPath: '/api/platform/props/org/$slug'+ preLoaderRoute: typeof ApiPlatformPropsOrgSlugRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/settings': {+ id: '/api/platform/projects/$ref/settings'+ path: '/api/platform/projects/$ref/settings'+ fullPath: '/api/platform/projects/$ref/settings'+ preLoaderRoute: typeof ApiPlatformProjectsRefSettingsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/run-lints': {+ id: '/api/platform/projects/$ref/run-lints'+ path: '/api/platform/projects/$ref/run-lints'+ fullPath: '/api/platform/projects/$ref/run-lints'+ preLoaderRoute: typeof ApiPlatformProjectsRefRunLintsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/infra-monitoring': {+ id: '/api/platform/projects/$ref/infra-monitoring'+ path: '/api/platform/projects/$ref/infra-monitoring'+ fullPath: '/api/platform/projects/$ref/infra-monitoring'+ preLoaderRoute: typeof ApiPlatformProjectsRefInfraMonitoringRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/databases': {+ id: '/api/platform/projects/$ref/databases'+ path: '/api/platform/projects/$ref/databases'+ fullPath: '/api/platform/projects/$ref/databases'+ preLoaderRoute: typeof ApiPlatformProjectsRefDatabasesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/views': {+ id: '/api/platform/pg-meta/$ref/views'+ path: '/api/platform/pg-meta/$ref/views'+ fullPath: '/api/platform/pg-meta/$ref/views'+ preLoaderRoute: typeof ApiPlatformPgMetaRefViewsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/types': {+ id: '/api/platform/pg-meta/$ref/types'+ path: '/api/platform/pg-meta/$ref/types'+ fullPath: '/api/platform/pg-meta/$ref/types'+ preLoaderRoute: typeof ApiPlatformPgMetaRefTypesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/triggers': {+ id: '/api/platform/pg-meta/$ref/triggers'+ path: '/api/platform/pg-meta/$ref/triggers'+ fullPath: '/api/platform/pg-meta/$ref/triggers'+ preLoaderRoute: typeof ApiPlatformPgMetaRefTriggersRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/tables': {+ id: '/api/platform/pg-meta/$ref/tables'+ path: '/api/platform/pg-meta/$ref/tables'+ fullPath: '/api/platform/pg-meta/$ref/tables'+ preLoaderRoute: typeof ApiPlatformPgMetaRefTablesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/publications': {+ id: '/api/platform/pg-meta/$ref/publications'+ path: '/api/platform/pg-meta/$ref/publications'+ fullPath: '/api/platform/pg-meta/$ref/publications'+ preLoaderRoute: typeof ApiPlatformPgMetaRefPublicationsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/policies': {+ id: '/api/platform/pg-meta/$ref/policies'+ path: '/api/platform/pg-meta/$ref/policies'+ fullPath: '/api/platform/pg-meta/$ref/policies'+ preLoaderRoute: typeof ApiPlatformPgMetaRefPoliciesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/materialized-views': {+ id: '/api/platform/pg-meta/$ref/materialized-views'+ path: '/api/platform/pg-meta/$ref/materialized-views'+ fullPath: '/api/platform/pg-meta/$ref/materialized-views'+ preLoaderRoute: typeof ApiPlatformPgMetaRefMaterializedViewsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/foreign-tables': {+ id: '/api/platform/pg-meta/$ref/foreign-tables'+ path: '/api/platform/pg-meta/$ref/foreign-tables'+ fullPath: '/api/platform/pg-meta/$ref/foreign-tables'+ preLoaderRoute: typeof ApiPlatformPgMetaRefForeignTablesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/extensions': {+ id: '/api/platform/pg-meta/$ref/extensions'+ path: '/api/platform/pg-meta/$ref/extensions'+ fullPath: '/api/platform/pg-meta/$ref/extensions'+ preLoaderRoute: typeof ApiPlatformPgMetaRefExtensionsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/column-privileges': {+ id: '/api/platform/pg-meta/$ref/column-privileges'+ path: '/api/platform/pg-meta/$ref/column-privileges'+ fullPath: '/api/platform/pg-meta/$ref/column-privileges'+ preLoaderRoute: typeof ApiPlatformPgMetaRefColumnPrivilegesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/integrations/github/repositories': {+ id: '/api/platform/integrations/github/repositories'+ path: '/api/platform/integrations/github/repositories'+ fullPath: '/api/platform/integrations/github/repositories'+ preLoaderRoute: typeof ApiPlatformIntegrationsGithubRepositoriesRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/integrations/github/connections': {+ id: '/api/platform/integrations/github/connections'+ path: '/api/platform/integrations/github/connections'+ fullPath: '/api/platform/integrations/github/connections'+ preLoaderRoute: typeof ApiPlatformIntegrationsGithubConnectionsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/integrations/github/authorization': {+ id: '/api/platform/integrations/github/authorization'+ path: '/api/platform/integrations/github/authorization'+ fullPath: '/api/platform/integrations/github/authorization'+ preLoaderRoute: typeof ApiPlatformIntegrationsGithubAuthorizationRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/database/$ref/pooling': {+ id: '/api/platform/database/$ref/pooling'+ path: '/api/platform/database/$ref/pooling'+ fullPath: '/api/platform/database/$ref/pooling'+ preLoaderRoute: typeof ApiPlatformDatabaseRefPoolingRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/auth/$ref/recover': {+ id: '/api/platform/auth/$ref/recover'+ path: '/api/platform/auth/$ref/recover'+ fullPath: '/api/platform/auth/$ref/recover'+ preLoaderRoute: typeof ApiPlatformAuthRefRecoverRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/auth/$ref/otp': {+ id: '/api/platform/auth/$ref/otp'+ path: '/api/platform/auth/$ref/otp'+ fullPath: '/api/platform/auth/$ref/otp'+ preLoaderRoute: typeof ApiPlatformAuthRefOtpRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/auth/$ref/magiclink': {+ id: '/api/platform/auth/$ref/magiclink'+ path: '/api/platform/auth/$ref/magiclink'+ fullPath: '/api/platform/auth/$ref/magiclink'+ preLoaderRoute: typeof ApiPlatformAuthRefMagiclinkRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/auth/$ref/invite': {+ id: '/api/platform/auth/$ref/invite'+ path: '/api/platform/auth/$ref/invite'+ fullPath: '/api/platform/auth/$ref/invite'+ preLoaderRoute: typeof ApiPlatformAuthRefInviteRouteImport+ parentRoute: typeof rootRouteImport+ }'/_auth/partners/stripe/projects/login': {id: '/_auth/partners/stripe/projects/login'path: '/partners/stripe/projects/login'@@ -753,6 +2597,314 @@ declare module '@tanstack/react-router' {preLoaderRoute: typeof AppOrgSlugWebhooksEndpointIdRouteImportparentRoute: typeof AppOrgRoute}+ '/api/v1/projects/$ref/functions/': {+ id: '/api/v1/projects/$ref/functions/'+ path: '/api/v1/projects/$ref/functions'+ fullPath: '/api/v1/projects/$ref/functions/'+ preLoaderRoute: typeof ApiV1ProjectsRefFunctionsIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/vector-buckets/': {+ id: '/api/platform/storage/$ref/vector-buckets/'+ path: '/api/platform/storage/$ref/vector-buckets'+ fullPath: '/api/platform/storage/$ref/vector-buckets/'+ preLoaderRoute: typeof ApiPlatformStorageRefVectorBucketsIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/': {+ id: '/api/platform/storage/$ref/buckets/'+ path: '/api/platform/storage/$ref/buckets'+ fullPath: '/api/platform/storage/$ref/buckets/'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/props/project/$ref/': {+ id: '/api/platform/props/project/$ref/'+ path: '/api/platform/props/project/$ref'+ fullPath: '/api/platform/props/project/$ref/'+ preLoaderRoute: typeof ApiPlatformPropsProjectRefIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/content/': {+ id: '/api/platform/projects/$ref/content/'+ path: '/api/platform/projects/$ref/content'+ fullPath: '/api/platform/projects/$ref/content/'+ preLoaderRoute: typeof ApiPlatformProjectsRefContentIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/config/': {+ id: '/api/platform/projects/$ref/config/'+ path: '/api/platform/projects/$ref/config'+ fullPath: '/api/platform/projects/$ref/config/'+ preLoaderRoute: typeof ApiPlatformProjectsRefConfigIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/pg-meta/$ref/query/': {+ id: '/api/platform/pg-meta/$ref/query/'+ path: '/api/platform/pg-meta/$ref/query'+ fullPath: '/api/platform/pg-meta/$ref/query/'+ preLoaderRoute: typeof ApiPlatformPgMetaRefQueryIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/auth/$ref/users/': {+ id: '/api/platform/auth/$ref/users/'+ path: '/api/platform/auth/$ref/users'+ fullPath: '/api/platform/auth/$ref/users/'+ preLoaderRoute: typeof ApiPlatformAuthRefUsersIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/v1/projects/$ref/types/typescript': {+ id: '/api/v1/projects/$ref/types/typescript'+ path: '/api/v1/projects/$ref/types/typescript'+ fullPath: '/api/v1/projects/$ref/types/typescript'+ preLoaderRoute: typeof ApiV1ProjectsRefTypesTypescriptRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/v1/projects/$ref/database/migrations': {+ id: '/api/v1/projects/$ref/database/migrations'+ path: '/api/v1/projects/$ref/database/migrations'+ fullPath: '/api/v1/projects/$ref/database/migrations'+ preLoaderRoute: typeof ApiV1ProjectsRefDatabaseMigrationsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/v1/projects/$ref/api-keys/$id': {+ id: '/api/v1/projects/$ref/api-keys/$id'+ path: '/$id'+ fullPath: '/api/v1/projects/$ref/api-keys/$id'+ preLoaderRoute: typeof ApiV1ProjectsRefApiKeysIdRouteImport+ parentRoute: typeof ApiV1ProjectsRefApiKeysRoute+ }+ '/api/platform/props/project/$ref/api': {+ id: '/api/platform/props/project/$ref/api'+ path: '/api/platform/props/project/$ref/api'+ fullPath: '/api/platform/props/project/$ref/api'+ preLoaderRoute: typeof ApiPlatformPropsProjectRefApiRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/content/count': {+ id: '/api/platform/projects/$ref/content/count'+ path: '/api/platform/projects/$ref/content/count'+ fullPath: '/api/platform/projects/$ref/content/count'+ preLoaderRoute: typeof ApiPlatformProjectsRefContentCountRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/config/postgrest': {+ id: '/api/platform/projects/$ref/config/postgrest'+ path: '/api/platform/projects/$ref/config/postgrest'+ fullPath: '/api/platform/projects/$ref/config/postgrest'+ preLoaderRoute: typeof ApiPlatformProjectsRefConfigPostgrestRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/billing/addons': {+ id: '/api/platform/projects/$ref/billing/addons'+ path: '/api/platform/projects/$ref/billing/addons'+ fullPath: '/api/platform/projects/$ref/billing/addons'+ preLoaderRoute: typeof ApiPlatformProjectsRefBillingAddonsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/api/rest': {+ id: '/api/platform/projects/$ref/api/rest'+ path: '/api/platform/projects/$ref/api/rest'+ fullPath: '/api/platform/projects/$ref/api/rest'+ preLoaderRoute: typeof ApiPlatformProjectsRefApiRestRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/api/graphql': {+ id: '/api/platform/projects/$ref/api/graphql'+ path: '/api/platform/projects/$ref/api/graphql'+ fullPath: '/api/platform/projects/$ref/api/graphql'+ preLoaderRoute: typeof ApiPlatformProjectsRefApiGraphqlRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/api-keys/temporary': {+ id: '/api/platform/projects/$ref/api-keys/temporary'+ path: '/api/platform/projects/$ref/api-keys/temporary'+ fullPath: '/api/platform/projects/$ref/api-keys/temporary'+ preLoaderRoute: typeof ApiPlatformProjectsRefApiKeysTemporaryRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/analytics/log-drains': {+ id: '/api/platform/projects/$ref/analytics/log-drains'+ path: '/api/platform/projects/$ref/analytics/log-drains'+ fullPath: '/api/platform/projects/$ref/analytics/log-drains'+ preLoaderRoute: typeof ApiPlatformProjectsRefAnalyticsLogDrainsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/organizations/$slug/billing/subscription': {+ id: '/api/platform/organizations/$slug/billing/subscription'+ path: '/api/platform/organizations/$slug/billing/subscription'+ fullPath: '/api/platform/organizations/$slug/billing/subscription'+ preLoaderRoute: typeof ApiPlatformOrganizationsSlugBillingSubscriptionRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/v1/projects/$ref/functions/$slug/': {+ id: '/api/v1/projects/$ref/functions/$slug/'+ path: '/api/v1/projects/$ref/functions/$slug'+ fullPath: '/api/v1/projects/$ref/functions/$slug/'+ preLoaderRoute: typeof ApiV1ProjectsRefFunctionsSlugIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/vector-buckets/$id/': {+ id: '/api/platform/storage/$ref/vector-buckets/$id/'+ path: '/api/platform/storage/$ref/vector-buckets/$id'+ fullPath: '/api/platform/storage/$ref/vector-buckets/$id/'+ preLoaderRoute: typeof ApiPlatformStorageRefVectorBucketsIdIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/': {+ id: '/api/platform/storage/$ref/buckets/$id/'+ path: '/api/platform/storage/$ref/buckets/$id'+ fullPath: '/api/platform/storage/$ref/buckets/$id/'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/content/folders/': {+ id: '/api/platform/projects/$ref/content/folders/'+ path: '/api/platform/projects/$ref/content/folders'+ fullPath: '/api/platform/projects/$ref/content/folders/'+ preLoaderRoute: typeof ApiPlatformProjectsRefContentFoldersIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/auth/$ref/users/$id/': {+ id: '/api/platform/auth/$ref/users/$id/'+ path: '/api/platform/auth/$ref/users/$id'+ fullPath: '/api/platform/auth/$ref/users/$id/'+ preLoaderRoute: typeof ApiPlatformAuthRefUsersIdIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/v1/projects/$ref/functions/$slug/body': {+ id: '/api/v1/projects/$ref/functions/$slug/body'+ path: '/api/v1/projects/$ref/functions/$slug/body'+ fullPath: '/api/v1/projects/$ref/functions/$slug/body'+ preLoaderRoute: typeof ApiV1ProjectsRefFunctionsSlugBodyRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/empty': {+ id: '/api/platform/storage/$ref/buckets/$id/empty'+ path: '/api/platform/storage/$ref/buckets/$id/empty'+ fullPath: '/api/platform/storage/$ref/buckets/$id/empty'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdEmptyRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/content/item/$id': {+ id: '/api/platform/projects/$ref/content/item/$id'+ path: '/api/platform/projects/$ref/content/item/$id'+ fullPath: '/api/platform/projects/$ref/content/item/$id'+ preLoaderRoute: typeof ApiPlatformProjectsRefContentItemIdRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/content/folders/$id': {+ id: '/api/platform/projects/$ref/content/folders/$id'+ path: '/api/platform/projects/$ref/content/folders/$id'+ fullPath: '/api/platform/projects/$ref/content/folders/$id'+ preLoaderRoute: typeof ApiPlatformProjectsRefContentFoldersIdRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/config/secrets/update-status': {+ id: '/api/platform/projects/$ref/config/secrets/update-status'+ path: '/api/platform/projects/$ref/config/secrets/update-status'+ fullPath: '/api/platform/projects/$ref/config/secrets/update-status'+ preLoaderRoute: typeof ApiPlatformProjectsRefConfigSecretsUpdateStatusRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/projects/$ref/analytics/log-drains/$uuid': {+ id: '/api/platform/projects/$ref/analytics/log-drains/$uuid'+ path: '/$uuid'+ fullPath: '/api/platform/projects/$ref/analytics/log-drains/$uuid'+ preLoaderRoute: typeof ApiPlatformProjectsRefAnalyticsLogDrainsUuidRouteImport+ parentRoute: typeof ApiPlatformProjectsRefAnalyticsLogDrainsRoute+ }+ '/api/platform/projects/$ref/analytics/endpoints/$name': {+ id: '/api/platform/projects/$ref/analytics/endpoints/$name'+ path: '/api/platform/projects/$ref/analytics/endpoints/$name'+ fullPath: '/api/platform/projects/$ref/analytics/endpoints/$name'+ preLoaderRoute: typeof ApiPlatformProjectsRefAnalyticsEndpointsNameRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/auth/$ref/users/$id/factors': {+ id: '/api/platform/auth/$ref/users/$id/factors'+ path: '/api/platform/auth/$ref/users/$id/factors'+ fullPath: '/api/platform/auth/$ref/users/$id/factors'+ preLoaderRoute: typeof ApiPlatformAuthRefUsersIdFactorsRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/v1/projects/$ref/config/auth/signing-keys/': {+ id: '/api/v1/projects/$ref/config/auth/signing-keys/'+ path: '/api/v1/projects/$ref/config/auth/signing-keys'+ fullPath: '/api/v1/projects/$ref/config/auth/signing-keys/'+ preLoaderRoute: typeof ApiV1ProjectsRefConfigAuthSigningKeysIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/': {+ id: '/api/platform/storage/$ref/vector-buckets/$id/indexes/'+ path: '/api/platform/storage/$ref/vector-buckets/$id/indexes'+ fullPath: '/api/platform/storage/$ref/vector-buckets/$id/indexes/'+ preLoaderRoute: typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/objects/': {+ id: '/api/platform/storage/$ref/buckets/$id/objects/'+ path: '/api/platform/storage/$ref/buckets/$id/objects'+ fullPath: '/api/platform/storage/$ref/buckets/$id/objects/'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdObjectsIndexRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/v1/projects/$ref/config/auth/signing-keys/legacy': {+ id: '/api/v1/projects/$ref/config/auth/signing-keys/legacy'+ path: '/api/v1/projects/$ref/config/auth/signing-keys/legacy'+ fullPath: '/api/v1/projects/$ref/config/auth/signing-keys/legacy'+ preLoaderRoute: typeof ApiV1ProjectsRefConfigAuthSigningKeysLegacyRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName': {+ id: '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+ path: '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+ fullPath: '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+ preLoaderRoute: typeof ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/objects/sign-multi': {+ id: '/api/platform/storage/$ref/buckets/$id/objects/sign-multi'+ path: '/api/platform/storage/$ref/buckets/$id/objects/sign-multi'+ fullPath: '/api/platform/storage/$ref/buckets/$id/objects/sign-multi'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdObjectsSignMultiRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/objects/sign': {+ id: '/api/platform/storage/$ref/buckets/$id/objects/sign'+ path: '/api/platform/storage/$ref/buckets/$id/objects/sign'+ fullPath: '/api/platform/storage/$ref/buckets/$id/objects/sign'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdObjectsSignRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/objects/public-url': {+ id: '/api/platform/storage/$ref/buckets/$id/objects/public-url'+ path: '/api/platform/storage/$ref/buckets/$id/objects/public-url'+ fullPath: '/api/platform/storage/$ref/buckets/$id/objects/public-url'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdObjectsPublicUrlRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/objects/move': {+ id: '/api/platform/storage/$ref/buckets/$id/objects/move'+ path: '/api/platform/storage/$ref/buckets/$id/objects/move'+ fullPath: '/api/platform/storage/$ref/buckets/$id/objects/move'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdObjectsMoveRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/objects/list': {+ id: '/api/platform/storage/$ref/buckets/$id/objects/list'+ path: '/api/platform/storage/$ref/buckets/$id/objects/list'+ fullPath: '/api/platform/storage/$ref/buckets/$id/objects/list'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdObjectsListRouteImport+ parentRoute: typeof rootRouteImport+ }+ '/api/platform/storage/$ref/buckets/$id/objects/download': {+ id: '/api/platform/storage/$ref/buckets/$id/objects/download'+ path: '/api/platform/storage/$ref/buckets/$id/objects/download'+ fullPath: '/api/platform/storage/$ref/buckets/$id/objects/download'+ preLoaderRoute: typeof ApiPlatformStorageRefBucketsIdObjectsDownloadRouteImport+ parentRoute: typeof rootRouteImport+ }}}@@ -817,6 +2969,35 @@ const AppOrgRouteChildren: AppOrgRouteChildren = {const AppOrgRouteWithChildren =AppOrgRoute._addFileChildren(AppOrgRouteChildren)+interface ApiV1ProjectsRefApiKeysRouteChildren {+ ApiV1ProjectsRefApiKeysIdRoute: typeof ApiV1ProjectsRefApiKeysIdRoute+}++const ApiV1ProjectsRefApiKeysRouteChildren: ApiV1ProjectsRefApiKeysRouteChildren =+ {+ ApiV1ProjectsRefApiKeysIdRoute: ApiV1ProjectsRefApiKeysIdRoute,+ }++const ApiV1ProjectsRefApiKeysRouteWithChildren =+ ApiV1ProjectsRefApiKeysRoute._addFileChildren(+ ApiV1ProjectsRefApiKeysRouteChildren,+ )++interface ApiPlatformProjectsRefAnalyticsLogDrainsRouteChildren {+ ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute: typeof ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute+}++const ApiPlatformProjectsRefAnalyticsLogDrainsRouteChildren: ApiPlatformProjectsRefAnalyticsLogDrainsRouteChildren =+ {+ ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute:+ ApiPlatformProjectsRefAnalyticsLogDrainsUuidRoute,+ }++const ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren =+ ApiPlatformProjectsRefAnalyticsLogDrainsRoute._addFileChildren(+ ApiPlatformProjectsRefAnalyticsLogDrainsRouteChildren,+ )+const rootRouteChildren: RootRouteChildren = {AppAccountRoute: AppAccountRouteWithChildren,AppOrgRoute: AppOrgRouteWithChildren,@@ -829,11 +3010,152 @@ const rootRouteChildren: RootRouteChildren = {AuthSignInPartnerRoute: AuthSignInPartnerRoute,AuthSignInSsoRoute: AuthSignInSsoRoute,AuthSignUpRoute: AuthSignUpRoute,+ ApiCheckCnameRoute: ApiCheckCnameRoute,+ ApiCliReleaseVersionRoute: ApiCliReleaseVersionRoute,+ ApiEnabledFeaturesOverridesRoute: ApiEnabledFeaturesOverridesRoute,+ ApiGenerateAttachmentUrlRoute: ApiGenerateAttachmentUrlRoute,+ ApiGetDeploymentCommitRoute: ApiGetDeploymentCommitRoute,+ ApiGetIpAddressRoute: ApiGetIpAddressRoute,+ ApiGetS3KeysRoute: ApiGetS3KeysRoute,+ ApiGetUtcTimeRoute: ApiGetUtcTimeRoute,+ ApiIncidentBannerRoute: ApiIncidentBannerRoute,+ ApiIncidentStatusRoute: ApiIncidentStatusRoute,+ ApiParseQueryRoute: ApiParseQueryRoute,+ ApiStatusOverrideRoute: ApiStatusOverrideRoute,AppSupportLinkRoute: AppSupportLinkRoute,AppSupportNewRoute: AppSupportNewRoute,AuthCliLoginRoute: AuthCliLoginRoute,+ ApiAiDocsRoute: ApiAiDocsRoute,+ ApiContentGraphqlRoute: ApiContentGraphqlRoute,+ ApiEdgeFunctionsTestRoute: ApiEdgeFunctionsTestRoute,+ ApiIntegrationsStripeSyncRoute: ApiIntegrationsStripeSyncRoute,+ ApiPlatformDeploymentModeRoute: ApiPlatformDeploymentModeRoute,AppNewIndexRoute: AppNewIndexRoute,+ ApiConnectIndexRoute: ApiConnectIndexRoute,+ ApiMcpIndexRoute: ApiMcpIndexRoute,+ ApiAiCodeCompleteRoute: ApiAiCodeCompleteRoute,+ ApiAiFeedbackClassifyRoute: ApiAiFeedbackClassifyRoute,+ ApiAiFeedbackRateRoute: ApiAiFeedbackRateRoute,+ ApiAiOnboardingDesignRoute: ApiAiOnboardingDesignRoute,+ ApiAiSqlCheckApiKeyRoute: ApiAiSqlCheckApiKeyRoute,+ ApiAiSqlCronV2Route: ApiAiSqlCronV2Route,+ ApiAiSqlFilterV1Route: ApiAiSqlFilterV1Route,+ ApiAiSqlGenerateV4Route: ApiAiSqlGenerateV4Route,+ ApiAiSqlParseClientCodeRoute: ApiAiSqlParseClientCodeRoute,+ ApiAiSqlPolicyRoute: ApiAiSqlPolicyRoute,+ ApiAiSqlTitleV2Route: ApiAiSqlTitleV2Route,+ ApiPlatformIntegrationsSlugRoute: ApiPlatformIntegrationsSlugRoute,+ ApiPlatformTelemetryEventRoute: ApiPlatformTelemetryEventRoute,+ ApiPlatformOrganizationsIndexRoute: ApiPlatformOrganizationsIndexRoute,+ ApiPlatformProfileIndexRoute: ApiPlatformProfileIndexRoute,+ ApiPlatformProjectsIndexRoute: ApiPlatformProjectsIndexRoute,AuthPartnersStripeProjectsLoginRoute: AuthPartnersStripeProjectsLoginRoute,+ ApiPlatformAuthRefInviteRoute: ApiPlatformAuthRefInviteRoute,+ ApiPlatformAuthRefMagiclinkRoute: ApiPlatformAuthRefMagiclinkRoute,+ ApiPlatformAuthRefOtpRoute: ApiPlatformAuthRefOtpRoute,+ ApiPlatformAuthRefRecoverRoute: ApiPlatformAuthRefRecoverRoute,+ ApiPlatformDatabaseRefPoolingRoute: ApiPlatformDatabaseRefPoolingRoute,+ ApiPlatformIntegrationsGithubAuthorizationRoute:+ ApiPlatformIntegrationsGithubAuthorizationRoute,+ ApiPlatformIntegrationsGithubConnectionsRoute:+ ApiPlatformIntegrationsGithubConnectionsRoute,+ ApiPlatformIntegrationsGithubRepositoriesRoute:+ ApiPlatformIntegrationsGithubRepositoriesRoute,+ ApiPlatformPgMetaRefColumnPrivilegesRoute:+ ApiPlatformPgMetaRefColumnPrivilegesRoute,+ ApiPlatformPgMetaRefExtensionsRoute: ApiPlatformPgMetaRefExtensionsRoute,+ ApiPlatformPgMetaRefForeignTablesRoute:+ ApiPlatformPgMetaRefForeignTablesRoute,+ ApiPlatformPgMetaRefMaterializedViewsRoute:+ ApiPlatformPgMetaRefMaterializedViewsRoute,+ ApiPlatformPgMetaRefPoliciesRoute: ApiPlatformPgMetaRefPoliciesRoute,+ ApiPlatformPgMetaRefPublicationsRoute: ApiPlatformPgMetaRefPublicationsRoute,+ ApiPlatformPgMetaRefTablesRoute: ApiPlatformPgMetaRefTablesRoute,+ ApiPlatformPgMetaRefTriggersRoute: ApiPlatformPgMetaRefTriggersRoute,+ ApiPlatformPgMetaRefTypesRoute: ApiPlatformPgMetaRefTypesRoute,+ ApiPlatformPgMetaRefViewsRoute: ApiPlatformPgMetaRefViewsRoute,+ ApiPlatformProjectsRefDatabasesRoute: ApiPlatformProjectsRefDatabasesRoute,+ ApiPlatformProjectsRefInfraMonitoringRoute:+ ApiPlatformProjectsRefInfraMonitoringRoute,+ ApiPlatformProjectsRefRunLintsRoute: ApiPlatformProjectsRefRunLintsRoute,+ ApiPlatformProjectsRefSettingsRoute: ApiPlatformProjectsRefSettingsRoute,+ ApiPlatformPropsOrgSlugRoute: ApiPlatformPropsOrgSlugRoute,+ ApiV1ProjectsRefApiKeysRoute: ApiV1ProjectsRefApiKeysRouteWithChildren,+ ApiPlatformProjectsRefIndexRoute: ApiPlatformProjectsRefIndexRoute,+ ApiPlatformOrganizationsSlugBillingSubscriptionRoute:+ ApiPlatformOrganizationsSlugBillingSubscriptionRoute,+ ApiPlatformProjectsRefAnalyticsLogDrainsRoute:+ ApiPlatformProjectsRefAnalyticsLogDrainsRouteWithChildren,+ ApiPlatformProjectsRefApiKeysTemporaryRoute:+ ApiPlatformProjectsRefApiKeysTemporaryRoute,+ ApiPlatformProjectsRefApiGraphqlRoute: ApiPlatformProjectsRefApiGraphqlRoute,+ ApiPlatformProjectsRefApiRestRoute: ApiPlatformProjectsRefApiRestRoute,+ ApiPlatformProjectsRefBillingAddonsRoute:+ ApiPlatformProjectsRefBillingAddonsRoute,+ ApiPlatformProjectsRefConfigPostgrestRoute:+ ApiPlatformProjectsRefConfigPostgrestRoute,+ ApiPlatformProjectsRefContentCountRoute:+ ApiPlatformProjectsRefContentCountRoute,+ ApiPlatformPropsProjectRefApiRoute: ApiPlatformPropsProjectRefApiRoute,+ ApiV1ProjectsRefDatabaseMigrationsRoute:+ ApiV1ProjectsRefDatabaseMigrationsRoute,+ ApiV1ProjectsRefTypesTypescriptRoute: ApiV1ProjectsRefTypesTypescriptRoute,+ ApiPlatformAuthRefUsersIndexRoute: ApiPlatformAuthRefUsersIndexRoute,+ ApiPlatformPgMetaRefQueryIndexRoute: ApiPlatformPgMetaRefQueryIndexRoute,+ ApiPlatformProjectsRefConfigIndexRoute:+ ApiPlatformProjectsRefConfigIndexRoute,+ ApiPlatformProjectsRefContentIndexRoute:+ ApiPlatformProjectsRefContentIndexRoute,+ ApiPlatformPropsProjectRefIndexRoute: ApiPlatformPropsProjectRefIndexRoute,+ ApiPlatformStorageRefBucketsIndexRoute:+ ApiPlatformStorageRefBucketsIndexRoute,+ ApiPlatformStorageRefVectorBucketsIndexRoute:+ ApiPlatformStorageRefVectorBucketsIndexRoute,+ ApiV1ProjectsRefFunctionsIndexRoute: ApiV1ProjectsRefFunctionsIndexRoute,+ ApiPlatformAuthRefUsersIdFactorsRoute: ApiPlatformAuthRefUsersIdFactorsRoute,+ ApiPlatformProjectsRefAnalyticsEndpointsNameRoute:+ ApiPlatformProjectsRefAnalyticsEndpointsNameRoute,+ ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute:+ ApiPlatformProjectsRefConfigSecretsUpdateStatusRoute,+ ApiPlatformProjectsRefContentFoldersIdRoute:+ ApiPlatformProjectsRefContentFoldersIdRoute,+ ApiPlatformProjectsRefContentItemIdRoute:+ ApiPlatformProjectsRefContentItemIdRoute,+ ApiPlatformStorageRefBucketsIdEmptyRoute:+ ApiPlatformStorageRefBucketsIdEmptyRoute,+ ApiV1ProjectsRefFunctionsSlugBodyRoute:+ ApiV1ProjectsRefFunctionsSlugBodyRoute,+ ApiPlatformAuthRefUsersIdIndexRoute: ApiPlatformAuthRefUsersIdIndexRoute,+ ApiPlatformProjectsRefContentFoldersIndexRoute:+ ApiPlatformProjectsRefContentFoldersIndexRoute,+ ApiPlatformStorageRefBucketsIdIndexRoute:+ ApiPlatformStorageRefBucketsIdIndexRoute,+ ApiPlatformStorageRefVectorBucketsIdIndexRoute:+ ApiPlatformStorageRefVectorBucketsIdIndexRoute,+ ApiV1ProjectsRefFunctionsSlugIndexRoute:+ ApiV1ProjectsRefFunctionsSlugIndexRoute,+ ApiPlatformStorageRefBucketsIdObjectsDownloadRoute:+ ApiPlatformStorageRefBucketsIdObjectsDownloadRoute,+ ApiPlatformStorageRefBucketsIdObjectsListRoute:+ ApiPlatformStorageRefBucketsIdObjectsListRoute,+ ApiPlatformStorageRefBucketsIdObjectsMoveRoute:+ ApiPlatformStorageRefBucketsIdObjectsMoveRoute,+ ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute:+ ApiPlatformStorageRefBucketsIdObjectsPublicUrlRoute,+ ApiPlatformStorageRefBucketsIdObjectsSignRoute:+ ApiPlatformStorageRefBucketsIdObjectsSignRoute,+ ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute:+ ApiPlatformStorageRefBucketsIdObjectsSignMultiRoute,+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute:+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexNameRoute,+ ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute:+ ApiV1ProjectsRefConfigAuthSigningKeysLegacyRoute,+ ApiPlatformStorageRefBucketsIdObjectsIndexRoute:+ ApiPlatformStorageRefBucketsIdObjectsIndexRoute,+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute:+ ApiPlatformStorageRefVectorBucketsIdIndexesIndexRoute,+ ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute:+ ApiV1ProjectsRefConfigAuthSigningKeysIndexRoute,}export const routeTree = rootRouteImport._addFileChildren(rootRouteChildren)diff --git a/apps/studio/routes/api/ai/code/complete.ts b/apps/studio/routes/api/ai/code/complete.tsnew file mode 100644index 00000000000..95070e9664a--- /dev/null+++ b/apps/studio/routes/api/ai/code/complete.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import complete from '@/pages/api/ai/code/complete'++const handler = toWebHandler(complete)++export const Route = createFileRoute('/api/ai/code/complete')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/docs.ts b/apps/studio/routes/api/ai/docs.tsnew file mode 100644index 00000000000..a4bfdba68a9--- /dev/null+++ b/apps/studio/routes/api/ai/docs.ts@@ -0,0 +1,15 @@+import { createFileRoute } from '@tanstack/react-router'+import type { NextRequest } from 'next/server'++// docs.ts is already Web-native (Next edge runtime): takes `NextRequest`,+// returns `Response`, and streams SSE back from OpenAI. Direct re-export —+// no shim buffering needed.+import docsHandler from '@/pages/api/ai/docs'++export const Route = createFileRoute('/api/ai/docs')({+ server: {+ handlers: {+ POST: ({ request }) => docsHandler(request as NextRequest),+ },+ },+})diff --git a/apps/studio/routes/api/ai/feedback/classify.ts b/apps/studio/routes/api/ai/feedback/classify.tsnew file mode 100644index 00000000000..c476d61f127--- /dev/null+++ b/apps/studio/routes/api/ai/feedback/classify.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import classify from '@/pages/api/ai/feedback/classify'++const handler = toWebHandler(classify)++export const Route = createFileRoute('/api/ai/feedback/classify')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/feedback/rate.ts b/apps/studio/routes/api/ai/feedback/rate.tsnew file mode 100644index 00000000000..97a10ee625c--- /dev/null+++ b/apps/studio/routes/api/ai/feedback/rate.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import rate from '@/pages/api/ai/feedback/rate'++const handler = toWebHandler(rate)++export const Route = createFileRoute('/api/ai/feedback/rate')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/onboarding/design.ts b/apps/studio/routes/api/ai/onboarding/design.tsnew file mode 100644index 00000000000..c59a11fdb75--- /dev/null+++ b/apps/studio/routes/api/ai/onboarding/design.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import design from '@/pages/api/ai/onboarding/design'++const handler = toWebHandler(design)++export const Route = createFileRoute('/api/ai/onboarding/design')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/sql/check-api-key.ts b/apps/studio/routes/api/ai/sql/check-api-key.tsnew file mode 100644index 00000000000..d54db0abfec--- /dev/null+++ b/apps/studio/routes/api/ai/sql/check-api-key.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import checkApiKey from '@/pages/api/ai/sql/check-api-key'++const handler = toWebHandler(checkApiKey)++export const Route = createFileRoute('/api/ai/sql/check-api-key')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/ai/sql/cron-v2.ts b/apps/studio/routes/api/ai/sql/cron-v2.tsnew file mode 100644index 00000000000..09bc4290283--- /dev/null+++ b/apps/studio/routes/api/ai/sql/cron-v2.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import cronV2 from '@/pages/api/ai/sql/cron-v2'++const handler = toWebHandler(cronV2)++export const Route = createFileRoute('/api/ai/sql/cron-v2')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/sql/filter-v1.ts b/apps/studio/routes/api/ai/sql/filter-v1.tsnew file mode 100644index 00000000000..8fb077b4da1--- /dev/null+++ b/apps/studio/routes/api/ai/sql/filter-v1.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import filterV1 from '@/pages/api/ai/sql/filter-v1'++const handler = toWebHandler(filterV1)++export const Route = createFileRoute('/api/ai/sql/filter-v1')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/sql/generate-v4.ts b/apps/studio/routes/api/ai/sql/generate-v4.tsnew file mode 100644index 00000000000..c41b3ababfd--- /dev/null+++ b/apps/studio/routes/api/ai/sql/generate-v4.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import generateV4 from '@/pages/api/ai/sql/generate-v4'++const handler = toWebHandler(generateV4)++export const Route = createFileRoute('/api/ai/sql/generate-v4')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/sql/parse-client-code.ts b/apps/studio/routes/api/ai/sql/parse-client-code.tsnew file mode 100644index 00000000000..bd0674a8a79--- /dev/null+++ b/apps/studio/routes/api/ai/sql/parse-client-code.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/ai/sql/parse-client-code'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/ai/sql/parse-client-code')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/sql/policy.ts b/apps/studio/routes/api/ai/sql/policy.tsnew file mode 100644index 00000000000..b3071cc362f--- /dev/null+++ b/apps/studio/routes/api/ai/sql/policy.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import policy from '@/pages/api/ai/sql/policy'++const handler = toWebHandler(policy)++export const Route = createFileRoute('/api/ai/sql/policy')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/ai/sql/title-v2.ts b/apps/studio/routes/api/ai/sql/title-v2.tsnew file mode 100644index 00000000000..1f37f0b5330--- /dev/null+++ b/apps/studio/routes/api/ai/sql/title-v2.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import titleV2 from '@/pages/api/ai/sql/title-v2'++const handler = toWebHandler(titleV2)++export const Route = createFileRoute('/api/ai/sql/title-v2')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/check-cname.ts b/apps/studio/routes/api/check-cname.tsnew file mode 100644index 00000000000..7bc185d5305--- /dev/null+++ b/apps/studio/routes/api/check-cname.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import checkCname from '@/pages/api/check-cname'++const handler = toWebHandler(checkCname)++export const Route = createFileRoute('/api/check-cname')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/cli-release-version.ts b/apps/studio/routes/api/cli-release-version.tsnew file mode 100644index 00000000000..f2e396d2aa7--- /dev/null+++ b/apps/studio/routes/api/cli-release-version.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import cliReleaseVersion from '@/pages/api/cli-release-version'++const handler = toWebHandler(cliReleaseVersion)++export const Route = createFileRoute('/api/cli-release-version')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/connect/index.ts b/apps/studio/routes/api/connect/index.tsnew file mode 100644index 00000000000..2dea8c31ad4--- /dev/null+++ b/apps/studio/routes/api/connect/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import getFileNames from '@/pages/api/connect'++const handler = toWebHandler(getFileNames)++export const Route = createFileRoute('/api/connect/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/content/graphql.ts b/apps/studio/routes/api/content/graphql.tsnew file mode 100644index 00000000000..93118521f7a--- /dev/null+++ b/apps/studio/routes/api/content/graphql.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import graphql from '@/pages/api/content/graphql'++const handler = toWebHandler(graphql)++export const Route = createFileRoute('/api/content/graphql')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/edge-functions/test.ts b/apps/studio/routes/api/edge-functions/test.tsnew file mode 100644index 00000000000..5f691340323--- /dev/null+++ b/apps/studio/routes/api/edge-functions/test.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import test from '@/pages/api/edge-functions/test'++const handler = toWebHandler(test)++export const Route = createFileRoute('/api/edge-functions/test')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/enabled-features-overrides.ts b/apps/studio/routes/api/enabled-features-overrides.tsnew file mode 100644index 00000000000..239e4af939a--- /dev/null+++ b/apps/studio/routes/api/enabled-features-overrides.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import enabledFeaturesOverrides from '@/pages/api/enabled-features-overrides'++const handler = toWebHandler(enabledFeaturesOverrides)++export const Route = createFileRoute('/api/enabled-features-overrides')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/generate-attachment-url.ts b/apps/studio/routes/api/generate-attachment-url.tsnew file mode 100644index 00000000000..42f3575d109--- /dev/null+++ b/apps/studio/routes/api/generate-attachment-url.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import generateAttachmentUrl from '@/pages/api/generate-attachment-url'++const handler = toWebHandler(generateAttachmentUrl)++export const Route = createFileRoute('/api/generate-attachment-url')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/get-deployment-commit.ts b/apps/studio/routes/api/get-deployment-commit.tsnew file mode 100644index 00000000000..351e6cfe2e9--- /dev/null+++ b/apps/studio/routes/api/get-deployment-commit.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import getDeploymentCommit from '@/pages/api/get-deployment-commit'++const handler = toWebHandler(getDeploymentCommit)++export const Route = createFileRoute('/api/get-deployment-commit')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/get-ip-address.ts b/apps/studio/routes/api/get-ip-address.tsnew file mode 100644index 00000000000..ea4ecbb520f--- /dev/null+++ b/apps/studio/routes/api/get-ip-address.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import getIpAddress from '@/pages/api/get-ip-address'++const handler = toWebHandler(getIpAddress)++export const Route = createFileRoute('/api/get-ip-address')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/get-s3-keys.ts b/apps/studio/routes/api/get-s3-keys.tsnew file mode 100644index 00000000000..7f06d3c6d68--- /dev/null+++ b/apps/studio/routes/api/get-s3-keys.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/get-s3-keys'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/get-s3-keys')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/get-utc-time.ts b/apps/studio/routes/api/get-utc-time.tsnew file mode 100644index 00000000000..27d81241368--- /dev/null+++ b/apps/studio/routes/api/get-utc-time.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import getUtcTime from '@/pages/api/get-utc-time'++const handler = toWebHandler(getUtcTime)++export const Route = createFileRoute('/api/get-utc-time')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/incident-banner.ts b/apps/studio/routes/api/incident-banner.tsnew file mode 100644index 00000000000..37ee873fbd7--- /dev/null+++ b/apps/studio/routes/api/incident-banner.ts@@ -0,0 +1,16 @@+import { createFileRoute } from '@tanstack/react-router'++// App Router route (apps/studio/app/api/incident-banner/route.ts) — already+// Web-native, uses NextResponse which extends `Response`. Direct re-export of+// each HTTP method; no shim needed.+import { GET, HEAD, OPTIONS } from '@/app/api/incident-banner/route'++export const Route = createFileRoute('/api/incident-banner')({+ server: {+ handlers: {+ GET: () => GET(),+ HEAD: () => HEAD(),+ OPTIONS: () => OPTIONS(),+ },+ },+})diff --git a/apps/studio/routes/api/incident-status.ts b/apps/studio/routes/api/incident-status.tsnew file mode 100644index 00000000000..631d579582d--- /dev/null+++ b/apps/studio/routes/api/incident-status.ts@@ -0,0 +1,16 @@+import { createFileRoute } from '@tanstack/react-router'++// App Router route (apps/studio/app/api/incident-status/route.ts) — already+// Web-native, uses NextResponse which extends `Response`. Direct re-export of+// each HTTP method; no shim needed.+import { GET, HEAD, OPTIONS } from '@/app/api/incident-status/route'++export const Route = createFileRoute('/api/incident-status')({+ server: {+ handlers: {+ GET: () => GET(),+ HEAD: () => HEAD(),+ OPTIONS: () => OPTIONS(),+ },+ },+})diff --git a/apps/studio/routes/api/integrations/stripe-sync.ts b/apps/studio/routes/api/integrations/stripe-sync.tsnew file mode 100644index 00000000000..a748ed69e1c--- /dev/null+++ b/apps/studio/routes/api/integrations/stripe-sync.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import stripeSync from '@/pages/api/integrations/stripe-sync'++const handler = toWebHandler(stripeSync)++export const Route = createFileRoute('/api/integrations/stripe-sync')({+ server: { handlers: { POST: handler, DELETE: handler } },+})diff --git a/apps/studio/routes/api/mcp/index.ts b/apps/studio/routes/api/mcp/index.tsnew file mode 100644index 00000000000..f658eeeca27--- /dev/null+++ b/apps/studio/routes/api/mcp/index.ts@@ -0,0 +1,110 @@+import { WebStandardStreamableHTTPServerTransport } from '@modelcontextprotocol/sdk/server/webStandardStreamableHttp.js'+import { createSupabaseMcpServer, SupabasePlatform } from '@supabase/mcp-server-supabase'+import { createFileRoute } from '@tanstack/react-router'+import { stripIndent } from 'common-tags'+import { z } from 'zod'++import { commaSeparatedStringIntoArray, zBooleanString } from '@/lib/api/apiHelpers'+import {+ getDatabaseOperations,+ getDebuggingOperations,+ getDevelopmentOperations,+} from '@/lib/api/self-hosted/mcp'+import { DEFAULT_PROJECT } from '@/lib/constants/api'++// Twin of `pages/api/mcp/index.ts`. Web-fetch rewrite — the+// pages-router version used the SDK's Node-shaped+// `StreamableHTTPServerTransport`, which writes directly to the Node+// `res` and can't run through the buffering `toWebHandler` shim. MCP's+// `WebStandardStreamableHTTPServerTransport` accepts a Web `Request`+// and returns a Web `Response` directly, so the handler can pass the+// request through unmodified.++const supportedFeatureGroupSchema = z.enum(['docs', 'database', 'development', 'debugging'])++const mcpQuerySchema = z.object({+ features: z+ .string()+ .transform(commaSeparatedStringIntoArray)+ .optional()+ .describe(+ stripIndent`+ A comma-separated list of feature groups to filter tools by. If not provided, all tools are available.++ The following feature groups are supported: ${supportedFeatureGroupSchema.options.map((group) => `\`${group}\``).join(', ')}.+ `+ )+ .pipe(z.array(supportedFeatureGroupSchema).optional()),+ read_only: zBooleanString()+ .default('false')+ .describe(+ 'Indicates whether or not the MCP server should operate in read-only mode. This prevents write operations on any of your databases by executing SQL as a read-only Postgres user.'+ ),+})++const POST = async ({ request }: { request: Request }) => {+ const url = new URL(request.url)+ const query = Object.fromEntries(url.searchParams.entries())+ const { error, data } = mcpQuerySchema.safeParse(query)++ if (error) {+ return new Response(JSON.stringify({ error: error.flatten().fieldErrors }), {+ status: 400,+ headers: { 'Content-Type': 'application/json' },+ })+ }++ const { features, read_only } = data+ const headers = request.headers++ const platform: SupabasePlatform = {+ database: getDatabaseOperations({ headers }),+ development: getDevelopmentOperations({ headers }),+ debugging: getDebuggingOperations({ headers }),+ }++ try {+ const server = createSupabaseMcpServer({+ platform,+ projectId: DEFAULT_PROJECT.ref,+ features,+ readOnly: read_only,+ })++ const transport = new WebStandardStreamableHTTPServerTransport({+ sessionIdGenerator: undefined, // Stateless, don't use session management+ enableJsonResponse: true, // Stateless, discourage SSE streams+ })++ await server.connect(transport)+ return await transport.handleRequest(request)+ } catch (err) {+ // Errors at this point will be due to MCP setup issues. Subsequent+ // errors are handled at the JSON-RPC level inside the protocol.+ if (err instanceof Error) {+ return new Response(JSON.stringify({ error: err.message }), {+ status: 400,+ headers: { 'Content-Type': 'application/json' },+ })+ }+ // `err` here is a non-Error throw, so stringify a safe representation+ // rather than embedding the raw value — a circular/non-serializable+ // object would make JSON.stringify throw inside the catch and turn this+ // into an unhandled 500.+ return new Response(+ JSON.stringify({ error: 'Unable to process MCP request', cause: String(err) }),+ {+ status: 500,+ headers: { 'Content-Type': 'application/json' },+ }+ )+ }+}++export const Route = createFileRoute('/api/mcp/')({+ server: {+ handlers: {+ POST,+ },+ },+})diff --git a/apps/studio/routes/api/parse-query.ts b/apps/studio/routes/api/parse-query.tsnew file mode 100644index 00000000000..d20577235e5--- /dev/null+++ b/apps/studio/routes/api/parse-query.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/parse-query'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/parse-query')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/auth/$ref/invite.ts b/apps/studio/routes/api/platform/auth/$ref/invite.tsnew file mode 100644index 00000000000..7a7af73d212--- /dev/null+++ b/apps/studio/routes/api/platform/auth/$ref/invite.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/auth/[ref]/invite'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/auth/$ref/invite')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/auth/$ref/magiclink.ts b/apps/studio/routes/api/platform/auth/$ref/magiclink.tsnew file mode 100644index 00000000000..524ccff2571--- /dev/null+++ b/apps/studio/routes/api/platform/auth/$ref/magiclink.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/auth/[ref]/magiclink'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/auth/$ref/magiclink')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/auth/$ref/otp.ts b/apps/studio/routes/api/platform/auth/$ref/otp.tsnew file mode 100644index 00000000000..ce299f1eefa--- /dev/null+++ b/apps/studio/routes/api/platform/auth/$ref/otp.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/auth/[ref]/otp'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/auth/$ref/otp')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/auth/$ref/recover.ts b/apps/studio/routes/api/platform/auth/$ref/recover.tsnew file mode 100644index 00000000000..995cfb2c8bd--- /dev/null+++ b/apps/studio/routes/api/platform/auth/$ref/recover.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/auth/[ref]/recover'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/auth/$ref/recover')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/auth/$ref/users/$id/factors.ts b/apps/studio/routes/api/platform/auth/$ref/users/$id/factors.tsnew file mode 100644index 00000000000..611c62ce4ea--- /dev/null+++ b/apps/studio/routes/api/platform/auth/$ref/users/$id/factors.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/auth/[ref]/users/[id]/factors'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/auth/$ref/users/$id/factors')({+ server: { handlers: { DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/auth/$ref/users/$id/index.ts b/apps/studio/routes/api/platform/auth/$ref/users/$id/index.tsnew file mode 100644index 00000000000..2142c337dec--- /dev/null+++ b/apps/studio/routes/api/platform/auth/$ref/users/$id/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/auth/[ref]/users/[id]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/auth/$ref/users/$id/')({+ server: { handlers: { PATCH: handler, DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/auth/$ref/users/index.ts b/apps/studio/routes/api/platform/auth/$ref/users/index.tsnew file mode 100644index 00000000000..93671b416fb--- /dev/null+++ b/apps/studio/routes/api/platform/auth/$ref/users/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/auth/[ref]/users'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/auth/$ref/users/')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/database/$ref/pooling.ts b/apps/studio/routes/api/platform/database/$ref/pooling.tsnew file mode 100644index 00000000000..061837480ce--- /dev/null+++ b/apps/studio/routes/api/platform/database/$ref/pooling.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/database/[ref]/pooling'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/database/$ref/pooling')({+ server: { handlers: { GET: handler, PATCH: handler } },+})diff --git a/apps/studio/routes/api/platform/deployment-mode.ts b/apps/studio/routes/api/platform/deployment-mode.tsnew file mode 100644index 00000000000..d07aae15390--- /dev/null+++ b/apps/studio/routes/api/platform/deployment-mode.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/deployment-mode'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/deployment-mode')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/integrations/$slug.ts b/apps/studio/routes/api/platform/integrations/$slug.tsnew file mode 100644index 00000000000..ddf0b76c4b3--- /dev/null+++ b/apps/studio/routes/api/platform/integrations/$slug.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/integrations/[slug]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/integrations/$slug')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/integrations/github/authorization.ts b/apps/studio/routes/api/platform/integrations/github/authorization.tsnew file mode 100644index 00000000000..510555616ad--- /dev/null+++ b/apps/studio/routes/api/platform/integrations/github/authorization.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/integrations/github/authorization'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/integrations/github/authorization')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/integrations/github/connections.ts b/apps/studio/routes/api/platform/integrations/github/connections.tsnew file mode 100644index 00000000000..163e5c05aac--- /dev/null+++ b/apps/studio/routes/api/platform/integrations/github/connections.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/integrations/github/connections'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/integrations/github/connections')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/integrations/github/repositories.ts b/apps/studio/routes/api/platform/integrations/github/repositories.tsnew file mode 100644index 00000000000..a9b69cbe2f0--- /dev/null+++ b/apps/studio/routes/api/platform/integrations/github/repositories.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/integrations/github/repositories'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/integrations/github/repositories')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/organizations/$slug/billing/subscription.ts b/apps/studio/routes/api/platform/organizations/$slug/billing/subscription.tsnew file mode 100644index 00000000000..6d821cf7f46--- /dev/null+++ b/apps/studio/routes/api/platform/organizations/$slug/billing/subscription.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/organizations/[slug]/billing/subscription'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/organizations/$slug/billing/subscription')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/organizations/index.ts b/apps/studio/routes/api/platform/organizations/index.tsnew file mode 100644index 00000000000..6d66f424ec0--- /dev/null+++ b/apps/studio/routes/api/platform/organizations/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/organizations'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/organizations/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/column-privileges.ts b/apps/studio/routes/api/platform/pg-meta/$ref/column-privileges.tsnew file mode 100644index 00000000000..5d42e6890bf--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/column-privileges.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/column-privileges'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/column-privileges')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/extensions.ts b/apps/studio/routes/api/platform/pg-meta/$ref/extensions.tsnew file mode 100644index 00000000000..493dab9066b--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/extensions.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/extensions'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/extensions')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/foreign-tables.ts b/apps/studio/routes/api/platform/pg-meta/$ref/foreign-tables.tsnew file mode 100644index 00000000000..43d8b65e429--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/foreign-tables.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/foreign-tables'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/foreign-tables')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/materialized-views.ts b/apps/studio/routes/api/platform/pg-meta/$ref/materialized-views.tsnew file mode 100644index 00000000000..f1ad3ceb678--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/materialized-views.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/materialized-views'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/materialized-views')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/policies.ts b/apps/studio/routes/api/platform/pg-meta/$ref/policies.tsnew file mode 100644index 00000000000..a5a832ae778--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/policies.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/policies'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/policies')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/publications.ts b/apps/studio/routes/api/platform/pg-meta/$ref/publications.tsnew file mode 100644index 00000000000..77f010d070e--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/publications.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/publications'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/publications')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/query/index.ts b/apps/studio/routes/api/platform/pg-meta/$ref/query/index.tsnew file mode 100644index 00000000000..fc32fa7bc08--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/query/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/query'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/query/')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/tables.ts b/apps/studio/routes/api/platform/pg-meta/$ref/tables.tsnew file mode 100644index 00000000000..056b94939f3--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/tables.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/tables'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/tables')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/triggers.ts b/apps/studio/routes/api/platform/pg-meta/$ref/triggers.tsnew file mode 100644index 00000000000..c442f101544--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/triggers.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/triggers'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/triggers')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/types.ts b/apps/studio/routes/api/platform/pg-meta/$ref/types.tsnew file mode 100644index 00000000000..49a69923dbd--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/types.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/types'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/types')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/pg-meta/$ref/views.ts b/apps/studio/routes/api/platform/pg-meta/$ref/views.tsnew file mode 100644index 00000000000..62de913cb99--- /dev/null+++ b/apps/studio/routes/api/platform/pg-meta/$ref/views.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/pg-meta/[ref]/views'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/pg-meta/$ref/views')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/profile/index.ts b/apps/studio/routes/api/platform/profile/index.tsnew file mode 100644index 00000000000..fd894c89f5f--- /dev/null+++ b/apps/studio/routes/api/platform/profile/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/profile'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/profile/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/analytics/endpoints/$name.ts b/apps/studio/routes/api/platform/projects/$ref/analytics/endpoints/$name.tsnew file mode 100644index 00000000000..bc981db44e2--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/analytics/endpoints/$name.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/analytics/endpoints/[name]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/analytics/endpoints/$name')({+ server: { handlers: { GET: handler, POST: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/analytics/log-drains.ts b/apps/studio/routes/api/platform/projects/$ref/analytics/log-drains.tsnew file mode 100644index 00000000000..dedabca706a--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/analytics/log-drains.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/analytics/log-drains'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/analytics/log-drains')({+ server: { handlers: { GET: handler, POST: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/analytics/log-drains/$uuid.ts b/apps/studio/routes/api/platform/projects/$ref/analytics/log-drains/$uuid.tsnew file mode 100644index 00000000000..18393f0b339--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/analytics/log-drains/$uuid.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/analytics/log-drains/[uuid]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/analytics/log-drains/$uuid')({+ server: { handlers: { GET: handler, PUT: handler, DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/api-keys/temporary.ts b/apps/studio/routes/api/platform/projects/$ref/api-keys/temporary.tsnew file mode 100644index 00000000000..e72c5bfadef--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/api-keys/temporary.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/api-keys/temporary'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/api-keys/temporary')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/api/graphql.ts b/apps/studio/routes/api/platform/projects/$ref/api/graphql.tsnew file mode 100644index 00000000000..6d1d0705fbb--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/api/graphql.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/api/graphql'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/api/graphql')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/api/rest.ts b/apps/studio/routes/api/platform/projects/$ref/api/rest.tsnew file mode 100644index 00000000000..ac3fdbe7cd3--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/api/rest.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/api/rest'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/api/rest')({+ server: { handlers: { GET: handler, HEAD: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/billing/addons.ts b/apps/studio/routes/api/platform/projects/$ref/billing/addons.tsnew file mode 100644index 00000000000..4438db4c717--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/billing/addons.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/billing/addons'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/billing/addons')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/config/index.ts b/apps/studio/routes/api/platform/projects/$ref/config/index.tsnew file mode 100644index 00000000000..0e6d4cfcc7c--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/config/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/config'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/config/')({+ server: { handlers: { GET: handler, PATCH: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/config/postgrest.ts b/apps/studio/routes/api/platform/projects/$ref/config/postgrest.tsnew file mode 100644index 00000000000..a13f5d02ce4--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/config/postgrest.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/config/postgrest'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/config/postgrest')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/config/secrets/update-status.ts b/apps/studio/routes/api/platform/projects/$ref/config/secrets/update-status.tsnew file mode 100644index 00000000000..0c5f5ccf2ff--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/config/secrets/update-status.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/config/secrets/update-status'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/config/secrets/update-status')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/content/count.ts b/apps/studio/routes/api/platform/projects/$ref/content/count.tsnew file mode 100644index 00000000000..099e83452b3--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/content/count.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/content/count'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/content/count')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/content/folders/$id.ts b/apps/studio/routes/api/platform/projects/$ref/content/folders/$id.tsnew file mode 100644index 00000000000..6185462a41c--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/content/folders/$id.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/content/folders/[id]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/content/folders/$id')({+ server: { handlers: { GET: handler, PATCH: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/content/folders/index.ts b/apps/studio/routes/api/platform/projects/$ref/content/folders/index.tsnew file mode 100644index 00000000000..afdeb05bf93--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/content/folders/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/content/folders'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/content/folders/')({+ server: { handlers: { GET: handler, POST: handler, DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/content/index.ts b/apps/studio/routes/api/platform/projects/$ref/content/index.tsnew file mode 100644index 00000000000..e6e91541865--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/content/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/content'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/content/')({+ server: { handlers: { GET: handler, PUT: handler, DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/content/item/$id.ts b/apps/studio/routes/api/platform/projects/$ref/content/item/$id.tsnew file mode 100644index 00000000000..a1553a8553c--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/content/item/$id.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/content/item/[id]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/content/item/$id')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/databases.ts b/apps/studio/routes/api/platform/projects/$ref/databases.tsnew file mode 100644index 00000000000..ef8760f5a6d--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/databases.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/databases'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/databases')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/index.ts b/apps/studio/routes/api/platform/projects/$ref/index.tsnew file mode 100644index 00000000000..e6cb5d60e27--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/infra-monitoring.ts b/apps/studio/routes/api/platform/projects/$ref/infra-monitoring.tsnew file mode 100644index 00000000000..16cd5f25bee--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/infra-monitoring.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/infra-monitoring'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/infra-monitoring')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/run-lints.ts b/apps/studio/routes/api/platform/projects/$ref/run-lints.tsnew file mode 100644index 00000000000..637f70139fb--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/run-lints.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/run-lints'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/run-lints')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/$ref/settings.ts b/apps/studio/routes/api/platform/projects/$ref/settings.tsnew file mode 100644index 00000000000..563adeb975c--- /dev/null+++ b/apps/studio/routes/api/platform/projects/$ref/settings.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects/[ref]/settings'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/$ref/settings')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/projects/index.ts b/apps/studio/routes/api/platform/projects/index.tsnew file mode 100644index 00000000000..3a04e91d393--- /dev/null+++ b/apps/studio/routes/api/platform/projects/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/projects'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/projects/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/props/org/$slug.ts b/apps/studio/routes/api/platform/props/org/$slug.tsnew file mode 100644index 00000000000..02e5750a8b3--- /dev/null+++ b/apps/studio/routes/api/platform/props/org/$slug.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/props/org/[slug]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/props/org/$slug')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/props/project/$ref/api.ts b/apps/studio/routes/api/platform/props/project/$ref/api.tsnew file mode 100644index 00000000000..920e08cf181--- /dev/null+++ b/apps/studio/routes/api/platform/props/project/$ref/api.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/props/project/[ref]/api'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/props/project/$ref/api')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/props/project/$ref/index.ts b/apps/studio/routes/api/platform/props/project/$ref/index.tsnew file mode 100644index 00000000000..56d15155a2c--- /dev/null+++ b/apps/studio/routes/api/platform/props/project/$ref/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/props/project/[ref]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/props/project/$ref/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/empty.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/empty.tsnew file mode 100644index 00000000000..3ecd0b39b0d--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/empty.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/empty'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/empty')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/index.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/index.tsnew file mode 100644index 00000000000..297c52e112d--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/')({+ server: { handlers: { GET: handler, PATCH: handler, DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/download.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/download.tsnew file mode 100644index 00000000000..7d56354fb89--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/download.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/objects/download'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/objects/download')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/index.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/index.tsnew file mode 100644index 00000000000..a2450072680--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/objects'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/objects/')({+ server: { handlers: { DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/list.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/list.tsnew file mode 100644index 00000000000..e99c11a62d1--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/list.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/objects/list'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/objects/list')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/move.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/move.tsnew file mode 100644index 00000000000..3184d83aa29--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/move.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/objects/move'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/objects/move')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/public-url.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/public-url.tsnew file mode 100644index 00000000000..94fd5f964d4--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/public-url.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/objects/public-url'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/objects/public-url')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/sign-multi.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/sign-multi.tsnew file mode 100644index 00000000000..9259595efd1--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/sign-multi.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/objects/sign-multi'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/objects/sign-multi')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/sign.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/sign.tsnew file mode 100644index 00000000000..5bd26fdb2f4--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/$id/objects/sign.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets/[id]/objects/sign'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/$id/objects/sign')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/buckets/index.ts b/apps/studio/routes/api/platform/storage/$ref/buckets/index.tsnew file mode 100644index 00000000000..846ecd0054e--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/buckets/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/buckets'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/buckets/')({+ server: { handlers: { GET: handler, POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/index.ts b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/index.tsnew file mode 100644index 00000000000..4636ce35878--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/vector-buckets/[id]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/vector-buckets/$id/')({+ server: { handlers: { GET: handler, DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName.ts b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName.tsnew file mode 100644index 00000000000..67f2bf69f4b--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName.ts@@ -0,0 +1,12 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/vector-buckets/[id]/indexes/[indexName]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute(+ '/api/platform/storage/$ref/vector-buckets/$id/indexes/$indexName'+)({+ server: { handlers: { DELETE: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/indexes/index.ts b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/indexes/index.tsnew file mode 100644index 00000000000..9200d5c73dc--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/$id/indexes/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/vector-buckets/[id]/indexes'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/vector-buckets/$id/indexes/')({+ server: { handlers: { GET: handler, POST: handler } },+})diff --git a/apps/studio/routes/api/platform/storage/$ref/vector-buckets/index.ts b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/index.tsnew file mode 100644index 00000000000..572b9ae4d5d--- /dev/null+++ b/apps/studio/routes/api/platform/storage/$ref/vector-buckets/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/storage/[ref]/vector-buckets'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/storage/$ref/vector-buckets/')({+ server: { handlers: { GET: handler, POST: handler } },+})diff --git a/apps/studio/routes/api/platform/telemetry/event.ts b/apps/studio/routes/api/platform/telemetry/event.tsnew file mode 100644index 00000000000..53bc84214f9--- /dev/null+++ b/apps/studio/routes/api/platform/telemetry/event.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/platform/telemetry/event'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/platform/telemetry/event')({+ server: { handlers: { POST: handler } },+})diff --git a/apps/studio/routes/api/status-override.ts b/apps/studio/routes/api/status-override.tsnew file mode 100644index 00000000000..28f908f2fab--- /dev/null+++ b/apps/studio/routes/api/status-override.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import statusOverride from '@/pages/api/status-override'++const handler = toWebHandler(statusOverride)++export const Route = createFileRoute('/api/status-override')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/api-keys.ts b/apps/studio/routes/api/v1/projects/$ref/api-keys.tsnew file mode 100644index 00000000000..abb7103d6fc--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/api-keys.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/api-keys'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/api-keys')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/api-keys/$id.ts b/apps/studio/routes/api/v1/projects/$ref/api-keys/$id.tsnew file mode 100644index 00000000000..bbd3900b06c--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/api-keys/$id.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/api-keys/[id]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/api-keys/$id')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/config/auth/signing-keys/index.ts b/apps/studio/routes/api/v1/projects/$ref/config/auth/signing-keys/index.tsnew file mode 100644index 00000000000..b8fd36c4b6f--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/config/auth/signing-keys/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/config/auth/signing-keys'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/config/auth/signing-keys/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/config/auth/signing-keys/legacy.ts b/apps/studio/routes/api/v1/projects/$ref/config/auth/signing-keys/legacy.tsnew file mode 100644index 00000000000..3e777b25584--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/config/auth/signing-keys/legacy.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/config/auth/signing-keys/legacy'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/config/auth/signing-keys/legacy')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/database/migrations.ts b/apps/studio/routes/api/v1/projects/$ref/database/migrations.tsnew file mode 100644index 00000000000..27bd6b9a61d--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/database/migrations.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/database/migrations'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/database/migrations')({+ server: { handlers: { GET: handler, POST: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/functions/$slug/body.ts b/apps/studio/routes/api/v1/projects/$ref/functions/$slug/body.tsnew file mode 100644index 00000000000..e3af4ac10b9--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/functions/$slug/body.ts@@ -0,0 +1,99 @@+import { createReadStream } from 'node:fs'+import { Readable } from 'node:stream'+import { createFileRoute } from '@tanstack/react-router'++import { getFunctionsArtifactStore } from '@/lib/api/self-hosted/functions'+import { uuidv4 } from '@/lib/helpers'++// Twin of `pages/api/v1/projects/[ref]/functions/[slug]/body.ts`. Web-+// streams rewrite — the pages-router version flushed multipart parts+// directly via Node's `res.write` + `pipeline(createReadStream, res)`,+// which the buffering `toWebHandler` shim can't represent. Returns a+// `Response` whose body is a `ReadableStream` built from an async+// generator (`Readable.from(...).toWeb()`), so file reads honour+// consumer backpressure and stop on client disconnect rather than+// buffering every file eagerly.+//+// `getFunctionsArtifactStore` already asserts self-hosted mode, so no+// auth wrapper is needed (matches the pages-router `apiWrapper`'s+// effective no-op when `IS_PLATFORM` is false).++const GET = async ({ params }: { params: { ref?: string; slug?: string } }) => {+ const { slug } = params+ if (!slug) {+ return new Response(+ JSON.stringify({ error: { message: `Missing function 'slug' parameter` } }),+ { status: 404, headers: { 'Content-Type': 'application/json' } }+ )+ }++ const store = getFunctionsArtifactStore()+ const fileEntries = await store.getFileEntriesBySlug(slug)++ const boundary = `----FormBoundary${uuidv4().replace(/-/g, '')}`+ const totalSize = fileEntries.reduce((sum, entry) => sum + entry.size, 0)+ const metadata = {+ // mock id, should be "<project_id>_<function_id>_<version>"+ deployment_id: uuidv4(),+ original_size: totalSize,+ compressed_size: totalSize,+ module_count: fileEntries.length,+ }++ const encoder = new TextEncoder()++ // An async generator lets `Readable.from` drive the file reads on demand:+ // it pauses the generator when the consumer is slow (backpressure) and runs+ // the generator's cleanup (closing the file handle) if the stream is+ // destroyed on client disconnect — neither of which an eager+ // `ReadableStream.start()` loop does.+ async function* multipartBody() {+ yield encoder.encode(+ `--${boundary}\r\n` ++ `Content-Disposition: form-data; name="metadata"\r\n` ++ `Content-Type: application/json\r\n` ++ `\r\n` ++ JSON.stringify(metadata) ++ `\r\n`+ )++ for (const entry of fileEntries) {+ const safeName = entry.relativePath+ .replace(/[\r\n]/g, '')+ .replace(/\\/g, '\\\\')+ .replace(/"/g, '\\"')+ const encodedName = encodeURIComponent(entry.relativePath)+ yield encoder.encode(+ `--${boundary}\r\n` ++ `Content-Disposition: form-data; name="file"; filename="${safeName}"; filename*=UTF-8''${encodedName}\r\n` ++ `Content-Type: text/plain\r\n` ++ `\r\n`+ )++ for await (const chunk of createReadStream(entry.absolutePath)) {+ yield chunk as Uint8Array+ }++ yield encoder.encode(`\r\n`)+ }++ yield encoder.encode(`--${boundary}--\r\n`)+ }++ const stream = Readable.toWeb(+ Readable.from(multipartBody(), { objectMode: false })+ ) as ReadableStream<Uint8Array>++ return new Response(stream, {+ status: 200,+ headers: { 'Content-Type': `multipart/form-data; boundary=${boundary}` },+ })+}++export const Route = createFileRoute('/api/v1/projects/$ref/functions/$slug/body')({+ server: {+ handlers: {+ GET,+ },+ },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/functions/$slug/index.ts b/apps/studio/routes/api/v1/projects/$ref/functions/$slug/index.tsnew file mode 100644index 00000000000..2ceef649c18--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/functions/$slug/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/functions/[slug]'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/functions/$slug/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/functions/index.ts b/apps/studio/routes/api/v1/projects/$ref/functions/index.tsnew file mode 100644index 00000000000..19881f9b1fd--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/functions/index.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/functions'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/functions/')({+ server: { handlers: { GET: handler } },+})diff --git a/apps/studio/routes/api/v1/projects/$ref/types/typescript.ts b/apps/studio/routes/api/v1/projects/$ref/types/typescript.tsnew file mode 100644index 00000000000..2b25660436a--- /dev/null+++ b/apps/studio/routes/api/v1/projects/$ref/types/typescript.ts@@ -0,0 +1,10 @@+import { createFileRoute } from '@tanstack/react-router'++import { toWebHandler } from '@/compat/next/api'+import nextHandler from '@/pages/api/v1/projects/[ref]/types/typescript'++const handler = toWebHandler(nextHandler)++export const Route = createFileRoute('/api/v1/projects/$ref/types/typescript')({+ server: { handlers: { GET: handler } },+})