@stacksjs/types 0.58.53 → 0.58.55

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/index.js CHANGED
@@ -398,10 +398,6 @@ var require_pluralize = __commonJS((exports, module) => {
398
398
  // src/cron-jobs.ts
399
399
  var Every;
400
400
  (function(Every2) {
401
- Every2["Second"] = "* * * * * *";
402
- Every2["FiveSeconds"] = "*/5 * * * * *";
403
- Every2["TenSeconds"] = "*/10 * * * * *";
404
- Every2["ThirtySeconds"] = "*/30 * * * * *";
405
401
  Every2["Minute"] = "* * * * *";
406
402
  Every2["Hour"] = "0 * * * *";
407
403
  Every2["HalfHour"] = "0,30 * * * *";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/types",
3
3
  "type": "module",
4
- "version": "0.58.53",
4
+ "version": "0.58.55",
5
5
  "description": "The Stacks framework types.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",
@@ -56,7 +56,7 @@
56
56
  "@stacksjs/validation": "latest",
57
57
  "@types/aws4": "^1.11.6",
58
58
  "@types/bcryptjs": "^2.4.6",
59
- "@types/bun": "^1.0.4",
59
+ "@types/bun": "^1.0.5",
60
60
  "@types/crypto-js": "^4.2.2",
61
61
  "@types/eslint": "^8.56.2",
62
62
  "@types/fs-extra": "^11.0.4",
@@ -77,7 +77,7 @@
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.41",
80
+ "vitepress": "1.0.0-rc.42",
81
81
  "vue": "^3.4.15"
82
82
  },
83
83
  "devDependencies": {
package/src/cli.ts CHANGED
@@ -174,9 +174,9 @@ export type ActionOption = 'types' | 'domains' | 'count'
174
174
  * The options to pass to the Action.
175
175
  */
176
176
  export type ActionOptions = {
177
- 'types'?: boolean
178
- 'domains'?: boolean
179
- 'count'?: number
177
+ types?: boolean
178
+ domains?: boolean
179
+ count?: number
180
180
  } & CliOptions & DomainsOptions
181
181
 
182
182
  export type BuildOption = 'components' | 'vueComponents' | 'webComponents' | 'elements' | 'functions' | 'docs' | 'views' | 'stacks' | 'all' | 'buddy' | 'server'
package/src/cron-jobs.ts CHANGED
@@ -14,7 +14,7 @@ export interface JobOptions {
14
14
  timezone?: string
15
15
  tries?: number
16
16
  backoff?: number | number[]
17
- schedule?: string | Every
17
+ rate?: string | Every
18
18
  enabled?: boolean
19
19
  }
20
20
 
@@ -30,10 +30,10 @@ export type CronJobs = Jobs
30
30
  // export type CronJobs = Jobs
31
31
 
32
32
  export enum Every {
33
- Second = '* * * * * *',
34
- FiveSeconds = '*/5 * * * * *',
35
- TenSeconds = '*/10 * * * * *',
36
- ThirtySeconds = '*/30 * * * * *',
33
+ // Second = '* * * * * *',
34
+ // FiveSeconds = '*/5 * * * * *',
35
+ // TenSeconds = '*/10 * * * * *',
36
+ // ThirtySeconds = '*/30 * * * * *',
37
37
  Minute = '* * * * *',
38
38
  Hour = '0 * * * *',
39
39
  HalfHour = '0,30 * * * *',