Commit Graph

33 Commits

Author SHA1 Message Date
Charis cf3ecc93eb chore(docs): turn on strictNullChecks (#36180)
strictNullChecks was off for docs, which lets errors slip through and
leads to incorrect required/optional typing on Zod-inferred types. This
PR enables strictNullChecks and fixes all the existing violations.
2025-06-04 17:05:37 -04:00
Charis 33b9e1ed29 chore(docs): convert all scripts to esm (#35996)
Scripts currently use CJS, which is causing a bit of a mess when trying
to use shared utilities from the app. Converting everything to ESM so
there are fewer conflicts when adding new scripts going forward.
2025-05-29 15:44:55 -04:00
Kevin Grüneberg 33142c2340 chore: type imports / avoid barrel file (#28100) 2024-07-23 09:55:41 +08:00
Kevin Grüneberg 3601bb52f5 chore: use type imports / avoid unnecessary API type export (#28088) 2024-07-19 18:35:23 +08:00
Hieu d855bfb3f8 feat: automate mgmt api spec update (#26655)
* fix: correct mgmt api naming

* feat: new command to generate mgmt api sections

* feat: sort section items

* chore: tidy up

* fix: add generate sections to the default command

* feat: add gha to auto update mgmt api docs

* chore: tidy up

* fix: operationId logic to support self-hosting references

* chore: update latest mgmt api specs

* chore: update latest mgmt api specs
2024-05-31 08:53:19 +07:00
Greg Richardson 0a4700f2a1 refactor: simplify reference docs nav menu & code split 2023-05-08 12:46:33 -06:00
Inian 54f8ab0fd8 chore: run make on spec
to pull in the latest spec definitions
2023-04-10 11:39:30 +08:00
Terry Sutton fce82b0bdf Cleanup 2023-01-09 12:40:40 -03:30
Terry Sutton 8d4717814b You get a type, and you get a type, and you get a type 2023-01-09 12:35:59 -03:30
Jonathan Summers-Muir d5405f5381 Merge branch 'master' into chore/optimize-docs-side-menus 2022-12-20 14:19:53 +08:00
Jonathan Summers-Muir 08da4652ed move spec generation stuff 2022-12-20 12:26:32 +08:00
Terry Sutton eeb1d59c9a Merge pull request #11068 from supabase/fix/intializing-sections
Fix/intializing sections
2022-12-19 11:56:34 -03:30
Jonathan Summers-Muir 5554f4c92a Update helpers.ts 2022-12-17 19:29:47 +08:00
Bobbie Soedirgo f83078858f ignore types created from typeof 2022-12-16 17:10:10 +08:00
Jonathan Summers-Muir 90245cd58a add initialzing to list of common functions 2022-12-16 16:57:47 +08:00
Terry Sutton 0b660d3c58 Add CLI and API specs to search results 2022-12-15 11:52:00 -03:30
Terry Sutton f49c8e5105 Cleanup 2022-12-07 16:03:55 -03:30
Terry Sutton 2c2aba8be4 Fix js-v1 2022-12-05 12:07:41 -03:30
Jonathan Summers-Muir ab29027360 ignore type error for now 2022-12-02 10:30:44 +08:00
Bobbie Soedirgo 1587baea91 improve refGenerator helper 2022-11-29 19:24:53 +08:00
Bobbie Soedirgo 97fe6f8e54 always use last function signature 2022-11-28 21:23:09 +08:00
Terry Sutton 27d1e6d02c Fix layout 2022-11-25 09:54:26 -03:30
Terry Sutton aff740b08a Start Storage api file 2022-11-24 17:54:49 -03:30
Kang Ming 12321dfb58 revert openapi spec stuff 2022-11-24 10:39:14 -08:00
Kang Ming e02ac7eff6 handle nested references in union types 2022-11-23 20:48:08 -08:00
Bobbie Soedirgo c474015575 fix(docs/reference/js): isOptional logic 2022-11-24 11:27:06 +08:00
Jonathan Summers-Muir b308fedfd0 fix: issues with 'fs' getting used in client 2022-11-24 11:23:32 +08:00
Jonathan Summers-Muir 546f444d1e comment out new typedoc3 stuff 2022-11-24 09:57:42 +08:00
Francisco Mazzoni c1afaedb9e first pass for parsing openapi files for docs 2022-11-23 16:57:23 -03:00
Jonathan Summers-Muir 7e11808fd6 add param stuff 2022-11-21 23:15:58 +08:00
Terry Sutton 1e16e0fdd9 Add shortText, add ComesFrom component 2022-11-16 16:34:48 -03:30
Jonathan Summers-Muir e4058c3ebb fix build issues 2022-11-10 13:54:39 +08:00
Jonathan Summers-Muir c107c5df19 add codehike, some basic parameters to ref docs, and some other stuff 2022-11-10 01:15:59 +08:00