@stacksjs/types 0.75.573 → 0.75.579

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 CHANGED
@@ -136,6 +136,10 @@ export declare interface AuthOptions {
136
136
  }
137
137
  registration?: {
138
138
  preventEnumeration?: boolean
139
+ rateLimit?: {
140
+ perIp?: number | false
141
+ perEmail?: number | false
142
+ }
139
143
  }
140
144
  socials?: {
141
145
  matching?: 'link' | 'create' | 'refuse'
package/dist/model.d.ts CHANGED
@@ -189,6 +189,7 @@ export declare interface ModelOptions extends Base {
189
189
  table?: string
190
190
  primaryKey?: string
191
191
  autoIncrement?: boolean
192
+ databaseExtensions?: readonly 'vector'[]
192
193
  indexes?: CompositeIndex[]
193
194
  dashboard?: DashboardModelOptions
194
195
  traits?: {
@@ -6,6 +6,12 @@ export declare interface HqServiceOptions {
6
6
  project?: string
7
7
  license?: string
8
8
  }
9
+ /** The HQ entries of `config/services.ts`, on their own. */
10
+ export declare interface SupportHqOptions extends HqServiceOptions {
11
+ enabled?: boolean
12
+ expose?: readonly ('email' | 'name')[]
13
+ messenger?: { enabled?: boolean, loaderUrl?: string, locale?: string }
14
+ }
9
15
  export declare interface ServicesOptions {
10
16
  algolia?: {
11
17
  appId: string
@@ -167,6 +173,7 @@ export declare interface ServicesOptions {
167
173
  analyticshq?: HqServiceOptions
168
174
  statushq?: HqServiceOptions
169
175
  commshq?: HqServiceOptions
176
+ supporthq?: SupportHqOptions
170
177
  reportshq?: HqServiceOptions
171
178
  }
172
179
  /**
@@ -176,7 +183,6 @@ export declare interface ServicesOptions {
176
183
  * subscription, so every service carries its own credentials and nothing is
177
184
  * shared between them.
178
185
  */
179
- export type HqServiceName = 'bughq' | 'loghq' | 'analyticshq' | 'statushq' | 'commshq' | 'reportshq';
180
- /** The HQ entries of `config/services.ts`, on their own. */
181
- export type HqServicesConfig = Partial<Record<HqServiceName, HqServiceOptions>>;
186
+ export type HqServiceName = 'bughq' | 'loghq' | 'analyticshq' | 'statushq' | 'commshq' | 'reportshq' | 'supporthq';
187
+ export type HqServicesConfig = Partial<Record<HqServiceName, HqServiceOptions>> & { supporthq?: SupportHqOptions }
182
188
  export type ServicesConfig = Partial<ServicesOptions>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.75.573",
4
+ "version": "0.75.579",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -64,16 +64,16 @@
64
64
  "dependencies": {
65
65
  "@stacksjs/bunpress": "^0.2.15",
66
66
  "@stacksjs/clapp": "^0.2.17",
67
- "@stacksjs/events": "0.75.573",
68
- "@stacksjs/strings": "0.75.573",
69
- "@stacksjs/stx": "^0.2.864",
67
+ "@stacksjs/events": "0.75.579",
68
+ "@stacksjs/strings": "0.75.579",
69
+ "@stacksjs/stx": "^0.2.872",
70
70
  "@stacksjs/ts-validation": "^0.5.7",
71
71
  "bun-query-builder": "^0.6.0",
72
72
  "meilisearch": "^0.62.0",
73
73
  "stripe": "23.0.0"
74
74
  },
75
75
  "devDependencies": {
76
- "@stacksjs/validation": "0.75.573",
76
+ "@stacksjs/validation": "0.75.579",
77
77
  "better-dx": "^0.2.39"
78
78
  },
79
79
  "sideEffects": false,
@@ -99,7 +99,7 @@
99
99
  }
100
100
  },
101
101
  "peerDependencies": {
102
- "@stacksjs/actions": "0.75.573",
103
- "@stacksjs/scheduler": "0.75.573"
102
+ "@stacksjs/actions": "0.75.579",
103
+ "@stacksjs/scheduler": "0.75.579"
104
104
  }
105
105
  }