@chainfuse/types 4.1.6 → 4.2.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/workers-ai/catalog.d.ts +1 -2
- package/dist/ai-tools/workers-ai/catalog.js +1 -2
- package/dist/discourse/index.d.ts +5 -0
- package/dist/discourse/index.js +5 -0
- package/dist/discourse/like.d.ts +3 -0
- package/dist/discourse/like.js +4 -0
- package/dist/discourse/reviewable.d.ts +5 -0
- package/dist/discourse/reviewable.js +6 -0
- package/dist/discourse/solved.d.ts +4 -0
- package/dist/discourse/solved.js +5 -0
- package/dist/discourse/{topic/index.d.ts → topic.d.ts} +7 -4
- package/dist/discourse/{topic/index.js → topic.js} +5 -2
- package/package.json +6 -10
- package/dist/discourse/{post/index.d.ts → post.d.ts} +1 -1
- package/dist/discourse/{post/index.js → post.js} +1 -1
|
@@ -857,7 +857,6 @@ export declare const workersAiCatalog: {
|
|
|
857
857
|
readonly created_at: "2024-05-22 19:27:09.781";
|
|
858
858
|
readonly tags: readonly [];
|
|
859
859
|
readonly properties: {
|
|
860
|
-
readonly async_queue: true;
|
|
861
860
|
readonly context_window: 60000;
|
|
862
861
|
readonly price: readonly [{
|
|
863
862
|
readonly unit: "per M input tokens";
|
|
@@ -1092,7 +1091,7 @@ export declare const workersAiCatalog: {
|
|
|
1092
1091
|
readonly properties: {
|
|
1093
1092
|
readonly price: readonly [{
|
|
1094
1093
|
readonly unit: "per audio minute (websocket)";
|
|
1095
|
-
readonly price: 0;
|
|
1094
|
+
readonly price: 0.0077;
|
|
1096
1095
|
readonly currency: "USD";
|
|
1097
1096
|
}];
|
|
1098
1097
|
readonly partner: true;
|
|
@@ -980,7 +980,6 @@ export const workersAiCatalog = {
|
|
|
980
980
|
created_at: '2024-05-22 19:27:09.781',
|
|
981
981
|
tags: [],
|
|
982
982
|
properties: {
|
|
983
|
-
async_queue: true,
|
|
984
983
|
context_window: 60000,
|
|
985
984
|
price: [
|
|
986
985
|
{
|
|
@@ -1259,7 +1258,7 @@ export const workersAiCatalog = {
|
|
|
1259
1258
|
price: [
|
|
1260
1259
|
{
|
|
1261
1260
|
unit: 'per audio minute (websocket)',
|
|
1262
|
-
price: 0,
|
|
1261
|
+
price: 0.0077,
|
|
1263
1262
|
currency: 'USD',
|
|
1264
1263
|
},
|
|
1265
1264
|
],
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var ReviewableEvents;
|
|
2
|
+
(function (ReviewableEvents) {
|
|
3
|
+
ReviewableEvents["created"] = "reviewable_created";
|
|
4
|
+
ReviewableEvents["score_updated"] = "reviewable_score_updated";
|
|
5
|
+
ReviewableEvents["transitioned_to"] = "reviewable_transitioned_to";
|
|
6
|
+
})(ReviewableEvents || (ReviewableEvents = {}));
|
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
import type { TopicPost } from '
|
|
1
|
+
import type { TopicPost } from './post';
|
|
2
2
|
export declare enum TopicEvents {
|
|
3
|
+
autoclosed_status_updated = "topic_autoclosed_status_updated",
|
|
4
|
+
closed_status_updated = "topic_closed_status_updated",
|
|
3
5
|
created = "topic_created",
|
|
4
|
-
revised = "topic_revised",
|
|
5
|
-
edited = "topic_edited",
|
|
6
6
|
destroyed = "topic_destroyed",
|
|
7
|
-
|
|
7
|
+
edited = "topic_edited",
|
|
8
|
+
recovered = "topic_recovered",
|
|
9
|
+
revised = "topic_revised",
|
|
10
|
+
visible_status_updated = "topic_visible_status_updated"
|
|
8
11
|
}
|
|
9
12
|
export interface TopicCollections extends Record<string, any> {
|
|
10
13
|
topic_list: TopicList;
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
export var TopicEvents;
|
|
2
2
|
(function (TopicEvents) {
|
|
3
|
+
TopicEvents["autoclosed_status_updated"] = "topic_autoclosed_status_updated";
|
|
4
|
+
TopicEvents["closed_status_updated"] = "topic_closed_status_updated";
|
|
3
5
|
TopicEvents["created"] = "topic_created";
|
|
4
|
-
TopicEvents["revised"] = "topic_revised";
|
|
5
|
-
TopicEvents["edited"] = "topic_edited";
|
|
6
6
|
TopicEvents["destroyed"] = "topic_destroyed";
|
|
7
|
+
TopicEvents["edited"] = "topic_edited";
|
|
7
8
|
TopicEvents["recovered"] = "topic_recovered";
|
|
9
|
+
TopicEvents["revised"] = "topic_revised";
|
|
10
|
+
TopicEvents["visible_status_updated"] = "topic_visible_status_updated";
|
|
8
11
|
})(TopicEvents || (TopicEvents = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@chainfuse/types",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "ChainFuse",
|
|
6
6
|
"homepage": "https://github.com/ChainFuse/packages/tree/main/packages/types#readme",
|
|
@@ -79,13 +79,9 @@
|
|
|
79
79
|
"import": "./dist/d1/users/index.js",
|
|
80
80
|
"types": "./dist/d1/users/index.d.ts"
|
|
81
81
|
},
|
|
82
|
-
"./discourse
|
|
83
|
-
"import": "./dist/discourse/
|
|
84
|
-
"types": "./dist/discourse/
|
|
85
|
-
},
|
|
86
|
-
"./discourse/topic": {
|
|
87
|
-
"import": "./dist/discourse/topic/index.js",
|
|
88
|
-
"types": "./dist/discourse/topic/index.d.ts"
|
|
82
|
+
"./discourse": {
|
|
83
|
+
"import": "./dist/discourse/index.js",
|
|
84
|
+
"types": "./dist/discourse/index.d.ts"
|
|
89
85
|
},
|
|
90
86
|
"./zod-mini": {
|
|
91
87
|
"import": "./dist/zod-mini/index.js",
|
|
@@ -102,8 +98,8 @@
|
|
|
102
98
|
"zod": "^4.1.13"
|
|
103
99
|
},
|
|
104
100
|
"devDependencies": {
|
|
105
|
-
"@cloudflare/workers-types": "^4.
|
|
101
|
+
"@cloudflare/workers-types": "^4.20251209.0",
|
|
106
102
|
"@types/validator": "^13.15.10"
|
|
107
103
|
},
|
|
108
|
-
"gitHead": "
|
|
104
|
+
"gitHead": "27c0e109e68dfa8eabbb2110c827f09e6145b5a7"
|
|
109
105
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export var PostEvents;
|
|
2
2
|
(function (PostEvents) {
|
|
3
3
|
PostEvents["created"] = "post_created";
|
|
4
|
-
PostEvents["edited"] = "post_edited";
|
|
5
4
|
PostEvents["destroyed"] = "post_destroyed";
|
|
5
|
+
PostEvents["edited"] = "post_edited";
|
|
6
6
|
PostEvents["recovered"] = "post_recovered";
|
|
7
7
|
})(PostEvents || (PostEvents = {}));
|