Skip to content

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

Adding some of the params

Copple462c7a7577d3
diff --git a/web/docs/library/delete.mdx b/web/docs/library/delete.mdx
index 5615d75320f..5897e02d6d8 100644
--- a/web/docs/library/delete.mdx
+++ b/web/docs/library/delete.mdx
@@ -59,8 +59,12 @@ supabase
#### `options: object?`
```js
+/**
+ * @param {boolean} [bulk=false]
+ * Protects against bulk updates. Set to true if you intend to perform a bulk change.
+ */
const options = {
- bulk: false // Protects against bulk updates. Set to true if you intend to perform a bulk change.
+ bulk: false
}
```
diff --git a/web/docs/library/getting-started.mdx b/web/docs/library/getting-started.mdx
index ab62ac8eff6..b9f40833d6a 100755
--- a/web/docs/library/getting-started.mdx
+++ b/web/docs/library/getting-started.mdx
@@ -41,17 +41,17 @@ The unique Supabase Key which is supplied when you create a new project in [your
#### `OPTIONS: object?`
```js
+/**
+ * @param {boolean} [allowBulkUpdates=false]
+ * Blocks the user from accidentally updating many rows.
+ * Can also be overriden on individual calls to update().
+ *
+ * @param {boolean} [allowBulkDeletes=false]
+ * Blocks the user from accidentally deleting many rows.
+ * Can also be overriden on individual calls to update().
+ */
const options = {
- // allowBulkUpdates :boolean
- // If true, Supabase will not block bulk updates and deletes.
- // This can be overriden on individual calls to update(),
- // so it is recommended to keep this as false.
allowBulkUpdates: false,
-
- // allowBulkDeletes :boolean
- // If true, Supabase will not block bulk updates and deletes.
- // This can be overriden on individual calls to delete(),
- // so it is recommended to keep this as false.
allowBulkDeletes: false,
}
```
diff --git a/web/src/css/custom.css b/web/src/css/custom.css
index 81675f736dc..c4e22d7a9a9 100755
--- a/web/src/css/custom.css
+++ b/web/src/css/custom.css
@@ -558,11 +558,15 @@ div[class^='sidebar_'] .menu__link.menu__link--active:not(.menu__link--sublist)
color: #dcdcaa !important;
}
.token.plain,
-.token.parameter {
+.token.parameter,
+.token.doc-comment.parameter,
+.token.doc-comment.optional-parameter,
+.token.doc-comment.parameter.punctuation,
+.token.doc-comment.optional-parameter.punctuation {
font-style: normal !important;
color: #9cdcfe !important;
}
-.token.keyword {
+.token.keyword, .token.doc-comment.keyword {
font-style: normal !important;
color: #569cd6 !important;
}
@@ -581,6 +585,9 @@ div[class^='sidebar_'] .menu__link.menu__link--active:not(.menu__link--sublist)
.token.number {
color: #b5cea8 !important;
}
+.token.boolean, .token.doc-comment.class-name {
+ color: var(--custom-primary) !important;
+}
/* HomePage */
.ForDevelopers .row {