@bbki.ng/backend 0.3.8 → 0.3.10
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/CHANGELOG.md +13 -0
- package/README.md +1 -1
- package/eslint.config.js +1 -4
- package/package.json +1 -1
- package/src/config/app.config.ts +6 -6
- package/src/controllers/comment/add.controller.ts +6 -6
- package/src/controllers/streaming/add.controller.ts +32 -27
- package/src/controllers/streaming/list.controller.ts +22 -13
- package/src/controllers/streaming/remove.controller.ts +24 -25
- package/src/routes/comment.routes.ts +3 -3
- package/src/routes/streaming.routes.ts +7 -7
- package/tsconfig.json +2 -2
- package/worker-configuration.d.ts +10010 -8896
- package/wrangler.jsonc +31 -33
package/wrangler.jsonc
CHANGED
|
@@ -1,34 +1,32 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"preview_urls": true,
|
|
34
|
-
}
|
|
2
|
+
"$schema": "node_modules/wrangler/config-schema.json",
|
|
3
|
+
"name": "backend",
|
|
4
|
+
"main": "src/index.ts",
|
|
5
|
+
"compatibility_date": "2025-12-01",
|
|
6
|
+
"d1_databases": [
|
|
7
|
+
{
|
|
8
|
+
"binding": "DB",
|
|
9
|
+
"database_name": "bbki.ng",
|
|
10
|
+
"database_id": "e938a347-b3be-4d60-9217-52f209ab7bb4",
|
|
11
|
+
},
|
|
12
|
+
],
|
|
13
|
+
// Add this to your wrangler.jsonc
|
|
14
|
+
"kv_namespaces": [
|
|
15
|
+
{
|
|
16
|
+
"binding": "KV",
|
|
17
|
+
"id": "91dd9f607aae46e5829080d1c2aa3baa",
|
|
18
|
+
// Optional: preview_id used when running `wrangler dev` for local dev
|
|
19
|
+
"preview_id": "BBKING_KV_NAMESPACE_PREVIEW_ID",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
"compatibility_flags": ["nodejs_compat"],
|
|
23
|
+
"routes": [
|
|
24
|
+
{
|
|
25
|
+
"pattern": "cf.bbki.ng",
|
|
26
|
+
"zone_name": "bbki.ng",
|
|
27
|
+
"custom_domain": true,
|
|
28
|
+
},
|
|
29
|
+
],
|
|
30
|
+
"workers_dev": true,
|
|
31
|
+
"preview_urls": true,
|
|
32
|
+
}
|