@stacksjs/types 0.75.544 → 0.75.551
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/cron-jobs.d.ts +1 -2
- package/dist/database.d.ts +1 -0
- package/dist/desktop.d.ts +66 -4
- package/dist/index.d.ts +0 -1
- package/dist/router.d.ts +1 -1
- package/dist/scheduler.d.ts +1 -1
- package/package.json +12 -20
- package/dist/env.d.ts +0 -1
package/dist/cron-jobs.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { DeepPartial } from './utils';
|
|
2
|
-
import type { IntRange } from '@stacksjs/cron';
|
|
3
2
|
export declare interface JitterConfig {
|
|
4
3
|
enabled: boolean
|
|
5
4
|
factor?: number
|
|
@@ -20,7 +19,7 @@ export declare interface JobOptions<T = unknown> {
|
|
|
20
19
|
description?: string
|
|
21
20
|
queue?: string
|
|
22
21
|
timezone?: string
|
|
23
|
-
tries?:
|
|
22
|
+
tries?: number
|
|
24
23
|
backoff?: number | number[]
|
|
25
24
|
backoffConfig?: DeepPartial<BackoffConfig>
|
|
26
25
|
rate?: string | Every
|
package/dist/database.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export declare interface NetworkedConnectionOptions {
|
|
|
53
53
|
export declare interface DatabaseBackupOptions {
|
|
54
54
|
destination?: string
|
|
55
55
|
retain?: number
|
|
56
|
+
timeout?: number
|
|
56
57
|
}
|
|
57
58
|
export declare interface DatabaseOptions {
|
|
58
59
|
default: SupportedDialect | 'turso' | 'libsql'
|
package/dist/desktop.d.ts
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import type { MobilePrivacyManifest } from './mobile';
|
|
2
2
|
/**
|
|
3
3
|
* `config/desktop.ts`: the desktop apps a Stacks project builds, the way
|
|
4
|
-
* `config/mobile.ts` declares its phone apps.
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
* `buddy desktop:apple:package
|
|
4
|
+
* `config/mobile.ts` declares its phone apps. Two kinds: `macos`, a native
|
|
5
|
+
* macOS app whose stx screens are drawn by Craft's AppKit host (no web view),
|
|
6
|
+
* signed and packaged by `buddy build:desktop` and
|
|
7
|
+
* `buddy desktop:apple:package`; and `webview`, a web view window on a local
|
|
8
|
+
* agent that runs on macOS, Windows and Linux.
|
|
8
9
|
*
|
|
9
10
|
* ```ts
|
|
10
11
|
* export default {
|
|
@@ -26,6 +27,65 @@ import type { MobilePrivacyManifest } from './mobile';
|
|
|
26
27
|
*/
|
|
27
28
|
export declare interface DesktopConfig {
|
|
28
29
|
macos?: MacosDesktopConfig
|
|
30
|
+
webview?: WebviewDesktopConfig
|
|
31
|
+
}
|
|
32
|
+
export declare interface WebviewWindowConfig {
|
|
33
|
+
title?: string
|
|
34
|
+
width?: number
|
|
35
|
+
height?: number
|
|
36
|
+
darkMode?: boolean
|
|
37
|
+
devtools?: boolean
|
|
38
|
+
titlebarHidden?: boolean
|
|
39
|
+
arguments?: string[]
|
|
40
|
+
}
|
|
41
|
+
export declare interface WebviewAgentConfig {
|
|
42
|
+
entry?: string
|
|
43
|
+
port?: number
|
|
44
|
+
views?: string
|
|
45
|
+
components?: string[]
|
|
46
|
+
startPath?: string
|
|
47
|
+
publicPaths?: string[]
|
|
48
|
+
}
|
|
49
|
+
export declare interface WebviewUpdatesConfig {
|
|
50
|
+
feedUrl: string
|
|
51
|
+
publicKeys: Record<string, string>
|
|
52
|
+
channel?: string
|
|
53
|
+
disk?: string
|
|
54
|
+
prefix?: string
|
|
55
|
+
artifactBaseUrl?: string
|
|
56
|
+
checkEveryHours?: number
|
|
57
|
+
}
|
|
58
|
+
export declare interface WebviewDesktopConfig {
|
|
59
|
+
appName: string
|
|
60
|
+
appId: string
|
|
61
|
+
version?: string
|
|
62
|
+
description?: string
|
|
63
|
+
publisher?: string
|
|
64
|
+
homepage?: string
|
|
65
|
+
icon?: string
|
|
66
|
+
window?: WebviewWindowConfig
|
|
67
|
+
agent?: WebviewAgentConfig
|
|
68
|
+
urlSchemes?: string[]
|
|
69
|
+
updates?: WebviewUpdatesConfig
|
|
70
|
+
runtime?: Partial<Record<DesktopTargetName, string>>
|
|
71
|
+
macos?: {
|
|
72
|
+
bundleId?: string
|
|
73
|
+
minimumSystemVersion?: string
|
|
74
|
+
category?: string
|
|
75
|
+
entitlements?: Record<string, boolean | string | string[]>
|
|
76
|
+
usageDescriptions?: Record<string, string>
|
|
77
|
+
infoPlist?: Record<string, unknown>
|
|
78
|
+
}
|
|
79
|
+
windows?: {
|
|
80
|
+
additionalFiles?: string[]
|
|
81
|
+
certificatePath?: string
|
|
82
|
+
}
|
|
83
|
+
linux?: {
|
|
84
|
+
categories?: string[]
|
|
85
|
+
debDependencies?: string[]
|
|
86
|
+
rpmDependencies?: string[]
|
|
87
|
+
}
|
|
88
|
+
output?: string
|
|
29
89
|
}
|
|
30
90
|
export declare interface MacosWindowConfig {
|
|
31
91
|
width?: number
|
|
@@ -83,3 +143,5 @@ export declare interface MacosDockMenuItem {
|
|
|
83
143
|
title: string
|
|
84
144
|
action: string
|
|
85
145
|
}
|
|
146
|
+
/** A build target: a Node platform id and architecture, as `process.platform`-`process.arch`. */
|
|
147
|
+
export type DesktopTargetName = 'darwin-arm64' | 'darwin-x64' | 'linux-x64' | 'linux-arm64' | 'win32-x64' | 'win32-arm64';
|
package/dist/index.d.ts
CHANGED
package/dist/router.d.ts
CHANGED
package/dist/scheduler.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export type { Schedule } from '@stacksjs/scheduler';
|
|
1
|
+
export type { Schedule } from '@stacksjs/scheduler/schedule';
|
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.551",
|
|
5
5
|
"description": "The Stacks framework types.",
|
|
6
6
|
"author": "Chris Breuer",
|
|
7
7
|
"contributors": [
|
|
@@ -63,30 +63,18 @@
|
|
|
63
63
|
},
|
|
64
64
|
"dependencies": {
|
|
65
65
|
"@stacksjs/bunpress": "^0.2.15",
|
|
66
|
-
"@stacksjs/clapp": "^0.2.
|
|
67
|
-
"@stacksjs/events": "0.75.
|
|
68
|
-
"@stacksjs/strings": "0.75.
|
|
69
|
-
"@stacksjs/stx": "^0.2.
|
|
66
|
+
"@stacksjs/clapp": "^0.2.17",
|
|
67
|
+
"@stacksjs/events": "0.75.551",
|
|
68
|
+
"@stacksjs/strings": "0.75.551",
|
|
69
|
+
"@stacksjs/stx": "^0.2.859",
|
|
70
70
|
"@stacksjs/ts-validation": "^0.5.7",
|
|
71
|
-
"bun-query-builder": "^0.3.44"
|
|
72
|
-
},
|
|
73
|
-
"peerDependencies": {
|
|
71
|
+
"bun-query-builder": "^0.3.44",
|
|
74
72
|
"meilisearch": "^0.62.0",
|
|
75
73
|
"stripe": "23.0.0"
|
|
76
74
|
},
|
|
77
|
-
"peerDependenciesMeta": {
|
|
78
|
-
"meilisearch": {
|
|
79
|
-
"optional": true
|
|
80
|
-
},
|
|
81
|
-
"stripe": {
|
|
82
|
-
"optional": true
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
75
|
"devDependencies": {
|
|
86
|
-
"@stacksjs/validation": "0.75.
|
|
87
|
-
"better-dx": "^0.2.24"
|
|
88
|
-
"meilisearch": "^0.62.0",
|
|
89
|
-
"stripe": "23.0.0"
|
|
76
|
+
"@stacksjs/validation": "0.75.551",
|
|
77
|
+
"better-dx": "^0.2.24"
|
|
90
78
|
},
|
|
91
79
|
"sideEffects": false,
|
|
92
80
|
"publishConfig": {
|
|
@@ -109,5 +97,9 @@
|
|
|
109
97
|
"default": "./dist/*"
|
|
110
98
|
}
|
|
111
99
|
}
|
|
100
|
+
},
|
|
101
|
+
"peerDependencies": {
|
|
102
|
+
"@stacksjs/actions": "0.75.551",
|
|
103
|
+
"@stacksjs/scheduler": "0.75.551"
|
|
112
104
|
}
|
|
113
105
|
}
|
package/dist/env.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|