@llmops/app 0.4.8-beta.8 → 0.5.0-beta.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.d.cts CHANGED
@@ -1,6 +1,6 @@
1
- import * as hono_types1 from "hono/types";
2
1
  import * as hono_hono_base0 from "hono/hono-base";
3
- import { LLMOpsConfig, ValidatedLLMOpsConfig, createDataLayer } from "@llmops/core";
2
+ import * as hono_types0 from "hono/types";
3
+ import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig, createDataLayer } from "@llmops/core";
4
4
  import { DatabaseType } from "@llmops/core/db";
5
5
  import { Auth, BetterAuthOptions } from "better-auth";
6
6
  import { Hono } from "hono";
@@ -9,24 +9,28 @@ import { Hono } from "hono";
9
9
  declare module 'hono' {
10
10
  interface ContextVariableMap {
11
11
  llmopsConfig: ValidatedLLMOpsConfig;
12
- db: Awaited<ReturnType<typeof createDataLayer>>;
13
- /** Raw Kysely instance with correct schema configuration */
14
- kyselyDb: any;
15
- /** Database type (postgres, mysql, sqlite, mssql) */
16
- dbType: DatabaseType;
17
- authClient: Auth<BetterAuthOptions>;
12
+ /** Inline provider configurations from code config */
13
+ 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;
18
22
  setupComplete: boolean;
19
23
  }
20
24
  }
21
25
  //#endregion
22
26
  //#region src/server/index.d.ts
23
- declare const app: Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
27
+ declare const app: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
24
28
  //#endregion
25
29
  //#region src/index.d.ts
26
30
  declare const createApp: (config: LLMOpsConfig) => {
27
31
  app: hono_hono_base0.HonoBase<{}, {
28
32
  "*": {};
29
- } | hono_types1.MergeSchemaPath<hono_types1.BlankSchema, "/">, string>;
33
+ }, "/">;
30
34
  };
31
35
  //#endregion
32
36
  export { createApp, app as default };
package/dist/index.d.mts CHANGED
@@ -1,32 +1,36 @@
1
1
  import { Hono } from "hono";
2
- import { LLMOpsConfig, ValidatedLLMOpsConfig, createDataLayer } from "@llmops/core";
2
+ import { InlineProvidersConfig, LLMOpsConfig, ValidatedLLMOpsConfig, createDataLayer } from "@llmops/core";
3
3
  import { DatabaseType } from "@llmops/core/db";
4
4
  import { Auth, BetterAuthOptions } from "better-auth";
5
- import * as hono_types1 from "hono/types";
6
5
  import * as hono_hono_base0 from "hono/hono-base";
6
+ import * as hono_types0 from "hono/types";
7
7
 
8
8
  //#region src/server/types.d.ts
9
9
  declare module 'hono' {
10
10
  interface ContextVariableMap {
11
11
  llmopsConfig: ValidatedLLMOpsConfig;
12
- db: Awaited<ReturnType<typeof createDataLayer>>;
13
- /** Raw Kysely instance with correct schema configuration */
14
- kyselyDb: any;
15
- /** Database type (postgres, mysql, sqlite, mssql) */
16
- dbType: DatabaseType;
17
- authClient: Auth<BetterAuthOptions>;
12
+ /** Inline provider configurations from code config */
13
+ 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;
18
22
  setupComplete: boolean;
19
23
  }
20
24
  }
21
25
  //#endregion
22
26
  //#region src/server/index.d.ts
23
- declare const app: Hono<hono_types1.BlankEnv, hono_types1.BlankSchema, "/">;
27
+ declare const app: Hono<hono_types0.BlankEnv, hono_types0.BlankSchema, "/">;
24
28
  //#endregion
25
29
  //#region src/index.d.ts
26
30
  declare const createApp: (config: LLMOpsConfig) => {
27
31
  app: hono_hono_base0.HonoBase<{}, {
28
32
  "*": {};
29
- } | hono_types1.MergeSchemaPath<hono_types1.BlankSchema, "/">, string>;
33
+ }, "/">;
30
34
  };
31
35
  //#endregion
32
36
  export { createApp, app as default };