@capgo/capacitor-supabase 8.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CapgoCapacitorSupabase.podspec +18 -0
- package/LICENSE +373 -0
- package/Package.swift +30 -0
- package/README.md +801 -0
- package/android/build.gradle +84 -0
- package/android/src/main/java/ee/forgr/plugin/capacitor_supabase/CapacitorSupabasePlugin.kt +751 -0
- package/dist/docs.json +1718 -0
- package/dist/esm/definitions.d.ts +754 -0
- package/dist/esm/definitions.js +2 -0
- package/dist/esm/definitions.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/web.d.ts +33 -0
- package/dist/esm/web.js +68 -0
- package/dist/esm/web.js.map +1 -0
- package/dist/plugin.cjs.js +82 -0
- package/dist/plugin.cjs.js.map +1 -0
- package/dist/plugin.js +85 -0
- package/dist/plugin.js.map +1 -0
- package/ios/Sources/CapacitorSupabasePlugin/CapacitorSupabasePlugin.swift +628 -0
- package/ios/Tests/CapacitorSupabasePluginTests/CapacitorSupabasePluginTests.swift +9 -0
- package/package.json +90 -0
package/dist/docs.json
ADDED
|
@@ -0,0 +1,1718 @@
|
|
|
1
|
+
{
|
|
2
|
+
"api": {
|
|
3
|
+
"name": "CapacitorSupabasePlugin",
|
|
4
|
+
"slug": "capacitorsupabaseplugin",
|
|
5
|
+
"docs": "Capacitor Supabase Plugin for native Supabase SDK integration.\n\nThis plugin provides native iOS and Android Supabase SDK functionality\nwith the ability to retrieve JWT tokens for use in JavaScript/web layers.",
|
|
6
|
+
"tags": [
|
|
7
|
+
{
|
|
8
|
+
"text": "0.0.1",
|
|
9
|
+
"name": "since"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"methods": [
|
|
13
|
+
{
|
|
14
|
+
"name": "initialize",
|
|
15
|
+
"signature": "(options: SupabaseConfig) => Promise<void>",
|
|
16
|
+
"parameters": [
|
|
17
|
+
{
|
|
18
|
+
"name": "options",
|
|
19
|
+
"docs": "- Configuration options including URL and API key",
|
|
20
|
+
"type": "SupabaseConfig"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
"returns": "Promise<void>",
|
|
24
|
+
"tags": [
|
|
25
|
+
{
|
|
26
|
+
"name": "param",
|
|
27
|
+
"text": "options - Configuration options including URL and API key"
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"name": "returns",
|
|
31
|
+
"text": "Promise that resolves when initialization is complete"
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "throws",
|
|
35
|
+
"text": "Error if initialization fails"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "since",
|
|
39
|
+
"text": "0.0.1"
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
"name": "example",
|
|
43
|
+
"text": "```typescript\nawait CapacitorSupabase.initialize({\n supabaseUrl: 'https://xyzcompany.supabase.co',\n supabaseKey: 'your-anon-key'\n});\n```"
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"docs": "Initialize the Supabase client with your project credentials.\nMust be called before any other methods.",
|
|
47
|
+
"complexTypes": [
|
|
48
|
+
"SupabaseConfig"
|
|
49
|
+
],
|
|
50
|
+
"slug": "initialize"
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
"name": "signInWithPassword",
|
|
54
|
+
"signature": "(options: SignInWithPasswordOptions) => Promise<AuthResult>",
|
|
55
|
+
"parameters": [
|
|
56
|
+
{
|
|
57
|
+
"name": "options",
|
|
58
|
+
"docs": "- Email and password credentials",
|
|
59
|
+
"type": "SignInWithPasswordOptions"
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
"returns": "Promise<AuthResult>",
|
|
63
|
+
"tags": [
|
|
64
|
+
{
|
|
65
|
+
"name": "param",
|
|
66
|
+
"text": "options - Email and password credentials"
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"name": "returns",
|
|
70
|
+
"text": "Promise with session and user data"
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"name": "throws",
|
|
74
|
+
"text": "Error if sign-in fails"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"name": "since",
|
|
78
|
+
"text": "0.0.1"
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
"name": "example",
|
|
82
|
+
"text": "```typescript\nconst { session, user } = await CapacitorSupabase.signInWithPassword({\n email: 'user@example.com',\n password: 'password123'\n});\nconsole.log('JWT:', session?.accessToken);\n```"
|
|
83
|
+
}
|
|
84
|
+
],
|
|
85
|
+
"docs": "Sign in with email and password.",
|
|
86
|
+
"complexTypes": [
|
|
87
|
+
"AuthResult",
|
|
88
|
+
"SignInWithPasswordOptions"
|
|
89
|
+
],
|
|
90
|
+
"slug": "signinwithpassword"
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "signUp",
|
|
94
|
+
"signature": "(options: SignUpOptions) => Promise<AuthResult>",
|
|
95
|
+
"parameters": [
|
|
96
|
+
{
|
|
97
|
+
"name": "options",
|
|
98
|
+
"docs": "- Email, password, and optional user metadata",
|
|
99
|
+
"type": "SignUpOptions"
|
|
100
|
+
}
|
|
101
|
+
],
|
|
102
|
+
"returns": "Promise<AuthResult>",
|
|
103
|
+
"tags": [
|
|
104
|
+
{
|
|
105
|
+
"name": "param",
|
|
106
|
+
"text": "options - Email, password, and optional user metadata"
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "returns",
|
|
110
|
+
"text": "Promise with session and user data"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"name": "throws",
|
|
114
|
+
"text": "Error if sign-up fails"
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
"name": "since",
|
|
118
|
+
"text": "0.0.1"
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "example",
|
|
122
|
+
"text": "```typescript\nconst { session, user } = await CapacitorSupabase.signUp({\n email: 'newuser@example.com',\n password: 'password123',\n data: { name: 'John Doe' }\n});\n```"
|
|
123
|
+
}
|
|
124
|
+
],
|
|
125
|
+
"docs": "Sign up a new user with email and password.",
|
|
126
|
+
"complexTypes": [
|
|
127
|
+
"AuthResult",
|
|
128
|
+
"SignUpOptions"
|
|
129
|
+
],
|
|
130
|
+
"slug": "signup"
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"name": "signInWithOAuth",
|
|
134
|
+
"signature": "(options: SignInWithOAuthOptions) => Promise<void>",
|
|
135
|
+
"parameters": [
|
|
136
|
+
{
|
|
137
|
+
"name": "options",
|
|
138
|
+
"docs": "- OAuth provider and optional redirect URL",
|
|
139
|
+
"type": "SignInWithOAuthOptions"
|
|
140
|
+
}
|
|
141
|
+
],
|
|
142
|
+
"returns": "Promise<void>",
|
|
143
|
+
"tags": [
|
|
144
|
+
{
|
|
145
|
+
"name": "param",
|
|
146
|
+
"text": "options - OAuth provider and optional redirect URL"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "returns",
|
|
150
|
+
"text": "Promise that resolves when OAuth flow is initiated"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"name": "throws",
|
|
154
|
+
"text": "Error if OAuth sign-in fails"
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
"name": "since",
|
|
158
|
+
"text": "0.0.1"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "example",
|
|
162
|
+
"text": "```typescript\nawait CapacitorSupabase.signInWithOAuth({\n provider: 'google',\n redirectTo: 'myapp://callback'\n});\n```"
|
|
163
|
+
}
|
|
164
|
+
],
|
|
165
|
+
"docs": "Sign in with an OAuth provider.\nOpens the provider's authentication page.",
|
|
166
|
+
"complexTypes": [
|
|
167
|
+
"SignInWithOAuthOptions"
|
|
168
|
+
],
|
|
169
|
+
"slug": "signinwithoauth"
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "signInWithOtp",
|
|
173
|
+
"signature": "(options: SignInWithOtpOptions) => Promise<void>",
|
|
174
|
+
"parameters": [
|
|
175
|
+
{
|
|
176
|
+
"name": "options",
|
|
177
|
+
"docs": "- Email or phone number to send OTP to",
|
|
178
|
+
"type": "SignInWithOtpOptions"
|
|
179
|
+
}
|
|
180
|
+
],
|
|
181
|
+
"returns": "Promise<void>",
|
|
182
|
+
"tags": [
|
|
183
|
+
{
|
|
184
|
+
"name": "param",
|
|
185
|
+
"text": "options - Email or phone number to send OTP to"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "returns",
|
|
189
|
+
"text": "Promise that resolves when OTP is sent"
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"name": "throws",
|
|
193
|
+
"text": "Error if sending OTP fails"
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"name": "since",
|
|
197
|
+
"text": "0.0.1"
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
"name": "example",
|
|
201
|
+
"text": "```typescript\nawait CapacitorSupabase.signInWithOtp({\n email: 'user@example.com'\n});\n```"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"docs": "Sign in with OTP (One-Time Password) sent via email or SMS.",
|
|
205
|
+
"complexTypes": [
|
|
206
|
+
"SignInWithOtpOptions"
|
|
207
|
+
],
|
|
208
|
+
"slug": "signinwithotp"
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"name": "verifyOtp",
|
|
212
|
+
"signature": "(options: VerifyOtpOptions) => Promise<AuthResult>",
|
|
213
|
+
"parameters": [
|
|
214
|
+
{
|
|
215
|
+
"name": "options",
|
|
216
|
+
"docs": "- Email/phone, token, and verification type",
|
|
217
|
+
"type": "VerifyOtpOptions"
|
|
218
|
+
}
|
|
219
|
+
],
|
|
220
|
+
"returns": "Promise<AuthResult>",
|
|
221
|
+
"tags": [
|
|
222
|
+
{
|
|
223
|
+
"name": "param",
|
|
224
|
+
"text": "options - Email/phone, token, and verification type"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"name": "returns",
|
|
228
|
+
"text": "Promise with session and user data"
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"name": "throws",
|
|
232
|
+
"text": "Error if verification fails"
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
"name": "since",
|
|
236
|
+
"text": "0.0.1"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"name": "example",
|
|
240
|
+
"text": "```typescript\nconst { session, user } = await CapacitorSupabase.verifyOtp({\n email: 'user@example.com',\n token: '123456',\n type: 'email'\n});\n```"
|
|
241
|
+
}
|
|
242
|
+
],
|
|
243
|
+
"docs": "Verify an OTP token.",
|
|
244
|
+
"complexTypes": [
|
|
245
|
+
"AuthResult",
|
|
246
|
+
"VerifyOtpOptions"
|
|
247
|
+
],
|
|
248
|
+
"slug": "verifyotp"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"name": "signOut",
|
|
252
|
+
"signature": "() => Promise<void>",
|
|
253
|
+
"parameters": [],
|
|
254
|
+
"returns": "Promise<void>",
|
|
255
|
+
"tags": [
|
|
256
|
+
{
|
|
257
|
+
"name": "returns",
|
|
258
|
+
"text": "Promise that resolves when sign-out is complete"
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"name": "throws",
|
|
262
|
+
"text": "Error if sign-out fails"
|
|
263
|
+
},
|
|
264
|
+
{
|
|
265
|
+
"name": "since",
|
|
266
|
+
"text": "0.0.1"
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
"name": "example",
|
|
270
|
+
"text": "```typescript\nawait CapacitorSupabase.signOut();\n```"
|
|
271
|
+
}
|
|
272
|
+
],
|
|
273
|
+
"docs": "Sign out the current user.",
|
|
274
|
+
"complexTypes": [],
|
|
275
|
+
"slug": "signout"
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
"name": "getSession",
|
|
279
|
+
"signature": "() => Promise<{ session: Session | null; }>",
|
|
280
|
+
"parameters": [],
|
|
281
|
+
"returns": "Promise<{ session: Session | null; }>",
|
|
282
|
+
"tags": [
|
|
283
|
+
{
|
|
284
|
+
"name": "returns",
|
|
285
|
+
"text": "Promise with the current session or null"
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"name": "throws",
|
|
289
|
+
"text": "Error if retrieving session fails"
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
"name": "since",
|
|
293
|
+
"text": "0.0.1"
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"name": "example",
|
|
297
|
+
"text": "```typescript\nconst { session } = await CapacitorSupabase.getSession();\nif (session) {\n console.log('JWT:', session.accessToken);\n // Use this token with"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "supabase",
|
|
301
|
+
"text": "/supabase-js\n}\n```"
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"docs": "Get the current session if one exists.\nReturns the session with JWT access token.",
|
|
305
|
+
"complexTypes": [
|
|
306
|
+
"Session"
|
|
307
|
+
],
|
|
308
|
+
"slug": "getsession"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"name": "refreshSession",
|
|
312
|
+
"signature": "() => Promise<{ session: Session | null; }>",
|
|
313
|
+
"parameters": [],
|
|
314
|
+
"returns": "Promise<{ session: Session | null; }>",
|
|
315
|
+
"tags": [
|
|
316
|
+
{
|
|
317
|
+
"name": "returns",
|
|
318
|
+
"text": "Promise with the refreshed session"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"name": "throws",
|
|
322
|
+
"text": "Error if refresh fails or no session exists"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"name": "since",
|
|
326
|
+
"text": "0.0.1"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"name": "example",
|
|
330
|
+
"text": "```typescript\nconst { session } = await CapacitorSupabase.refreshSession();\nconsole.log('New JWT:', session?.accessToken);\n```"
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"docs": "Refresh the current session and get new tokens.",
|
|
334
|
+
"complexTypes": [
|
|
335
|
+
"Session"
|
|
336
|
+
],
|
|
337
|
+
"slug": "refreshsession"
|
|
338
|
+
},
|
|
339
|
+
{
|
|
340
|
+
"name": "getUser",
|
|
341
|
+
"signature": "() => Promise<{ user: User | null; }>",
|
|
342
|
+
"parameters": [],
|
|
343
|
+
"returns": "Promise<{ user: User | null; }>",
|
|
344
|
+
"tags": [
|
|
345
|
+
{
|
|
346
|
+
"name": "returns",
|
|
347
|
+
"text": "Promise with the current user or null"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"name": "throws",
|
|
351
|
+
"text": "Error if retrieving user fails"
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
"name": "since",
|
|
355
|
+
"text": "0.0.1"
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"name": "example",
|
|
359
|
+
"text": "```typescript\nconst { user } = await CapacitorSupabase.getUser();\nif (user) {\n console.log('User ID:', user.id);\n}\n```"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"docs": "Get the currently authenticated user.",
|
|
363
|
+
"complexTypes": [
|
|
364
|
+
"User"
|
|
365
|
+
],
|
|
366
|
+
"slug": "getuser"
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
"name": "setSession",
|
|
370
|
+
"signature": "(options: SetSessionOptions) => Promise<{ session: Session | null; }>",
|
|
371
|
+
"parameters": [
|
|
372
|
+
{
|
|
373
|
+
"name": "options",
|
|
374
|
+
"docs": "- Access and refresh tokens",
|
|
375
|
+
"type": "SetSessionOptions"
|
|
376
|
+
}
|
|
377
|
+
],
|
|
378
|
+
"returns": "Promise<{ session: Session | null; }>",
|
|
379
|
+
"tags": [
|
|
380
|
+
{
|
|
381
|
+
"name": "param",
|
|
382
|
+
"text": "options - Access and refresh tokens"
|
|
383
|
+
},
|
|
384
|
+
{
|
|
385
|
+
"name": "returns",
|
|
386
|
+
"text": "Promise with the restored session"
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
"name": "throws",
|
|
390
|
+
"text": "Error if setting session fails"
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
"name": "since",
|
|
394
|
+
"text": "0.0.1"
|
|
395
|
+
},
|
|
396
|
+
{
|
|
397
|
+
"name": "example",
|
|
398
|
+
"text": "```typescript\nconst { session } = await CapacitorSupabase.setSession({\n accessToken: 'eyJ...',\n refreshToken: 'abc123'\n});\n```"
|
|
399
|
+
}
|
|
400
|
+
],
|
|
401
|
+
"docs": "Set the session manually with access and refresh tokens.\nUseful for restoring a session or integrating with external auth.",
|
|
402
|
+
"complexTypes": [
|
|
403
|
+
"Session",
|
|
404
|
+
"SetSessionOptions"
|
|
405
|
+
],
|
|
406
|
+
"slug": "setsession"
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
"name": "addListener",
|
|
410
|
+
"signature": "(eventName: 'authStateChange', listenerFunc: (data: AuthStateChange) => void) => Promise<PluginListenerHandle>",
|
|
411
|
+
"parameters": [
|
|
412
|
+
{
|
|
413
|
+
"name": "eventName",
|
|
414
|
+
"docs": "- Must be 'authStateChange'",
|
|
415
|
+
"type": "'authStateChange'"
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
"name": "listenerFunc",
|
|
419
|
+
"docs": "- Callback function for auth state changes",
|
|
420
|
+
"type": "(data: AuthStateChange) => void"
|
|
421
|
+
}
|
|
422
|
+
],
|
|
423
|
+
"returns": "Promise<PluginListenerHandle>",
|
|
424
|
+
"tags": [
|
|
425
|
+
{
|
|
426
|
+
"name": "param",
|
|
427
|
+
"text": "eventName - Must be 'authStateChange'"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"name": "param",
|
|
431
|
+
"text": "listenerFunc - Callback function for auth state changes"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"name": "returns",
|
|
435
|
+
"text": "Promise with handle to remove the listener"
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
"name": "since",
|
|
439
|
+
"text": "0.0.1"
|
|
440
|
+
},
|
|
441
|
+
{
|
|
442
|
+
"name": "example",
|
|
443
|
+
"text": "```typescript\nconst listener = await CapacitorSupabase.addListener(\n 'authStateChange',\n ({ event, session }) => {\n console.log('Auth event:', event);\n if (session) {\n console.log('JWT:', session.accessToken);\n }\n }\n);\n\n// Later, remove the listener\nlistener.remove();\n```"
|
|
444
|
+
}
|
|
445
|
+
],
|
|
446
|
+
"docs": "Listen to authentication state changes.",
|
|
447
|
+
"complexTypes": [
|
|
448
|
+
"PluginListenerHandle",
|
|
449
|
+
"AuthStateChange"
|
|
450
|
+
],
|
|
451
|
+
"slug": "addlistenerauthstatechange-"
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"name": "removeAllListeners",
|
|
455
|
+
"signature": "() => Promise<void>",
|
|
456
|
+
"parameters": [],
|
|
457
|
+
"returns": "Promise<void>",
|
|
458
|
+
"tags": [
|
|
459
|
+
{
|
|
460
|
+
"name": "since",
|
|
461
|
+
"text": "0.0.1"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"name": "example",
|
|
465
|
+
"text": "```typescript\nawait CapacitorSupabase.removeAllListeners();\n```"
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"docs": "Remove all listeners for auth state changes.",
|
|
469
|
+
"complexTypes": [],
|
|
470
|
+
"slug": "removealllisteners"
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"name": "select",
|
|
474
|
+
"signature": "<T = unknown>(options: SelectOptions) => Promise<QueryResult<T[]>>",
|
|
475
|
+
"parameters": [
|
|
476
|
+
{
|
|
477
|
+
"name": "options",
|
|
478
|
+
"docs": "- Query options including table, columns, filters",
|
|
479
|
+
"type": "SelectOptions"
|
|
480
|
+
}
|
|
481
|
+
],
|
|
482
|
+
"returns": "Promise<QueryResult<T[]>>",
|
|
483
|
+
"tags": [
|
|
484
|
+
{
|
|
485
|
+
"name": "param",
|
|
486
|
+
"text": "options - Query options including table, columns, filters"
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
"name": "returns",
|
|
490
|
+
"text": "Promise with query results"
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
"name": "throws",
|
|
494
|
+
"text": "Error if query fails"
|
|
495
|
+
},
|
|
496
|
+
{
|
|
497
|
+
"name": "since",
|
|
498
|
+
"text": "0.0.1"
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
"name": "example",
|
|
502
|
+
"text": "```typescript\nconst { data, error } = await CapacitorSupabase.select({\n table: 'users',\n columns: 'id, name, email',\n filter: { active: true },\n limit: 10,\n orderBy: 'created_at',\n ascending: false\n});\n```"
|
|
503
|
+
}
|
|
504
|
+
],
|
|
505
|
+
"docs": "Execute a SELECT query on a table.",
|
|
506
|
+
"complexTypes": [
|
|
507
|
+
"QueryResult",
|
|
508
|
+
"T",
|
|
509
|
+
"SelectOptions"
|
|
510
|
+
],
|
|
511
|
+
"slug": "select"
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
"name": "insert",
|
|
515
|
+
"signature": "<T = unknown>(options: InsertOptions) => Promise<QueryResult<T>>",
|
|
516
|
+
"parameters": [
|
|
517
|
+
{
|
|
518
|
+
"name": "options",
|
|
519
|
+
"docs": "- Table name and values to insert",
|
|
520
|
+
"type": "InsertOptions"
|
|
521
|
+
}
|
|
522
|
+
],
|
|
523
|
+
"returns": "Promise<QueryResult<T>>",
|
|
524
|
+
"tags": [
|
|
525
|
+
{
|
|
526
|
+
"name": "param",
|
|
527
|
+
"text": "options - Table name and values to insert"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"name": "returns",
|
|
531
|
+
"text": "Promise with inserted data"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"name": "throws",
|
|
535
|
+
"text": "Error if insert fails"
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
"name": "since",
|
|
539
|
+
"text": "0.0.1"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"name": "example",
|
|
543
|
+
"text": "```typescript\nconst { data, error } = await CapacitorSupabase.insert({\n table: 'posts',\n values: { title: 'Hello', content: 'World' }\n});\n```"
|
|
544
|
+
}
|
|
545
|
+
],
|
|
546
|
+
"docs": "Insert data into a table.",
|
|
547
|
+
"complexTypes": [
|
|
548
|
+
"QueryResult",
|
|
549
|
+
"T",
|
|
550
|
+
"InsertOptions"
|
|
551
|
+
],
|
|
552
|
+
"slug": "insert"
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
"name": "update",
|
|
556
|
+
"signature": "<T = unknown>(options: UpdateOptions) => Promise<QueryResult<T>>",
|
|
557
|
+
"parameters": [
|
|
558
|
+
{
|
|
559
|
+
"name": "options",
|
|
560
|
+
"docs": "- Table name, values to update, and filter conditions",
|
|
561
|
+
"type": "UpdateOptions"
|
|
562
|
+
}
|
|
563
|
+
],
|
|
564
|
+
"returns": "Promise<QueryResult<T>>",
|
|
565
|
+
"tags": [
|
|
566
|
+
{
|
|
567
|
+
"name": "param",
|
|
568
|
+
"text": "options - Table name, values to update, and filter conditions"
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
"name": "returns",
|
|
572
|
+
"text": "Promise with updated data"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"name": "throws",
|
|
576
|
+
"text": "Error if update fails"
|
|
577
|
+
},
|
|
578
|
+
{
|
|
579
|
+
"name": "since",
|
|
580
|
+
"text": "0.0.1"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"name": "example",
|
|
584
|
+
"text": "```typescript\nconst { data, error } = await CapacitorSupabase.update({\n table: 'posts',\n values: { title: 'Updated Title' },\n filter: { id: 1 }\n});\n```"
|
|
585
|
+
}
|
|
586
|
+
],
|
|
587
|
+
"docs": "Update data in a table.",
|
|
588
|
+
"complexTypes": [
|
|
589
|
+
"QueryResult",
|
|
590
|
+
"T",
|
|
591
|
+
"UpdateOptions"
|
|
592
|
+
],
|
|
593
|
+
"slug": "update"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"name": "delete",
|
|
597
|
+
"signature": "<T = unknown>(options: DeleteOptions) => Promise<QueryResult<T>>",
|
|
598
|
+
"parameters": [
|
|
599
|
+
{
|
|
600
|
+
"name": "options",
|
|
601
|
+
"docs": "- Table name and filter conditions",
|
|
602
|
+
"type": "DeleteOptions"
|
|
603
|
+
}
|
|
604
|
+
],
|
|
605
|
+
"returns": "Promise<QueryResult<T>>",
|
|
606
|
+
"tags": [
|
|
607
|
+
{
|
|
608
|
+
"name": "param",
|
|
609
|
+
"text": "options - Table name and filter conditions"
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
"name": "returns",
|
|
613
|
+
"text": "Promise with deleted data"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"name": "throws",
|
|
617
|
+
"text": "Error if delete fails"
|
|
618
|
+
},
|
|
619
|
+
{
|
|
620
|
+
"name": "since",
|
|
621
|
+
"text": "0.0.1"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"name": "example",
|
|
625
|
+
"text": "```typescript\nconst { data, error } = await CapacitorSupabase.delete({\n table: 'posts',\n filter: { id: 1 }\n});\n```"
|
|
626
|
+
}
|
|
627
|
+
],
|
|
628
|
+
"docs": "Delete data from a table.",
|
|
629
|
+
"complexTypes": [
|
|
630
|
+
"QueryResult",
|
|
631
|
+
"T",
|
|
632
|
+
"DeleteOptions"
|
|
633
|
+
],
|
|
634
|
+
"slug": "delete"
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
"name": "getPluginVersion",
|
|
638
|
+
"signature": "() => Promise<{ version: string; }>",
|
|
639
|
+
"parameters": [],
|
|
640
|
+
"returns": "Promise<{ version: string; }>",
|
|
641
|
+
"tags": [
|
|
642
|
+
{
|
|
643
|
+
"name": "returns",
|
|
644
|
+
"text": "Promise that resolves with the plugin version"
|
|
645
|
+
},
|
|
646
|
+
{
|
|
647
|
+
"name": "throws",
|
|
648
|
+
"text": "Error if getting the version fails"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"name": "since",
|
|
652
|
+
"text": "0.0.1"
|
|
653
|
+
},
|
|
654
|
+
{
|
|
655
|
+
"name": "example",
|
|
656
|
+
"text": "```typescript\nconst { version } = await CapacitorSupabase.getPluginVersion();\nconsole.log('Plugin version:', version);\n```"
|
|
657
|
+
}
|
|
658
|
+
],
|
|
659
|
+
"docs": "Get the native Capacitor plugin version.",
|
|
660
|
+
"complexTypes": [],
|
|
661
|
+
"slug": "getpluginversion"
|
|
662
|
+
}
|
|
663
|
+
],
|
|
664
|
+
"properties": []
|
|
665
|
+
},
|
|
666
|
+
"interfaces": [
|
|
667
|
+
{
|
|
668
|
+
"name": "SupabaseConfig",
|
|
669
|
+
"slug": "supabaseconfig",
|
|
670
|
+
"docs": "Configuration options for initializing the Supabase client.",
|
|
671
|
+
"tags": [
|
|
672
|
+
{
|
|
673
|
+
"text": "0.0.1",
|
|
674
|
+
"name": "since"
|
|
675
|
+
}
|
|
676
|
+
],
|
|
677
|
+
"methods": [],
|
|
678
|
+
"properties": [
|
|
679
|
+
{
|
|
680
|
+
"name": "supabaseUrl",
|
|
681
|
+
"tags": [
|
|
682
|
+
{
|
|
683
|
+
"text": "0.0.1",
|
|
684
|
+
"name": "since"
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
"text": "\"https://xyzcompany.supabase.co\"",
|
|
688
|
+
"name": "example"
|
|
689
|
+
}
|
|
690
|
+
],
|
|
691
|
+
"docs": "The Supabase project URL.",
|
|
692
|
+
"complexTypes": [],
|
|
693
|
+
"type": "string"
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
"name": "supabaseKey",
|
|
697
|
+
"tags": [
|
|
698
|
+
{
|
|
699
|
+
"text": "0.0.1",
|
|
700
|
+
"name": "since"
|
|
701
|
+
}
|
|
702
|
+
],
|
|
703
|
+
"docs": "The Supabase anonymous/public key.",
|
|
704
|
+
"complexTypes": [],
|
|
705
|
+
"type": "string"
|
|
706
|
+
}
|
|
707
|
+
]
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"name": "AuthResult",
|
|
711
|
+
"slug": "authresult",
|
|
712
|
+
"docs": "Result of authentication operations that return a session.",
|
|
713
|
+
"tags": [
|
|
714
|
+
{
|
|
715
|
+
"text": "0.0.1",
|
|
716
|
+
"name": "since"
|
|
717
|
+
}
|
|
718
|
+
],
|
|
719
|
+
"methods": [],
|
|
720
|
+
"properties": [
|
|
721
|
+
{
|
|
722
|
+
"name": "session",
|
|
723
|
+
"tags": [
|
|
724
|
+
{
|
|
725
|
+
"text": "0.0.1",
|
|
726
|
+
"name": "since"
|
|
727
|
+
}
|
|
728
|
+
],
|
|
729
|
+
"docs": "The session if authentication was successful.",
|
|
730
|
+
"complexTypes": [
|
|
731
|
+
"Session"
|
|
732
|
+
],
|
|
733
|
+
"type": "Session | null"
|
|
734
|
+
},
|
|
735
|
+
{
|
|
736
|
+
"name": "user",
|
|
737
|
+
"tags": [
|
|
738
|
+
{
|
|
739
|
+
"text": "0.0.1",
|
|
740
|
+
"name": "since"
|
|
741
|
+
}
|
|
742
|
+
],
|
|
743
|
+
"docs": "The authenticated user if successful.",
|
|
744
|
+
"complexTypes": [
|
|
745
|
+
"User"
|
|
746
|
+
],
|
|
747
|
+
"type": "User | null"
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"name": "Session",
|
|
753
|
+
"slug": "session",
|
|
754
|
+
"docs": "Session object containing authentication tokens.",
|
|
755
|
+
"tags": [
|
|
756
|
+
{
|
|
757
|
+
"text": "0.0.1",
|
|
758
|
+
"name": "since"
|
|
759
|
+
}
|
|
760
|
+
],
|
|
761
|
+
"methods": [],
|
|
762
|
+
"properties": [
|
|
763
|
+
{
|
|
764
|
+
"name": "accessToken",
|
|
765
|
+
"tags": [
|
|
766
|
+
{
|
|
767
|
+
"text": "0.0.1",
|
|
768
|
+
"name": "since"
|
|
769
|
+
}
|
|
770
|
+
],
|
|
771
|
+
"docs": "The JWT access token. Use this for authenticated API requests.",
|
|
772
|
+
"complexTypes": [],
|
|
773
|
+
"type": "string"
|
|
774
|
+
},
|
|
775
|
+
{
|
|
776
|
+
"name": "refreshToken",
|
|
777
|
+
"tags": [
|
|
778
|
+
{
|
|
779
|
+
"text": "0.0.1",
|
|
780
|
+
"name": "since"
|
|
781
|
+
}
|
|
782
|
+
],
|
|
783
|
+
"docs": "The refresh token for obtaining new access tokens.",
|
|
784
|
+
"complexTypes": [],
|
|
785
|
+
"type": "string"
|
|
786
|
+
},
|
|
787
|
+
{
|
|
788
|
+
"name": "tokenType",
|
|
789
|
+
"tags": [
|
|
790
|
+
{
|
|
791
|
+
"text": "0.0.1",
|
|
792
|
+
"name": "since"
|
|
793
|
+
}
|
|
794
|
+
],
|
|
795
|
+
"docs": "Token type (usually \"bearer\").",
|
|
796
|
+
"complexTypes": [],
|
|
797
|
+
"type": "string"
|
|
798
|
+
},
|
|
799
|
+
{
|
|
800
|
+
"name": "expiresIn",
|
|
801
|
+
"tags": [
|
|
802
|
+
{
|
|
803
|
+
"text": "0.0.1",
|
|
804
|
+
"name": "since"
|
|
805
|
+
}
|
|
806
|
+
],
|
|
807
|
+
"docs": "Number of seconds until the access token expires.",
|
|
808
|
+
"complexTypes": [],
|
|
809
|
+
"type": "number"
|
|
810
|
+
},
|
|
811
|
+
{
|
|
812
|
+
"name": "expiresAt",
|
|
813
|
+
"tags": [
|
|
814
|
+
{
|
|
815
|
+
"text": "0.0.1",
|
|
816
|
+
"name": "since"
|
|
817
|
+
}
|
|
818
|
+
],
|
|
819
|
+
"docs": "Unix timestamp when the token expires.",
|
|
820
|
+
"complexTypes": [],
|
|
821
|
+
"type": "number | undefined"
|
|
822
|
+
},
|
|
823
|
+
{
|
|
824
|
+
"name": "user",
|
|
825
|
+
"tags": [
|
|
826
|
+
{
|
|
827
|
+
"text": "0.0.1",
|
|
828
|
+
"name": "since"
|
|
829
|
+
}
|
|
830
|
+
],
|
|
831
|
+
"docs": "The authenticated user.",
|
|
832
|
+
"complexTypes": [
|
|
833
|
+
"User"
|
|
834
|
+
],
|
|
835
|
+
"type": "User"
|
|
836
|
+
}
|
|
837
|
+
]
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
"name": "User",
|
|
841
|
+
"slug": "user",
|
|
842
|
+
"docs": "User object returned from authentication operations.",
|
|
843
|
+
"tags": [
|
|
844
|
+
{
|
|
845
|
+
"text": "0.0.1",
|
|
846
|
+
"name": "since"
|
|
847
|
+
}
|
|
848
|
+
],
|
|
849
|
+
"methods": [],
|
|
850
|
+
"properties": [
|
|
851
|
+
{
|
|
852
|
+
"name": "id",
|
|
853
|
+
"tags": [
|
|
854
|
+
{
|
|
855
|
+
"text": "0.0.1",
|
|
856
|
+
"name": "since"
|
|
857
|
+
}
|
|
858
|
+
],
|
|
859
|
+
"docs": "Unique identifier for the user.",
|
|
860
|
+
"complexTypes": [],
|
|
861
|
+
"type": "string"
|
|
862
|
+
},
|
|
863
|
+
{
|
|
864
|
+
"name": "email",
|
|
865
|
+
"tags": [
|
|
866
|
+
{
|
|
867
|
+
"text": "0.0.1",
|
|
868
|
+
"name": "since"
|
|
869
|
+
}
|
|
870
|
+
],
|
|
871
|
+
"docs": "User's email address.",
|
|
872
|
+
"complexTypes": [],
|
|
873
|
+
"type": "string | undefined"
|
|
874
|
+
},
|
|
875
|
+
{
|
|
876
|
+
"name": "phone",
|
|
877
|
+
"tags": [
|
|
878
|
+
{
|
|
879
|
+
"text": "0.0.1",
|
|
880
|
+
"name": "since"
|
|
881
|
+
}
|
|
882
|
+
],
|
|
883
|
+
"docs": "User's phone number.",
|
|
884
|
+
"complexTypes": [],
|
|
885
|
+
"type": "string | undefined"
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
"name": "createdAt",
|
|
889
|
+
"tags": [
|
|
890
|
+
{
|
|
891
|
+
"text": "0.0.1",
|
|
892
|
+
"name": "since"
|
|
893
|
+
}
|
|
894
|
+
],
|
|
895
|
+
"docs": "Timestamp when the user was created.",
|
|
896
|
+
"complexTypes": [],
|
|
897
|
+
"type": "string | undefined"
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"name": "lastSignInAt",
|
|
901
|
+
"tags": [
|
|
902
|
+
{
|
|
903
|
+
"text": "0.0.1",
|
|
904
|
+
"name": "since"
|
|
905
|
+
}
|
|
906
|
+
],
|
|
907
|
+
"docs": "Timestamp when the user last signed in.",
|
|
908
|
+
"complexTypes": [],
|
|
909
|
+
"type": "string | undefined"
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
"name": "userMetadata",
|
|
913
|
+
"tags": [
|
|
914
|
+
{
|
|
915
|
+
"text": "0.0.1",
|
|
916
|
+
"name": "since"
|
|
917
|
+
}
|
|
918
|
+
],
|
|
919
|
+
"docs": "User metadata (custom fields).",
|
|
920
|
+
"complexTypes": [
|
|
921
|
+
"Record"
|
|
922
|
+
],
|
|
923
|
+
"type": "Record<string, unknown>"
|
|
924
|
+
},
|
|
925
|
+
{
|
|
926
|
+
"name": "appMetadata",
|
|
927
|
+
"tags": [
|
|
928
|
+
{
|
|
929
|
+
"text": "0.0.1",
|
|
930
|
+
"name": "since"
|
|
931
|
+
}
|
|
932
|
+
],
|
|
933
|
+
"docs": "App metadata.",
|
|
934
|
+
"complexTypes": [
|
|
935
|
+
"Record"
|
|
936
|
+
],
|
|
937
|
+
"type": "Record<string, unknown>"
|
|
938
|
+
}
|
|
939
|
+
]
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
"name": "SignInWithPasswordOptions",
|
|
943
|
+
"slug": "signinwithpasswordoptions",
|
|
944
|
+
"docs": "Options for email/password sign-in.",
|
|
945
|
+
"tags": [
|
|
946
|
+
{
|
|
947
|
+
"text": "0.0.1",
|
|
948
|
+
"name": "since"
|
|
949
|
+
}
|
|
950
|
+
],
|
|
951
|
+
"methods": [],
|
|
952
|
+
"properties": [
|
|
953
|
+
{
|
|
954
|
+
"name": "email",
|
|
955
|
+
"tags": [
|
|
956
|
+
{
|
|
957
|
+
"text": "0.0.1",
|
|
958
|
+
"name": "since"
|
|
959
|
+
}
|
|
960
|
+
],
|
|
961
|
+
"docs": "User's email address.",
|
|
962
|
+
"complexTypes": [],
|
|
963
|
+
"type": "string"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"name": "password",
|
|
967
|
+
"tags": [
|
|
968
|
+
{
|
|
969
|
+
"text": "0.0.1",
|
|
970
|
+
"name": "since"
|
|
971
|
+
}
|
|
972
|
+
],
|
|
973
|
+
"docs": "User's password.",
|
|
974
|
+
"complexTypes": [],
|
|
975
|
+
"type": "string"
|
|
976
|
+
}
|
|
977
|
+
]
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
"name": "SignUpOptions",
|
|
981
|
+
"slug": "signupoptions",
|
|
982
|
+
"docs": "Options for email/password sign-up.",
|
|
983
|
+
"tags": [
|
|
984
|
+
{
|
|
985
|
+
"text": "0.0.1",
|
|
986
|
+
"name": "since"
|
|
987
|
+
}
|
|
988
|
+
],
|
|
989
|
+
"methods": [],
|
|
990
|
+
"properties": [
|
|
991
|
+
{
|
|
992
|
+
"name": "email",
|
|
993
|
+
"tags": [
|
|
994
|
+
{
|
|
995
|
+
"text": "0.0.1",
|
|
996
|
+
"name": "since"
|
|
997
|
+
}
|
|
998
|
+
],
|
|
999
|
+
"docs": "User's email address.",
|
|
1000
|
+
"complexTypes": [],
|
|
1001
|
+
"type": "string"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "password",
|
|
1005
|
+
"tags": [
|
|
1006
|
+
{
|
|
1007
|
+
"text": "0.0.1",
|
|
1008
|
+
"name": "since"
|
|
1009
|
+
}
|
|
1010
|
+
],
|
|
1011
|
+
"docs": "User's password.",
|
|
1012
|
+
"complexTypes": [],
|
|
1013
|
+
"type": "string"
|
|
1014
|
+
},
|
|
1015
|
+
{
|
|
1016
|
+
"name": "data",
|
|
1017
|
+
"tags": [
|
|
1018
|
+
{
|
|
1019
|
+
"text": "0.0.1",
|
|
1020
|
+
"name": "since"
|
|
1021
|
+
}
|
|
1022
|
+
],
|
|
1023
|
+
"docs": "Optional user metadata to store with the user.",
|
|
1024
|
+
"complexTypes": [
|
|
1025
|
+
"Record"
|
|
1026
|
+
],
|
|
1027
|
+
"type": "Record<string, unknown>"
|
|
1028
|
+
}
|
|
1029
|
+
]
|
|
1030
|
+
},
|
|
1031
|
+
{
|
|
1032
|
+
"name": "SignInWithOAuthOptions",
|
|
1033
|
+
"slug": "signinwithoauthoptions",
|
|
1034
|
+
"docs": "Options for OAuth sign-in.",
|
|
1035
|
+
"tags": [
|
|
1036
|
+
{
|
|
1037
|
+
"text": "0.0.1",
|
|
1038
|
+
"name": "since"
|
|
1039
|
+
}
|
|
1040
|
+
],
|
|
1041
|
+
"methods": [],
|
|
1042
|
+
"properties": [
|
|
1043
|
+
{
|
|
1044
|
+
"name": "provider",
|
|
1045
|
+
"tags": [
|
|
1046
|
+
{
|
|
1047
|
+
"text": "0.0.1",
|
|
1048
|
+
"name": "since"
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"docs": "The OAuth provider to use.",
|
|
1052
|
+
"complexTypes": [
|
|
1053
|
+
"OAuthProvider"
|
|
1054
|
+
],
|
|
1055
|
+
"type": "OAuthProvider"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"name": "redirectTo",
|
|
1059
|
+
"tags": [
|
|
1060
|
+
{
|
|
1061
|
+
"text": "0.0.1",
|
|
1062
|
+
"name": "since"
|
|
1063
|
+
}
|
|
1064
|
+
],
|
|
1065
|
+
"docs": "URL to redirect to after authentication.",
|
|
1066
|
+
"complexTypes": [],
|
|
1067
|
+
"type": "string | undefined"
|
|
1068
|
+
},
|
|
1069
|
+
{
|
|
1070
|
+
"name": "scopes",
|
|
1071
|
+
"tags": [
|
|
1072
|
+
{
|
|
1073
|
+
"text": "0.0.1",
|
|
1074
|
+
"name": "since"
|
|
1075
|
+
}
|
|
1076
|
+
],
|
|
1077
|
+
"docs": "OAuth scopes to request.",
|
|
1078
|
+
"complexTypes": [],
|
|
1079
|
+
"type": "string | undefined"
|
|
1080
|
+
}
|
|
1081
|
+
]
|
|
1082
|
+
},
|
|
1083
|
+
{
|
|
1084
|
+
"name": "SignInWithOtpOptions",
|
|
1085
|
+
"slug": "signinwithotpoptions",
|
|
1086
|
+
"docs": "Options for OTP sign-in.",
|
|
1087
|
+
"tags": [
|
|
1088
|
+
{
|
|
1089
|
+
"text": "0.0.1",
|
|
1090
|
+
"name": "since"
|
|
1091
|
+
}
|
|
1092
|
+
],
|
|
1093
|
+
"methods": [],
|
|
1094
|
+
"properties": [
|
|
1095
|
+
{
|
|
1096
|
+
"name": "email",
|
|
1097
|
+
"tags": [
|
|
1098
|
+
{
|
|
1099
|
+
"text": "0.0.1",
|
|
1100
|
+
"name": "since"
|
|
1101
|
+
}
|
|
1102
|
+
],
|
|
1103
|
+
"docs": "User's email address (required if phone is not provided).",
|
|
1104
|
+
"complexTypes": [],
|
|
1105
|
+
"type": "string | undefined"
|
|
1106
|
+
},
|
|
1107
|
+
{
|
|
1108
|
+
"name": "phone",
|
|
1109
|
+
"tags": [
|
|
1110
|
+
{
|
|
1111
|
+
"text": "0.0.1",
|
|
1112
|
+
"name": "since"
|
|
1113
|
+
}
|
|
1114
|
+
],
|
|
1115
|
+
"docs": "User's phone number (required if email is not provided).",
|
|
1116
|
+
"complexTypes": [],
|
|
1117
|
+
"type": "string | undefined"
|
|
1118
|
+
}
|
|
1119
|
+
]
|
|
1120
|
+
},
|
|
1121
|
+
{
|
|
1122
|
+
"name": "VerifyOtpOptions",
|
|
1123
|
+
"slug": "verifyotpoptions",
|
|
1124
|
+
"docs": "Options for verifying OTP.",
|
|
1125
|
+
"tags": [
|
|
1126
|
+
{
|
|
1127
|
+
"text": "0.0.1",
|
|
1128
|
+
"name": "since"
|
|
1129
|
+
}
|
|
1130
|
+
],
|
|
1131
|
+
"methods": [],
|
|
1132
|
+
"properties": [
|
|
1133
|
+
{
|
|
1134
|
+
"name": "email",
|
|
1135
|
+
"tags": [
|
|
1136
|
+
{
|
|
1137
|
+
"text": "0.0.1",
|
|
1138
|
+
"name": "since"
|
|
1139
|
+
}
|
|
1140
|
+
],
|
|
1141
|
+
"docs": "User's email address (required if phone is not provided).",
|
|
1142
|
+
"complexTypes": [],
|
|
1143
|
+
"type": "string | undefined"
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
"name": "phone",
|
|
1147
|
+
"tags": [
|
|
1148
|
+
{
|
|
1149
|
+
"text": "0.0.1",
|
|
1150
|
+
"name": "since"
|
|
1151
|
+
}
|
|
1152
|
+
],
|
|
1153
|
+
"docs": "User's phone number (required if email is not provided).",
|
|
1154
|
+
"complexTypes": [],
|
|
1155
|
+
"type": "string | undefined"
|
|
1156
|
+
},
|
|
1157
|
+
{
|
|
1158
|
+
"name": "token",
|
|
1159
|
+
"tags": [
|
|
1160
|
+
{
|
|
1161
|
+
"text": "0.0.1",
|
|
1162
|
+
"name": "since"
|
|
1163
|
+
}
|
|
1164
|
+
],
|
|
1165
|
+
"docs": "The OTP token received via email/SMS.",
|
|
1166
|
+
"complexTypes": [],
|
|
1167
|
+
"type": "string"
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
"name": "type",
|
|
1171
|
+
"tags": [
|
|
1172
|
+
{
|
|
1173
|
+
"text": "0.0.1",
|
|
1174
|
+
"name": "since"
|
|
1175
|
+
}
|
|
1176
|
+
],
|
|
1177
|
+
"docs": "The type of OTP verification.",
|
|
1178
|
+
"complexTypes": [],
|
|
1179
|
+
"type": "'sms' | 'email' | 'magiclink' | 'signup' | 'recovery'"
|
|
1180
|
+
}
|
|
1181
|
+
]
|
|
1182
|
+
},
|
|
1183
|
+
{
|
|
1184
|
+
"name": "SetSessionOptions",
|
|
1185
|
+
"slug": "setsessionoptions",
|
|
1186
|
+
"docs": "Options for setting a session manually.",
|
|
1187
|
+
"tags": [
|
|
1188
|
+
{
|
|
1189
|
+
"text": "0.0.1",
|
|
1190
|
+
"name": "since"
|
|
1191
|
+
}
|
|
1192
|
+
],
|
|
1193
|
+
"methods": [],
|
|
1194
|
+
"properties": [
|
|
1195
|
+
{
|
|
1196
|
+
"name": "accessToken",
|
|
1197
|
+
"tags": [
|
|
1198
|
+
{
|
|
1199
|
+
"text": "0.0.1",
|
|
1200
|
+
"name": "since"
|
|
1201
|
+
}
|
|
1202
|
+
],
|
|
1203
|
+
"docs": "The access token.",
|
|
1204
|
+
"complexTypes": [],
|
|
1205
|
+
"type": "string"
|
|
1206
|
+
},
|
|
1207
|
+
{
|
|
1208
|
+
"name": "refreshToken",
|
|
1209
|
+
"tags": [
|
|
1210
|
+
{
|
|
1211
|
+
"text": "0.0.1",
|
|
1212
|
+
"name": "since"
|
|
1213
|
+
}
|
|
1214
|
+
],
|
|
1215
|
+
"docs": "The refresh token.",
|
|
1216
|
+
"complexTypes": [],
|
|
1217
|
+
"type": "string"
|
|
1218
|
+
}
|
|
1219
|
+
]
|
|
1220
|
+
},
|
|
1221
|
+
{
|
|
1222
|
+
"name": "PluginListenerHandle",
|
|
1223
|
+
"slug": "pluginlistenerhandle",
|
|
1224
|
+
"docs": "",
|
|
1225
|
+
"tags": [],
|
|
1226
|
+
"methods": [],
|
|
1227
|
+
"properties": [
|
|
1228
|
+
{
|
|
1229
|
+
"name": "remove",
|
|
1230
|
+
"tags": [],
|
|
1231
|
+
"docs": "",
|
|
1232
|
+
"complexTypes": [],
|
|
1233
|
+
"type": "() => Promise<void>"
|
|
1234
|
+
}
|
|
1235
|
+
]
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
"name": "AuthStateChange",
|
|
1239
|
+
"slug": "authstatechange",
|
|
1240
|
+
"docs": "Auth state change callback data.",
|
|
1241
|
+
"tags": [
|
|
1242
|
+
{
|
|
1243
|
+
"text": "0.0.1",
|
|
1244
|
+
"name": "since"
|
|
1245
|
+
}
|
|
1246
|
+
],
|
|
1247
|
+
"methods": [],
|
|
1248
|
+
"properties": [
|
|
1249
|
+
{
|
|
1250
|
+
"name": "event",
|
|
1251
|
+
"tags": [
|
|
1252
|
+
{
|
|
1253
|
+
"text": "0.0.1",
|
|
1254
|
+
"name": "since"
|
|
1255
|
+
}
|
|
1256
|
+
],
|
|
1257
|
+
"docs": "The type of auth event.",
|
|
1258
|
+
"complexTypes": [
|
|
1259
|
+
"AuthChangeEvent"
|
|
1260
|
+
],
|
|
1261
|
+
"type": "AuthChangeEvent"
|
|
1262
|
+
},
|
|
1263
|
+
{
|
|
1264
|
+
"name": "session",
|
|
1265
|
+
"tags": [
|
|
1266
|
+
{
|
|
1267
|
+
"text": "0.0.1",
|
|
1268
|
+
"name": "since"
|
|
1269
|
+
}
|
|
1270
|
+
],
|
|
1271
|
+
"docs": "The current session (null if signed out).",
|
|
1272
|
+
"complexTypes": [
|
|
1273
|
+
"Session"
|
|
1274
|
+
],
|
|
1275
|
+
"type": "Session | null"
|
|
1276
|
+
}
|
|
1277
|
+
]
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
"name": "QueryResult",
|
|
1281
|
+
"slug": "queryresult",
|
|
1282
|
+
"docs": "Result of database queries.",
|
|
1283
|
+
"tags": [
|
|
1284
|
+
{
|
|
1285
|
+
"text": "0.0.1",
|
|
1286
|
+
"name": "since"
|
|
1287
|
+
}
|
|
1288
|
+
],
|
|
1289
|
+
"methods": [],
|
|
1290
|
+
"properties": [
|
|
1291
|
+
{
|
|
1292
|
+
"name": "data",
|
|
1293
|
+
"tags": [
|
|
1294
|
+
{
|
|
1295
|
+
"text": "0.0.1",
|
|
1296
|
+
"name": "since"
|
|
1297
|
+
}
|
|
1298
|
+
],
|
|
1299
|
+
"docs": "The query result data.",
|
|
1300
|
+
"complexTypes": [
|
|
1301
|
+
"T"
|
|
1302
|
+
],
|
|
1303
|
+
"type": "T | null"
|
|
1304
|
+
},
|
|
1305
|
+
{
|
|
1306
|
+
"name": "error",
|
|
1307
|
+
"tags": [
|
|
1308
|
+
{
|
|
1309
|
+
"text": "0.0.1",
|
|
1310
|
+
"name": "since"
|
|
1311
|
+
}
|
|
1312
|
+
],
|
|
1313
|
+
"docs": "Error message if the query failed.",
|
|
1314
|
+
"complexTypes": [],
|
|
1315
|
+
"type": "string | null"
|
|
1316
|
+
},
|
|
1317
|
+
{
|
|
1318
|
+
"name": "count",
|
|
1319
|
+
"tags": [
|
|
1320
|
+
{
|
|
1321
|
+
"text": "0.0.1",
|
|
1322
|
+
"name": "since"
|
|
1323
|
+
}
|
|
1324
|
+
],
|
|
1325
|
+
"docs": "Number of affected rows (for insert/update/delete).",
|
|
1326
|
+
"complexTypes": [],
|
|
1327
|
+
"type": "number | undefined"
|
|
1328
|
+
}
|
|
1329
|
+
]
|
|
1330
|
+
},
|
|
1331
|
+
{
|
|
1332
|
+
"name": "SelectOptions",
|
|
1333
|
+
"slug": "selectoptions",
|
|
1334
|
+
"docs": "Options for database select queries.",
|
|
1335
|
+
"tags": [
|
|
1336
|
+
{
|
|
1337
|
+
"text": "0.0.1",
|
|
1338
|
+
"name": "since"
|
|
1339
|
+
}
|
|
1340
|
+
],
|
|
1341
|
+
"methods": [],
|
|
1342
|
+
"properties": [
|
|
1343
|
+
{
|
|
1344
|
+
"name": "table",
|
|
1345
|
+
"tags": [
|
|
1346
|
+
{
|
|
1347
|
+
"text": "0.0.1",
|
|
1348
|
+
"name": "since"
|
|
1349
|
+
}
|
|
1350
|
+
],
|
|
1351
|
+
"docs": "The table name to query.",
|
|
1352
|
+
"complexTypes": [],
|
|
1353
|
+
"type": "string"
|
|
1354
|
+
},
|
|
1355
|
+
{
|
|
1356
|
+
"name": "columns",
|
|
1357
|
+
"tags": [
|
|
1358
|
+
{
|
|
1359
|
+
"text": "0.0.1",
|
|
1360
|
+
"name": "since"
|
|
1361
|
+
}
|
|
1362
|
+
],
|
|
1363
|
+
"docs": "Columns to select (default: \"*\").",
|
|
1364
|
+
"complexTypes": [],
|
|
1365
|
+
"type": "string | undefined"
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
"name": "filter",
|
|
1369
|
+
"tags": [
|
|
1370
|
+
{
|
|
1371
|
+
"text": "0.0.1",
|
|
1372
|
+
"name": "since"
|
|
1373
|
+
}
|
|
1374
|
+
],
|
|
1375
|
+
"docs": "Filter conditions as key-value pairs.",
|
|
1376
|
+
"complexTypes": [
|
|
1377
|
+
"Record"
|
|
1378
|
+
],
|
|
1379
|
+
"type": "Record<string, unknown>"
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"name": "limit",
|
|
1383
|
+
"tags": [
|
|
1384
|
+
{
|
|
1385
|
+
"text": "0.0.1",
|
|
1386
|
+
"name": "since"
|
|
1387
|
+
}
|
|
1388
|
+
],
|
|
1389
|
+
"docs": "Maximum number of rows to return.",
|
|
1390
|
+
"complexTypes": [],
|
|
1391
|
+
"type": "number | undefined"
|
|
1392
|
+
},
|
|
1393
|
+
{
|
|
1394
|
+
"name": "offset",
|
|
1395
|
+
"tags": [
|
|
1396
|
+
{
|
|
1397
|
+
"text": "0.0.1",
|
|
1398
|
+
"name": "since"
|
|
1399
|
+
}
|
|
1400
|
+
],
|
|
1401
|
+
"docs": "Number of rows to skip.",
|
|
1402
|
+
"complexTypes": [],
|
|
1403
|
+
"type": "number | undefined"
|
|
1404
|
+
},
|
|
1405
|
+
{
|
|
1406
|
+
"name": "orderBy",
|
|
1407
|
+
"tags": [
|
|
1408
|
+
{
|
|
1409
|
+
"text": "0.0.1",
|
|
1410
|
+
"name": "since"
|
|
1411
|
+
}
|
|
1412
|
+
],
|
|
1413
|
+
"docs": "Column to order by.",
|
|
1414
|
+
"complexTypes": [],
|
|
1415
|
+
"type": "string | undefined"
|
|
1416
|
+
},
|
|
1417
|
+
{
|
|
1418
|
+
"name": "ascending",
|
|
1419
|
+
"tags": [
|
|
1420
|
+
{
|
|
1421
|
+
"text": "0.0.1",
|
|
1422
|
+
"name": "since"
|
|
1423
|
+
}
|
|
1424
|
+
],
|
|
1425
|
+
"docs": "Order direction.",
|
|
1426
|
+
"complexTypes": [],
|
|
1427
|
+
"type": "boolean | undefined"
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"name": "single",
|
|
1431
|
+
"tags": [
|
|
1432
|
+
{
|
|
1433
|
+
"text": "0.0.1",
|
|
1434
|
+
"name": "since"
|
|
1435
|
+
}
|
|
1436
|
+
],
|
|
1437
|
+
"docs": "Return a single row instead of an array.",
|
|
1438
|
+
"complexTypes": [],
|
|
1439
|
+
"type": "boolean | undefined"
|
|
1440
|
+
}
|
|
1441
|
+
]
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
"name": "InsertOptions",
|
|
1445
|
+
"slug": "insertoptions",
|
|
1446
|
+
"docs": "Options for database insert queries.",
|
|
1447
|
+
"tags": [
|
|
1448
|
+
{
|
|
1449
|
+
"text": "0.0.1",
|
|
1450
|
+
"name": "since"
|
|
1451
|
+
}
|
|
1452
|
+
],
|
|
1453
|
+
"methods": [],
|
|
1454
|
+
"properties": [
|
|
1455
|
+
{
|
|
1456
|
+
"name": "table",
|
|
1457
|
+
"tags": [
|
|
1458
|
+
{
|
|
1459
|
+
"text": "0.0.1",
|
|
1460
|
+
"name": "since"
|
|
1461
|
+
}
|
|
1462
|
+
],
|
|
1463
|
+
"docs": "The table name to insert into.",
|
|
1464
|
+
"complexTypes": [],
|
|
1465
|
+
"type": "string"
|
|
1466
|
+
},
|
|
1467
|
+
{
|
|
1468
|
+
"name": "values",
|
|
1469
|
+
"tags": [
|
|
1470
|
+
{
|
|
1471
|
+
"text": "0.0.1",
|
|
1472
|
+
"name": "since"
|
|
1473
|
+
}
|
|
1474
|
+
],
|
|
1475
|
+
"docs": "The data to insert (single object or array of objects).",
|
|
1476
|
+
"complexTypes": [
|
|
1477
|
+
"Record"
|
|
1478
|
+
],
|
|
1479
|
+
"type": "Record<string, unknown> | Record<string, unknown>[]"
|
|
1480
|
+
}
|
|
1481
|
+
]
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"name": "UpdateOptions",
|
|
1485
|
+
"slug": "updateoptions",
|
|
1486
|
+
"docs": "Options for database update queries.",
|
|
1487
|
+
"tags": [
|
|
1488
|
+
{
|
|
1489
|
+
"text": "0.0.1",
|
|
1490
|
+
"name": "since"
|
|
1491
|
+
}
|
|
1492
|
+
],
|
|
1493
|
+
"methods": [],
|
|
1494
|
+
"properties": [
|
|
1495
|
+
{
|
|
1496
|
+
"name": "table",
|
|
1497
|
+
"tags": [
|
|
1498
|
+
{
|
|
1499
|
+
"text": "0.0.1",
|
|
1500
|
+
"name": "since"
|
|
1501
|
+
}
|
|
1502
|
+
],
|
|
1503
|
+
"docs": "The table name to update.",
|
|
1504
|
+
"complexTypes": [],
|
|
1505
|
+
"type": "string"
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
"name": "values",
|
|
1509
|
+
"tags": [
|
|
1510
|
+
{
|
|
1511
|
+
"text": "0.0.1",
|
|
1512
|
+
"name": "since"
|
|
1513
|
+
}
|
|
1514
|
+
],
|
|
1515
|
+
"docs": "The data to update.",
|
|
1516
|
+
"complexTypes": [
|
|
1517
|
+
"Record"
|
|
1518
|
+
],
|
|
1519
|
+
"type": "Record<string, unknown>"
|
|
1520
|
+
},
|
|
1521
|
+
{
|
|
1522
|
+
"name": "filter",
|
|
1523
|
+
"tags": [
|
|
1524
|
+
{
|
|
1525
|
+
"text": "0.0.1",
|
|
1526
|
+
"name": "since"
|
|
1527
|
+
}
|
|
1528
|
+
],
|
|
1529
|
+
"docs": "Filter conditions to match rows to update.",
|
|
1530
|
+
"complexTypes": [
|
|
1531
|
+
"Record"
|
|
1532
|
+
],
|
|
1533
|
+
"type": "Record<string, unknown>"
|
|
1534
|
+
}
|
|
1535
|
+
]
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"name": "DeleteOptions",
|
|
1539
|
+
"slug": "deleteoptions",
|
|
1540
|
+
"docs": "Options for database delete queries.",
|
|
1541
|
+
"tags": [
|
|
1542
|
+
{
|
|
1543
|
+
"text": "0.0.1",
|
|
1544
|
+
"name": "since"
|
|
1545
|
+
}
|
|
1546
|
+
],
|
|
1547
|
+
"methods": [],
|
|
1548
|
+
"properties": [
|
|
1549
|
+
{
|
|
1550
|
+
"name": "table",
|
|
1551
|
+
"tags": [
|
|
1552
|
+
{
|
|
1553
|
+
"text": "0.0.1",
|
|
1554
|
+
"name": "since"
|
|
1555
|
+
}
|
|
1556
|
+
],
|
|
1557
|
+
"docs": "The table name to delete from.",
|
|
1558
|
+
"complexTypes": [],
|
|
1559
|
+
"type": "string"
|
|
1560
|
+
},
|
|
1561
|
+
{
|
|
1562
|
+
"name": "filter",
|
|
1563
|
+
"tags": [
|
|
1564
|
+
{
|
|
1565
|
+
"text": "0.0.1",
|
|
1566
|
+
"name": "since"
|
|
1567
|
+
}
|
|
1568
|
+
],
|
|
1569
|
+
"docs": "Filter conditions to match rows to delete.",
|
|
1570
|
+
"complexTypes": [
|
|
1571
|
+
"Record"
|
|
1572
|
+
],
|
|
1573
|
+
"type": "Record<string, unknown>"
|
|
1574
|
+
}
|
|
1575
|
+
]
|
|
1576
|
+
}
|
|
1577
|
+
],
|
|
1578
|
+
"enums": [],
|
|
1579
|
+
"typeAliases": [
|
|
1580
|
+
{
|
|
1581
|
+
"name": "Record",
|
|
1582
|
+
"slug": "record",
|
|
1583
|
+
"docs": "Construct a type with a set of properties K of type T",
|
|
1584
|
+
"types": [
|
|
1585
|
+
{
|
|
1586
|
+
"text": "{\r\n [P in K]: T;\r\n}",
|
|
1587
|
+
"complexTypes": [
|
|
1588
|
+
"K",
|
|
1589
|
+
"T"
|
|
1590
|
+
]
|
|
1591
|
+
}
|
|
1592
|
+
]
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
"name": "OAuthProvider",
|
|
1596
|
+
"slug": "oauthprovider",
|
|
1597
|
+
"docs": "Supported OAuth providers.",
|
|
1598
|
+
"types": [
|
|
1599
|
+
{
|
|
1600
|
+
"text": "'apple'",
|
|
1601
|
+
"complexTypes": []
|
|
1602
|
+
},
|
|
1603
|
+
{
|
|
1604
|
+
"text": "'azure'",
|
|
1605
|
+
"complexTypes": []
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
"text": "'bitbucket'",
|
|
1609
|
+
"complexTypes": []
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
"text": "'discord'",
|
|
1613
|
+
"complexTypes": []
|
|
1614
|
+
},
|
|
1615
|
+
{
|
|
1616
|
+
"text": "'facebook'",
|
|
1617
|
+
"complexTypes": []
|
|
1618
|
+
},
|
|
1619
|
+
{
|
|
1620
|
+
"text": "'figma'",
|
|
1621
|
+
"complexTypes": []
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
"text": "'github'",
|
|
1625
|
+
"complexTypes": []
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
"text": "'gitlab'",
|
|
1629
|
+
"complexTypes": []
|
|
1630
|
+
},
|
|
1631
|
+
{
|
|
1632
|
+
"text": "'google'",
|
|
1633
|
+
"complexTypes": []
|
|
1634
|
+
},
|
|
1635
|
+
{
|
|
1636
|
+
"text": "'kakao'",
|
|
1637
|
+
"complexTypes": []
|
|
1638
|
+
},
|
|
1639
|
+
{
|
|
1640
|
+
"text": "'keycloak'",
|
|
1641
|
+
"complexTypes": []
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
"text": "'linkedin'",
|
|
1645
|
+
"complexTypes": []
|
|
1646
|
+
},
|
|
1647
|
+
{
|
|
1648
|
+
"text": "'linkedin_oidc'",
|
|
1649
|
+
"complexTypes": []
|
|
1650
|
+
},
|
|
1651
|
+
{
|
|
1652
|
+
"text": "'notion'",
|
|
1653
|
+
"complexTypes": []
|
|
1654
|
+
},
|
|
1655
|
+
{
|
|
1656
|
+
"text": "'slack'",
|
|
1657
|
+
"complexTypes": []
|
|
1658
|
+
},
|
|
1659
|
+
{
|
|
1660
|
+
"text": "'slack_oidc'",
|
|
1661
|
+
"complexTypes": []
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
"text": "'spotify'",
|
|
1665
|
+
"complexTypes": []
|
|
1666
|
+
},
|
|
1667
|
+
{
|
|
1668
|
+
"text": "'twitch'",
|
|
1669
|
+
"complexTypes": []
|
|
1670
|
+
},
|
|
1671
|
+
{
|
|
1672
|
+
"text": "'twitter'",
|
|
1673
|
+
"complexTypes": []
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"text": "'workos'",
|
|
1677
|
+
"complexTypes": []
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"text": "'zoom'",
|
|
1681
|
+
"complexTypes": []
|
|
1682
|
+
}
|
|
1683
|
+
]
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
"name": "AuthChangeEvent",
|
|
1687
|
+
"slug": "authchangeevent",
|
|
1688
|
+
"docs": "Auth state change event types.",
|
|
1689
|
+
"types": [
|
|
1690
|
+
{
|
|
1691
|
+
"text": "'INITIAL_SESSION'",
|
|
1692
|
+
"complexTypes": []
|
|
1693
|
+
},
|
|
1694
|
+
{
|
|
1695
|
+
"text": "'SIGNED_IN'",
|
|
1696
|
+
"complexTypes": []
|
|
1697
|
+
},
|
|
1698
|
+
{
|
|
1699
|
+
"text": "'SIGNED_OUT'",
|
|
1700
|
+
"complexTypes": []
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
"text": "'TOKEN_REFRESHED'",
|
|
1704
|
+
"complexTypes": []
|
|
1705
|
+
},
|
|
1706
|
+
{
|
|
1707
|
+
"text": "'USER_UPDATED'",
|
|
1708
|
+
"complexTypes": []
|
|
1709
|
+
},
|
|
1710
|
+
{
|
|
1711
|
+
"text": "'PASSWORD_RECOVERY'",
|
|
1712
|
+
"complexTypes": []
|
|
1713
|
+
}
|
|
1714
|
+
]
|
|
1715
|
+
}
|
|
1716
|
+
],
|
|
1717
|
+
"pluginConfigs": []
|
|
1718
|
+
}
|