@stacksjs/types 0.72.102 → 0.73.0

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/app.d.ts CHANGED
@@ -26,5 +26,9 @@ export declare interface AppOptions {
26
26
  primaryColor: string
27
27
  supportEmail: string
28
28
  }
29
- export type AppEnvType = 'local' | 'dev' | 'stage' | 'prod' | 'testing' | string;
29
+ // `(string & {})` rather than a bare `string`, which would absorb every
30
+ // literal beside it and collapse the union to `string` - erasing the named
31
+ // environments from completions while claiming to list them.
32
+ // eslint-disable-next-line ts/ban-types -- keeps literal completions alive
33
+ export type AppEnvType = 'local' | 'dev' | 'stage' | 'prod' | 'testing' | (string & {});
30
34
  export type AppConfig = Partial<AppOptions>;
package/dist/cli.d.ts CHANGED
@@ -174,12 +174,15 @@ export type ActionOptions = {
174
174
  domains?: boolean
175
175
  count?: number
176
176
  dryRun?: boolean // used in buddy release
177
+ /** The job or record an action targets, used by `queue:retry` / `queue:inspect`. */
178
+ id?: string | number
177
179
  } & CliOptions &
178
180
  DomainsOptions;
179
181
  export type BuildOption = | 'components'
180
182
  | 'webComponents'
181
183
  | 'elements'
182
184
  | 'functions'
185
+ | 'libs'
183
186
  | 'desktop'
184
187
  | 'mobile'
185
188
  | 'android'
@@ -220,12 +223,23 @@ export type DevOption = | 'components'
220
223
  | 'all'
221
224
  | 'email'
222
225
  | 'system-tray'
226
+ /** The camel spelling the parser also supplies, read alongside the kebab. */
227
+ | 'systemTray'
228
+ /** `buddy dev dashboard`, which the handler dispatches on. */
229
+ | 'dashboard'
223
230
  | 'interactive'
224
231
  | 'browser'
225
232
  | 'site'
226
233
  | 'verbose';
234
+ /**
235
+ * The flags `buddy dev` accepts.
236
+ *
237
+ * Optional, like every CLI flag: the parsed object carries only what was
238
+ * typed. Declared required, no real options object satisfied it, so the
239
+ * handler read its own flags through casts.
240
+ */
227
241
  export type DevOptions = {
228
- [key in DevOption]: boolean
242
+ [key in DevOption]?: boolean
229
243
  } & CliOptions;
230
244
  export type GeneratorOption = | 'types'
231
245
  | 'entries'
@@ -247,7 +261,13 @@ export type LintOptions = {
247
261
  [key in LintOption]: boolean
248
262
  } & CliOptions;
249
263
  export type MakeStringOption = 'name' | 'chat' | 'sms' | 'env';
250
- export type MakeBooleanOption = | 'component'
264
+ export type MakeBooleanOption = | 'dry-run'
265
+ /** `make:policy --register`, which adds the policy to app/Gates.ts. */
266
+ | 'register'
267
+ /** Kebab spellings read alongside `withValidation` / `withAuth`. */
268
+ | 'with-validation'
269
+ | 'with-auth'
270
+ | 'component'
251
271
  | 'page'
252
272
  | 'function'
253
273
  | 'language'
@@ -260,10 +280,19 @@ export type MakeBooleanOption = | 'component'
260
280
  | 'dryRun'
261
281
  | 'withValidation'
262
282
  | 'withAuth';
283
+ /**
284
+ * The flags `buddy make:*` accepts.
285
+ *
286
+ * Every key optional, because that is what a CLI flag is: the parsed object
287
+ * carries only what the user typed. Declared as required, no real options
288
+ * object ever satisfied it, so `make.ts` reached for `(options).dryRun`
289
+ * and handed `options` to every make* function - which also meant a
290
+ * flag that is genuinely absent read as `boolean` rather than `undefined`.
291
+ */
263
292
  export type MakeOptions = {
264
- [key in MakeBooleanOption]: boolean
293
+ [key in MakeBooleanOption]?: boolean
265
294
  } & {
266
- [key in MakeStringOption]: string
295
+ [key in MakeStringOption]?: string
267
296
  } & CliOptions;
268
297
  export type UpgradeBoolean = 'framework' | 'dependencies' | 'bun' | 'shell' | 'binary' | 'all' | 'force' | 'canary' | 'stable' | 'noPostinstall' | 'postinstall';
269
298
  export type UpgradeString = 'version' | 'from';
@@ -1,3 +1,4 @@
1
+ import type { DeepPartial } from './utils';
1
2
  import type { IntRange } from '@stacksjs/cron';
2
3
  export declare interface JitterConfig {
3
4
  enabled: boolean
@@ -12,16 +13,16 @@ export declare interface BackoffConfig {
12
13
  maxDelay?: number
13
14
  jitter?: JitterConfig
14
15
  }
15
- export declare interface JobOptions {
16
+ export declare interface JobOptions<T = unknown> {
16
17
  name?: string
17
- handle?: string | JobHandler
18
+ handle?: string | JobHandler<T>
18
19
  action?: string
19
20
  description?: string
20
21
  queue?: string
21
22
  timezone?: string
22
23
  tries?: IntRange<0, 185>
23
24
  backoff?: number | number[]
24
- backoffConfig?: BackoffConfig
25
+ backoffConfig?: DeepPartial<BackoffConfig>
25
26
  rate?: string | Every
26
27
  enabled?: boolean
27
28
  timeout?: number
@@ -34,7 +35,16 @@ export type Job = JobOptions;
34
35
  export type Jobs = Job[];
35
36
  export type CronJob = Job;
36
37
  export type CronJobs = Jobs;
37
- export type JobHandler = (_data?: any) => Promise<any> | any;
38
+ /**
39
+ * A job's handler, carrying the shape of the payload it expects.
40
+ *
41
+ * The parameter used to be `_data?: any`, which meant a job could declare
42
+ * `handle(payload: { email: string, name: string })` and have nothing enforce
43
+ * it: `dispatch` took its own unrelated generic, so `dispatch({ emial: … })`,
44
+ * `dispatch('a bare string')` and even `dispatch()` all compiled against a
45
+ * job that requires an address. The declared payload was decorative.
46
+ */
47
+ export type JobHandler<T = unknown> = (_data: T) => Promise<any> | any;
38
48
  /**
39
49
  * Represents different backoff strategies for job retries
40
50
  */
package/dist/docs.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import type { BunPressOptions } from '@stacksjs/bunpress';
2
2
  export declare interface DocsUserConfig extends BunPressOptions {
3
+ lastUpdated?: boolean
3
4
  deploy?: boolean
4
5
  }
5
6
  export declare interface SocialLink {
package/dist/errors.d.ts CHANGED
@@ -14,6 +14,7 @@ export declare interface ErrorOptions {
14
14
  'activeUrl': string
15
15
  'alpha': string
16
16
  'alphaNumeric': string
17
+ 'minLength': string
17
18
  'maxLength': string
18
19
  'fixedLength': string
19
20
  'confirmed': string
@@ -18,12 +18,15 @@ export declare interface JsonFile {
18
18
  * Describes a package.json file.
19
19
  */
20
20
  export declare interface PackageJson {
21
- engines: {
22
- node: string
23
- pnpm: string
21
+ name?: string
22
+ description?: string
23
+ engines?: {
24
+ node?: string
25
+ pnpm?: string
24
26
  }
25
- version: string
26
- packageManager: string
27
+ version?: string
28
+ packageManager?: string
29
+ [key: string]: unknown
27
30
  }
28
31
  export declare interface FileSystemOptions {
29
32
  default: string
package/dist/helpers.d.ts CHANGED
@@ -1 +1 @@
1
- export declare function getTypeName(v: any): string;
1
+ export declare function getTypeName(v: unknown): string;
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
1
  // @bun
2
- function a(e){return typeof e==="object"&&e!==null&&"id"in e&&"userId"in e&&"clientId"in e&&"scopes"in e}function c(e){return a(e)&&"abilities"in e}function d(e){return typeof e==="object"&&e!==null&&"id"in e&&"name"in e&&"secret"in e&&"redirect"in e}var i;((t)=>{t.Second="* * * * * *";t.FiveSeconds="*/5 * * * * *";t.TenSeconds="*/10 * * * * *";t.ThirtySeconds="*/30 * * * * *";t.Minute="* * * * *";t.TwoMinutes="*/2 * * * *";t.FiveMinutes="*/5 * * * *";t.TenMinutes="*/10 * * * *";t.FifteenMinutes="*/15 * * * *";t.ThirtyMinutes="*/30 * * * *";t.Hour="0 * * * *";t.HalfHour="0,30 * * * *";t.Day="0 0 * * *";t.Week="0 0 * * 0";t.Weekday="0 0 * * 1-5";t.Weekend="0 0 * * 0,6";t.Month="0 0 1 * *";t.Year="0 0 1 1 *"})(i||={});var s;((r)=>{r.Bluesky="bluesky";r.Discord="discord";r.Facebook="facebook";r.GitHub="github";r.Instagram="instagram";r.LinkedIn="linkedin";r.Mastodon="mastodon";r.Slack="slack";r.Twitter="twitter";r.YouTube="youtube"})(s||={});var l;((n)=>{n[n.Success=0]="Success";n[n.FatalError=1]="FatalError";n[n.InvalidArgument=9]="InvalidArgument"})(l||={});import{toString as p}from"@stacksjs/strings";function y(e){if(e===null)return"null";let o=p(e).slice(8,-1).toLowerCase();return typeof e==="object"||typeof e==="function"?o:typeof e}function h(e){return e}function T(e){return e}var C={development:{default:"sync",connections:{sync:{driver:"sync"}},failed:{driver:"database",table:"failed_jobs"}},production:{default:"redis",connections:{redis:{driver:"redis",prefix:"stacks:queue",concurrency:5,distributedLock:!0,metrics:{enabled:!0},defaultDeadLetterOptions:{enabled:!0,maxRetries:3}}},failed:{driver:"redis",prefix:"stacks:failed"},worker:{concurrency:5,shutdownTimeout:30000}},highPerformance:{default:"redis",connections:{redis:{driver:"redis",prefix:"stacks:queue",concurrency:20,distributedLock:!0,metrics:{enabled:!0,collectInterval:5000},horizontalScaling:{enabled:!0,maxWorkersPerInstance:20,jobsPerWorker:50},defaultDeadLetterOptions:{enabled:!0,maxRetries:5}}},failed:{driver:"redis",prefix:"stacks:failed"},worker:{concurrency:20,shutdownTimeout:60000}},database:{default:"database",connections:{database:{driver:"database",table:"jobs",queue:"default",retryAfter:90}},failed:{driver:"database",table:"failed_jobs"}}};var M={server:{development:{enabled:!0,mode:"server",debug:!0,server:{host:"localhost",port:6001,scheme:"ws",driver:"bun",rateLimit:{enabled:!1},healthCheck:{enabled:!0,path:"/health"}},channels:{public:!0,private:!0,presence:!0}},production:{enabled:!0,mode:"server",debug:!1,server:{host:"0.0.0.0",port:6001,scheme:"wss",driver:"bun",redis:{enabled:!0,prefix:"stacks:realtime:"},rateLimit:{enabled:!0,maxConnectionsPerIp:100,maxMessagesPerSecond:50,maxPayloadSize:65536},loadManagement:{maxConnections:1e4,backpressureThreshold:1000,messageQueueSize:1e4,gracefulShutdownTimeout:30000},autoScaling:{min:2,max:10,targetCPU:70},healthCheck:{enabled:!0,path:"/health",interval:30},metrics:{enabled:!0,port:9090,path:"/metrics"}},channels:{public:!0,private:!0,presence:!0}},highPerformance:{enabled:!0,mode:"server",server:{driver:"bun",redis:{enabled:!0,cluster:!0},rateLimit:{enabled:!0,maxConnectionsPerIp:500,maxMessagesPerSecond:200,maxPayloadSize:131072},loadManagement:{maxConnections:1e5,backpressureThreshold:5000,messageQueueSize:50000,gracefulShutdownTimeout:60000},autoScaling:{min:4,max:50,targetCPU:60}}},chat:{enabled:!0,mode:"server",server:{driver:"bun",redis:{enabled:!0},rateLimit:{enabled:!0,maxConnectionsPerIp:10,maxMessagesPerSecond:20},loadManagement:{maxConnections:50000}},channels:{public:!0,private:!0,presence:{enabled:!0,maxMembersPerChannel:500,memberInfoTtl:60}}},gaming:{enabled:!0,mode:"server",server:{driver:"bun",redis:{enabled:!0,cluster:!0},rateLimit:{enabled:!0,maxConnectionsPerIp:50,maxMessagesPerSecond:100},loadManagement:{maxConnections:50000,backpressureThreshold:2000,messageQueueSize:20000},autoScaling:{min:2,max:20,targetCPU:50}},channels:{public:!0,private:!0,presence:!0}}},serverless:{development:{enabled:!0,mode:"serverless",debug:!0,serverless:{connectionTimeout:3600,idleTimeout:600,stageName:"dev",memorySize:256,timeout:30},channels:{public:!0,private:!0,presence:!0}},production:{enabled:!0,mode:"serverless",debug:!1,serverless:{connectionTimeout:3600,idleTimeout:600,stageName:"production",memorySize:512,timeout:30,provisionedConcurrency:2},channels:{public:!0,private:!0,presence:!0}},notifications:{enabled:!0,mode:"serverless",serverless:{connectionTimeout:7200,idleTimeout:1800,memorySize:256,timeout:15},channels:{public:!0,private:!0,presence:!1}}}};var S={calendar:{github:"stacksjs/calendar",package:"@stacksjs/calendar",description:"Calendar links, ICS generation, and an STX calendar component"},table:{github:"stacksjs/table",package:"@stacksjs/table",description:"Typed table drivers and an STX data table component"}};export{i as Every,l as ExitCode,C as QueuePresets,M as RealtimePresets,s as SocialLinkIcon,h as defineModel,T as defineModels,y as getTypeName,a as isAccessToken,d as isOAuthClient,c as isPersonalAccessToken,S as stackExtensionRegistry};
2
+ function a(e){return typeof e==="object"&&e!==null&&"id"in e&&"userId"in e&&"clientId"in e&&"scopes"in e}function c(e){return a(e)&&"abilities"in e}function d(e){return typeof e==="object"&&e!==null&&"id"in e&&"name"in e&&"secret"in e&&"redirect"in e}var i;((t)=>{t.Second="* * * * * *";t.FiveSeconds="*/5 * * * * *";t.TenSeconds="*/10 * * * * *";t.ThirtySeconds="*/30 * * * * *";t.Minute="* * * * *";t.TwoMinutes="*/2 * * * *";t.FiveMinutes="*/5 * * * *";t.TenMinutes="*/10 * * * *";t.FifteenMinutes="*/15 * * * *";t.ThirtyMinutes="*/30 * * * *";t.Hour="0 * * * *";t.HalfHour="0,30 * * * *";t.Day="0 0 * * *";t.Week="0 0 * * 0";t.Weekday="0 0 * * 1-5";t.Weekend="0 0 * * 0,6";t.Month="0 0 1 * *";t.Year="0 0 1 1 *"})(i||={});var s;((r)=>{r.Bluesky="bluesky";r.Discord="discord";r.Facebook="facebook";r.GitHub="github";r.Instagram="instagram";r.LinkedIn="linkedin";r.Mastodon="mastodon";r.Slack="slack";r.Twitter="twitter";r.YouTube="youtube"})(s||={});var l;((n)=>{n[n.Success=0]="Success";n[n.FatalError=1]="FatalError";n[n.InvalidArgument=9]="InvalidArgument"})(l||={});import{toString as p}from"@stacksjs/strings";function x(e){if(e===null)return"null";let o=p(e).slice(8,-1).toLowerCase();return typeof e==="object"||typeof e==="function"?o:typeof e}function h(e){return e}function T(e){return e}var C={development:{default:"sync",connections:{sync:{driver:"sync"}},failed:{driver:"database",table:"failed_jobs"}},production:{default:"redis",connections:{redis:{driver:"redis",prefix:"stacks:queue",concurrency:5,distributedLock:!0,metrics:{enabled:!0},defaultDeadLetterOptions:{enabled:!0,maxRetries:3}}},failed:{driver:"redis",prefix:"stacks:failed"},worker:{concurrency:5,shutdownTimeout:30000}},highPerformance:{default:"redis",connections:{redis:{driver:"redis",prefix:"stacks:queue",concurrency:20,distributedLock:!0,metrics:{enabled:!0,collectInterval:5000},horizontalScaling:{enabled:!0,maxWorkersPerInstance:20,jobsPerWorker:50},defaultDeadLetterOptions:{enabled:!0,maxRetries:5}}},failed:{driver:"redis",prefix:"stacks:failed"},worker:{concurrency:20,shutdownTimeout:60000}},database:{default:"database",connections:{database:{driver:"database",table:"jobs",queue:"default",retryAfter:90}},failed:{driver:"database",table:"failed_jobs"}}};var M={server:{development:{enabled:!0,mode:"server",debug:!0,server:{host:"localhost",port:6001,scheme:"ws",driver:"bun",rateLimit:{enabled:!1},healthCheck:{enabled:!0,path:"/health"}},channels:{public:!0,private:!0,presence:!0}},production:{enabled:!0,mode:"server",debug:!1,server:{host:"0.0.0.0",port:6001,scheme:"wss",driver:"bun",redis:{enabled:!0,prefix:"stacks:realtime:"},rateLimit:{enabled:!0,maxConnectionsPerIp:100,maxMessagesPerSecond:50,maxPayloadSize:65536},loadManagement:{maxConnections:1e4,backpressureThreshold:1000,messageQueueSize:1e4,gracefulShutdownTimeout:30000},autoScaling:{min:2,max:10,targetCPU:70},healthCheck:{enabled:!0,path:"/health",interval:30},metrics:{enabled:!0,port:9090,path:"/metrics"}},channels:{public:!0,private:!0,presence:!0}},highPerformance:{enabled:!0,mode:"server",server:{driver:"bun",redis:{enabled:!0,cluster:!0},rateLimit:{enabled:!0,maxConnectionsPerIp:500,maxMessagesPerSecond:200,maxPayloadSize:131072},loadManagement:{maxConnections:1e5,backpressureThreshold:5000,messageQueueSize:50000,gracefulShutdownTimeout:60000},autoScaling:{min:4,max:50,targetCPU:60}}},chat:{enabled:!0,mode:"server",server:{driver:"bun",redis:{enabled:!0},rateLimit:{enabled:!0,maxConnectionsPerIp:10,maxMessagesPerSecond:20},loadManagement:{maxConnections:50000}},channels:{public:!0,private:!0,presence:{enabled:!0,maxMembersPerChannel:500,memberInfoTtl:60}}},gaming:{enabled:!0,mode:"server",server:{driver:"bun",redis:{enabled:!0,cluster:!0},rateLimit:{enabled:!0,maxConnectionsPerIp:50,maxMessagesPerSecond:100},loadManagement:{maxConnections:50000,backpressureThreshold:2000,messageQueueSize:20000},autoScaling:{min:2,max:20,targetCPU:50}},channels:{public:!0,private:!0,presence:!0}}},serverless:{development:{enabled:!0,mode:"serverless",debug:!0,serverless:{connectionTimeout:3600,idleTimeout:600,stageName:"dev",memorySize:256,timeout:30},channels:{public:!0,private:!0,presence:!0}},production:{enabled:!0,mode:"serverless",debug:!1,serverless:{connectionTimeout:3600,idleTimeout:600,stageName:"production",memorySize:512,timeout:30,provisionedConcurrency:2},channels:{public:!0,private:!0,presence:!0}},notifications:{enabled:!0,mode:"serverless",serverless:{connectionTimeout:7200,idleTimeout:1800,memorySize:256,timeout:15},channels:{public:!0,private:!0,presence:!1}}}};var S={calendar:{github:"stacksjs/calendar",package:"@stacksjs/calendar",description:"Calendar links, ICS generation, and an STX calendar component"},table:{github:"stacksjs/table",package:"@stacksjs/table",description:"Typed table drivers and an STX data table component"}};export{i as Every,l as ExitCode,C as QueuePresets,M as RealtimePresets,s as SocialLinkIcon,h as defineModel,T as defineModels,x as getTypeName,a as isAccessToken,d as isOAuthClient,c as isPersonalAccessToken,S as stackExtensionRegistry};
package/dist/library.d.ts CHANGED
@@ -18,6 +18,30 @@ export declare interface LibraryOptions {
18
18
  defaultLanguage: LanguageCode
19
19
  webComponents: LibraryBuildOptions
20
20
  functions: LibraryBuildOptions
21
+ packages: LibraryPackageOptions[]
22
+ }
23
+ /**
24
+ * One releasable package built out of `resources/`.
25
+ */
26
+ export declare interface LibraryPackageOptions {
27
+ name: string
28
+ kind?: LibraryPackageKind
29
+ dir?: string
30
+ description?: string
31
+ keywords?: string[]
32
+ license?: LicenseType
33
+ version?: string
34
+ private?: boolean
35
+ access?: 'public' | 'restricted'
36
+ shouldGenerateSourcemap?: boolean
37
+ include?: string[]
38
+ exclude?: string[]
39
+ files?: string[]
40
+ tags?: TagsOptions
41
+ prefix?: string
42
+ runtime?: 'standalone' | 'stx'
43
+ dependencies?: Record<string, string>
44
+ peerDependencies?: Record<string, string>
21
45
  }
22
46
  /**
23
47
  * The list of available options to build your library.
@@ -30,6 +54,17 @@ export declare interface LibraryBuildOptions {
30
54
  files?: string[]
31
55
  tags?: TagsOptions
32
56
  }
57
+ /**
58
+ * What a library package ships.
59
+ *
60
+ * - `functions` bundles TypeScript from `resources/functions` into an ESM
61
+ * package with declarations.
62
+ * - `components` compiles `.stx` files from `resources/components` into a
63
+ * progressive custom-element library (the stx component-library build).
64
+ * - `web-components` emits a self-registering `customElements.define(...)`
65
+ * bundle for the same sources - the drop-in-a-script-tag flavor.
66
+ */
67
+ export type LibraryPackageKind = 'functions' | 'components' | 'web-components';
33
68
  export type LibraryConfig = Partial<LibraryOptions>;
34
69
  /**
35
70
  * The name of your "Stack" which generally is your library name
@@ -7,6 +7,12 @@ export declare interface PaymentOptions {
7
7
  stripe: StripeConfig
8
8
  currency?: string
9
9
  webhook?: WebhookConfig
10
+ connect?: ConnectConfig
11
+ }
12
+ export declare interface ConnectConfig {
13
+ enabled: boolean
14
+ platformFeePercent?: number
15
+ webhookSecret?: string
10
16
  }
11
17
  export declare interface StripeConfig {
12
18
  publishableKey: string
@@ -319,4 +325,11 @@ export type WebhookEventType = | 'payment_intent.succeeded'
319
325
  | 'payment_method.attached'
320
326
  | 'payment_method.detached'
321
327
  | 'setup_intent.succeeded'
322
- | 'setup_intent.setup_failed';
328
+ | 'setup_intent.setup_failed'
329
+ // Connect. Delivered to the platform's Connect endpoint, not the account
330
+ // endpoint, and each carries `event.account` naming the connected account.
331
+ | 'account.updated'
332
+ | 'account.application.deauthorized'
333
+ | 'payout.created'
334
+ | 'payout.paid'
335
+ | 'payout.failed';
package/dist/queue.d.ts CHANGED
@@ -192,6 +192,8 @@ export declare interface QueueJobOptions {
192
192
  */
193
193
  export declare interface RedisConnectionConfig {
194
194
  driver: 'redis'
195
+ retryAfter?: number
196
+ queue?: string
195
197
  redis?: QueueRedisConfig
196
198
  prefix?: string
197
199
  defaultJobOptions?: QueueJobOptions
@@ -275,17 +277,16 @@ export declare interface QueueOptions {
275
277
  shutdownTimeout?: number
276
278
  }
277
279
  }
278
- // @ts-ignore - QueueOption extends JobOptions with compatible overrides
279
280
  export declare interface QueueOption extends JobOptions {
280
281
  delay?: number
281
- payload?: any
282
- afterResponse?: any
282
+ payload?: unknown
283
+ afterResponse?: unknown
283
284
  context?: string
284
285
  maxTries?: number
285
286
  chainedJobs?: Dispatchable[]
286
287
  queue?: string
287
288
  priority?: number
288
- backoff?: number[] | QueueBackoff
289
+ backoff?: number | number[]
289
290
  timeout?: number
290
291
  immediate?: boolean
291
292
  }
@@ -143,6 +143,8 @@ export declare interface ServicesOptions {
143
143
  secretKey?: string
144
144
  publicKey?: string
145
145
  webhookSecret?: string
146
+ appId?: string
147
+ apiKey?: string
146
148
  apiVersion?: string
147
149
  }
148
150
  }
package/dist/ui.d.ts CHANGED
@@ -27,6 +27,7 @@ export declare interface WebFontMeta {
27
27
  * have any questions, feel free to reach out via Discord or GitHub Discussions.
28
28
  */
29
29
  export declare interface UiOptions {
30
+ defaultViews?: boolean | string[]
30
31
  shortcuts: Shortcuts
31
32
  safelist: string
32
33
  trigger?: string
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.72.102",
4
+ "version": "0.73.0",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "contributors": [
@@ -57,9 +57,9 @@
57
57
  },
58
58
  "dependencies": {
59
59
  "@stacksjs/bunpress": "^0.2.8",
60
- "@stacksjs/events": "0.72.102",
60
+ "@stacksjs/events": "0.73.0",
61
61
  "@stacksjs/clapp": "^0.2.12",
62
- "@stacksjs/stx": "^0.2.245",
62
+ "@stacksjs/stx": "^0.2.246",
63
63
  "@stacksjs/ts-validation": "^0.5.6",
64
64
  "bun-query-builder": "^0.2.53"
65
65
  },
@@ -72,7 +72,7 @@
72
72
  }
73
73
  },
74
74
  "devDependencies": {
75
- "@stacksjs/validation": "0.72.102",
75
+ "@stacksjs/validation": "0.73.0",
76
76
  "better-dx": "^0.2.24",
77
77
  "meilisearch": "^0.59.0"
78
78
  },