@llmops/app 0.5.1 → 0.5.2
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 +4 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.mts +2 -1
- package/dist/index.mjs +4 -1
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -18634,7 +18634,10 @@ const createApp = (config$1) => {
|
|
|
18634
18634
|
if (validatedConfig.database) app$17.use("*", createMigrationMiddleware(validatedConfig)).use("*", createDatabaseMiddleware(validatedConfig)).use("*", createSeedMiddleware()).use("*", createAuthClientMiddleware());
|
|
18635
18635
|
else app$17.use("*", createInlineOnlyMiddleware());
|
|
18636
18636
|
app$17.route("/", server_default).basePath(validatedConfig.basePath);
|
|
18637
|
-
return {
|
|
18637
|
+
return {
|
|
18638
|
+
app: app$17,
|
|
18639
|
+
config: validatedConfig
|
|
18640
|
+
};
|
|
18638
18641
|
};
|
|
18639
18642
|
var src_default = server_default;
|
|
18640
18643
|
|
package/dist/index.d.cts
CHANGED
|
@@ -27,10 +27,11 @@ declare module 'hono' {
|
|
|
27
27
|
declare const app: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/index.d.ts
|
|
30
|
-
declare const createApp: (config
|
|
30
|
+
declare const createApp: (config?: LLMOpsConfig) => {
|
|
31
31
|
app: hono_hono_base0.HonoBase<{}, {
|
|
32
32
|
"*": {};
|
|
33
33
|
}, "/">;
|
|
34
|
+
config: ValidatedLLMOpsConfig;
|
|
34
35
|
};
|
|
35
36
|
//#endregion
|
|
36
37
|
export { createApp, app as default };
|
package/dist/index.d.mts
CHANGED
|
@@ -27,10 +27,11 @@ declare module 'hono' {
|
|
|
27
27
|
declare const app: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
|
|
28
28
|
//#endregion
|
|
29
29
|
//#region src/index.d.ts
|
|
30
|
-
declare const createApp: (config
|
|
30
|
+
declare const createApp: (config?: LLMOpsConfig) => {
|
|
31
31
|
app: hono_hono_base0.HonoBase<{}, {
|
|
32
32
|
"*": {};
|
|
33
33
|
}, "/">;
|
|
34
|
+
config: ValidatedLLMOpsConfig;
|
|
34
35
|
};
|
|
35
36
|
//#endregion
|
|
36
37
|
export { createApp, app as default };
|
package/dist/index.mjs
CHANGED
|
@@ -18606,7 +18606,10 @@ const createApp = (config$1) => {
|
|
|
18606
18606
|
if (validatedConfig.database) app$17.use("*", createMigrationMiddleware(validatedConfig)).use("*", createDatabaseMiddleware(validatedConfig)).use("*", createSeedMiddleware()).use("*", createAuthClientMiddleware());
|
|
18607
18607
|
else app$17.use("*", createInlineOnlyMiddleware());
|
|
18608
18608
|
app$17.route("/", server_default).basePath(validatedConfig.basePath);
|
|
18609
|
-
return {
|
|
18609
|
+
return {
|
|
18610
|
+
app: app$17,
|
|
18611
|
+
config: validatedConfig
|
|
18612
|
+
};
|
|
18610
18613
|
};
|
|
18611
18614
|
var src_default = server_default;
|
|
18612
18615
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@llmops/app",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "LLMOps application with server and client",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
"react-hook-form": "^7.68.0",
|
|
77
77
|
"recharts": "^3.6.0",
|
|
78
78
|
"uuid": "^13.0.0",
|
|
79
|
-
"@llmops/core": "^0.5.
|
|
80
|
-
"@llmops/gateway": "^0.5.
|
|
79
|
+
"@llmops/core": "^0.5.2",
|
|
80
|
+
"@llmops/gateway": "^0.5.2"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
83
|
"react": "^19.2.1",
|