The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
comment out new typedoc3 stuff
Jonathan Summers-Muir546f444d1efb
diff --git a/apps/docs/lib/refGenerator/helpers.ts b/apps/docs/lib/refGenerator/helpers.tsindex f43ec5955cf..bc1c1a4b7e6 100644--- a/apps/docs/lib/refGenerator/helpers.ts+++ b/apps/docs/lib/refGenerator/helpers.ts@@ -1,9 +1,9 @@import React from 'react'import { TsDoc } from '~/generator/legacy/definitions'-import { OpenAPIV3, OpenAPIV2 } from 'openapi-types'+// import { OpenAPIV3, OpenAPIV2 } from 'openapi-types'import { uniqBy } from 'lodash'-import { slugify, toArrayWithKey, toTitle } from '~/generator/helpers'+// import { slugify, toArrayWithKey, toTitle } from '~/generator/helpers'export function extractTsDocNode(nodeToFind: string, definition: any) {const nodePath = nodeToFind.split('.')@@ -205,41 +205,41 @@ type enrichedOperation = OpenAPIV3.OperationObject & {fullPath: stringoperationId: string}-export function gen_v3(spec: OpenAPIV3.Document, dest: string, { apiUrl }: { apiUrl: string }) {- const specLayout = spec.tags || []- const operations: enrichedOperation[] = []- console.log('im v3ing')- Object.entries(spec.paths).forEach(([key, val]) => {- const fullPath = `${apiUrl}${key}`-- toArrayWithKey(val!, 'operation').forEach((o) => {- const operation = o as v3OperationWithPath- const enriched = {- ...operation,- path: key,- fullPath,- operationId: slugify(operation.summary!),-- responseList: toArrayWithKey(operation.responses!, 'responseCode') || [],- }- operations.push(enriched)- })- })-- const sections = specLayout.map((section) => {- return {- ...section,- title: toTitle(section.name),- id: slugify(section.name),- operations: operations.filter((operation) => operation.tags?.includes(section.name)),- }- })+// export function gen_v3(spec: OpenAPIV3.Document, dest: string, { apiUrl }: { apiUrl: string }) {+// const specLayout = spec.tags || []+// const operations: enrichedOperation[] = []+// console.log('im v3ing')+// Object.entries(spec.paths).forEach(([key, val]) => {+// const fullPath = `${apiUrl}${key}`++// toArrayWithKey(val!, 'operation').forEach((o) => {+// const operation = o as v3OperationWithPath+// const enriched = {+// ...operation,+// path: key,+// fullPath,+// operationId: slugify(operation.summary!),++// responseList: toArrayWithKey(operation.responses!, 'responseCode') || [],+// }+// operations.push(enriched)+// })+// })- const content = {- info: spec.info,- sections,- operations,- }+// const sections = specLayout.map((section) => {+// return {+// ...section,+// title: toTitle(section.name),+// id: slugify(section.name),+// operations: operations.filter((operation) => operation.tags?.includes(section.name)),+// }+// })- return content-}+// const content = {+// info: spec.info,+// sections,+// operations,+// }++// return content+// }