@stacksjs/types 0.58.49 → 0.58.51

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.58.49",
4
+ "version": "0.58.51",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -62,7 +62,7 @@
62
62
  "@types/fs-extra": "^11.0.4",
63
63
  "@types/markdown-it-link-attributes": "^3.0.4",
64
64
  "@types/minimatch": "^5.1.2",
65
- "@types/node": "^20.11.13",
65
+ "@types/node": "^20.11.16",
66
66
  "@types/nprogress": "^0.2.3",
67
67
  "@vinejs/vine": "^1.7.1",
68
68
  "cac": "^6.7.14",
@@ -77,11 +77,11 @@
77
77
  "vite-plugin-inspect": "^0.8.3",
78
78
  "vite-plugin-pwa": "^0.17.5",
79
79
  "vite-ssg": "^0.23.6",
80
- "vitepress": "1.0.0-rc.40",
80
+ "vitepress": "1.0.0-rc.41",
81
81
  "vue": "^3.4.15"
82
82
  },
83
83
  "devDependencies": {
84
- "aws-cdk-lib": "^2.124.0",
84
+ "aws-cdk-lib": "^2.126.0",
85
85
  "typescript": "^5.3.3"
86
86
  }
87
87
  }
package/src/api.ts CHANGED
@@ -58,6 +58,8 @@ export interface ApiOptions {
58
58
  * @default 30
59
59
  */
60
60
  timeout: number
61
+
62
+ deploy: boolean
61
63
  }
62
64
 
63
65
  export type ApiConfig = Partial<ApiOptions>
package/src/cron-jobs.ts CHANGED
@@ -7,12 +7,13 @@ export interface JobOptions {
7
7
  */
8
8
  name?: string
9
9
 
10
- handle: string | Function
10
+ handle?: string | Function
11
11
  action?: string
12
12
  description?: string
13
13
  timezone?: string
14
14
  tries?: number
15
15
  backoff?: number | number[]
16
+ schedule?: string | Every
16
17
  enabled?: boolean
17
18
  }
18
19
 
package/src/stacks.ts CHANGED
@@ -52,22 +52,22 @@ export interface StacksOptions {
52
52
  app: AppConfig
53
53
 
54
54
  /**
55
- * **Binary Options**
55
+ * **Cache Options**
56
56
  *
57
- * This configuration defines all of your Binary options. Because Stacks is fully-typed, you
57
+ * This configuration defines all of your Cache options. Because Stacks is fully-typed, you
58
58
  * may hover any of the options below and the definitions will be provided. In case you
59
59
  * have any questions, feel free to reach out via Discord or GitHub Discussions.
60
60
  */
61
- binary: BinaryConfig
61
+ cache: CacheConfig
62
62
 
63
63
  /**
64
- * **Cache Options**
64
+ * **CLI / Binary Options**
65
65
  *
66
- * This configuration defines all of your Cache options. Because Stacks is fully-typed, you
66
+ * This configuration defines all of your Binary options. Because Stacks is fully-typed, you
67
67
  * may hover any of the options below and the definitions will be provided. In case you
68
68
  * have any questions, feel free to reach out via Discord or GitHub Discussions.
69
69
  */
70
- cache: CacheConfig
70
+ cli: BinaryConfig
71
71
 
72
72
  /**
73
73
  * **Cloud Options**