@llmops/app 0.1.0-beta.10 → 0.1.0-beta.12
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/index.cjs +13700 -0
- package/dist/index.d.cts +30 -0
- package/package.json +14 -5
package/dist/index.d.cts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as hono_types1 from "hono/types";
|
|
2
|
+
import * as hono_hono_base0 from "hono/hono-base";
|
|
3
|
+
import { LLMOpsConfig, ValidatedLLMOpsConfig, createDataLayer } from "@llmops/core";
|
|
4
|
+
import { Hono } from "hono";
|
|
5
|
+
|
|
6
|
+
//#region src/server/types.d.ts
|
|
7
|
+
interface LLMProvider {
|
|
8
|
+
key: string;
|
|
9
|
+
name: string;
|
|
10
|
+
imageURI: string;
|
|
11
|
+
}
|
|
12
|
+
declare module 'hono' {
|
|
13
|
+
interface ContextVariableMap {
|
|
14
|
+
llmopsConfig: ValidatedLLMOpsConfig;
|
|
15
|
+
llmProviders: LLMProvider[];
|
|
16
|
+
db: Awaited<ReturnType<typeof createDataLayer>>;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
//#endregion
|
|
20
|
+
//#region src/server/index.d.ts
|
|
21
|
+
declare const app: Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
|
|
22
|
+
//#endregion
|
|
23
|
+
//#region src/index.d.ts
|
|
24
|
+
declare const createApp: (config: LLMOpsConfig) => {
|
|
25
|
+
app: hono_hono_base0.HonoBase<{}, {
|
|
26
|
+
"*": {};
|
|
27
|
+
} | hono_types1.MergeSchemaPath<hono_types1.BlankSchema, "/">, string>;
|
|
28
|
+
};
|
|
29
|
+
//#endregion
|
|
30
|
+
export { createApp, app as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmops/app",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.12",
|
|
4
4
|
"description": "LLMOps application with server and client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -17,11 +17,20 @@
|
|
|
17
17
|
"files": [
|
|
18
18
|
"dist"
|
|
19
19
|
],
|
|
20
|
-
"main": "./dist/index.
|
|
20
|
+
"main": "./dist/index.cjs",
|
|
21
21
|
"module": "./dist/index.mjs",
|
|
22
22
|
"types": "./dist/index.d.mts",
|
|
23
23
|
"exports": {
|
|
24
|
-
".":
|
|
24
|
+
".": {
|
|
25
|
+
"import": {
|
|
26
|
+
"types": "./dist/index.d.mts",
|
|
27
|
+
"default": "./dist/index.mjs"
|
|
28
|
+
},
|
|
29
|
+
"require": {
|
|
30
|
+
"types": "./dist/index.d.cts",
|
|
31
|
+
"default": "./dist/index.cjs"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
25
34
|
"./package.json": "./package.json"
|
|
26
35
|
},
|
|
27
36
|
"publishConfig": {
|
|
@@ -55,8 +64,8 @@
|
|
|
55
64
|
"motion": "^12.23.25",
|
|
56
65
|
"react-aria-components": "^1.13.0",
|
|
57
66
|
"react-hook-form": "^7.68.0",
|
|
58
|
-
"@llmops/core": "^0.1.0-beta.
|
|
59
|
-
"@llmops/gateway": "^0.1.0-beta.
|
|
67
|
+
"@llmops/core": "^0.1.0-beta.12",
|
|
68
|
+
"@llmops/gateway": "^0.1.0-beta.12"
|
|
60
69
|
},
|
|
61
70
|
"peerDependencies": {
|
|
62
71
|
"react": "^19.2.1",
|