diff --git a/.dockerignore b/.dockerignore index 247ce6b272..15e4fbec01 100644 --- a/.dockerignore +++ b/.dockerignore @@ -7,7 +7,7 @@ docker examples i18n **/node_modules -spec +apps/docs/spec supabase tests diff --git a/.github/workflows/search.yml b/.github/workflows/search.yml index dcf43dd7fa..2fc6b8cd51 100644 --- a/.github/workflows/search.yml +++ b/.github/workflows/search.yml @@ -8,7 +8,6 @@ on: - '.github/workflows/search.yml' - 'supabase/migrations/**' - 'apps/docs/**' - - 'spec/**' workflow_dispatch: inputs: refresh: @@ -39,7 +38,6 @@ jobs: with: sparse-checkout: | apps/docs - spec supabase - name: Setup node diff --git a/.prettierignore b/.prettierignore index 2d39a3f618..bc42d43c6b 100644 --- a/.prettierignore +++ b/.prettierignore @@ -4,6 +4,7 @@ node_modules package-lock.json docker* apps/**/out +apps/docs/spec/** # prettier-plugin-sql-cst only supports sqlite syntax **/supabase/migrations/*.sql apps/www/schema.sql diff --git a/DEVELOPERS.md b/DEVELOPERS.md index 8dc7c0e991..36a9b61a0a 100644 --- a/DEVELOPERS.md +++ b/DEVELOPERS.md @@ -1,15 +1,25 @@ # Developing Supabase -1. [Getting started](#getting-started) - - [Install dependencies](#install-dependencies) -2. [Local development](#local-development) - - [Fork the repo](#fork-the-repo) - - [Clone the repo](#clone-the-repo) - - [Running turborepo](#running-turborepo) - - [Shared components](#shared-components) - - [Installing packages](#installing-packages) - - [New Supabase docs](#new-supabase-docs) -3. [Create a pull request](#create-a-pull-request) +- [Developing Supabase](#developing-supabase) + - [Getting started](#getting-started) + - [Install dependencies](#install-dependencies) + - [Local development](#local-development) + - [Fork the repo](#fork-the-repo) + - [Clone the repo](#clone-the-repo) + - [Install dependencies](#install-dependencies-1) + - [Running sites individually](#running-sites-individually) + - [Shared components](#shared-components) + - [Installing packages](#installing-packages) + - [Running Docker for Supabase Studio](#running-docker-for-supabase-studio) + - [Prerequsites](#prerequsites) + - [Get Started](#get-started) + - [Create a pull request](#create-a-pull-request) + - [Issue assignment](#issue-assignment) + - [Common tasks](#common-tasks) + - [Add a redirect](#add-a-redirect) + - [Federated docs](#federated-docs) + - [Community channels](#community-channels) + - [Contributors](#contributors) - [Common tasks](#common-tasks) - [Add a redirect](#add-a-redirect) @@ -86,10 +96,12 @@ npm run dev:www The monorepo has a set of shared components under `/packages`: -- `/packages/common`: Common React components, shared between all sites. +- `/packages/ai-commands`: Helpers/Commands for AI related functions +- `/packages/common`: Common React components, shared between all sites - `/packages/config`: All shared config -- `/packages/spec`: Generates documentation using spec files. +- `/packages/shared-data`: Shared data that can be used across all apps - `/packages/tsconfig`: Shared Typescript settings +- `/packages/ui`: Common UI components #### Installing packages diff --git a/apps/docs/CONTRIBUTING.md b/apps/docs/CONTRIBUTING.md index 81875b5902..f085a5f3be 100644 --- a/apps/docs/CONTRIBUTING.md +++ b/apps/docs/CONTRIBUTING.md @@ -77,7 +77,7 @@ You can usually identify a federated or reference doc because it uses a Next.js Example spec file import: ```js -import specFile from '~/../../spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' } +import specFile from '~/spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' } ``` Example repo definition: diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts index 6181b97204..62f5b665d7 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenu.utils.ts @@ -51,7 +51,7 @@ export function useCommonSections(commonSectionsFile: string) { const commonSections = await import( /* webpackInclude: /common-.*\.json$/ */ /* webpackMode: "lazy" */ - `~/../../spec/${commonSectionsFile}` + `~/spec/${commonSectionsFile}` ) setCommonSections(commonSections.default) } @@ -80,7 +80,7 @@ export function useSpec(specFile?: string) { const spec = await import( /* webpackInclude: /supabase_.*\.ya?ml$/ */ /* webpackMode: "lazy" */ - `~/../../spec/${specFile}` + `~/spec/${specFile}` ) setSpec(spec.default) } diff --git a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx index 22dae5161c..7cba84fcba 100644 --- a/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx +++ b/apps/docs/components/Navigation/NavigationMenu/NavigationMenuCliList.tsx @@ -3,7 +3,7 @@ import { useRouter } from 'next/router' import { IconChevronLeft } from 'ui' import * as NavItems from './NavigationMenu.constants' -import clientLibsCommon from '~/../../spec/common-cli.yml' assert { type: 'yml' } +import clientLibsCommon from '~/spec/common-cli.yml' assert { type: 'yml' } const NavigationMenuCliList = ({ currentLevel, setLevel, id }) => { const router = useRouter() diff --git a/apps/docs/components/reference/CLICommandSection.tsx b/apps/docs/components/reference/CLICommandSection.tsx index 2ba6b0fba5..8313709c0c 100644 --- a/apps/docs/components/reference/CLICommandSection.tsx +++ b/apps/docs/components/reference/CLICommandSection.tsx @@ -1,6 +1,6 @@ import ReactMarkdown from 'react-markdown' import { CodeBlock, IconChevronRight, Tabs } from 'ui' -import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yml' } +import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yml' } import Options from '~/components/Options' import Param from '~/components/Params' import RefSubLayout from '~/layouts/ref/RefSubLayout' diff --git a/apps/docs/components/reference/enrichments/cli/CliGlobalFlagsHandler.tsx b/apps/docs/components/reference/enrichments/cli/CliGlobalFlagsHandler.tsx index a0af68c61c..af8c42eb1c 100644 --- a/apps/docs/components/reference/enrichments/cli/CliGlobalFlagsHandler.tsx +++ b/apps/docs/components/reference/enrichments/cli/CliGlobalFlagsHandler.tsx @@ -1,6 +1,6 @@ import RefSubLayout from '~/layouts/ref/RefSubLayout' -import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yaml' } +import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yaml' } import Param from '~/components/Params' import Options from '~/components/Options' diff --git a/apps/docs/docs/ref/python/installing.mdx b/apps/docs/docs/ref/python/installing.mdx index 5a53146e5a..58a56b8d9f 100644 --- a/apps/docs/docs/ref/python/installing.mdx +++ b/apps/docs/docs/ref/python/installing.mdx @@ -2,7 +2,7 @@ id: installing title: 'Installing' slug: installing -custom_edit_url: https://github.com/supabase/supabase/edit/master/spec/supabase_py_v2.yml +custom_edit_url: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_py_v2.yml --- ### Install with PyPi diff --git a/apps/docs/generator/legacy.ts b/apps/docs/generator/legacy.ts index dfe4407410..9cb6dced62 100644 --- a/apps/docs/generator/legacy.ts +++ b/apps/docs/generator/legacy.ts @@ -19,7 +19,7 @@ import * as yaml from 'js-yaml' import { flattenSections } from '../lib/helpers' const commonDocSpecJson = JSON.parse( - fs.readFileSync('../../spec/common-client-libs-sections.json', 'utf8') + fs.readFileSync('spec/common-client-libs-sections.json', 'utf8') ) const flattenedCommonDocSpecJson = flattenSections(commonDocSpecJson) diff --git a/apps/docs/internals/files/api.mjs b/apps/docs/internals/files/api.mjs index 0f405c4edf..62a77f096c 100644 --- a/apps/docs/internals/files/api.mjs +++ b/apps/docs/internals/files/api.mjs @@ -1,4 +1,4 @@ -import sections from '../../../../spec/common-api-sections.json' assert { type: 'json' } +import sections from '../../spec/common-api-sections.json' assert { type: 'json' } import { flattenSections } from '../helpers.mjs' const flatSections = flattenSections(sections) diff --git a/apps/docs/internals/files/cli.mjs b/apps/docs/internals/files/cli.mjs index 9b7dad4616..62cfce95c7 100644 --- a/apps/docs/internals/files/cli.mjs +++ b/apps/docs/internals/files/cli.mjs @@ -1,11 +1,11 @@ import fs from 'fs' import yaml from 'js-yaml' -import cliCommonSections from '../../../../spec/common-cli-sections.json' assert { type: 'json' } +import cliCommonSections from '../../spec/common-cli-sections.json' assert { type: 'json' } import { flattenSections } from '../helpers.mjs' const flatCLISections = flattenSections(cliCommonSections) -const cliSpec = yaml.load(fs.readFileSync(`../../spec/cli_v1_commands.yaml`, 'utf8')) +const cliSpec = yaml.load(fs.readFileSync(`spec/cli_v1_commands.yaml`, 'utf8')) export function generateCLIPages() { let cliPages = [] diff --git a/apps/docs/internals/files/reference-lib.mjs b/apps/docs/internals/files/reference-lib.mjs index 0b3f40e601..54974c4f66 100644 --- a/apps/docs/internals/files/reference-lib.mjs +++ b/apps/docs/internals/files/reference-lib.mjs @@ -1,7 +1,7 @@ import fs from 'fs' import yaml from 'js-yaml' -import commonLibSections from '../../../../spec/common-client-libs-sections.json' assert { type: 'json' } +import commonLibSections from '../../spec/common-client-libs-sections.json' assert { type: 'json' } import { flattenSections } from '../helpers.mjs' const flatCommonLibSections = flattenSections(commonLibSections) @@ -18,7 +18,7 @@ const clientLibFiles = [ export function generateReferencePages() { let refPages = [] clientLibFiles.map((file) => { - const spec = yaml.load(fs.readFileSync(`../../spec/${file.fileName}.yml`, 'utf8')) + const spec = yaml.load(fs.readFileSync(`spec/${file.fileName}.yml`, 'utf8')) spec.functions.map((fn) => { const slug = flatCommonLibSections.find((item) => item.id === fn.id)?.slug refPages.push(`reference/${file.label}/${file.versionSlug ? file.version + '/' : ''}${slug}`) diff --git a/apps/docs/lib/mdx/getConfig.tsx b/apps/docs/lib/mdx/getConfig.tsx index 2341e23b3e..fe479b8114 100644 --- a/apps/docs/lib/mdx/getConfig.tsx +++ b/apps/docs/lib/mdx/getConfig.tsx @@ -1,8 +1,8 @@ -import specStorageV0 from '~/../../spec/storage_v0_config.yaml' assert { type: 'yml' } -import specRealtimeV0 from '~/../../spec/realtime_v0_config.yaml' assert { type: 'yml' } -import specAuthV1 from '~/../../spec/gotrue_v1_config.yaml' assert { type: 'yml' } -import specAnalyticsV0 from '~/../../spec/analytics_v0_config.yaml' assert { type: 'yml' } -import specFunctionsV0 from '~/../../spec/functions_v0_config.yaml' assert { type: 'yml' } +import specStorageV0 from '~/spec/storage_v0_config.yaml' assert { type: 'yml' } +import specRealtimeV0 from '~/spec/realtime_v0_config.yaml' assert { type: 'yml' } +import specAuthV1 from '~/spec/gotrue_v1_config.yaml' assert { type: 'yml' } +import specAnalyticsV0 from '~/spec/analytics_v0_config.yaml' assert { type: 'yml' } +import specFunctionsV0 from '~/spec/functions_v0_config.yaml' assert { type: 'yml' } function getStorageConfigV0() { return { ...specStorageV0 } diff --git a/apps/docs/pages/guides/cli/config.tsx b/apps/docs/pages/guides/cli/config.tsx index 38aee38f36..068a5a8e4d 100644 --- a/apps/docs/pages/guides/cli/config.tsx +++ b/apps/docs/pages/guides/cli/config.tsx @@ -1,4 +1,4 @@ -import specFile from '~/../../spec/cli_v1_config.yaml' assert { type: 'yml' } +import specFile from '~/spec/cli_v1_config.yaml' assert { type: 'yml' } import { Parameter } from '~/lib/refGenerator/refTypes' import ReactMarkdown from 'react-markdown' import GuidesTableOfContents from '~/components/GuidesTableOfContents' diff --git a/apps/docs/pages/reference/analytics/[...slug].tsx b/apps/docs/pages/reference/analytics/[...slug].tsx index 8e5a158c73..6ba5e15111 100644 --- a/apps/docs/pages/reference/analytics/[...slug].tsx +++ b/apps/docs/pages/reference/analytics/[...slug].tsx @@ -1,4 +1,4 @@ -import specFile from '~/../../spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' } +import specFile from '~/spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' } import { gen_v3, enrichedOperation } from '~/lib/refGenerator/helpers' import { Tabs, CodeBlock } from 'ui' diff --git a/apps/docs/pages/reference/analytics/config.tsx b/apps/docs/pages/reference/analytics/config.tsx index 42d8df125b..4db5c72958 100644 --- a/apps/docs/pages/reference/analytics/config.tsx +++ b/apps/docs/pages/reference/analytics/config.tsx @@ -4,7 +4,7 @@ import components from '~/components/index' import { MDXRemote } from 'next-mdx-remote' import { serialize } from 'next-mdx-remote/serialize' -import specFile from '~/../../spec/analytics_v0_config.yaml' assert { type: 'yml' } +import specFile from '~/spec/analytics_v0_config.yaml' assert { type: 'yml' } import { Parameter } from '~/lib/refGenerator/refTypes' import ReactMarkdown from 'react-markdown' diff --git a/apps/docs/pages/reference/api/[...slug].tsx b/apps/docs/pages/reference/api/[...slug].tsx index 1850b2bc2b..27760ce04d 100644 --- a/apps/docs/pages/reference/api/[...slug].tsx +++ b/apps/docs/pages/reference/api/[...slug].tsx @@ -1,5 +1,5 @@ -import apiCommonSections from '~/../../spec/common-api-sections.json' assert { type: 'json' } -import specFile from '~/../../spec/transforms/api_v0_openapi_deparsed.json' assert { type: 'json' } +import apiCommonSections from '~/spec/common-api-sections.json' assert { type: 'json' } +import specFile from '~/spec/transforms/api_v0_openapi_deparsed.json' assert { type: 'json' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/auth/[...slug].tsx b/apps/docs/pages/reference/auth/[...slug].tsx index 9dbd885770..8664fe97ac 100644 --- a/apps/docs/pages/reference/auth/[...slug].tsx +++ b/apps/docs/pages/reference/auth/[...slug].tsx @@ -1,5 +1,5 @@ import { CodeBlock, Tabs } from 'ui' -import specFile from '~/../../spec/transforms/auth_v1_openapi_deparsed.json' assert { type: 'json' } +import specFile from '~/spec/transforms/auth_v1_openapi_deparsed.json' assert { type: 'json' } import { gen_v3 } from '~/lib/refGenerator/helpers' import RefSubLayout from '~/layouts/ref/RefSubLayout' diff --git a/apps/docs/pages/reference/auth/config.tsx b/apps/docs/pages/reference/auth/config.tsx index 255b5f6284..d9c1e5eacb 100644 --- a/apps/docs/pages/reference/auth/config.tsx +++ b/apps/docs/pages/reference/auth/config.tsx @@ -1,4 +1,4 @@ -import specFile from '~/../../spec/gotrue_v1_config.yaml' assert { type: 'yml' } +import specFile from '~/spec/gotrue_v1_config.yaml' assert { type: 'yml' } import { Parameter } from '~/lib/refGenerator/refTypes' import ReactMarkdown from 'react-markdown' import Head from 'next/head' diff --git a/apps/docs/pages/reference/cli/[...slug].tsx b/apps/docs/pages/reference/cli/[...slug].tsx index 77aeb32c11..75b9088f7f 100644 --- a/apps/docs/pages/reference/cli/[...slug].tsx +++ b/apps/docs/pages/reference/cli/[...slug].tsx @@ -1,8 +1,8 @@ -import spec from '~/../../spec/cli_v1_commands.yaml' assert { type: 'yml' } +import spec from '~/spec/cli_v1_commands.yaml' assert { type: 'yml' } import { flattenSections } from '~/lib/helpers' -import cliCommonSections from '~/../../spec/common-cli-sections.json' assert { type: 'json' } +import cliCommonSections from '~/spec/common-cli-sections.json' assert { type: 'json' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' import handleRefStaticProps from '~/lib/mdx/handleRefStaticProps' diff --git a/apps/docs/pages/reference/csharp/[...slug].tsx b/apps/docs/pages/reference/csharp/[...slug].tsx index 7663a67ca8..8145e38f7c 100644 --- a/apps/docs/pages/reference/csharp/[...slug].tsx +++ b/apps/docs/pages/reference/csharp/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx b/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx index 4aa2010fc2..0d515778de 100644 --- a/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/csharp/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/csharp/v0/[...slug].tsx b/apps/docs/pages/reference/csharp/v0/[...slug].tsx index c55c751c35..f87b51d143 100644 --- a/apps/docs/pages/reference/csharp/v0/[...slug].tsx +++ b/apps/docs/pages/reference/csharp/v0/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx b/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx index 3777e16ec7..5e20575d17 100644 --- a/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/csharp/v0/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_csharp_v0.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_csharp_v0.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/dart/[...slug].tsx b/apps/docs/pages/reference/dart/[...slug].tsx index 9461e3e88b..fb81a2f88b 100644 --- a/apps/docs/pages/reference/dart/[...slug].tsx +++ b/apps/docs/pages/reference/dart/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_dart_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_dart_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/dart/crawlers/[...slug].tsx b/apps/docs/pages/reference/dart/crawlers/[...slug].tsx index f4b9ebf430..faace96a0b 100644 --- a/apps/docs/pages/reference/dart/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/dart/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_dart_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_dart_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/dart/v1/[...slug].tsx b/apps/docs/pages/reference/dart/v1/[...slug].tsx index 782497ca5a..b9dd386dcc 100644 --- a/apps/docs/pages/reference/dart/v1/[...slug].tsx +++ b/apps/docs/pages/reference/dart/v1/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_dart_v1.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_dart_v1.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx index 3a96783f3a..3fe8650ed1 100644 --- a/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/dart/v1/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_dart_v1.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_dart_v1.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/javascript/[...slug].tsx b/apps/docs/pages/reference/javascript/[...slug].tsx index f8cba67d8b..5acd8c9f1a 100644 --- a/apps/docs/pages/reference/javascript/[...slug].tsx +++ b/apps/docs/pages/reference/javascript/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_js_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_js_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx b/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx index 15bc700d40..9db26e615e 100644 --- a/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/javascript/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_js_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_js_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/javascript/v1/[...slug].tsx b/apps/docs/pages/reference/javascript/v1/[...slug].tsx index 3fb14627bf..60645f8547 100644 --- a/apps/docs/pages/reference/javascript/v1/[...slug].tsx +++ b/apps/docs/pages/reference/javascript/v1/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v1/combined.json' -import spec from '~/../../spec/supabase_js_v1.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v1/combined.json' +import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx index 37fb218f80..098989bcab 100644 --- a/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/javascript/v1/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_js_v1.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_js_v1.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/kotlin/[...slug].tsx b/apps/docs/pages/reference/kotlin/[...slug].tsx index 26678b1278..9dae772696 100644 --- a/apps/docs/pages/reference/kotlin/[...slug].tsx +++ b/apps/docs/pages/reference/kotlin/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_kt_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_kt_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx b/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx index 0d76f33cf0..2a0d1cadc2 100644 --- a/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/kotlin/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_kt_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_kt_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/kotlin/v1/[...slug].tsx b/apps/docs/pages/reference/kotlin/v1/[...slug].tsx index f72ca756c2..97b6e3226d 100644 --- a/apps/docs/pages/reference/kotlin/v1/[...slug].tsx +++ b/apps/docs/pages/reference/kotlin/v1/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_kt_v1.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_kt_v1.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx b/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx index 115cba80b8..a19c1c25bd 100644 --- a/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/kotlin/v1/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_kt_v1.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_kt_v1.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/python/[...slug].tsx b/apps/docs/pages/reference/python/[...slug].tsx index 708880602d..dbf7f9cdce 100644 --- a/apps/docs/pages/reference/python/[...slug].tsx +++ b/apps/docs/pages/reference/python/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_py_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_py_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/python/crawlers/[...slug].tsx b/apps/docs/pages/reference/python/crawlers/[...slug].tsx index 9c1062483d..683770ccea 100644 --- a/apps/docs/pages/reference/python/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/python/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_py_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_py_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/realtime/config.tsx b/apps/docs/pages/reference/realtime/config.tsx index ae7b675a4c..8a25754c34 100644 --- a/apps/docs/pages/reference/realtime/config.tsx +++ b/apps/docs/pages/reference/realtime/config.tsx @@ -4,7 +4,7 @@ import components from '~/components/index' import { MDXRemote } from 'next-mdx-remote' import { serialize } from 'next-mdx-remote/serialize' -import specFile from '~/../../spec/realtime_v0_config.yaml' assert { type: 'yml' } +import specFile from '~/spec/realtime_v0_config.yaml' assert { type: 'yml' } import { Parameter } from '~/lib/refGenerator/refTypes' import ReactMarkdown from 'react-markdown' diff --git a/apps/docs/pages/reference/self-hosting-analytics/[...slug].tsx b/apps/docs/pages/reference/self-hosting-analytics/[...slug].tsx index cafb0359aa..eb02ccc77c 100644 --- a/apps/docs/pages/reference/self-hosting-analytics/[...slug].tsx +++ b/apps/docs/pages/reference/self-hosting-analytics/[...slug].tsx @@ -1,5 +1,5 @@ -import analyticsSpec from '~/../../spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' } -import selfHostingAnalyticsCommonSections from '~/../../spec/common-self-hosting-analytics-sections.json' +import analyticsSpec from '~/spec/transforms/analytics_v0_openapi_deparsed.json' assert { type: 'json' } +import selfHostingAnalyticsCommonSections from '~/spec/common-self-hosting-analytics-sections.json' import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/self-hosting-auth/[...slug].tsx b/apps/docs/pages/reference/self-hosting-auth/[...slug].tsx index c2c58cd7db..723d11e079 100644 --- a/apps/docs/pages/reference/self-hosting-auth/[...slug].tsx +++ b/apps/docs/pages/reference/self-hosting-auth/[...slug].tsx @@ -1,5 +1,5 @@ -import authSpec from '~/../../spec/auth_v1_openapi.json' assert { type: 'json' } -import selfHostingAuthCommonSections from '~/../../spec/common-self-hosting-auth-sections.json' +import authSpec from '~/spec/auth_v1_openapi.json' assert { type: 'json' } +import selfHostingAuthCommonSections from '~/spec/common-self-hosting-auth-sections.json' import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/self-hosting-functions/[...slug].tsx b/apps/docs/pages/reference/self-hosting-functions/[...slug].tsx index 97e10d09a1..bbd3f33531 100644 --- a/apps/docs/pages/reference/self-hosting-functions/[...slug].tsx +++ b/apps/docs/pages/reference/self-hosting-functions/[...slug].tsx @@ -1,4 +1,4 @@ -import selfHostingFunctionsCommonSections from '~/../../spec/common-self-hosting-functions-sections.json' +import selfHostingFunctionsCommonSections from '~/spec/common-self-hosting-functions-sections.json' import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' diff --git a/apps/docs/pages/reference/self-hosting-realtime/[...slug].tsx b/apps/docs/pages/reference/self-hosting-realtime/[...slug].tsx index fbfec623fd..59c9276e5b 100644 --- a/apps/docs/pages/reference/self-hosting-realtime/[...slug].tsx +++ b/apps/docs/pages/reference/self-hosting-realtime/[...slug].tsx @@ -1,4 +1,4 @@ -import selfHostingRealtimeCommonSections from '~/../../spec/common-self-hosting-realtime-sections.json' +import selfHostingRealtimeCommonSections from '~/spec/common-self-hosting-realtime-sections.json' import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' diff --git a/apps/docs/pages/reference/self-hosting-storage/[...slug].tsx b/apps/docs/pages/reference/self-hosting-storage/[...slug].tsx index 6db23fa3a3..1468b40f3a 100644 --- a/apps/docs/pages/reference/self-hosting-storage/[...slug].tsx +++ b/apps/docs/pages/reference/self-hosting-storage/[...slug].tsx @@ -1,5 +1,5 @@ -import storageSpec from '~/../../spec/storage_v0_openapi.json' assert { type: 'json' } -import selfHostingStorageCommonSections from '~/../../spec/common-self-hosting-storage-sections.json' +import storageSpec from '~/spec/storage_v0_openapi.json' assert { type: 'json' } +import selfHostingStorageCommonSections from '~/spec/common-self-hosting-storage-sections.json' import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/storage/[...slug].tsx b/apps/docs/pages/reference/storage/[...slug].tsx index 64e4661f77..312eed4a63 100644 --- a/apps/docs/pages/reference/storage/[...slug].tsx +++ b/apps/docs/pages/reference/storage/[...slug].tsx @@ -1,5 +1,5 @@ import { CodeBlock, Tabs } from 'ui' -import specFile from '~/../../spec/transforms/storage_v0_openapi_deparsed.json' assert { type: 'json' } +import specFile from '~/spec/transforms/storage_v0_openapi_deparsed.json' assert { type: 'json' } import { gen_v3 } from '~/lib/refGenerator/helpers' import RefSubLayout from '~/layouts/ref/RefSubLayout' diff --git a/apps/docs/pages/reference/storage/config.tsx b/apps/docs/pages/reference/storage/config.tsx index 807699544e..ba26fafe1d 100644 --- a/apps/docs/pages/reference/storage/config.tsx +++ b/apps/docs/pages/reference/storage/config.tsx @@ -1,4 +1,4 @@ -import specFile from '~/../../spec/storage_v0_config.yaml' assert { type: 'yml' } +import specFile from '~/spec/storage_v0_config.yaml' assert { type: 'yml' } import { Parameter } from '~/lib/refGenerator/refTypes' import ReactMarkdown from 'react-markdown' diff --git a/apps/docs/pages/reference/swift/[...slug].tsx b/apps/docs/pages/reference/swift/[...slug].tsx index 1dfaefbf78..6c84806c67 100644 --- a/apps/docs/pages/reference/swift/[...slug].tsx +++ b/apps/docs/pages/reference/swift/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_swift_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_swift_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/swift/crawlers/[...slug].tsx b/apps/docs/pages/reference/swift/crawlers/[...slug].tsx index fd1b42f633..d8e3be4f79 100644 --- a/apps/docs/pages/reference/swift/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/swift/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_swift_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_swift_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/swift/v0/[...slug].tsx b/apps/docs/pages/reference/swift/v0/[...slug].tsx index 6ba94995bd..9b27264e2b 100644 --- a/apps/docs/pages/reference/swift/v0/[...slug].tsx +++ b/apps/docs/pages/reference/swift/v0/[...slug].tsx @@ -1,5 +1,5 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import spec from '~/../../spec/supabase_swift_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import spec from '~/spec/supabase_swift_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/pages/reference/swift/v0/crawlers/[...slug].tsx b/apps/docs/pages/reference/swift/v0/crawlers/[...slug].tsx index 52816b28b2..6c19debf23 100644 --- a/apps/docs/pages/reference/swift/v0/crawlers/[...slug].tsx +++ b/apps/docs/pages/reference/swift/v0/crawlers/[...slug].tsx @@ -1,6 +1,6 @@ -import clientLibsCommonSections from '~/../../spec/common-client-libs-sections.json' -import typeSpec from '~/../../spec/enrichments/tsdoc_v2/combined.json' -import spec from '~/../../spec/supabase_swift_v2.yml' assert { type: 'yml' } +import clientLibsCommonSections from '~/spec/common-client-libs-sections.json' +import typeSpec from '~/spec/enrichments/tsdoc_v2/combined.json' +import spec from '~/spec/supabase_swift_v2.yml' assert { type: 'yml' } import RefSectionHandler from '~/components/reference/RefSectionHandler' import { flattenSections } from '~/lib/helpers' import handleRefGetStaticPaths from '~/lib/mdx/handleRefStaticPaths' diff --git a/apps/docs/public/sitemap.xml b/apps/docs/public/sitemap.xml index e795f7a053..e897a0e9bc 100644 --- a/apps/docs/public/sitemap.xml +++ b/apps/docs/public/sitemap.xml @@ -187,7 +187,7 @@ - https://supabase.com/docs/guides/api/joins-and-nesting + https://supabase.com/docs/guides/api/data-apis weekly 0.5 @@ -234,6 +234,18 @@ 0.5 + + https://supabase.com/docs/guides/auth/auth-hooks + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/auth-identity-linking + weekly + 0.5 + + https://supabase.com/docs/guides/auth/auth-mfa weekly @@ -252,6 +264,12 @@ 0.5 + + https://supabase.com/docs/guides/auth/auth-user-management + weekly + 0.5 + + https://supabase.com/docs/guides/auth/enterprise-sso weekly @@ -282,6 +300,12 @@ 0.5 + + https://supabase.com/docs/guides/auth/passwords + weekly + 0.5 + + https://supabase.com/docs/guides/auth/phone-login weekly @@ -312,48 +336,6 @@ 0.5 - - https://supabase.com/docs/guides/cli/customizing-email-templates - weekly - 0.5 - - - - https://supabase.com/docs/guides/cli/getting-started - weekly - 0.5 - - - - https://supabase.com/docs/guides/cli/local-development - weekly - 0.5 - - - - https://supabase.com/docs/guides/cli/managing-config - weekly - 0.5 - - - - https://supabase.com/docs/guides/cli/managing-environments - weekly - 0.5 - - - - https://supabase.com/docs/guides/cli/seeding-your-database - weekly - 0.5 - - - - https://supabase.com/docs/guides/cli/testing-and-linting - weekly - 0.5 - - https://supabase.com/docs/guides/database/arrays weekly @@ -366,6 +348,12 @@ 0.5 + + https://supabase.com/docs/guides/database/debugging-performance + weekly + 0.5 + + https://supabase.com/docs/guides/database/extensions weekly @@ -384,6 +372,12 @@ 0.5 + + https://supabase.com/docs/guides/database/import-data + weekly + 0.5 + + https://supabase.com/docs/guides/database/inspect weekly @@ -391,13 +385,13 @@ - https://supabase.com/docs/guides/database/json + https://supabase.com/docs/guides/database/joins-and-nesting weekly 0.5 - https://supabase.com/docs/guides/database/large-datasets + https://supabase.com/docs/guides/database/json weekly 0.5 @@ -438,6 +432,12 @@ 0.5 + + https://supabase.com/docs/guides/database/secure-data + weekly + 0.5 + + https://supabase.com/docs/guides/database/sql-to-api weekly @@ -576,6 +576,48 @@ 0.5 + + https://supabase.com/docs/guides/cli/customizing-email-templates + weekly + 0.5 + + + + https://supabase.com/docs/guides/cli/getting-started + weekly + 0.5 + + + + https://supabase.com/docs/guides/cli/local-development + weekly + 0.5 + + + + https://supabase.com/docs/guides/cli/managing-config + weekly + 0.5 + + + + https://supabase.com/docs/guides/cli/managing-environments + weekly + 0.5 + + + + https://supabase.com/docs/guides/cli/seeding-your-database + weekly + 0.5 + + + + https://supabase.com/docs/guides/cli/testing-and-linting + weekly + 0.5 + + https://supabase.com/docs/guides/platform/access-control weekly @@ -642,6 +684,12 @@ 0.5 + + https://supabase.com/docs/guides/platform/fly-postgres + weekly + 0.5 + + https://supabase.com/docs/guides/platform/going-into-prod weekly @@ -720,6 +768,12 @@ 0.5 + + https://supabase.com/docs/guides/platform/read-replicas + weekly + 0.5 + + https://supabase.com/docs/guides/platform/shared-responsibility-model weekly @@ -864,12 +918,6 @@ 0.5 - - https://supabase.com/docs/guides/ai/integrations/llamaindex - weekly - 0.5 - - https://supabase.com/docs/guides/ai/examples/building-chatgpt-plugins weekly @@ -907,13 +955,13 @@ - https://supabase.com/docs/guides/ai/vector-indexes/hnsw-indexes + https://supabase.com/docs/guides/ai/integrations/llamaindex weekly 0.5 - https://supabase.com/docs/guides/ai/vector-indexes/ivf-indexes + https://supabase.com/docs/guides/ai/integrations/roboflow weekly 0.5 @@ -942,6 +990,18 @@ 0.5 + + https://supabase.com/docs/guides/ai/vector-indexes/hnsw-indexes + weekly + 0.5 + + + + https://supabase.com/docs/guides/ai/vector-indexes/ivf-indexes + weekly + 0.5 + + https://supabase.com/docs/guides/api/rest/auto-generated-docs weekly @@ -954,72 +1014,18 @@ 0.5 - - https://supabase.com/docs/guides/api/rest/debugging-performance - weekly - 0.5 - - https://supabase.com/docs/guides/api/rest/generating-types weekly 0.5 - - https://supabase.com/docs/guides/auth/auth-helpers/auth-ui - weekly - 0.5 - - - - https://supabase.com/docs/guides/auth/auth-helpers/flutter-auth-ui - weekly - 0.5 - - - - https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages - weekly - 0.5 - - - - https://supabase.com/docs/guides/auth/auth-helpers/nextjs - weekly - 0.5 - - - - https://supabase.com/docs/guides/auth/auth-helpers/remix - weekly - 0.5 - - - - https://supabase.com/docs/guides/auth/auth-helpers/sveltekit - weekly - 0.5 - - https://supabase.com/docs/guides/auth/concepts/redirect-urls weekly 0.5 - - https://supabase.com/docs/guides/auth/passwordless-login/auth-email-otp - weekly - 0.5 - - - - https://supabase.com/docs/guides/auth/passwordless-login/auth-magic-link - weekly - 0.5 - - https://supabase.com/docs/guides/auth/phone-login/messagebird weekly @@ -1088,12 +1094,6 @@ 0.5 - - https://supabase.com/docs/guides/auth/sso/auth-sso-saml - weekly - 0.5 - - https://supabase.com/docs/guides/auth/social-login/auth-apple weekly @@ -1208,6 +1208,108 @@ 0.5 + + https://supabase.com/docs/guides/auth/sso/auth-sso-saml + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/auth-helpers/auth-ui + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/auth-helpers/flutter-auth-ui + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/auth-helpers/nextjs-pages + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/auth-helpers/nextjs + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/auth-helpers/remix + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/auth-helpers/sveltekit + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/cascade-deletes + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/configuration + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/dropping-all-tables-in-schema + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/enums + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/first-row-in-group + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/indexes + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/roles + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/row-level-security + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/triggers + weekly + 0.5 + + + + https://supabase.com/docs/guides/database/postgres/which-version-of-postgres + weekly + 0.5 + + https://supabase.com/docs/guides/database/extensions/http weekly @@ -1358,66 +1460,6 @@ 0.5 - - https://supabase.com/docs/guides/database/postgres/cascade-deletes - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/configuration - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/dropping-all-tables-in-schema - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/enums - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/first-row-in-group - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/indexes - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/roles - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/row-level-security - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/triggers - weekly - 0.5 - - - - https://supabase.com/docs/guides/database/postgres/which-version-of-postgres - weekly - 0.5 - - https://supabase.com/docs/guides/getting-started/quickstarts/flutter weekly @@ -1688,12 +1730,6 @@ 0.5 - - https://supabase.com/docs/guides/self-hosting/analytics/config - weekly - 0.5 - - https://supabase.com/docs/guides/resources/migrating-to-supabase/amazon-rds weekly @@ -1748,6 +1784,12 @@ 0.5 + + https://supabase.com/docs/guides/self-hosting/analytics/config + weekly + 0.5 + + https://supabase.com/docs/guides/self-hosting/auth/config weekly @@ -1760,6 +1802,18 @@ 0.5 + + https://supabase.com/docs/guides/auth/passwordless-login/auth-email-otp + weekly + 0.5 + + + + https://supabase.com/docs/guides/auth/passwordless-login/auth-magic-link + weekly + 0.5 + + https://supabase.com/docs/guides/self-hosting/storage/config weekly @@ -1808,6 +1862,12 @@ 0.5 + + https://supabase.com/docs/guides/storage/production/scaling + weekly + 0.5 + + https://supabase.com/docs/guides/storage/schema/design weekly @@ -1820,12 +1880,6 @@ 0.5 - - https://supabase.com/docs/guides/storage/production/scaling - weekly - 0.5 - - https://supabase.com/docs/guides/storage/security/access-control weekly @@ -1886,6 +1940,12 @@ 0.5 + + https://supabase.com/docs/reference/javascript/auth-onauthstatechange + weekly + 0.5 + + https://supabase.com/docs/reference/javascript/auth-signinwithpassword weekly @@ -1946,6 +2006,24 @@ 0.5 + + https://supabase.com/docs/reference/javascript/auth-getuseridentities + weekly + 0.5 + + + + https://supabase.com/docs/reference/javascript/auth-linkidentity + weekly + 0.5 + + + + https://supabase.com/docs/reference/javascript/auth-unlinkidentity + weekly + 0.5 + + https://supabase.com/docs/reference/javascript/auth-reauthentication weekly @@ -1970,12 +2048,6 @@ 0.5 - - https://supabase.com/docs/reference/javascript/auth-onauthstatechange - weekly - 0.5 - - https://supabase.com/docs/reference/javascript/auth-exchangecodeforsession weekly @@ -2507,7 +2579,7 @@ - https://supabase.com/docs/reference/dart/sign-in-with-apple + https://supabase.com/docs/reference/dart/auth-signinwithidtoken weekly 0.5 @@ -4204,6 +4276,18 @@ 0.5 + + https://supabase.com/docs/reference/kotlin/using-modifiers + weekly + 0.5 + + + + https://supabase.com/docs/reference/kotlin/db-modifiers-select + weekly + 0.5 + + https://supabase.com/docs/reference/kotlin/order weekly @@ -4222,6 +4306,24 @@ 0.5 + + https://supabase.com/docs/reference/kotlin/single + weekly + 0.5 + + + + https://supabase.com/docs/reference/kotlin/db-csv + weekly + 0.5 + + + + https://supabase.com/docs/reference/kotlin/explain + weekly + 0.5 + + https://supabase.com/docs/reference/kotlin/auth-api weekly @@ -4300,6 +4402,24 @@ 0.5 + + https://supabase.com/docs/reference/kotlin/auth-getuseridentities + weekly + 0.5 + + + + https://supabase.com/docs/reference/kotlin/auth-linkidentity + weekly + 0.5 + + + + https://supabase.com/docs/reference/kotlin/auth-unlinkidentity + weekly + 0.5 + + https://supabase.com/docs/reference/kotlin/auth-setsession weekly diff --git a/apps/docs/scripts/search/sources/index.ts b/apps/docs/scripts/search/sources/index.ts index 7a282a8eba..605120453c 100644 --- a/apps/docs/scripts/search/sources/index.ts +++ b/apps/docs/scripts/search/sources/index.ts @@ -31,64 +31,64 @@ export async function fetchSources() { 'api', '/reference/api', { title: 'Management API Reference' }, - '../../spec/transforms/api_v0_openapi_deparsed.json', - '../../spec/common-api-sections.json' + 'spec/transforms/api_v0_openapi_deparsed.json', + 'spec/common-api-sections.json' ).load() const jsLibReferenceSource = new ClientLibReferenceLoader( 'js-lib', '/reference/javascript', { title: 'JavaScript Reference' }, - '../../spec/supabase_js_v2.yml', - '../../spec/common-client-libs-sections.json' + 'spec/supabase_js_v2.yml', + 'spec/common-client-libs-sections.json' ).load() const dartLibReferenceSource = new ClientLibReferenceLoader( 'dart-lib', '/reference/dart', { title: 'Dart Reference' }, - '../../spec/supabase_dart_v2.yml', - '../../spec/common-client-libs-sections.json' + 'spec/supabase_dart_v2.yml', + 'spec/common-client-libs-sections.json' ).load() const pythonLibReferenceSource = new ClientLibReferenceLoader( 'python-lib', '/reference/python', { title: 'Python Reference' }, - '../../spec/supabase_py_v2.yml', - '../../spec/common-client-libs-sections.json' + 'spec/supabase_py_v2.yml', + 'spec/common-client-libs-sections.json' ).load() const cSharpLibReferenceSource = new ClientLibReferenceLoader( 'csharp-lib', '/reference/csharp', { title: 'C# Reference' }, - '../../spec/supabase_csharp_v0.yml', - '../../spec/common-client-libs-sections.json' + 'spec/supabase_csharp_v0.yml', + 'spec/common-client-libs-sections.json' ).load() const swiftLibReferenceSource = new ClientLibReferenceLoader( 'swift-lib', '/reference/swift', { title: 'Swift Reference' }, - '../../spec/supabase_swift_v2.yml', - '../../spec/common-client-libs-sections.json' + 'spec/supabase_swift_v2.yml', + 'spec/common-client-libs-sections.json' ).load() const ktLibReferenceSource = new ClientLibReferenceLoader( 'kt-lib', '/reference/kotlin', { title: 'Kotlin Reference' }, - '../../spec/supabase_kt_v1.yml', - '../../spec/common-client-libs-sections.json' + 'spec/supabase_kt_v1.yml', + 'spec/common-client-libs-sections.json' ).load() const cliReferenceSource = new CliReferenceLoader( 'cli', '/reference/cli', { title: 'CLI Reference' }, - '../../spec/cli_v1_commands.yaml', - '../../spec/common-cli-sections.json' + 'spec/cli_v1_commands.yaml', + 'spec/common-cli-sections.json' ).load() const guideSources = (await walk('pages')) diff --git a/spec/Makefile b/apps/docs/spec/Makefile similarity index 100% rename from spec/Makefile rename to apps/docs/spec/Makefile diff --git a/spec/README.md b/apps/docs/spec/README.md similarity index 100% rename from spec/README.md rename to apps/docs/spec/README.md diff --git a/spec/analytics_v0_config.yaml b/apps/docs/spec/analytics_v0_config.yaml similarity index 100% rename from spec/analytics_v0_config.yaml rename to apps/docs/spec/analytics_v0_config.yaml diff --git a/spec/analytics_v0_openapi.json b/apps/docs/spec/analytics_v0_openapi.json similarity index 100% rename from spec/analytics_v0_openapi.json rename to apps/docs/spec/analytics_v0_openapi.json diff --git a/spec/api_v0_openapi.json b/apps/docs/spec/api_v0_openapi.json similarity index 100% rename from spec/api_v0_openapi.json rename to apps/docs/spec/api_v0_openapi.json diff --git a/spec/auth_v1_openapi.json b/apps/docs/spec/auth_v1_openapi.json similarity index 100% rename from spec/auth_v1_openapi.json rename to apps/docs/spec/auth_v1_openapi.json diff --git a/spec/cli_v1_commands--old.yaml b/apps/docs/spec/cli_v1_commands--old.yaml similarity index 100% rename from spec/cli_v1_commands--old.yaml rename to apps/docs/spec/cli_v1_commands--old.yaml diff --git a/spec/cli_v1_commands.yaml b/apps/docs/spec/cli_v1_commands.yaml similarity index 100% rename from spec/cli_v1_commands.yaml rename to apps/docs/spec/cli_v1_commands.yaml diff --git a/spec/cli_v1_config.yaml b/apps/docs/spec/cli_v1_config.yaml similarity index 100% rename from spec/cli_v1_config.yaml rename to apps/docs/spec/cli_v1_config.yaml diff --git a/spec/client-libs-common.yml b/apps/docs/spec/client-libs-common.yml similarity index 100% rename from spec/client-libs-common.yml rename to apps/docs/spec/client-libs-common.yml diff --git a/spec/common-api-sections.json b/apps/docs/spec/common-api-sections.json similarity index 100% rename from spec/common-api-sections.json rename to apps/docs/spec/common-api-sections.json diff --git a/spec/common-cli-sections.json b/apps/docs/spec/common-cli-sections.json similarity index 100% rename from spec/common-cli-sections.json rename to apps/docs/spec/common-cli-sections.json diff --git a/spec/common-cli.yml b/apps/docs/spec/common-cli.yml similarity index 100% rename from spec/common-cli.yml rename to apps/docs/spec/common-cli.yml diff --git a/spec/common-client-libs-sections.json b/apps/docs/spec/common-client-libs-sections.json similarity index 100% rename from spec/common-client-libs-sections.json rename to apps/docs/spec/common-client-libs-sections.json diff --git a/spec/common-self-hosting-analytics-sections.json b/apps/docs/spec/common-self-hosting-analytics-sections.json similarity index 100% rename from spec/common-self-hosting-analytics-sections.json rename to apps/docs/spec/common-self-hosting-analytics-sections.json diff --git a/spec/common-self-hosting-auth-sections.json b/apps/docs/spec/common-self-hosting-auth-sections.json similarity index 100% rename from spec/common-self-hosting-auth-sections.json rename to apps/docs/spec/common-self-hosting-auth-sections.json diff --git a/spec/common-self-hosting-functions-sections.json b/apps/docs/spec/common-self-hosting-functions-sections.json similarity index 100% rename from spec/common-self-hosting-functions-sections.json rename to apps/docs/spec/common-self-hosting-functions-sections.json diff --git a/spec/common-self-hosting-realtime-sections.json b/apps/docs/spec/common-self-hosting-realtime-sections.json similarity index 100% rename from spec/common-self-hosting-realtime-sections.json rename to apps/docs/spec/common-self-hosting-realtime-sections.json diff --git a/spec/common-self-hosting-storage-sections.json b/apps/docs/spec/common-self-hosting-storage-sections.json similarity index 100% rename from spec/common-self-hosting-storage-sections.json rename to apps/docs/spec/common-self-hosting-storage-sections.json diff --git a/spec/enrichments/tsdoc_v1/combined.json b/apps/docs/spec/enrichments/tsdoc_v1/combined.json similarity index 100% rename from spec/enrichments/tsdoc_v1/combined.json rename to apps/docs/spec/enrichments/tsdoc_v1/combined.json diff --git a/spec/enrichments/tsdoc_v1/functions.json b/apps/docs/spec/enrichments/tsdoc_v1/functions.json similarity index 100% rename from spec/enrichments/tsdoc_v1/functions.json rename to apps/docs/spec/enrichments/tsdoc_v1/functions.json diff --git a/spec/enrichments/tsdoc_v1/functions_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v1/functions_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v1/functions_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v1/functions_dereferenced.json diff --git a/spec/enrichments/tsdoc_v1/gotrue.json b/apps/docs/spec/enrichments/tsdoc_v1/gotrue.json similarity index 100% rename from spec/enrichments/tsdoc_v1/gotrue.json rename to apps/docs/spec/enrichments/tsdoc_v1/gotrue.json diff --git a/spec/enrichments/tsdoc_v1/gotrue_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v1/gotrue_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v1/gotrue_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v1/gotrue_dereferenced.json diff --git a/spec/enrichments/tsdoc_v1/postgrest.json b/apps/docs/spec/enrichments/tsdoc_v1/postgrest.json similarity index 100% rename from spec/enrichments/tsdoc_v1/postgrest.json rename to apps/docs/spec/enrichments/tsdoc_v1/postgrest.json diff --git a/spec/enrichments/tsdoc_v1/postgrest_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v1/postgrest_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v1/postgrest_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v1/postgrest_dereferenced.json diff --git a/spec/enrichments/tsdoc_v1/realtime.json b/apps/docs/spec/enrichments/tsdoc_v1/realtime.json similarity index 100% rename from spec/enrichments/tsdoc_v1/realtime.json rename to apps/docs/spec/enrichments/tsdoc_v1/realtime.json diff --git a/spec/enrichments/tsdoc_v1/realtime_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v1/realtime_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v1/realtime_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v1/realtime_dereferenced.json diff --git a/spec/enrichments/tsdoc_v1/storage.json b/apps/docs/spec/enrichments/tsdoc_v1/storage.json similarity index 100% rename from spec/enrichments/tsdoc_v1/storage.json rename to apps/docs/spec/enrichments/tsdoc_v1/storage.json diff --git a/spec/enrichments/tsdoc_v1/storage_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v1/storage_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v1/storage_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v1/storage_dereferenced.json diff --git a/spec/enrichments/tsdoc_v1/supabase.json b/apps/docs/spec/enrichments/tsdoc_v1/supabase.json similarity index 100% rename from spec/enrichments/tsdoc_v1/supabase.json rename to apps/docs/spec/enrichments/tsdoc_v1/supabase.json diff --git a/spec/enrichments/tsdoc_v1/supabase_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v1/supabase_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v1/supabase_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v1/supabase_dereferenced.json diff --git a/spec/enrichments/tsdoc_v2/combined.json b/apps/docs/spec/enrichments/tsdoc_v2/combined.json similarity index 100% rename from spec/enrichments/tsdoc_v2/combined.json rename to apps/docs/spec/enrichments/tsdoc_v2/combined.json diff --git a/spec/enrichments/tsdoc_v2/combined_raw.json b/apps/docs/spec/enrichments/tsdoc_v2/combined_raw.json similarity index 100% rename from spec/enrichments/tsdoc_v2/combined_raw.json rename to apps/docs/spec/enrichments/tsdoc_v2/combined_raw.json diff --git a/spec/enrichments/tsdoc_v2/functions.json b/apps/docs/spec/enrichments/tsdoc_v2/functions.json similarity index 100% rename from spec/enrichments/tsdoc_v2/functions.json rename to apps/docs/spec/enrichments/tsdoc_v2/functions.json diff --git a/spec/enrichments/tsdoc_v2/functions_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/functions_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v2/functions_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v2/functions_dereferenced.json diff --git a/spec/enrichments/tsdoc_v2/gotrue.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue.json similarity index 100% rename from spec/enrichments/tsdoc_v2/gotrue.json rename to apps/docs/spec/enrichments/tsdoc_v2/gotrue.json diff --git a/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v2/gotrue_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v2/gotrue_dereferenced.json diff --git a/spec/enrichments/tsdoc_v2/postgrest.json b/apps/docs/spec/enrichments/tsdoc_v2/postgrest.json similarity index 100% rename from spec/enrichments/tsdoc_v2/postgrest.json rename to apps/docs/spec/enrichments/tsdoc_v2/postgrest.json diff --git a/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v2/postgrest_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v2/postgrest_dereferenced.json diff --git a/spec/enrichments/tsdoc_v2/realtime.json b/apps/docs/spec/enrichments/tsdoc_v2/realtime.json similarity index 100% rename from spec/enrichments/tsdoc_v2/realtime.json rename to apps/docs/spec/enrichments/tsdoc_v2/realtime.json diff --git a/spec/enrichments/tsdoc_v2/realtime_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/realtime_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v2/realtime_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v2/realtime_dereferenced.json diff --git a/spec/enrichments/tsdoc_v2/storage.json b/apps/docs/spec/enrichments/tsdoc_v2/storage.json similarity index 100% rename from spec/enrichments/tsdoc_v2/storage.json rename to apps/docs/spec/enrichments/tsdoc_v2/storage.json diff --git a/spec/enrichments/tsdoc_v2/storage_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/storage_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v2/storage_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v2/storage_dereferenced.json diff --git a/spec/enrichments/tsdoc_v2/supabase.json b/apps/docs/spec/enrichments/tsdoc_v2/supabase.json similarity index 100% rename from spec/enrichments/tsdoc_v2/supabase.json rename to apps/docs/spec/enrichments/tsdoc_v2/supabase.json diff --git a/spec/enrichments/tsdoc_v2/supabase_dereferenced.json b/apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json similarity index 100% rename from spec/enrichments/tsdoc_v2/supabase_dereferenced.json rename to apps/docs/spec/enrichments/tsdoc_v2/supabase_dereferenced.json diff --git a/spec/examples/examples.yml b/apps/docs/spec/examples/examples.yml similarity index 100% rename from spec/examples/examples.yml rename to apps/docs/spec/examples/examples.yml diff --git a/spec/functions_v0_config.yaml b/apps/docs/spec/functions_v0_config.yaml similarity index 100% rename from spec/functions_v0_config.yaml rename to apps/docs/spec/functions_v0_config.yaml diff --git a/spec/functions_v0_openapi.json b/apps/docs/spec/functions_v0_openapi.json similarity index 100% rename from spec/functions_v0_openapi.json rename to apps/docs/spec/functions_v0_openapi.json diff --git a/spec/gotrue_v1_config.yaml b/apps/docs/spec/gotrue_v1_config.yaml similarity index 100% rename from spec/gotrue_v1_config.yaml rename to apps/docs/spec/gotrue_v1_config.yaml diff --git a/spec/parser/helpers.ts b/apps/docs/spec/parser/helpers.ts similarity index 100% rename from spec/parser/helpers.ts rename to apps/docs/spec/parser/helpers.ts diff --git a/spec/parser/package-lock.json b/apps/docs/spec/parser/package-lock.json similarity index 100% rename from spec/parser/package-lock.json rename to apps/docs/spec/parser/package-lock.json diff --git a/spec/parser/package.json b/apps/docs/spec/parser/package.json similarity index 96% rename from spec/parser/package.json rename to apps/docs/spec/parser/package.json index fb99d9dbf0..a0952b3c85 100644 --- a/spec/parser/package.json +++ b/apps/docs/spec/parser/package.json @@ -22,11 +22,11 @@ "devDependencies": { "@apidevtools/swagger-cli": "^4.0.4", "@types/json-stringify-safe": "^5.0.0", - "@types/lodash": "^4.14.185", + "@types/lodash": "^4.14.202", "json-stringify-safe": "^5.0.1", "lodash": "^4.17.21", - "prettier": "^2.7.1", - "tsx": "^3.14.0" + "prettier": "^2.8.8", + "tsx": "^4.7.0" }, "prettier": { "semi": false, diff --git a/spec/parser/tsconfig.json b/apps/docs/spec/parser/tsconfig.json similarity index 100% rename from spec/parser/tsconfig.json rename to apps/docs/spec/parser/tsconfig.json diff --git a/spec/parser/tsdoc.ts b/apps/docs/spec/parser/tsdoc.ts similarity index 100% rename from spec/parser/tsdoc.ts rename to apps/docs/spec/parser/tsdoc.ts diff --git a/spec/realtime_v0_config.yaml b/apps/docs/spec/realtime_v0_config.yaml similarity index 100% rename from spec/realtime_v0_config.yaml rename to apps/docs/spec/realtime_v0_config.yaml diff --git a/spec/storage_v0_config.yaml b/apps/docs/spec/storage_v0_config.yaml similarity index 100% rename from spec/storage_v0_config.yaml rename to apps/docs/spec/storage_v0_config.yaml diff --git a/spec/storage_v0_openapi.json b/apps/docs/spec/storage_v0_openapi.json similarity index 100% rename from spec/storage_v0_openapi.json rename to apps/docs/spec/storage_v0_openapi.json diff --git a/spec/supabase_csharp_v0.yml b/apps/docs/spec/supabase_csharp_v0.yml similarity index 99% rename from spec/supabase_csharp_v0.yml rename to apps/docs/spec/supabase_csharp_v0.yml index 51055d4964..d9bb738f9d 100644 --- a/spec/supabase_csharp_v0.yml +++ b/apps/docs/spec/supabase_csharp_v0.yml @@ -7,9 +7,9 @@ info: Supabase C#. - definition: ../../spec/enrichments/tsdoc_v2/combined.json + definition: spec/enrichments/tsdoc_v2/combined.json slugPrefix: '/' - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_csharp_v0.yml + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_csharp_v0.yml libraries: - name: 'C#' id: 'csharp' diff --git a/spec/supabase_dart_v1.yml b/apps/docs/spec/supabase_dart_v1.yml similarity index 99% rename from spec/supabase_dart_v1.yml rename to apps/docs/spec/supabase_dart_v1.yml index f59c14562b..ff5861f284 100644 --- a/spec/supabase_dart_v1.yml +++ b/apps/docs/spec/supabase_dart_v1.yml @@ -7,9 +7,9 @@ info: Supabase Dart. - definition: ../../spec/enrichments/tsdoc_v2/combined.json + definition: spec/enrichments/tsdoc_v2/combined.json slugPrefix: '/' - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v1.yml + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_dart_v1.yml libraries: - name: 'Dart' id: 'dart' diff --git a/spec/supabase_dart_v2.yml b/apps/docs/spec/supabase_dart_v2.yml similarity index 99% rename from spec/supabase_dart_v2.yml rename to apps/docs/spec/supabase_dart_v2.yml index cb5152b431..c6cd6b8459 100644 --- a/spec/supabase_dart_v2.yml +++ b/apps/docs/spec/supabase_dart_v2.yml @@ -7,9 +7,9 @@ info: Supabase Dart. - definition: ../../spec/enrichments/tsdoc_v2/combined.json + definition: spec/enrichments/tsdoc_v2/combined.json slugPrefix: '/' - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_dart_v2.yml + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_dart_v2.yml libraries: - name: 'Dart' id: 'dart' diff --git a/spec/supabase_js_v1.yml b/apps/docs/spec/supabase_js_v1.yml similarity index 99% rename from spec/supabase_js_v1.yml rename to apps/docs/spec/supabase_js_v1.yml index 4a702066e1..c5fde1392a 100644 --- a/spec/supabase_js_v1.yml +++ b/apps/docs/spec/supabase_js_v1.yml @@ -7,8 +7,8 @@ info: Supabase JavaScript. - definition: ../../spec/enrichments/tsdoc_v1/combined.json - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_js_v1.yml + definition: spec/enrichments/tsdoc_v1/combined.json + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_js_v1.yml slugPrefix: '/' libraries: - id: 'js' diff --git a/spec/supabase_js_v2.yml b/apps/docs/spec/supabase_js_v2.yml similarity index 99% rename from spec/supabase_js_v2.yml rename to apps/docs/spec/supabase_js_v2.yml index b1261acd24..b830db4647 100644 --- a/spec/supabase_js_v2.yml +++ b/apps/docs/spec/supabase_js_v2.yml @@ -7,8 +7,8 @@ info: Supabase JavaScript. - definition: ../../spec/enrichments/tsdoc_v2/combined.json - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_js_v2.yml + definition: spec/enrichments/tsdoc_v2/combined.json + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_js_v2.yml slugPrefix: '/' libraries: - id: 'JavaScript' diff --git a/spec/supabase_kt_v1.yml b/apps/docs/spec/supabase_kt_v1.yml similarity index 99% rename from spec/supabase_kt_v1.yml rename to apps/docs/spec/supabase_kt_v1.yml index 352ed41ccc..93a8017c7d 100644 --- a/spec/supabase_kt_v1.yml +++ b/apps/docs/spec/supabase_kt_v1.yml @@ -7,7 +7,7 @@ info: Supabase Kotlin. - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_kt_v1.yml + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_kt_v1.yml slugPrefix: '/' libraries: - name: 'Kotlin' diff --git a/spec/supabase_kt_v2.yml b/apps/docs/spec/supabase_kt_v2.yml similarity index 99% rename from spec/supabase_kt_v2.yml rename to apps/docs/spec/supabase_kt_v2.yml index fa3032605d..71696e1560 100644 --- a/spec/supabase_kt_v2.yml +++ b/apps/docs/spec/supabase_kt_v2.yml @@ -7,7 +7,7 @@ info: Supabase Kotlin. - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_kt_v2.yml + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_kt_v2.yml slugPrefix: '/' libraries: - name: 'Kotlin' diff --git a/spec/supabase_py_v2.yml b/apps/docs/spec/supabase_py_v2.yml similarity index 99% rename from spec/supabase_py_v2.yml rename to apps/docs/spec/supabase_py_v2.yml index 382954b986..70c86d7344 100644 --- a/spec/supabase_py_v2.yml +++ b/apps/docs/spec/supabase_py_v2.yml @@ -7,8 +7,8 @@ info: Supabase Python(Community). - definition: ../../spec/enrichments/tsdoc_v2/combined.json - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_py_v2.yml + definition: spec/enrichments/tsdoc_v2/combined.json + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_py_v2.yml slugPrefix: '/' libraries: - name: 'Python' diff --git a/spec/supabase_swift_v1.yml b/apps/docs/spec/supabase_swift_v1.yml similarity index 99% rename from spec/supabase_swift_v1.yml rename to apps/docs/spec/supabase_swift_v1.yml index 88d60d8da8..0f86524671 100644 --- a/spec/supabase_swift_v1.yml +++ b/apps/docs/spec/supabase_swift_v1.yml @@ -7,7 +7,7 @@ info: Supabase Swift. - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_swift_v1.yml + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_swift_v1.yml slugPrefix: "/" libraries: - id: "Swift" diff --git a/spec/supabase_swift_v2.yml b/apps/docs/spec/supabase_swift_v2.yml similarity index 99% rename from spec/supabase_swift_v2.yml rename to apps/docs/spec/supabase_swift_v2.yml index 944bec29d7..8fd5950d21 100644 --- a/spec/supabase_swift_v2.yml +++ b/apps/docs/spec/supabase_swift_v2.yml @@ -7,7 +7,7 @@ info: Supabase Swift. - specUrl: https://github.com/supabase/supabase/edit/master/spec/supabase_swift_v2.yml + specUrl: https://github.com/supabase/supabase/edit/master/apps/docs/spec/supabase_swift_v2.yml slugPrefix: "/" libraries: - id: "Swift" diff --git a/spec/transforms/analytics_v0_openapi_deparsed.json b/apps/docs/spec/transforms/analytics_v0_openapi_deparsed.json similarity index 100% rename from spec/transforms/analytics_v0_openapi_deparsed.json rename to apps/docs/spec/transforms/analytics_v0_openapi_deparsed.json diff --git a/spec/transforms/api_v0_openapi_deparsed.json b/apps/docs/spec/transforms/api_v0_openapi_deparsed.json similarity index 100% rename from spec/transforms/api_v0_openapi_deparsed.json rename to apps/docs/spec/transforms/api_v0_openapi_deparsed.json diff --git a/spec/transforms/auth_v1_openapi_deparsed.json b/apps/docs/spec/transforms/auth_v1_openapi_deparsed.json similarity index 100% rename from spec/transforms/auth_v1_openapi_deparsed.json rename to apps/docs/spec/transforms/auth_v1_openapi_deparsed.json diff --git a/spec/transforms/functions_v0_openapi_deparsed.json b/apps/docs/spec/transforms/functions_v0_openapi_deparsed.json similarity index 100% rename from spec/transforms/functions_v0_openapi_deparsed.json rename to apps/docs/spec/transforms/functions_v0_openapi_deparsed.json diff --git a/spec/transforms/storage_v0_openapi_deparsed.json b/apps/docs/spec/transforms/storage_v0_openapi_deparsed.json similarity index 100% rename from spec/transforms/storage_v0_openapi_deparsed.json rename to apps/docs/spec/transforms/storage_v0_openapi_deparsed.json diff --git a/package-lock.json b/package-lock.json index 6fca131ab6..61dc76c808 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,6 +10,7 @@ "license": "Apache-2.0", "workspaces": [ "apps/*", + "apps/docs/spec/parser", "tests", "packages/*" ], @@ -702,6 +703,20 @@ } } }, + "apps/docs/spec/parser": { + "name": "@supabase/generator", + "version": "0.0.0", + "license": "MIT", + "devDependencies": { + "@apidevtools/swagger-cli": "^4.0.4", + "@types/json-stringify-safe": "^5.0.0", + "@types/lodash": "^4.14.202", + "json-stringify-safe": "^5.0.1", + "lodash": "^4.17.21", + "prettier": "^2.8.8", + "tsx": "^4.7.0" + } + }, "apps/studio": { "version": "0.0.9", "dependencies": { @@ -1251,6 +1266,295 @@ "node": ">=6.0.0" } }, + "node_modules/@apidevtools/json-schema-ref-parser": { + "version": "9.0.6", + "resolved": "https://registry.npmjs.org/@apidevtools/json-schema-ref-parser/-/json-schema-ref-parser-9.0.6.tgz", + "integrity": "sha512-M3YgsLjI0lZxvrpeGVk9Ap032W6TPQkH6pRAZz81Ac3WUNF79VQooAFnp8umjvVzUmD93NkogxEwbSce7qMsUg==", + "dev": true, + "dependencies": { + "@jsdevtools/ono": "^7.1.3", + "call-me-maybe": "^1.0.1", + "js-yaml": "^3.13.1" + } + }, + "node_modules/@apidevtools/openapi-schemas": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/openapi-schemas/-/openapi-schemas-2.1.0.tgz", + "integrity": "sha512-Zc1AlqrJlX3SlpupFGpiLi2EbteyP7fXmUOGup6/DnkRgjP9bgMM/ag+n91rsv0U1Gpz0H3VILA/o3bW7Ua6BQ==", + "dev": true, + "engines": { + "node": ">=10" + } + }, + "node_modules/@apidevtools/swagger-cli": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-cli/-/swagger-cli-4.0.4.tgz", + "integrity": "sha512-hdDT3B6GLVovCsRZYDi3+wMcB1HfetTU20l2DC8zD3iFRNMC6QNAZG5fo/6PYeHWBEv7ri4MvnlKodhNB0nt7g==", + "deprecated": "This package has been abandoned. Please switch to using the actively maintained @redocly/cli", + "dev": true, + "dependencies": { + "@apidevtools/swagger-parser": "^10.0.1", + "chalk": "^4.1.0", + "js-yaml": "^3.14.0", + "yargs": "^15.4.1" + }, + "bin": { + "swagger-cli": "bin/swagger-cli.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/cliui": { + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-6.0.0.tgz", + "integrity": "sha512-t6wbgtoCXvAzst7QgXxJYqPt0usEfbgQdftEPbLL/cvv6HPE5VgvqCuAIDR0NgU52ds6rFwqrgakNLrHEjCbrQ==", + "dev": true, + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.0", + "wrap-ansi": "^6.2.0" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true + }, + "node_modules/@apidevtools/swagger-cli/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/wrap-ansi": { + "version": "6.2.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-6.2.0.tgz", + "integrity": "sha512-r6lPcBGxZXlIcymEu7InxDMhdW0KDxpLgoFLcguasxCaJ/SOIZwINatK9KY/tf+ZrlywOKU0UDj3ATXUBfxJXA==", + "dev": true, + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/y18n": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-4.0.3.tgz", + "integrity": "sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==", + "dev": true + }, + "node_modules/@apidevtools/swagger-cli/node_modules/yargs": { + "version": "15.4.1", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-15.4.1.tgz", + "integrity": "sha512-aePbxDmcYW++PaqBsJ+HYUFwCdv4LVvdnhBy78E57PIor8/OVvhMrADFFEDh8DHDFRv/O9i3lPhsENjO7QX0+A==", + "dev": true, + "dependencies": { + "cliui": "^6.0.0", + "decamelize": "^1.2.0", + "find-up": "^4.1.0", + "get-caller-file": "^2.0.1", + "require-directory": "^2.1.1", + "require-main-filename": "^2.0.0", + "set-blocking": "^2.0.0", + "string-width": "^4.2.0", + "which-module": "^2.0.0", + "y18n": "^4.0.0", + "yargs-parser": "^18.1.2" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@apidevtools/swagger-cli/node_modules/yargs-parser": { + "version": "18.1.3", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-18.1.3.tgz", + "integrity": "sha512-o50j0JeToy/4K6OZcaQmW6lyXXKhq7csREXcDwk2omFPJEwUNOVtJKvmDr9EI1fAJZUyZcRF7kxGBWmRXudrCQ==", + "dev": true, + "dependencies": { + "camelcase": "^5.0.0", + "decamelize": "^1.2.0" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/@apidevtools/swagger-methods": { + "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-methods/-/swagger-methods-3.0.2.tgz", + "integrity": "sha512-QAkD5kK2b1WfjDS/UQn/qQkbwF31uqRjPTrsCs5ZG9BQGAkjwvqGFjjPqAuzac/IYzpPtRzjCP1WrTuAIjMrXg==", + "dev": true + }, + "node_modules/@apidevtools/swagger-parser": { + "version": "10.1.0", + "resolved": "https://registry.npmjs.org/@apidevtools/swagger-parser/-/swagger-parser-10.1.0.tgz", + "integrity": "sha512-9Kt7EuS/7WbMAUv2gSziqjvxwDbFSg3Xeyfuj5laUODX8o/k/CpsAKiQ8W7/R88eXFTMbJYg6+7uAmOWNKmwnw==", + "dev": true, + "dependencies": { + "@apidevtools/json-schema-ref-parser": "9.0.6", + "@apidevtools/openapi-schemas": "^2.1.0", + "@apidevtools/swagger-methods": "^3.0.2", + "@jsdevtools/ono": "^7.1.3", + "ajv": "^8.6.3", + "ajv-draft-04": "^1.0.0", + "call-me-maybe": "^1.0.1" + }, + "peerDependencies": { + "openapi-types": ">=7" + } + }, + "node_modules/@apidevtools/swagger-parser/node_modules/ajv": { + "version": "8.12.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", + "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "dev": true, + "dependencies": { + "fast-deep-equal": "^3.1.1", + "json-schema-traverse": "^1.0.0", + "require-from-string": "^2.0.2", + "uri-js": "^4.2.2" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/epoberezkin" + } + }, + "node_modules/@apidevtools/swagger-parser/node_modules/ajv-draft-04": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/ajv-draft-04/-/ajv-draft-04-1.0.0.tgz", + "integrity": "sha512-mv00Te6nmYbRp5DCwclxtt7yV/joXJPGS7nM+97GdxvuttCOfgI3K4U25zboyeX0O+myI8ERluxQe5wljMmVIw==", + "dev": true, + "peerDependencies": { + "ajv": "^8.5.0" + }, + "peerDependenciesMeta": { + "ajv": { + "optional": true + } + } + }, + "node_modules/@apidevtools/swagger-parser/node_modules/json-schema-traverse": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", + "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", + "dev": true + }, "node_modules/@aw-web-design/x-default-browser": { "version": "1.4.126", "dev": true, @@ -4034,6 +4338,70 @@ "react": ">=16.8.0" } }, + "node_modules/@esbuild/aix-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz", + "integrity": "sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "aix" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.19.11.tgz", + "integrity": "sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz", + "integrity": "sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/android-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.19.11.tgz", + "integrity": "sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@esbuild/darwin-arm64": { "version": "0.18.20", "cpu": [ @@ -4049,6 +4417,294 @@ "node": ">=12" } }, + "node_modules/@esbuild/darwin-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz", + "integrity": "sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz", + "integrity": "sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/freebsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz", + "integrity": "sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz", + "integrity": "sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz", + "integrity": "sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz", + "integrity": "sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-loong64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz", + "integrity": "sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-mips64el": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz", + "integrity": "sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-ppc64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz", + "integrity": "sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-riscv64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz", + "integrity": "sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-s390x": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz", + "integrity": "sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/linux-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz", + "integrity": "sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/netbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz", + "integrity": "sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/openbsd-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz", + "integrity": "sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/sunos-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz", + "integrity": "sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz", + "integrity": "sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-ia32": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz", + "integrity": "sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/@esbuild/win32-x64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz", + "integrity": "sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/@eslint-community/eslint-utils": { "version": "4.4.0", "license": "MIT", @@ -5072,6 +5728,12 @@ "@jridgewell/sourcemap-codec": "^1.4.14" } }, + "node_modules/@jsdevtools/ono": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/@jsdevtools/ono/-/ono-7.1.3.tgz", + "integrity": "sha512-4JQNk+3mVzK3xh2rqd6RB4J46qUR19azEHBneZyTZM+c456qOrbbM/5xcR8huNCCcbVt7+UmizG6GuUvPvKUYg==", + "dev": true + }, "node_modules/@juggle/resize-observer": { "version": "3.4.0", "dev": true, @@ -10374,6 +11036,10 @@ "@supabase/node-fetch": "^2.6.14" } }, + "node_modules/@supabase/generator": { + "resolved": "apps/docs/spec/parser", + "link": true + }, "node_modules/@supabase/gotrue-js": { "version": "2.58.0", "resolved": "https://registry.npmjs.org/@supabase/gotrue-js/-/gotrue-js-2.58.0.tgz", @@ -11424,6 +12090,12 @@ "version": "7.0.13", "license": "MIT" }, + "node_modules/@types/json-stringify-safe": { + "version": "5.0.3", + "resolved": "https://registry.npmjs.org/@types/json-stringify-safe/-/json-stringify-safe-5.0.3.tgz", + "integrity": "sha512-oNOjRxLfPeYbBSQ60maucaFNqbslVOPU4WWs5t/sHvAh6tyo/CThXSG+E24tEzkgh/fzvxyDrYdOJufgeNy1sQ==", + "dev": true + }, "node_modules/@types/json5": { "version": "0.0.29", "license": "MIT" @@ -11436,8 +12108,9 @@ } }, "node_modules/@types/lodash": { - "version": "4.14.199", - "license": "MIT" + "version": "4.14.202", + "resolved": "https://registry.npmjs.org/@types/lodash/-/lodash-4.14.202.tgz", + "integrity": "sha512-OvlIYQK9tNneDlS0VN54LLd5uiPCBOp7gS5Z0f1mjoJYBrtStzgmJBxONW3U6OZqdtNzZPmn9BS/7WI7BFFcFQ==" }, "node_modules/@types/markdown-table": { "version": "3.0.0", @@ -14080,6 +14753,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/call-me-maybe": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/call-me-maybe/-/call-me-maybe-1.0.2.tgz", + "integrity": "sha512-HpX65o1Hnr9HH25ojC1YGs7HCQLq0GCOibSaWER0eNpgJ/Z1MZv2mTc7+xh6WOPxbRVcmgbv4hGU+uSQ/2xFZQ==", + "dev": true + }, "node_modules/callsites": { "version": "3.1.0", "license": "MIT", @@ -15996,6 +16675,15 @@ } } }, + "node_modules/decamelize": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/decamelize/-/decamelize-1.2.0.tgz", + "integrity": "sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==", + "dev": true, + "engines": { + "node": ">=0.10.0" + } + }, "node_modules/decimal.js": { "version": "10.4.3", "dev": true, @@ -16934,6 +17622,342 @@ "esbuild": ">=0.12 <1" } }, + "node_modules/esbuild/node_modules/@esbuild/android-arm": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.18.20.tgz", + "integrity": "sha512-fyi7TDI/ijKKNZTUJAQqiG5T7YjJXgnzkURqmGj13C6dCqckZBLdl4h7bkhHt/t0WP+zO9/zwroDvANaOqO5Sw==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/android-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.18.20.tgz", + "integrity": "sha512-Nz4rJcchGDtENV0eMKUNa6L12zz2zBDXuhj/Vjh18zGqB44Bi7MBMSXjgunJgjRhCmKOjnPuZp4Mb6OKqtMHLQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/android-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.18.20.tgz", + "integrity": "sha512-8GDdlePJA8D6zlZYJV/jnrRAi6rOiNaCC/JclcXpB+KIuvfBN4owLtgzY2bsxnx666XjJx2kDPUmnTtR8qKQUg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/darwin-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.18.20.tgz", + "integrity": "sha512-pc5gxlMDxzm513qPGbCbDukOdsGtKhfxD1zJKXjCCcU7ju50O7MeAZ8c4krSJcOIJGFR+qx21yMMVYwiQvyTyQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/freebsd-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.18.20.tgz", + "integrity": "sha512-yqDQHy4QHevpMAaxhhIwYPMv1NECwOvIpGCZkECn8w2WFHXjEwrBn3CeNIYsibZ/iZEUemj++M26W3cNR5h+Tw==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/freebsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.18.20.tgz", + "integrity": "sha512-tgWRPPuQsd3RmBZwarGVHZQvtzfEBOreNuxEMKFcd5DaDn2PbBxfwLcj4+aenoh7ctXcbXmOQIn8HI6mCSw5MQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-arm": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.18.20.tgz", + "integrity": "sha512-/5bHkMWnq1EgKr1V+Ybz3s1hWXok7mDFUMQ4cG10AfW3wL02PSZi5kFpYKrptDsgb2WAJIvRcDm+qIvXf/apvg==", + "cpu": [ + "arm" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.18.20.tgz", + "integrity": "sha512-2YbscF+UL7SQAVIpnWvYwM+3LskyDmPhe31pE7/aoTMFKKzIc9lLbyGUpmmb8a8AixOL61sQ/mFh3jEjHYFvdA==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-ia32": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.18.20.tgz", + "integrity": "sha512-P4etWwq6IsReT0E1KHU40bOnzMHoH73aXp96Fs8TIT6z9Hu8G6+0SHSw9i2isWrD2nbx2qo5yUqACgdfVGx7TA==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-loong64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.18.20.tgz", + "integrity": "sha512-nXW8nqBTrOpDLPgPY9uV+/1DjxoQ7DoB2N8eocyq8I9XuqJ7BiAMDMf9n1xZM9TgW0J8zrquIb/A7s3BJv7rjg==", + "cpu": [ + "loong64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-mips64el": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.18.20.tgz", + "integrity": "sha512-d5NeaXZcHp8PzYy5VnXV3VSd2D328Zb+9dEq5HE6bw6+N86JVPExrA6O68OPwobntbNJ0pzCpUFZTo3w0GyetQ==", + "cpu": [ + "mips64el" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-ppc64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.18.20.tgz", + "integrity": "sha512-WHPyeScRNcmANnLQkq6AfyXRFr5D6N2sKgkFo2FqguP44Nw2eyDlbTdZwd9GYk98DZG9QItIiTlFLHJHjxP3FA==", + "cpu": [ + "ppc64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-riscv64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.18.20.tgz", + "integrity": "sha512-WSxo6h5ecI5XH34KC7w5veNnKkju3zBRLEQNY7mv5mtBmrP/MjNBCAlsM2u5hDBlS3NGcTQpoBvRzqBcRtpq1A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-s390x": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.18.20.tgz", + "integrity": "sha512-+8231GMs3mAEth6Ja1iK0a1sQ3ohfcpzpRLH8uuc5/KVDFneH6jtAJLFGafpzpMRO6DzJ6AvXKze9LfFMrIHVQ==", + "cpu": [ + "s390x" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/linux-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.18.20.tgz", + "integrity": "sha512-UYqiqemphJcNsFEskc73jQ7B9jgwjWrSayxawS6UVFZGWrAAtkzjxSqnoclCXxWtfwLdzU+vTpcNYhpn43uP1w==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/netbsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.18.20.tgz", + "integrity": "sha512-iO1c++VP6xUBUmltHZoMtCUdPlnPGdBom6IrO4gyKPFFVBKioIImVooR5I83nTew5UOYrk3gIJhbZh8X44y06A==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/openbsd-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.18.20.tgz", + "integrity": "sha512-e5e4YSsuQfX4cxcygw/UCPIEP6wbIL+se3sxPdCiMbFLBWu0eiZOJ7WoD+ptCLrmjZBK1Wk7I6D/I3NglUGOxg==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "openbsd" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/sunos-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.18.20.tgz", + "integrity": "sha512-kDbFRFp0YpTQVVrqUd5FTYmWo45zGaXe0X8E1G/LKFC0v8x0vWrhOWSLITcCn63lmZIxfOMXtCfti/RxN/0wnQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "sunos" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/win32-arm64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.18.20.tgz", + "integrity": "sha512-ddYFR6ItYgoaq4v4JmQQaAI5s7npztfV4Ag6NrhiaW0RrnOXqBkgwZLofVTlq1daVTQNhtI5oieTvkRPfZrePg==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/win32-ia32": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.18.20.tgz", + "integrity": "sha512-Wv7QBi3ID/rROT08SABTS7eV4hX26sVduqDOTe1MvGMjNd3EjOz4b7zeexIR62GTIEKrfJXKL9LFxTYgkyeu7g==", + "cpu": [ + "ia32" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/esbuild/node_modules/@esbuild/win32-x64": { + "version": "0.18.20", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.18.20.tgz", + "integrity": "sha512-kTdfRcSiDfQca/y9QIkng02avJ+NCaQvrMejlsB3RRv5sE9rRoeBPISaZpKxHELzRxZyLvNts1P27W3wV+8geQ==", + "cpu": [ + "x64" + ], + "dev": true, + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">=12" + } + }, "node_modules/escalade": { "version": "3.1.1", "license": "MIT", @@ -22840,6 +23864,12 @@ "version": "1.0.1", "license": "MIT" }, + "node_modules/json-stringify-safe": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/json-stringify-safe/-/json-stringify-safe-5.0.1.tgz", + "integrity": "sha512-ZClg6AaYvamvYEE82d3Iyd3vSSIjQ+odgjaTzRuO3s7toCdFKczob2i0zCh7JE8kWn17yvAWhUVxvqGwUalsRA==", + "dev": true + }, "node_modules/json5": { "version": "2.2.3", "dev": true, @@ -30802,6 +31832,12 @@ "node": ">=0.10.0" } }, + "node_modules/require-main-filename": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-2.0.0.tgz", + "integrity": "sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==", + "dev": true + }, "node_modules/requires-port": { "version": "1.0.0", "dev": true, @@ -33345,12 +34381,12 @@ "license": "0BSD" }, "node_modules/tsx": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.6.2.tgz", - "integrity": "sha512-QPpBdJo+ZDtqZgAnq86iY/PD2KYCUPSUGIunHdGwyII99GKH+f3z3FZ8XNFLSGQIA4I365ui8wnQpl8OKLqcsg==", + "version": "4.7.0", + "resolved": "https://registry.npmjs.org/tsx/-/tsx-4.7.0.tgz", + "integrity": "sha512-I+t79RYPlEYlHn9a+KzwrvEwhJg35h/1zHsLC2JXvhC2mdynMv6Zxzvhv5EMV6VF5qJlLlkSnMVvdZV3PSIGcg==", "dev": true, "dependencies": { - "esbuild": "~0.18.20", + "esbuild": "~0.19.10", "get-tsconfig": "^4.7.2" }, "bin": { @@ -33363,6 +34399,60 @@ "fsevents": "~2.3.3" } }, + "node_modules/tsx/node_modules/@esbuild/darwin-arm64": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz", + "integrity": "sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">=12" + } + }, + "node_modules/tsx/node_modules/esbuild": { + "version": "0.19.11", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.19.11.tgz", + "integrity": "sha512-HJ96Hev2hX/6i5cDVwcqiJBBtuo9+FeIJOtZ9W1kA5M6AMJRHUZlpYZ1/SbEwtO0ioNAW8rUooVpC/WehY2SfA==", + "dev": true, + "hasInstallScript": true, + "bin": { + "esbuild": "bin/esbuild" + }, + "engines": { + "node": ">=12" + }, + "optionalDependencies": { + "@esbuild/aix-ppc64": "0.19.11", + "@esbuild/android-arm": "0.19.11", + "@esbuild/android-arm64": "0.19.11", + "@esbuild/android-x64": "0.19.11", + "@esbuild/darwin-arm64": "0.19.11", + "@esbuild/darwin-x64": "0.19.11", + "@esbuild/freebsd-arm64": "0.19.11", + "@esbuild/freebsd-x64": "0.19.11", + "@esbuild/linux-arm": "0.19.11", + "@esbuild/linux-arm64": "0.19.11", + "@esbuild/linux-ia32": "0.19.11", + "@esbuild/linux-loong64": "0.19.11", + "@esbuild/linux-mips64el": "0.19.11", + "@esbuild/linux-ppc64": "0.19.11", + "@esbuild/linux-riscv64": "0.19.11", + "@esbuild/linux-s390x": "0.19.11", + "@esbuild/linux-x64": "0.19.11", + "@esbuild/netbsd-x64": "0.19.11", + "@esbuild/openbsd-x64": "0.19.11", + "@esbuild/sunos-x64": "0.19.11", + "@esbuild/win32-arm64": "0.19.11", + "@esbuild/win32-ia32": "0.19.11", + "@esbuild/win32-x64": "0.19.11" + } + }, "node_modules/turbo": { "version": "1.11.2", "resolved": "https://registry.npmjs.org/turbo/-/turbo-1.11.2.tgz", @@ -34969,6 +36059,12 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/which-module": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.1.tgz", + "integrity": "sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==", + "dev": true + }, "node_modules/which-typed-array": { "version": "1.1.11", "license": "MIT", diff --git a/package.json b/package.json index 44f3391ab6..3cf4b38aec 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "private": true, "workspaces": [ "apps/*", + "apps/docs/spec/parser", "tests", "packages/*" ],