@digo-labs/backend 0.1.3 → 0.1.6

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.
Files changed (2) hide show
  1. package/dist/index.d.cts +5 -5
  2. package/package.json +15 -15
package/dist/index.d.cts CHANGED
@@ -212,8 +212,8 @@ declare const databaseRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, {
212
212
  };
213
213
  }, "/", "database-delete">;
214
214
 
215
- declare const aiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, {
216
- text: {
215
+ declare const bedrockRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, {
216
+ "bedrock-text": {
217
217
  $post: {
218
218
  input: {
219
219
  json: {
@@ -243,12 +243,12 @@ declare const aiRouter: hono_hono_base.HonoBase<hono_types.BlankEnv, {
243
243
  status: hono_utils_http_status.StatusCode;
244
244
  };
245
245
  };
246
- }, "/", "text">;
246
+ }, "/", "bedrock-text">;
247
247
 
248
248
  declare const app: Hono<hono_types.BlankEnv, hono_types.BlankSchema, "/">;
249
249
  type DmxRouter = typeof dmxRouter;
250
250
  type StorageRouter = typeof storageRouter;
251
251
  type DatabaseRouter = typeof databaseRouter;
252
- type AiRouter = typeof aiRouter;
252
+ type BedrockRouter = typeof bedrockRouter;
253
253
 
254
- export { type AiRouter, type DatabaseRouter, type DmxRouter, type StorageRouter, app as default };
254
+ export { type BedrockRouter, type DatabaseRouter, type DmxRouter, type StorageRouter, app as default };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digo-labs/backend",
3
- "version": "0.1.3",
3
+ "version": "0.1.6",
4
4
  "type": "module",
5
5
  "main": "./dist/index.cjs",
6
6
  "types": "./dist/index.d.cts",
@@ -21,10 +21,22 @@
21
21
  "scripts": {
22
22
  "dev": "npx tsx watch src/index.ts",
23
23
  "build": "tsup",
24
- "start": "node ./dist/index.cjs"
24
+ "start": "node ./dist/index.cjs",
25
+ "db:push": "digo-db push"
26
+ },
27
+ "digoDb": {
28
+ "schema": "./src/db/schemas/index.ts",
29
+ "schemaFilter": [
30
+ "common"
31
+ ],
32
+ "skip": [
33
+ "create",
34
+ "verify",
35
+ "refresh"
36
+ ]
25
37
  },
26
38
  "peerDependencies": {
27
- "@digo-labs/common": "^0.1.5"
39
+ "@digo-labs/common": "^0.1.12"
28
40
  },
29
41
  "dependencies": {
30
42
  "@aws-sdk/client-bedrock": "^3.1035.0",
@@ -46,17 +58,5 @@
46
58
  "@types/pg": "^8.20.0",
47
59
  "drizzle-kit": "^0.31.10",
48
60
  "tsup": "^8.5.0"
49
- },
50
- "tsup": {
51
- "entry": [
52
- "src/index.ts"
53
- ],
54
- "dts": true,
55
- "noExternal": [
56
- "@digo-labs/common"
57
- ],
58
- "splitting": false,
59
- "sourcemap": true,
60
- "clean": true
61
61
  }
62
62
  }