@llmops/app 0.6.10 → 1.0.0-beta.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/dist/index.d.cts CHANGED
@@ -1,25 +1,15 @@
1
1
  import * as hono_hono_base0 from "hono/hono-base";
2
2
  import * as hono_types0 from "hono/types";
3
- import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig, createDataLayer } from "@llmops/core";
4
- import { DatabaseType } from "@llmops/core/db";
5
- import { Auth, BetterAuthOptions } from "better-auth";
3
+ import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig } from "@llmops/core";
4
+ import { TelemetryStore } from "@llmops/sdk";
6
5
  import { Hono } from "hono";
7
6
 
8
7
  //#region src/server/types.d.ts
9
8
  declare module 'hono' {
10
9
  interface ContextVariableMap {
11
10
  llmopsConfig: ValidatedLLMOpsConfig;
12
- /** Inline provider configurations from code config */
13
11
  inlineProviders?: InlineProvidersConfig;
14
- /** Data layer - null when running in inline-only mode (no database) */
15
- db: Awaited<ReturnType<typeof createDataLayer>> | null;
16
- /** Raw Kysely instance with correct schema configuration - null in inline-only mode */
17
- kyselyDb: any | null;
18
- /** Database type (postgres, mysql, sqlite, mssql) - null in inline-only mode */
19
- dbType: DatabaseType | null;
20
- /** Auth client - null in inline-only mode */
21
- authClient: Auth<BetterAuthOptions> | null;
22
- setupComplete: boolean;
12
+ telemetryStore: TelemetryStore | null;
23
13
  }
24
14
  }
25
15
  //#endregion
package/dist/index.d.mts CHANGED
@@ -1,7 +1,6 @@
1
1
  import { Hono } from "hono";
2
- import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig, createDataLayer } from "@llmops/core";
3
- import { DatabaseType } from "@llmops/core/db";
4
- import { Auth, BetterAuthOptions } from "better-auth";
2
+ import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig } from "@llmops/core";
3
+ import { TelemetryStore } from "@llmops/sdk";
5
4
  import * as hono_hono_base0 from "hono/hono-base";
6
5
  import * as hono_types0 from "hono/types";
7
6
 
@@ -9,17 +8,8 @@ import * as hono_types0 from "hono/types";
9
8
  declare module 'hono' {
10
9
  interface ContextVariableMap {
11
10
  llmopsConfig: ValidatedLLMOpsConfig;
12
- /** Inline provider configurations from code config */
13
11
  inlineProviders?: InlineProvidersConfig;
14
- /** Data layer - null when running in inline-only mode (no database) */
15
- db: Awaited<ReturnType<typeof createDataLayer>> | null;
16
- /** Raw Kysely instance with correct schema configuration - null in inline-only mode */
17
- kyselyDb: any | null;
18
- /** Database type (postgres, mysql, sqlite, mssql) - null in inline-only mode */
19
- dbType: DatabaseType | null;
20
- /** Auth client - null in inline-only mode */
21
- authClient: Auth<BetterAuthOptions> | null;
22
- setupComplete: boolean;
12
+ telemetryStore: TelemetryStore | null;
23
13
  }
24
14
  }
25
15
  //#endregion