@stacksjs/types 0.75.463 → 0.75.465
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/dist/auth.d.ts +3 -0
- package/package.json +4 -4
package/dist/auth.d.ts
CHANGED
|
@@ -131,6 +131,7 @@ export declare interface AuthOptions {
|
|
|
131
131
|
url?: string
|
|
132
132
|
}
|
|
133
133
|
session?: {
|
|
134
|
+
lifetime?: number
|
|
134
135
|
enforceFingerprint?: boolean | { ip?: boolean, userAgent?: boolean }
|
|
135
136
|
}
|
|
136
137
|
registration?: {
|
|
@@ -139,6 +140,8 @@ export declare interface AuthOptions {
|
|
|
139
140
|
socials?: {
|
|
140
141
|
matching?: 'link' | 'create' | 'refuse'
|
|
141
142
|
}
|
|
143
|
+
admins?: string[]
|
|
144
|
+
adminRole?: { name: string, guard?: string } | false
|
|
142
145
|
}
|
|
143
146
|
export declare interface AuthInstance {
|
|
144
147
|
guard: string
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/types",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.75.
|
|
4
|
+
"version": "0.75.465",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@stacksjs/bunpress": "^0.2.15",
|
|
66
66
|
"@stacksjs/clapp": "^0.2.12",
|
|
67
|
-
"@stacksjs/events": "0.75.
|
|
68
|
-
"@stacksjs/strings": "0.75.
|
|
67
|
+
"@stacksjs/events": "0.75.465",
|
|
68
|
+
"@stacksjs/strings": "0.75.465",
|
|
69
69
|
"@stacksjs/stx": "0.2.798",
|
|
70
70
|
"@stacksjs/ts-validation": "^0.5.7",
|
|
71
71
|
"bun-query-builder": "^0.3.38"
|
|
@@ -83,7 +83,7 @@
|
|
|
83
83
|
}
|
|
84
84
|
},
|
|
85
85
|
"devDependencies": {
|
|
86
|
-
"@stacksjs/validation": "0.75.
|
|
86
|
+
"@stacksjs/validation": "0.75.465",
|
|
87
87
|
"better-dx": "^0.2.24",
|
|
88
88
|
"meilisearch": "^0.62.0",
|
|
89
89
|
"stripe": "23.0.0"
|