File tree 1 file changed +6
-8
lines changed
1 file changed +6
-8
lines changed Original file line number Diff line number Diff line change @@ -79,17 +79,13 @@ export default defineNuxtConfig({
79
79
auth: ' mySuperLongBearerToken'
80
80
},
81
81
82
- shop: {
83
- host: ' ' , // initialize any property that will be set via `.env`
84
- ws: ' ' ,
85
- NS: ' ' ,
86
- DB: ' '
87
- },
82
+ shop: {},
88
83
},
89
84
server: { // the following add auth only server side
90
85
databases: {
91
86
default: {
92
87
auth: ' ' , // then edit it via NUXT_SURREALDB_DATABASES_DEFAULT_AUTH
88
+ // OR
93
89
auth: {
94
90
user: ' ' , // then edit it via NUXT_SURREALDB_DATABASES_DEFAULT_AUTH_USER
95
91
pass: ' ' // then edit it via NUXT_SURREALDB_DATABASES_DEFAULT_AUTH_PASS
@@ -155,6 +151,7 @@ Here the full list:
155
151
const {
156
152
authenticate, // $authenticate
157
153
create, // $create
154
+ delete, // $delete
158
155
info, // $info
159
156
insert, // $insert
160
157
invalidate, // $invalidate
@@ -187,11 +184,12 @@ const {
187
184
close,
188
185
create,
189
186
data,
190
- set, // Surreal's `let`
187
+ set, // alias for `let`
191
188
info,
192
189
insert,
193
190
invalidate,
194
191
kill,
192
+ let,
195
193
live,
196
194
merge,
197
195
open,
@@ -203,7 +201,7 @@ const {
203
201
send,
204
202
signin,
205
203
signup,
206
- sql, // alias for query
204
+ sql, // alias for ` query`
207
205
status,
208
206
unset,
209
207
update,
You can’t perform that action at this time.
0 commit comments