File tree Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Expand file tree Collapse file tree 3 files changed +13
-13
lines changed Original file line number Diff line number Diff line change 325
325
</ h5 >
326
326
< div class ="tsd-comment tsd-typography ">
327
327
< div class ="lead ">
328
- < p > Automatically refreshes the token for logged in users.</ p >
328
+ < p > Automatically refreshes the token for logged in users. Defaults to < code > true </ code > . </ p >
329
329
</ div >
330
330
</ div >
331
331
</ li >
359
359
</ h5 >
360
360
< div class ="tsd-comment tsd-typography ">
361
361
< div class ="lead ">
362
- < p > Detect a session from the URL. Used for OAuth login callbacks.</ p >
362
+ < p > Detect a session from the URL. Used for OAuth login callbacks. Defaults to < code > true </ code > . </ p >
363
363
</ div >
364
364
</ div >
365
365
</ li >
440
440
</ h5 >
441
441
< div class ="tsd-comment tsd-typography ">
442
442
< div class ="lead ">
443
- < p > Whether to persist a logged in session to storage.</ p >
443
+ < p > Whether to persist a logged in session to storage. Defaults to < code > true </ code > . </ p >
444
444
</ div >
445
445
</ div >
446
446
</ li >
473
473
< div class ="lead ">
474
474
< p >
475
475
The Postgres schema which your tables belong to. Must be on the list of
476
- exposed schemas in Supabase. Defaults to ' public' .
476
+ exposed schemas in Supabase. Defaults to < code > public</ code > .
477
477
</ p >
478
478
</ div >
479
479
</ div >
Original file line number Diff line number Diff line change 3118
3118
"isOptional" : true
3119
3119
},
3120
3120
"comment" : {
3121
- "shortText" : " Automatically refreshes the token for logged in users."
3121
+ "shortText" : " Automatically refreshes the token for logged in users. Defaults to `true`. "
3122
3122
},
3123
3123
"sources" : [
3124
3124
{
3172
3172
"isOptional" : true
3173
3173
},
3174
3174
"comment" : {
3175
- "shortText" : " Detect a session from the URL. Used for OAuth login callbacks."
3175
+ "shortText" : " Detect a session from the URL. Used for OAuth login callbacks. Defaults to `true`. "
3176
3176
},
3177
3177
"sources" : [
3178
3178
{
3297
3297
"isOptional" : true
3298
3298
},
3299
3299
"comment" : {
3300
- "shortText" : " Whether to persist a logged in session to storage."
3300
+ "shortText" : " Whether to persist a logged in session to storage. Defaults to `true`. "
3301
3301
},
3302
3302
"sources" : [
3303
3303
{
3345
3345
"isOptional" : true
3346
3346
},
3347
3347
"comment" : {
3348
- "shortText" : " The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to ' public' ."
3348
+ "shortText" : " The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to ` public` ."
3349
3349
},
3350
3350
"sources" : [
3351
3351
{
Original file line number Diff line number Diff line change @@ -9,31 +9,31 @@ export type Fetch = typeof fetch
9
9
10
10
export type SupabaseClientOptions < SchemaName > = {
11
11
/**
12
- * The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to ' public' .
12
+ * The Postgres schema which your tables belong to. Must be on the list of exposed schemas in Supabase. Defaults to ` public` .
13
13
*/
14
14
db ?: {
15
15
schema ?: SchemaName
16
16
}
17
17
18
18
auth ?: {
19
19
/**
20
- * Automatically refreshes the token for logged in users.
20
+ * Automatically refreshes the token for logged in users. Defaults to true.
21
21
*/
22
22
autoRefreshToken ?: boolean
23
23
/**
24
- * Optional key name used for storing tokens in local storage
24
+ * Optional key name used for storing tokens in local storage.
25
25
*/
26
26
storageKey ?: string
27
27
/**
28
28
* Whether to persist a logged in session to storage.
29
29
*/
30
30
persistSession ?: boolean
31
31
/**
32
- * Detect a session from the URL. Used for OAuth login callbacks.
32
+ * Detect a session from the URL. Used for OAuth login callbacks. Defaults to true.
33
33
*/
34
34
detectSessionInUrl ?: boolean
35
35
/**
36
- * A storage provider. Used to store the logged in session.
36
+ * A storage provider. Used to store the logged in session. Defaults to true.
37
37
*/
38
38
storage ?: SupabaseAuthClientOptions [ 'storage' ]
39
39
}
You can’t perform that action at this time.
0 commit comments