@chainfuse/types 2.10.19 → 2.10.21
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.
|
@@ -842,6 +842,16 @@ export declare const workersAiCatalog: {
|
|
|
842
842
|
readonly currency: "USD";
|
|
843
843
|
}];
|
|
844
844
|
};
|
|
845
|
+
}, {
|
|
846
|
+
readonly id: "88c5e2c0-100c-40f9-86a1-ae68ff22ffa7";
|
|
847
|
+
readonly source: 1;
|
|
848
|
+
readonly name: "@cf/facebook/omni-detr-resnet-50";
|
|
849
|
+
readonly description: "DEtection TRansformer (DETR) model trained end-to-end on COCO 2017 object detection (118k annotated images).";
|
|
850
|
+
readonly created_at: "2025-05-26 22:05:25.581";
|
|
851
|
+
readonly tags: readonly [];
|
|
852
|
+
readonly properties: {
|
|
853
|
+
readonly beta: true;
|
|
854
|
+
};
|
|
845
855
|
}];
|
|
846
856
|
};
|
|
847
857
|
readonly 'Text-to-Speech': {
|
|
@@ -965,6 +965,17 @@ export const workersAiCatalog = {
|
|
|
965
965
|
],
|
|
966
966
|
},
|
|
967
967
|
},
|
|
968
|
+
{
|
|
969
|
+
id: '88c5e2c0-100c-40f9-86a1-ae68ff22ffa7',
|
|
970
|
+
source: 1,
|
|
971
|
+
name: '@cf/facebook/omni-detr-resnet-50',
|
|
972
|
+
description: 'DEtection TRansformer (DETR) model trained end-to-end on COCO 2017 object detection (118k annotated images).',
|
|
973
|
+
created_at: '2025-05-26 22:05:25.581',
|
|
974
|
+
tags: [],
|
|
975
|
+
properties: {
|
|
976
|
+
beta: true,
|
|
977
|
+
},
|
|
978
|
+
},
|
|
968
979
|
],
|
|
969
980
|
},
|
|
970
981
|
'Text-to-Speech': {
|
package/dist/wf/index.d.ts
CHANGED
|
@@ -1,2 +1,7 @@
|
|
|
1
|
-
import { z } from 'zod/
|
|
2
|
-
|
|
1
|
+
import { z as z3 } from 'zod/v3';
|
|
2
|
+
import { z as z4 } from 'zod/v4';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export declare const ZodUuidExportInput3: z3.ZodUnion<[z3.ZodString, z3.ZodString, z3.ZodEffects<z3.ZodString, string, string>, z3.ZodString, z3.ZodString]>;
|
|
7
|
+
export declare const ZodUuidExportInput: z4.ZodUnion<readonly [z4.ZodString, z4.ZodUUID, z4.ZodString, z4.ZodBase64, z4.ZodBase64URL]>;
|
package/dist/wf/index.js
CHANGED
|
@@ -1,21 +1,45 @@
|
|
|
1
|
-
import { z } from 'zod/
|
|
2
|
-
|
|
1
|
+
import { z as z3 } from 'zod/v3';
|
|
2
|
+
import { z as z4 } from 'zod/v4';
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated
|
|
5
|
+
*/
|
|
6
|
+
export const ZodUuidExportInput3 = z3.union([
|
|
3
7
|
// PrefixedUuid
|
|
4
|
-
|
|
8
|
+
z3
|
|
5
9
|
.string()
|
|
6
10
|
.trim()
|
|
7
11
|
.min(38)
|
|
8
12
|
.max(40)
|
|
9
13
|
.regex(new RegExp(/^((d|t|u)_)?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(_p)?$/i)),
|
|
10
14
|
// utf-8
|
|
11
|
-
|
|
15
|
+
z3.string().trim().nonempty().uuid(),
|
|
12
16
|
// hex
|
|
13
|
-
|
|
17
|
+
z3
|
|
14
18
|
.string()
|
|
15
19
|
.trim()
|
|
16
20
|
.toLowerCase()
|
|
17
21
|
.length(32)
|
|
18
22
|
.refine((value) => import('validator/es/lib/isHexadecimal').then(({ default: isHexadecimal }) => isHexadecimal(value)).catch(() => import('validator').then(({ default: validator }) => validator.isHexadecimal(value)))),
|
|
19
|
-
|
|
20
|
-
|
|
23
|
+
z3.string().trim().nonempty().base64(),
|
|
24
|
+
z3.string().trim().nonempty().base64url(),
|
|
25
|
+
]);
|
|
26
|
+
export const ZodUuidExportInput = z4.union([
|
|
27
|
+
// PrefixedUuid
|
|
28
|
+
z4
|
|
29
|
+
.string()
|
|
30
|
+
.trim()
|
|
31
|
+
.min(38)
|
|
32
|
+
.max(40)
|
|
33
|
+
.regex(new RegExp(/^((d|t|u)_)?[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}(_p)?$/i)),
|
|
34
|
+
// utf-8
|
|
35
|
+
z4.uuid().trim().toLowerCase(),
|
|
36
|
+
// hex
|
|
37
|
+
z4
|
|
38
|
+
.string()
|
|
39
|
+
.trim()
|
|
40
|
+
.toLowerCase()
|
|
41
|
+
.length(32)
|
|
42
|
+
.refine((value) => import('validator/es/lib/isHexadecimal').then(({ default: isHexadecimal }) => isHexadecimal(value)).catch(() => import('validator').then(({ default: validator }) => validator.isHexadecimal(value)))),
|
|
43
|
+
z4.base64().trim().nonempty(),
|
|
44
|
+
z4.base64url().trim().nonempty(),
|
|
21
45
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "2.10.
|
|
3
|
+
"version": "2.10.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -99,11 +99,11 @@
|
|
|
99
99
|
"prettier": "@demosjarco/prettier-config",
|
|
100
100
|
"dependencies": {
|
|
101
101
|
"validator": "^13.15.15",
|
|
102
|
-
"zod": "^3.25.
|
|
102
|
+
"zod": "^3.25.51"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@cloudflare/workers-types": "^4.
|
|
105
|
+
"@cloudflare/workers-types": "^4.20250605.0",
|
|
106
106
|
"@types/validator": "^13.15.1"
|
|
107
107
|
},
|
|
108
|
-
"gitHead": "
|
|
108
|
+
"gitHead": "726cf6c05c96cf75a1213019de78835853d470aa"
|
|
109
109
|
}
|