@chainfuse/types 1.0.2 → 1.1.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.
@@ -8,3 +8,8 @@ export interface UuidExport {
8
8
  blob: (typeof Uint8Array)['prototype']['buffer'] | Buffer['buffer'];
9
9
  }
10
10
  export type ISODateString = `${number}-${number}-${number}T${number}:${number}:${number}.${number}Z`;
11
+ /**
12
+ * Represents a cron expression string (in UTC time).
13
+ * Supports any format supported by `cron-parser` library @link https://www.npmjs.com/package/cron-parser#supported-format
14
+ */
15
+ export type CronString = `${string | number} ${string | number} ${string | number} ${string | number} ${string | number}`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chainfuse/types",
3
- "version": "1.0.2",
3
+ "version": "1.1.0",
4
4
  "description": "",
5
5
  "author": "ChainFuse",
6
6
  "homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
@@ -26,6 +26,7 @@
26
26
  "fmt:fix": "prettier --write .",
27
27
  "lint": "eslint .",
28
28
  "lint:fix": "npm run lint -- --fix",
29
+ "clean": "npx -y rimraf@latest ./dist ./.tsbuildinfo",
29
30
  "build": "tsc",
30
31
  "build:clean": "npm run build -- --build --clean && npm run build",
31
32
  "pretest": "npm -w @chainfuse/types i -D @chainfuse/super-ai @chainfuse/types-internal && tsc --project tsconfig.tests.json",
@@ -80,8 +81,8 @@
80
81
  },
81
82
  "prettier": "@demosjarco/prettier-config",
82
83
  "devDependencies": {
83
- "@cloudflare/workers-types": "^4.20241011.0",
84
+ "@cloudflare/workers-types": "^4.20241018.0",
84
85
  "@types/json-schema": "^7.0.15"
85
86
  },
86
- "gitHead": "ae2d6335ecc740ebe482df3211ae15601a9ba650"
87
+ "gitHead": "20fb2efe7b672306e622cfa5cfeeea67a9497457"
87
88
  }