@llmops/core 0.1.3 → 0.1.5-beta.1

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.
@@ -1,2 +1,2 @@
1
- import { A as TargetingRulesTable, B as environmentSecretsSchema, C as EnvironmentSecretsTable, D as Selectable, E as SCHEMA_METADATA, F as VariantsTable, G as variantsSchema, H as schemas, I as WorkspaceSettings, K as workspaceSettingsSchema, L as WorkspaceSettingsTable, M as Variant, N as VariantVersion, O as TableName, P as VariantVersionsTable, R as configVariantsSchema, S as EnvironmentSecret, T as Insertable, U as targetingRulesSchema, V as environmentsSchema, W as variantVersionsSchema, _ as ConfigVariant, a as createDatabaseFromConnection, b as Database, c as MigrationResult, d as runAutoMigrations, f as parsePartialTableData, g as Config, h as validateTableData, i as createDatabase, j as Updateable, k as TargetingRule, l as getMigrations, m as validatePartialTableData, n as DatabaseOptions, o as detectDatabaseType, p as parseTableData, r as DatabaseType, s as MigrationOptions, t as DatabaseConnection, u as matchType, v as ConfigVariantsTable, w as EnvironmentsTable, x as Environment, y as ConfigsTable, z as configsSchema } from "../index-D8DWyBKi.cjs";
1
+ import { A as TargetingRulesTable, B as environmentSecretsSchema, C as EnvironmentSecretsTable, D as Selectable, E as SCHEMA_METADATA, F as VariantsTable, G as variantsSchema, H as schemas, I as WorkspaceSettings, K as workspaceSettingsSchema, L as WorkspaceSettingsTable, M as Variant, N as VariantVersion, O as TableName, P as VariantVersionsTable, R as configVariantsSchema, S as EnvironmentSecret, T as Insertable, U as targetingRulesSchema, V as environmentsSchema, W as variantVersionsSchema, _ as ConfigVariant, a as createDatabaseFromConnection, b as Database, c as MigrationResult, d as runAutoMigrations, f as parsePartialTableData, g as Config, h as validateTableData, i as createDatabase, j as Updateable, k as TargetingRule, l as getMigrations, m as validatePartialTableData, n as DatabaseOptions, o as detectDatabaseType, p as parseTableData, r as DatabaseType, s as MigrationOptions, t as DatabaseConnection, u as matchType, v as ConfigVariantsTable, w as EnvironmentsTable, x as Environment, y as ConfigsTable, z as configsSchema } from "../index-DTHo2J3v.cjs";
2
2
  export { Config, ConfigVariant, ConfigVariantsTable, ConfigsTable, Database, DatabaseConnection, DatabaseOptions, DatabaseType, Environment, EnvironmentSecret, EnvironmentSecretsTable, EnvironmentsTable, Insertable, MigrationOptions, MigrationResult, SCHEMA_METADATA, Selectable, TableName, TargetingRule, TargetingRulesTable, Updateable, Variant, VariantVersion, VariantVersionsTable, VariantsTable, WorkspaceSettings, WorkspaceSettingsTable, configVariantsSchema, configsSchema, createDatabase, createDatabaseFromConnection, detectDatabaseType, environmentSecretsSchema, environmentsSchema, getMigrations, matchType, parsePartialTableData, parseTableData, runAutoMigrations, schemas, targetingRulesSchema, validatePartialTableData, validateTableData, variantVersionsSchema, variantsSchema, workspaceSettingsSchema };
@@ -1,2 +1,2 @@
1
- import { A as TargetingRulesTable, B as environmentSecretsSchema, C as EnvironmentSecretsTable, D as Selectable, E as SCHEMA_METADATA, F as VariantsTable, G as variantsSchema, H as schemas, I as WorkspaceSettings, K as workspaceSettingsSchema, L as WorkspaceSettingsTable, M as Variant, N as VariantVersion, O as TableName, P as VariantVersionsTable, R as configVariantsSchema, S as EnvironmentSecret, T as Insertable, U as targetingRulesSchema, V as environmentsSchema, W as variantVersionsSchema, _ as ConfigVariant, a as createDatabaseFromConnection, b as Database, c as MigrationResult, d as runAutoMigrations, f as parsePartialTableData, g as Config, h as validateTableData, i as createDatabase, j as Updateable, k as TargetingRule, l as getMigrations, m as validatePartialTableData, n as DatabaseOptions, o as detectDatabaseType, p as parseTableData, r as DatabaseType, s as MigrationOptions, t as DatabaseConnection, u as matchType, v as ConfigVariantsTable, w as EnvironmentsTable, x as Environment, y as ConfigsTable, z as configsSchema } from "../index-BVOY5y9k.mjs";
1
+ import { A as TargetingRulesTable, B as environmentSecretsSchema, C as EnvironmentSecretsTable, D as Selectable, E as SCHEMA_METADATA, F as VariantsTable, G as variantsSchema, H as schemas, I as WorkspaceSettings, K as workspaceSettingsSchema, L as WorkspaceSettingsTable, M as Variant, N as VariantVersion, O as TableName, P as VariantVersionsTable, R as configVariantsSchema, S as EnvironmentSecret, T as Insertable, U as targetingRulesSchema, V as environmentsSchema, W as variantVersionsSchema, _ as ConfigVariant, a as createDatabaseFromConnection, b as Database, c as MigrationResult, d as runAutoMigrations, f as parsePartialTableData, g as Config, h as validateTableData, i as createDatabase, j as Updateable, k as TargetingRule, l as getMigrations, m as validatePartialTableData, n as DatabaseOptions, o as detectDatabaseType, p as parseTableData, r as DatabaseType, s as MigrationOptions, t as DatabaseConnection, u as matchType, v as ConfigVariantsTable, w as EnvironmentsTable, x as Environment, y as ConfigsTable, z as configsSchema } from "../index-D3ncxgf2.mjs";
2
2
  export { Config, ConfigVariant, ConfigVariantsTable, ConfigsTable, Database, DatabaseConnection, DatabaseOptions, DatabaseType, Environment, EnvironmentSecret, EnvironmentSecretsTable, EnvironmentsTable, Insertable, MigrationOptions, MigrationResult, SCHEMA_METADATA, Selectable, TableName, TargetingRule, TargetingRulesTable, Updateable, Variant, VariantVersion, VariantVersionsTable, VariantsTable, WorkspaceSettings, WorkspaceSettingsTable, configVariantsSchema, configsSchema, createDatabase, createDatabaseFromConnection, detectDatabaseType, environmentSecretsSchema, environmentsSchema, getMigrations, matchType, parsePartialTableData, parseTableData, runAutoMigrations, schemas, targetingRulesSchema, validatePartialTableData, validateTableData, variantVersionsSchema, variantsSchema, workspaceSettingsSchema };
@@ -1,5 +1,5 @@
1
1
  import { ColumnType, Generated, Kysely, MssqlDialect, MysqlDialect, PostgresDialect, SqliteDialect } from "kysely";
2
- import * as zod302 from "zod";
2
+ import * as zod307 from "zod";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/db/schema.d.ts
@@ -565,7 +565,7 @@ declare const schemas: {
565
565
  * Validate data against table schema
566
566
  * Useful for runtime validation before inserting/updating
567
567
  */
568
- declare function validateTableData<T extends TableName>(table: T, data: unknown): zod302.ZodSafeParseSuccess<{
568
+ declare function validateTableData<T extends TableName>(table: T, data: unknown): zod307.ZodSafeParseSuccess<{
569
569
  variantId: string;
570
570
  version: number;
571
571
  provider: string;
@@ -574,7 +574,7 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
574
574
  id: string;
575
575
  createdAt: Date;
576
576
  updatedAt: Date;
577
- }> | zod302.ZodSafeParseError<{
577
+ }> | zod307.ZodSafeParseError<{
578
578
  variantId: string;
579
579
  version: number;
580
580
  provider: string;
@@ -583,33 +583,33 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
583
583
  id: string;
584
584
  createdAt: Date;
585
585
  updatedAt: Date;
586
- }> | zod302.ZodSafeParseSuccess<{
586
+ }> | zod307.ZodSafeParseSuccess<{
587
587
  environmentId: string;
588
588
  keyName: string;
589
589
  keyValue: string;
590
590
  id: string;
591
591
  createdAt: Date;
592
592
  updatedAt: Date;
593
- }> | zod302.ZodSafeParseError<{
593
+ }> | zod307.ZodSafeParseError<{
594
594
  environmentId: string;
595
595
  keyName: string;
596
596
  keyValue: string;
597
597
  id: string;
598
598
  createdAt: Date;
599
599
  updatedAt: Date;
600
- }> | zod302.ZodSafeParseSuccess<{
600
+ }> | zod307.ZodSafeParseSuccess<{
601
601
  configId: string;
602
602
  variantId: string;
603
603
  id: string;
604
604
  createdAt: Date;
605
605
  updatedAt: Date;
606
- }> | zod302.ZodSafeParseError<{
606
+ }> | zod307.ZodSafeParseError<{
607
607
  configId: string;
608
608
  variantId: string;
609
609
  id: string;
610
610
  createdAt: Date;
611
611
  updatedAt: Date;
612
- }> | zod302.ZodSafeParseSuccess<{
612
+ }> | zod307.ZodSafeParseSuccess<{
613
613
  environmentId: string;
614
614
  configId: string;
615
615
  configVariantId: string;
@@ -621,7 +621,7 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
621
621
  createdAt: Date;
622
622
  updatedAt: Date;
623
623
  variantVersionId?: string | null | undefined;
624
- }> | zod302.ZodSafeParseError<{
624
+ }> | zod307.ZodSafeParseError<{
625
625
  environmentId: string;
626
626
  configId: string;
627
627
  configVariantId: string;
@@ -633,12 +633,12 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
633
633
  createdAt: Date;
634
634
  updatedAt: Date;
635
635
  variantVersionId?: string | null | undefined;
636
- }> | zod302.ZodSafeParseSuccess<{
636
+ }> | zod307.ZodSafeParseSuccess<{
637
637
  id: string;
638
638
  createdAt: Date;
639
639
  updatedAt: Date;
640
640
  name?: string | null | undefined;
641
- }> | zod302.ZodSafeParseError<{
641
+ }> | zod307.ZodSafeParseError<{
642
642
  id: string;
643
643
  createdAt: Date;
644
644
  updatedAt: Date;
@@ -647,7 +647,7 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
647
647
  /**
648
648
  * Validate partial data (for updates)
649
649
  */
650
- declare function validatePartialTableData<T extends TableName>(table: T, data: unknown): zod302.ZodSafeParseSuccess<{
650
+ declare function validatePartialTableData<T extends TableName>(table: T, data: unknown): zod307.ZodSafeParseSuccess<{
651
651
  variantId?: string | undefined;
652
652
  version?: number | undefined;
653
653
  provider?: string | undefined;
@@ -656,7 +656,7 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
656
656
  id?: string | undefined;
657
657
  createdAt?: Date | undefined;
658
658
  updatedAt?: Date | undefined;
659
- }> | zod302.ZodSafeParseError<{
659
+ }> | zod307.ZodSafeParseError<{
660
660
  variantId?: string | undefined;
661
661
  version?: number | undefined;
662
662
  provider?: string | undefined;
@@ -665,33 +665,33 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
665
665
  id?: string | undefined;
666
666
  createdAt?: Date | undefined;
667
667
  updatedAt?: Date | undefined;
668
- }> | zod302.ZodSafeParseSuccess<{
668
+ }> | zod307.ZodSafeParseSuccess<{
669
669
  environmentId?: string | undefined;
670
670
  keyName?: string | undefined;
671
671
  keyValue?: string | undefined;
672
672
  id?: string | undefined;
673
673
  createdAt?: Date | undefined;
674
674
  updatedAt?: Date | undefined;
675
- }> | zod302.ZodSafeParseError<{
675
+ }> | zod307.ZodSafeParseError<{
676
676
  environmentId?: string | undefined;
677
677
  keyName?: string | undefined;
678
678
  keyValue?: string | undefined;
679
679
  id?: string | undefined;
680
680
  createdAt?: Date | undefined;
681
681
  updatedAt?: Date | undefined;
682
- }> | zod302.ZodSafeParseSuccess<{
682
+ }> | zod307.ZodSafeParseSuccess<{
683
683
  configId?: string | undefined;
684
684
  variantId?: string | undefined;
685
685
  id?: string | undefined;
686
686
  createdAt?: Date | undefined;
687
687
  updatedAt?: Date | undefined;
688
- }> | zod302.ZodSafeParseError<{
688
+ }> | zod307.ZodSafeParseError<{
689
689
  configId?: string | undefined;
690
690
  variantId?: string | undefined;
691
691
  id?: string | undefined;
692
692
  createdAt?: Date | undefined;
693
693
  updatedAt?: Date | undefined;
694
- }> | zod302.ZodSafeParseSuccess<{
694
+ }> | zod307.ZodSafeParseSuccess<{
695
695
  environmentId?: string | undefined;
696
696
  configId?: string | undefined;
697
697
  configVariantId?: string | undefined;
@@ -703,7 +703,7 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
703
703
  id?: string | undefined;
704
704
  createdAt?: Date | undefined;
705
705
  updatedAt?: Date | undefined;
706
- }> | zod302.ZodSafeParseError<{
706
+ }> | zod307.ZodSafeParseError<{
707
707
  environmentId?: string | undefined;
708
708
  configId?: string | undefined;
709
709
  configVariantId?: string | undefined;
@@ -715,12 +715,12 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
715
715
  id?: string | undefined;
716
716
  createdAt?: Date | undefined;
717
717
  updatedAt?: Date | undefined;
718
- }> | zod302.ZodSafeParseSuccess<{
718
+ }> | zod307.ZodSafeParseSuccess<{
719
719
  name?: string | null | undefined;
720
720
  id?: string | undefined;
721
721
  createdAt?: Date | undefined;
722
722
  updatedAt?: Date | undefined;
723
- }> | zod302.ZodSafeParseError<{
723
+ }> | zod307.ZodSafeParseError<{
724
724
  name?: string | null | undefined;
725
725
  id?: string | undefined;
726
726
  createdAt?: Date | undefined;
@@ -1,5 +1,5 @@
1
1
  import { ColumnType, Generated, Kysely, MssqlDialect, MysqlDialect, PostgresDialect, SqliteDialect } from "kysely";
2
- import * as zod302 from "zod";
2
+ import * as zod307 from "zod";
3
3
  import { z } from "zod";
4
4
 
5
5
  //#region src/db/schema.d.ts
@@ -565,7 +565,7 @@ declare const schemas: {
565
565
  * Validate data against table schema
566
566
  * Useful for runtime validation before inserting/updating
567
567
  */
568
- declare function validateTableData<T extends TableName>(table: T, data: unknown): zod302.ZodSafeParseSuccess<{
568
+ declare function validateTableData<T extends TableName>(table: T, data: unknown): zod307.ZodSafeParseSuccess<{
569
569
  variantId: string;
570
570
  version: number;
571
571
  provider: string;
@@ -574,7 +574,7 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
574
574
  id: string;
575
575
  createdAt: Date;
576
576
  updatedAt: Date;
577
- }> | zod302.ZodSafeParseError<{
577
+ }> | zod307.ZodSafeParseError<{
578
578
  variantId: string;
579
579
  version: number;
580
580
  provider: string;
@@ -583,33 +583,33 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
583
583
  id: string;
584
584
  createdAt: Date;
585
585
  updatedAt: Date;
586
- }> | zod302.ZodSafeParseSuccess<{
586
+ }> | zod307.ZodSafeParseSuccess<{
587
587
  environmentId: string;
588
588
  keyName: string;
589
589
  keyValue: string;
590
590
  id: string;
591
591
  createdAt: Date;
592
592
  updatedAt: Date;
593
- }> | zod302.ZodSafeParseError<{
593
+ }> | zod307.ZodSafeParseError<{
594
594
  environmentId: string;
595
595
  keyName: string;
596
596
  keyValue: string;
597
597
  id: string;
598
598
  createdAt: Date;
599
599
  updatedAt: Date;
600
- }> | zod302.ZodSafeParseSuccess<{
600
+ }> | zod307.ZodSafeParseSuccess<{
601
601
  configId: string;
602
602
  variantId: string;
603
603
  id: string;
604
604
  createdAt: Date;
605
605
  updatedAt: Date;
606
- }> | zod302.ZodSafeParseError<{
606
+ }> | zod307.ZodSafeParseError<{
607
607
  configId: string;
608
608
  variantId: string;
609
609
  id: string;
610
610
  createdAt: Date;
611
611
  updatedAt: Date;
612
- }> | zod302.ZodSafeParseSuccess<{
612
+ }> | zod307.ZodSafeParseSuccess<{
613
613
  environmentId: string;
614
614
  configId: string;
615
615
  configVariantId: string;
@@ -621,7 +621,7 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
621
621
  createdAt: Date;
622
622
  updatedAt: Date;
623
623
  variantVersionId?: string | null | undefined;
624
- }> | zod302.ZodSafeParseError<{
624
+ }> | zod307.ZodSafeParseError<{
625
625
  environmentId: string;
626
626
  configId: string;
627
627
  configVariantId: string;
@@ -633,12 +633,12 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
633
633
  createdAt: Date;
634
634
  updatedAt: Date;
635
635
  variantVersionId?: string | null | undefined;
636
- }> | zod302.ZodSafeParseSuccess<{
636
+ }> | zod307.ZodSafeParseSuccess<{
637
637
  id: string;
638
638
  createdAt: Date;
639
639
  updatedAt: Date;
640
640
  name?: string | null | undefined;
641
- }> | zod302.ZodSafeParseError<{
641
+ }> | zod307.ZodSafeParseError<{
642
642
  id: string;
643
643
  createdAt: Date;
644
644
  updatedAt: Date;
@@ -647,7 +647,7 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
647
647
  /**
648
648
  * Validate partial data (for updates)
649
649
  */
650
- declare function validatePartialTableData<T extends TableName>(table: T, data: unknown): zod302.ZodSafeParseSuccess<{
650
+ declare function validatePartialTableData<T extends TableName>(table: T, data: unknown): zod307.ZodSafeParseSuccess<{
651
651
  variantId?: string | undefined;
652
652
  version?: number | undefined;
653
653
  provider?: string | undefined;
@@ -656,7 +656,7 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
656
656
  id?: string | undefined;
657
657
  createdAt?: Date | undefined;
658
658
  updatedAt?: Date | undefined;
659
- }> | zod302.ZodSafeParseError<{
659
+ }> | zod307.ZodSafeParseError<{
660
660
  variantId?: string | undefined;
661
661
  version?: number | undefined;
662
662
  provider?: string | undefined;
@@ -665,33 +665,33 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
665
665
  id?: string | undefined;
666
666
  createdAt?: Date | undefined;
667
667
  updatedAt?: Date | undefined;
668
- }> | zod302.ZodSafeParseSuccess<{
668
+ }> | zod307.ZodSafeParseSuccess<{
669
669
  environmentId?: string | undefined;
670
670
  keyName?: string | undefined;
671
671
  keyValue?: string | undefined;
672
672
  id?: string | undefined;
673
673
  createdAt?: Date | undefined;
674
674
  updatedAt?: Date | undefined;
675
- }> | zod302.ZodSafeParseError<{
675
+ }> | zod307.ZodSafeParseError<{
676
676
  environmentId?: string | undefined;
677
677
  keyName?: string | undefined;
678
678
  keyValue?: string | undefined;
679
679
  id?: string | undefined;
680
680
  createdAt?: Date | undefined;
681
681
  updatedAt?: Date | undefined;
682
- }> | zod302.ZodSafeParseSuccess<{
682
+ }> | zod307.ZodSafeParseSuccess<{
683
683
  configId?: string | undefined;
684
684
  variantId?: string | undefined;
685
685
  id?: string | undefined;
686
686
  createdAt?: Date | undefined;
687
687
  updatedAt?: Date | undefined;
688
- }> | zod302.ZodSafeParseError<{
688
+ }> | zod307.ZodSafeParseError<{
689
689
  configId?: string | undefined;
690
690
  variantId?: string | undefined;
691
691
  id?: string | undefined;
692
692
  createdAt?: Date | undefined;
693
693
  updatedAt?: Date | undefined;
694
- }> | zod302.ZodSafeParseSuccess<{
694
+ }> | zod307.ZodSafeParseSuccess<{
695
695
  environmentId?: string | undefined;
696
696
  configId?: string | undefined;
697
697
  configVariantId?: string | undefined;
@@ -703,7 +703,7 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
703
703
  id?: string | undefined;
704
704
  createdAt?: Date | undefined;
705
705
  updatedAt?: Date | undefined;
706
- }> | zod302.ZodSafeParseError<{
706
+ }> | zod307.ZodSafeParseError<{
707
707
  environmentId?: string | undefined;
708
708
  configId?: string | undefined;
709
709
  configVariantId?: string | undefined;
@@ -715,12 +715,12 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
715
715
  id?: string | undefined;
716
716
  createdAt?: Date | undefined;
717
717
  updatedAt?: Date | undefined;
718
- }> | zod302.ZodSafeParseSuccess<{
718
+ }> | zod307.ZodSafeParseSuccess<{
719
719
  name?: string | null | undefined;
720
720
  id?: string | undefined;
721
721
  createdAt?: Date | undefined;
722
722
  updatedAt?: Date | undefined;
723
- }> | zod302.ZodSafeParseError<{
723
+ }> | zod307.ZodSafeParseError<{
724
724
  name?: string | null | undefined;
725
725
  id?: string | undefined;
726
726
  createdAt?: Date | undefined;