Skip to content

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

folder cleanup

Copplecef8c9862d05
diff --git a/web/package.json b/web/package.json
index 619bbd18d66..738d82b3fe6 100644
--- a/web/package.json
+++ b/web/package.json
@@ -12,8 +12,8 @@
"gen:supabase": "ts-node ReferenceGenerator.ts -o docs/reference/javascript spec/supabase_js_v1_ref.yml",
"gen:supabase:new": "ts-node ReferenceGenerator.ts -o ../apps/reference/_supabase_js_versioned_docs/version-v1 spec/supabase_js_v1_ref.yml",
"gen:cli": "ts-node ReferenceGenerator.ts -o docs/reference/cli spec/cli.yml",
- "gen:dart": "ts-node ReferenceGenerator.ts -o docs/reference/dart spec/dart.yml",
- "gen:dart:new": "ts-node ReferenceGenerator.ts -o ../apps/reference/_supabase_dart spec/dart.yml",
+ "gen:dart": "ts-node ReferenceGenerator.ts -o docs/reference/dart spec/supabase_dart_v1_ref.yml",
+ "gen:dart:new": "ts-node ReferenceGenerator.ts -o ../apps/reference/_supabase_dart spec/supabase_dart_v1_ref.yml",
"gen:postgres": "ts-node ReferenceGenerator.ts -o docs/reference/postgres spec/postgres.yml"
},
"dependencies": {
diff --git a/web/sidebar_spec_supabase_dart_v1_ref.js b/web/sidebar_spec_supabase_dart_v1_ref.js
new file mode 100644
index 00000000000..40216a8f2e2
--- /dev/null
+++ b/web/sidebar_spec_supabase_dart_v1_ref.js
@@ -0,0 +1,52 @@
+module.exports = {
+ docs: [
+ {
+ type: 'category',
+ label: 'Getting Started',
+ items: ['reference/dart/installing', 'reference/dart/initializing'],
+ collapsed: true,
+ },
+ {
+ type: 'category',
+ label: 'Auth',
+ items: ['reference/dart/auth-signup', 'reference/dart/auth-signin', 'reference/dart/auth-signinwithprovider', 'reference/dart/auth-signout', 'reference/dart/auth-session', 'reference/dart/auth-user', 'reference/dart/auth-update', 'reference/dart/auth-onauthstatechange', 'reference/dart/reset-password-email'],
+ collapsed: true,
+ },
+ {
+ type: 'category',
+ label: 'Functions',
+ items: ['reference/dart/invoke'],
+ collapsed: true,
+ },
+ {
+ type: 'category',
+ label: 'Database',
+ items: ['reference/dart/select', 'reference/dart/insert', 'reference/dart/update', 'reference/dart/upsert', 'reference/dart/delete', 'reference/dart/rpc'],
+ collapsed: true,
+ },
+ {
+ type: 'category',
+ label: 'Realtime',
+ items: ['reference/dart/subscribe', 'reference/dart/removesubscription', 'reference/dart/getsubscriptions', 'reference/dart/stream'],
+ collapsed: true,
+ },
+ {
+ type: 'category',
+ label: 'Storage',
+ items: ['reference/dart/storage-createbucket', 'reference/dart/storage-getbucket', 'reference/dart/storage-listbuckets', 'reference/dart/storage-updatebucket', 'reference/dart/storage-deletebucket', 'reference/dart/storage-emptybucket', 'reference/dart/storage-from-upload', 'reference/dart/storage-from-download', 'reference/dart/storage-from-list', 'reference/dart/storage-from-update', 'reference/dart/storage-from-move', 'reference/dart/storage-from-remove', 'reference/dart/storage-from-createsignedurl', 'reference/dart/storage-from-getpublicurl'],
+ collapsed: true,
+ },
+ {
+ type: 'category',
+ label: 'Modifiers',
+ items: ['reference/dart/using-modifiers', 'reference/dart/limit', 'reference/dart/order', 'reference/dart/range', 'reference/dart/single'],
+ collapsed: true,
+ },
+ {
+ type: 'category',
+ label: 'Filters',
+ items: ['reference/dart/using-filters', 'reference/dart/or', 'reference/dart/not', 'reference/dart/match', 'reference/dart/eq', 'reference/dart/neq', 'reference/dart/gt', 'reference/dart/gte', 'reference/dart/lt', 'reference/dart/lte', 'reference/dart/like', 'reference/dart/ilike', 'reference/dart/is_', 'reference/dart/in_', 'reference/dart/contains', 'reference/dart/containedby', 'reference/dart/rangelt', 'reference/dart/rangegt', 'reference/dart/rangegte', 'reference/dart/rangelte', 'reference/dart/rangeadjacent', 'reference/dart/overlaps', 'reference/dart/textsearch', 'reference/dart/filter'],
+ collapsed: true,
+ }
+ ],
+}
\ No newline at end of file
diff --git a/web/spec/dart.yml b/web/spec/supabase_dart_v1_ref.yml
similarity index 99%
rename from web/spec/dart.yml
rename to web/spec/supabase_dart_v1_ref.yml
index 998238c4775..2d3c4894575 100644
--- a/web/spec/dart.yml
+++ b/web/spec/supabase_dart_v1_ref.yml
@@ -7,7 +7,7 @@ info:
Supabase Dart.
- definition: spec/combined.json
+ definition: spec/tsdoc_v1/combined.json
libraries:
- name: 'Dart'
id: 'dart'
diff --git a/web/spec/supabase_js_v1_ref.yml b/web/spec/supabase_js_v1_ref.yml
index 99053b3b594..85588f12431 100644
--- a/web/spec/supabase_js_v1_ref.yml
+++ b/web/spec/supabase_js_v1_ref.yml
@@ -7,7 +7,7 @@ info:
Supabase JavaScript.
- definition: spec/combined.json
+ definition: spec/tsdoc_v1/combined.json
libraries:
- name: 'JavaScript'
id: 'js'
@@ -1266,7 +1266,7 @@ pages:
```
- name: Listening to row level changes
description: You can listen to individual rows using the format `{table}:{col}=eq.{val}` - where `{col}` is the column name, and `{val}` is the value which you want to match.
- notes: |
+ notes: |
- ``eq`` filter works with all database types as under the hood, it's casting both the filter value and the database value to the correct type and then comparing them.
js: |
```js
diff --git a/web/spec/combined.json b/web/spec/tsdoc_v1/combined.json
similarity index 100%
rename from web/spec/combined.json
rename to web/spec/tsdoc_v1/combined.json
diff --git a/web/spec/functions.json b/web/spec/tsdoc_v1/functions.json
similarity index 100%
rename from web/spec/functions.json
rename to web/spec/tsdoc_v1/functions.json
diff --git a/web/spec/gotrue.json b/web/spec/tsdoc_v1/gotrus.json
similarity index 100%
rename from web/spec/gotrue.json
rename to web/spec/tsdoc_v1/gotrus.json
diff --git a/web/spec/postgrest.json b/web/spec/tsdoc_v1/postgrest.json
similarity index 100%
rename from web/spec/postgrest.json
rename to web/spec/tsdoc_v1/postgrest.json
diff --git a/web/spec/realtime.json b/web/spec/tsdoc_v1/realtime.json
similarity index 100%
rename from web/spec/realtime.json
rename to web/spec/tsdoc_v1/realtime.json
diff --git a/web/spec/storage.json b/web/spec/tsdoc_v1/storage.json
similarity index 100%
rename from web/spec/storage.json
rename to web/spec/tsdoc_v1/storage.json
diff --git a/web/spec/supabase.json b/web/spec/tsdoc_v1/supabase.json
similarity index 100%
rename from web/spec/supabase.json
rename to web/spec/tsdoc_v1/supabase.json