@stacksjs/types 0.75.766 → 0.75.770
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/cli.d.ts +4 -0
- package/dist/cron-jobs.d.ts +1 -0
- package/dist/desktop.d.ts +33 -0
- package/dist/notifications.d.ts +13 -0
- package/dist/queue.d.ts +1 -0
- package/package.json +9 -9
package/dist/cli.d.ts
CHANGED
|
@@ -183,6 +183,10 @@ export type ActionOptions = {
|
|
|
183
183
|
dryRun?: boolean // used in buddy release
|
|
184
184
|
/** The job or record an action targets, used by `queue:retry` / `queue:inspect`. */
|
|
185
185
|
id?: string | number
|
|
186
|
+
/** The job class an action targets, used by `queue:unlock` / `queue:unquarantine`. */
|
|
187
|
+
name?: string
|
|
188
|
+
/** A unique job's lock key, used by `queue:unlock`. */
|
|
189
|
+
key?: string
|
|
186
190
|
/**
|
|
187
191
|
* Become the action instead of waiting on it: the calling process is
|
|
188
192
|
* replaced by the action's, where the platform allows. For a command whose
|
package/dist/cron-jobs.d.ts
CHANGED
package/dist/desktop.d.ts
CHANGED
|
@@ -166,9 +166,13 @@ export declare interface MacosDesktopConfig {
|
|
|
166
166
|
output?: string
|
|
167
167
|
agent?: boolean | MacosAgentConfig
|
|
168
168
|
webkit?: boolean
|
|
169
|
+
maps?: boolean
|
|
169
170
|
defaultBrowser?: boolean
|
|
170
171
|
permissions?: MacosPermissions
|
|
171
172
|
dockMenu?: MacosDockMenuItem[]
|
|
173
|
+
menuBarOnly?: boolean
|
|
174
|
+
statusItems?: MacosStatusItem[]
|
|
175
|
+
globalShortcuts?: MacosGlobalShortcut[]
|
|
172
176
|
updates?: DesktopUpdatesConfig
|
|
173
177
|
}
|
|
174
178
|
export declare interface MacosAgentConfig {
|
|
@@ -186,6 +190,35 @@ export declare interface MacosPermissions {
|
|
|
186
190
|
downloads?: boolean | 'read-only'
|
|
187
191
|
printing?: boolean
|
|
188
192
|
}
|
|
193
|
+
export declare interface MacosStatusItem {
|
|
194
|
+
id: string
|
|
195
|
+
title?: string
|
|
196
|
+
icon?: string
|
|
197
|
+
template?: boolean
|
|
198
|
+
tooltip?: string
|
|
199
|
+
accessibilityLabel?: string
|
|
200
|
+
menu?: MacosMenuItem[]
|
|
201
|
+
popover?: {
|
|
202
|
+
screen: string
|
|
203
|
+
width?: number
|
|
204
|
+
height?: number
|
|
205
|
+
params?: Record<string, unknown>
|
|
206
|
+
pinned?: boolean
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
export declare interface MacosMenuItem {
|
|
210
|
+
id?: string
|
|
211
|
+
label?: string
|
|
212
|
+
shortcut?: string
|
|
213
|
+
separator?: boolean
|
|
214
|
+
disabled?: boolean
|
|
215
|
+
checked?: boolean
|
|
216
|
+
icon?: string
|
|
217
|
+
}
|
|
218
|
+
export declare interface MacosGlobalShortcut {
|
|
219
|
+
id: string
|
|
220
|
+
accelerator: string
|
|
221
|
+
}
|
|
189
222
|
export declare interface MacosDockMenuItem {
|
|
190
223
|
title: string
|
|
191
224
|
action: string
|
package/dist/notifications.d.ts
CHANGED
|
@@ -127,6 +127,19 @@ export declare interface NotificationOptions {
|
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
129
|
}
|
|
130
|
+
webhooks?: OutboundWebhookConfig
|
|
131
|
+
}
|
|
132
|
+
/** One event an app sends to its customers' endpoints. */
|
|
133
|
+
export declare interface WebhookEventDefinition {
|
|
134
|
+
description: string
|
|
135
|
+
}
|
|
136
|
+
export declare interface OutboundWebhookConfig {
|
|
137
|
+
events?: Record<string, WebhookEventDefinition>
|
|
138
|
+
retentionDays?: number | false
|
|
139
|
+
maxAttempts?: number
|
|
140
|
+
disableAfterFailures?: number
|
|
141
|
+
timeoutMs?: number
|
|
142
|
+
maxPayloadBytes?: number
|
|
130
143
|
}
|
|
131
144
|
/** A channel a notification can be delivered on. */
|
|
132
145
|
export type NotificationChannelName = 'email' | 'sms' | 'chat' | 'database' | 'push' | 'broadcast';
|
package/dist/queue.d.ts
CHANGED
|
@@ -201,6 +201,7 @@ export declare interface RedisConnectionConfig {
|
|
|
201
201
|
metrics?: QueueMetricsConfig
|
|
202
202
|
stalledJobCheckInterval?: number
|
|
203
203
|
maxStalledJobRetries?: number
|
|
204
|
+
stalledThreshold?: number
|
|
204
205
|
distributedLock?: boolean
|
|
205
206
|
defaultDeadLetterOptions?: DeadLetterQueueConfig
|
|
206
207
|
horizontalScaling?: HorizontalScalingConfig
|
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.770",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
"dependencies": {
|
|
71
71
|
"@stacksjs/bunpress": "^0.2.36",
|
|
72
72
|
"@stacksjs/clapp": "^0.2.17",
|
|
73
|
-
"@stacksjs/events": "0.75.
|
|
74
|
-
"@stacksjs/hq": "0.75.
|
|
75
|
-
"@stacksjs/strings": "0.75.
|
|
73
|
+
"@stacksjs/events": "0.75.770",
|
|
74
|
+
"@stacksjs/hq": "0.75.770",
|
|
75
|
+
"@stacksjs/strings": "0.75.770",
|
|
76
76
|
"@stacksjs/stx": "^0.2.983",
|
|
77
77
|
"@stacksjs/ts-validation": "^0.5.7",
|
|
78
|
-
"bun-query-builder": "^0.6.
|
|
78
|
+
"bun-query-builder": "^0.6.7",
|
|
79
79
|
"meilisearch": "^0.62.0",
|
|
80
|
-
"stripe": "23.
|
|
80
|
+
"stripe": "^23.2.0"
|
|
81
81
|
},
|
|
82
82
|
"devDependencies": {
|
|
83
|
-
"@stacksjs/validation": "0.75.
|
|
83
|
+
"@stacksjs/validation": "0.75.770",
|
|
84
84
|
"better-dx": "^0.2.42"
|
|
85
85
|
},
|
|
86
86
|
"sideEffects": false,
|
|
@@ -112,7 +112,7 @@
|
|
|
112
112
|
}
|
|
113
113
|
},
|
|
114
114
|
"peerDependencies": {
|
|
115
|
-
"@stacksjs/actions": "0.75.
|
|
116
|
-
"@stacksjs/scheduler": "0.75.
|
|
115
|
+
"@stacksjs/actions": "0.75.770",
|
|
116
|
+
"@stacksjs/scheduler": "0.75.770"
|
|
117
117
|
}
|
|
118
118
|
}
|