@chainfuse/types 2.11.9 → 2.12.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.
- package/dist/ai-tools/index.d.ts +2 -1
- package/dist/ai-tools/workers-ai/catalog.d.ts +10 -0
- package/dist/ai-tools/workers-ai/catalog.js +11 -0
- package/dist/d0/index.d.ts +4 -0
- package/dist/d0/index.js +5 -1
- package/dist/d1/index.d.ts +16 -0
- package/dist/index.d.ts +14 -0
- package/dist/index.js +15 -0
- package/package.json +3 -3
package/dist/ai-tools/index.d.ts
CHANGED
|
@@ -171,9 +171,10 @@ export declare const ZodImageModelValues: z4.ZodEnum<{
|
|
|
171
171
|
"openai:dall-e-3": AiModels.ImageModels.OpenAi.dalle3;
|
|
172
172
|
}>;
|
|
173
173
|
export type ImageModelValues = z4.infer<typeof ZodImageModelValues>;
|
|
174
|
-
export declare const ZodTextEmbeddingModelValues3: z3.ZodEnum<["workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/google/embeddinggemma-300m" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi, ...("workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/google/embeddinggemma-300m" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi)[]]>;
|
|
174
|
+
export declare const ZodTextEmbeddingModelValues3: z3.ZodEnum<["workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/omni-bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/google/embeddinggemma-300m" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi, ...("workersai:@cf/baai/bge-m3" | "workersai:@cf/baai/omni-bge-m3" | "workersai:@cf/baai/bge-small-en-v1.5" | "workersai:@cf/baai/bge-base-en-v1.5" | "workersai:@cf/google/embeddinggemma-300m" | "workersai:@cf/baai/bge-large-en-v1.5" | AiModels.TextEmbeddingModels.Azure | AiModels.TextEmbeddingModels.GoogleGenerativeAi.te4 | AiModels.TextEmbeddingModels.OpenAi)[]]>;
|
|
175
175
|
export declare const ZodTextEmbeddingModelValues: z4.ZodEnum<{
|
|
176
176
|
"workersai:@cf/baai/bge-m3": "workersai:@cf/baai/bge-m3";
|
|
177
|
+
"workersai:@cf/baai/omni-bge-m3": "workersai:@cf/baai/omni-bge-m3";
|
|
177
178
|
"workersai:@cf/baai/bge-small-en-v1.5": "workersai:@cf/baai/bge-small-en-v1.5";
|
|
178
179
|
"workersai:@cf/baai/bge-base-en-v1.5": "workersai:@cf/baai/bge-base-en-v1.5";
|
|
179
180
|
"workersai:@cf/google/embeddinggemma-300m": "workersai:@cf/google/embeddinggemma-300m";
|
|
@@ -815,6 +815,16 @@ export declare const workersAiCatalog: {
|
|
|
815
815
|
readonly currency: "USD";
|
|
816
816
|
}];
|
|
817
817
|
};
|
|
818
|
+
}, {
|
|
819
|
+
readonly id: "e93e59ea-73d0-47dd-b0e1-469c6bda37c1";
|
|
820
|
+
readonly source: 1;
|
|
821
|
+
readonly name: "@cf/baai/omni-bge-m3";
|
|
822
|
+
readonly description: "Multi-Functionality, Multi-Linguality, and Multi-Granularity embeddings model.";
|
|
823
|
+
readonly created_at: "2025-09-01 15:23:18.431";
|
|
824
|
+
readonly tags: readonly [];
|
|
825
|
+
readonly properties: {
|
|
826
|
+
readonly async_queue: true;
|
|
827
|
+
};
|
|
818
828
|
}, {
|
|
819
829
|
readonly id: "57fbd08a-a4c4-411c-910d-b9459ff36c20";
|
|
820
830
|
readonly source: 1;
|
|
@@ -930,6 +930,17 @@ export const workersAiCatalog = {
|
|
|
930
930
|
],
|
|
931
931
|
},
|
|
932
932
|
},
|
|
933
|
+
{
|
|
934
|
+
id: 'e93e59ea-73d0-47dd-b0e1-469c6bda37c1',
|
|
935
|
+
source: 1,
|
|
936
|
+
name: '@cf/baai/omni-bge-m3',
|
|
937
|
+
description: 'Multi-Functionality, Multi-Linguality, and Multi-Granularity embeddings model.',
|
|
938
|
+
created_at: '2025-09-01 15:23:18.431',
|
|
939
|
+
tags: [],
|
|
940
|
+
properties: {
|
|
941
|
+
async_queue: true,
|
|
942
|
+
},
|
|
943
|
+
},
|
|
933
944
|
{
|
|
934
945
|
id: '57fbd08a-a4c4-411c-910d-b9459ff36c20',
|
|
935
946
|
source: 1,
|
package/dist/d0/index.d.ts
CHANGED
package/dist/d0/index.js
CHANGED
package/dist/d1/index.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import type { Buffer } from 'node:buffer';
|
|
2
|
+
import type { DOCombinedLocations } from '..';
|
|
3
|
+
import type { ShardType } from '../d0';
|
|
2
4
|
export type PrefixedUuid = `${'t_' | 'd_' | 'u_'}${UuidExport['utf8']}${'' | '_p'}`;
|
|
3
5
|
export interface UuidExport {
|
|
4
6
|
utf8: ReturnType<typeof crypto.randomUUID>;
|
|
@@ -7,6 +9,20 @@ export interface UuidExport {
|
|
|
7
9
|
base64: string;
|
|
8
10
|
base64url: string;
|
|
9
11
|
}
|
|
12
|
+
export interface UUIDExtract7 {
|
|
13
|
+
date: Date;
|
|
14
|
+
}
|
|
15
|
+
export interface UUIDExtract8 {
|
|
16
|
+
date: Date;
|
|
17
|
+
location: DOCombinedLocations;
|
|
18
|
+
shardType: ShardType;
|
|
19
|
+
suffix?: {
|
|
20
|
+
hex: string;
|
|
21
|
+
base64?: string;
|
|
22
|
+
base64url?: string;
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export type UUIDExtract = UUIDExtract7 | UUIDExtract8;
|
|
10
26
|
export type ISODateString = `${number}-${number}-${number}T${number}:${number}:${number}.${number}Z`;
|
|
11
27
|
/**
|
|
12
28
|
* Represents a cron expression string (in UTC time).
|
package/dist/index.d.ts
CHANGED
|
@@ -69,4 +69,18 @@ export declare enum DOLocations {
|
|
|
69
69
|
'Africa' = "afr",
|
|
70
70
|
'Middle East' = "me"
|
|
71
71
|
}
|
|
72
|
+
export declare enum DOCombinedLocations {
|
|
73
|
+
none = 0,
|
|
74
|
+
eu = 1,
|
|
75
|
+
fedramp = 2,
|
|
76
|
+
wnam = 10,
|
|
77
|
+
enam = 11,
|
|
78
|
+
sam = 12,
|
|
79
|
+
weur = 13,
|
|
80
|
+
eeur = 14,
|
|
81
|
+
apac = 15,
|
|
82
|
+
oc = 16,
|
|
83
|
+
afr = 17,
|
|
84
|
+
me = 18
|
|
85
|
+
}
|
|
72
86
|
export {};
|
package/dist/index.js
CHANGED
|
@@ -21,3 +21,18 @@ export var DOLocations;
|
|
|
21
21
|
DOLocations["Africa"] = "afr";
|
|
22
22
|
DOLocations["Middle East"] = "me";
|
|
23
23
|
})(DOLocations || (DOLocations = {}));
|
|
24
|
+
export var DOCombinedLocations;
|
|
25
|
+
(function (DOCombinedLocations) {
|
|
26
|
+
DOCombinedLocations[DOCombinedLocations["none"] = 0] = "none";
|
|
27
|
+
DOCombinedLocations[DOCombinedLocations["eu"] = 1] = "eu";
|
|
28
|
+
DOCombinedLocations[DOCombinedLocations["fedramp"] = 2] = "fedramp";
|
|
29
|
+
DOCombinedLocations[DOCombinedLocations["wnam"] = 10] = "wnam";
|
|
30
|
+
DOCombinedLocations[DOCombinedLocations["enam"] = 11] = "enam";
|
|
31
|
+
DOCombinedLocations[DOCombinedLocations["sam"] = 12] = "sam";
|
|
32
|
+
DOCombinedLocations[DOCombinedLocations["weur"] = 13] = "weur";
|
|
33
|
+
DOCombinedLocations[DOCombinedLocations["eeur"] = 14] = "eeur";
|
|
34
|
+
DOCombinedLocations[DOCombinedLocations["apac"] = 15] = "apac";
|
|
35
|
+
DOCombinedLocations[DOCombinedLocations["oc"] = 16] = "oc";
|
|
36
|
+
DOCombinedLocations[DOCombinedLocations["afr"] = 17] = "afr";
|
|
37
|
+
DOCombinedLocations[DOCombinedLocations["me"] = 18] = "me";
|
|
38
|
+
})(DOCombinedLocations || (DOCombinedLocations = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.12.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"zod": "^4.1.5"
|
|
99
99
|
},
|
|
100
100
|
"devDependencies": {
|
|
101
|
-
"@cloudflare/workers-types": "^4.
|
|
101
|
+
"@cloudflare/workers-types": "^4.20250909.0",
|
|
102
102
|
"@types/validator": "^13.15.3"
|
|
103
103
|
},
|
|
104
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "fe95f7c82786f19dda1e465f38b19be98613f981"
|
|
105
105
|
}
|