@llmops/core 0.4.3-beta.1 → 0.4.4
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/db/index.d.cts +1 -1
- package/dist/db/index.d.mts +1 -1
- package/dist/{index-BtZBaB4H.d.cts → index-BQjqltzb.d.mts} +49 -49
- package/dist/{index-DkZvY6Q3.d.mts → index-pF6DFbDQ.d.cts} +49 -49
- package/dist/index.d.cts +269 -269
- package/dist/index.d.mts +269 -269
- package/package.json +2 -2
package/dist/db/index.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-
|
|
1
|
+
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-pF6DFbDQ.cjs";
|
|
2
2
|
export { Config, ConfigVariant, ConfigVariantsTable, ConfigsTable, Database, DatabaseConnection, DatabaseOptions, DatabaseType, Dataset, DatasetRecord, DatasetRecordsTable, DatasetVersion, DatasetVersionRecord, DatasetVersionRecordsTable, DatasetVersionsTable, DatasetsTable, Environment, EnvironmentSecret, EnvironmentSecretsTable, EnvironmentsTable, GuardrailConfig, GuardrailConfigsTable, GuardrailResult, GuardrailResults, Insertable, LLMRequest, LLMRequestsTable, MigrationOptions, MigrationResult, Playground, PlaygroundColumn, PlaygroundResult, PlaygroundResultsTable, PlaygroundRun, PlaygroundRunsTable, PlaygroundsTable, ProviderConfig, ProviderConfigsTable, ProviderGuardrailOverride, ProviderGuardrailOverridesTable, SCHEMA_METADATA, Selectable, TableName, TargetingRule, TargetingRulesTable, Updateable, Variant, VariantVersion, VariantVersionsTable, VariantsTable, WorkspaceSettings, WorkspaceSettingsTable, configVariantsSchema, configsSchema, createDatabase, createDatabaseFromConnection, createNeonDialect, datasetRecordsSchema, datasetVersionRecordsSchema, datasetVersionsSchema, datasetsSchema, detectDatabaseType, environmentSecretsSchema, environmentsSchema, executeWithSchema, getMigrations, guardrailConfigsSchema, llmRequestsSchema, matchType, parsePartialTableData, parseTableData, playgroundColumnSchema, playgroundResultsSchema, playgroundRunsSchema, playgroundsSchema, providerConfigsSchema, providerGuardrailOverridesSchema, runAutoMigrations, schemas, targetingRulesSchema, validatePartialTableData, validateTableData, variantVersionsSchema, variantsSchema, workspaceSettingsSchema };
|
package/dist/db/index.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-
|
|
1
|
+
import { $ as SCHEMA_METADATA, A as DatasetsTable, At as variantsSchema, B as LLMRequest, C as Dataset, Ct as playgroundRunsSchema, D as DatasetVersionRecord, Dt as schemas, E as DatasetVersion, Et as providerGuardrailOverridesSchema, F as GuardrailConfig, G as PlaygroundResultsTable, H as Playground, I as GuardrailConfigsTable, J as PlaygroundsTable, K as PlaygroundRun, L as GuardrailResult, M as EnvironmentSecret, N as EnvironmentSecretsTable, O as DatasetVersionRecordsTable, Ot as targetingRulesSchema, P as EnvironmentsTable, Q as ProviderGuardrailOverridesTable, R as GuardrailResults, S as Database, St as playgroundResultsSchema, T as DatasetRecordsTable, Tt as providerConfigsSchema, U as PlaygroundColumn, V as LLMRequestsTable, W as PlaygroundResult, X as ProviderConfigsTable, Y as ProviderConfig, Z as ProviderGuardrailOverride, _ as validateTableData, _t as environmentSecretsSchema, a as createDatabaseFromConnection, at as Variant, b as ConfigVariantsTable, bt as llmRequestsSchema, c as executeWithSchema, ct as VariantsTable, d as getMigrations, dt as configVariantsSchema, et as Selectable, f as matchType, ft as configsSchema, g as validatePartialTableData, gt as datasetsSchema, h as parseTableData, ht as datasetVersionsSchema, i as createDatabase, it as Updateable, j as Environment, jt as workspaceSettingsSchema, k as DatasetVersionsTable, kt as variantVersionsSchema, l as MigrationOptions, lt as WorkspaceSettings, m as parsePartialTableData, mt as datasetVersionRecordsSchema, n as DatabaseOptions, nt as TargetingRule, o as detectDatabaseType, ot as VariantVersion, p as runAutoMigrations, pt as datasetRecordsSchema, q as PlaygroundRunsTable, r as DatabaseType, rt as TargetingRulesTable, s as createNeonDialect, st as VariantVersionsTable, t as DatabaseConnection, tt as TableName, u as MigrationResult, ut as WorkspaceSettingsTable, v as Config, vt as environmentsSchema, w as DatasetRecord, wt as playgroundsSchema, x as ConfigsTable, xt as playgroundColumnSchema, y as ConfigVariant, yt as guardrailConfigsSchema, z as Insertable } from "../index-BQjqltzb.mjs";
|
|
2
2
|
export { Config, ConfigVariant, ConfigVariantsTable, ConfigsTable, Database, DatabaseConnection, DatabaseOptions, DatabaseType, Dataset, DatasetRecord, DatasetRecordsTable, DatasetVersion, DatasetVersionRecord, DatasetVersionRecordsTable, DatasetVersionsTable, DatasetsTable, Environment, EnvironmentSecret, EnvironmentSecretsTable, EnvironmentsTable, GuardrailConfig, GuardrailConfigsTable, GuardrailResult, GuardrailResults, Insertable, LLMRequest, LLMRequestsTable, MigrationOptions, MigrationResult, Playground, PlaygroundColumn, PlaygroundResult, PlaygroundResultsTable, PlaygroundRun, PlaygroundRunsTable, PlaygroundsTable, ProviderConfig, ProviderConfigsTable, ProviderGuardrailOverride, ProviderGuardrailOverridesTable, SCHEMA_METADATA, Selectable, TableName, TargetingRule, TargetingRulesTable, Updateable, Variant, VariantVersion, VariantVersionsTable, VariantsTable, WorkspaceSettings, WorkspaceSettingsTable, configVariantsSchema, configsSchema, createDatabase, createDatabaseFromConnection, createNeonDialect, datasetRecordsSchema, datasetVersionRecordsSchema, datasetVersionsSchema, datasetsSchema, detectDatabaseType, environmentSecretsSchema, environmentsSchema, executeWithSchema, getMigrations, guardrailConfigsSchema, llmRequestsSchema, matchType, parsePartialTableData, parseTableData, playgroundColumnSchema, playgroundResultsSchema, playgroundRunsSchema, playgroundsSchema, providerConfigsSchema, providerGuardrailOverridesSchema, runAutoMigrations, schemas, targetingRulesSchema, validatePartialTableData, validateTableData, variantVersionsSchema, variantsSchema, workspaceSettingsSchema };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ColumnType, Dialect, Generated, Kysely, MssqlDialect, MysqlDialect, PostgresDialect, SqliteDialect } from "kysely";
|
|
2
|
+
import { NeonQueryFunction } from "@neondatabase/serverless";
|
|
2
3
|
import * as zod0 from "zod";
|
|
3
4
|
import { z } from "zod";
|
|
4
|
-
import { NeonQueryFunction } from "@neondatabase/serverless";
|
|
5
5
|
|
|
6
6
|
//#region src/db/schema.d.ts
|
|
7
7
|
declare const configsSchema: z.ZodObject<{
|
|
@@ -2083,6 +2083,22 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2083
2083
|
id: string;
|
|
2084
2084
|
createdAt: Date;
|
|
2085
2085
|
updatedAt: Date;
|
|
2086
|
+
}> | zod0.ZodSafeParseSuccess<{
|
|
2087
|
+
providerConfigId: string;
|
|
2088
|
+
guardrailConfigId: string;
|
|
2089
|
+
enabled: boolean;
|
|
2090
|
+
id: string;
|
|
2091
|
+
createdAt: Date;
|
|
2092
|
+
updatedAt: Date;
|
|
2093
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2094
|
+
}> | zod0.ZodSafeParseError<{
|
|
2095
|
+
providerConfigId: string;
|
|
2096
|
+
guardrailConfigId: string;
|
|
2097
|
+
enabled: boolean;
|
|
2098
|
+
id: string;
|
|
2099
|
+
createdAt: Date;
|
|
2100
|
+
updatedAt: Date;
|
|
2101
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2086
2102
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2087
2103
|
datasetId: string;
|
|
2088
2104
|
versionNumber: number;
|
|
@@ -2133,22 +2149,6 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2133
2149
|
id: string;
|
|
2134
2150
|
createdAt: Date;
|
|
2135
2151
|
updatedAt: Date;
|
|
2136
|
-
}> | zod0.ZodSafeParseSuccess<{
|
|
2137
|
-
providerConfigId: string;
|
|
2138
|
-
guardrailConfigId: string;
|
|
2139
|
-
enabled: boolean;
|
|
2140
|
-
id: string;
|
|
2141
|
-
createdAt: Date;
|
|
2142
|
-
updatedAt: Date;
|
|
2143
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2144
|
-
}> | zod0.ZodSafeParseError<{
|
|
2145
|
-
providerConfigId: string;
|
|
2146
|
-
guardrailConfigId: string;
|
|
2147
|
-
enabled: boolean;
|
|
2148
|
-
id: string;
|
|
2149
|
-
createdAt: Date;
|
|
2150
|
-
updatedAt: Date;
|
|
2151
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2152
2152
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2153
2153
|
requestId: string;
|
|
2154
2154
|
provider: string;
|
|
@@ -2389,6 +2389,22 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2389
2389
|
id?: string | undefined;
|
|
2390
2390
|
createdAt?: Date | undefined;
|
|
2391
2391
|
updatedAt?: Date | undefined;
|
|
2392
|
+
}> | zod0.ZodSafeParseSuccess<{
|
|
2393
|
+
providerConfigId?: string | undefined;
|
|
2394
|
+
guardrailConfigId?: string | undefined;
|
|
2395
|
+
enabled?: boolean | undefined;
|
|
2396
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2397
|
+
id?: string | undefined;
|
|
2398
|
+
createdAt?: Date | undefined;
|
|
2399
|
+
updatedAt?: Date | undefined;
|
|
2400
|
+
}> | zod0.ZodSafeParseError<{
|
|
2401
|
+
providerConfigId?: string | undefined;
|
|
2402
|
+
guardrailConfigId?: string | undefined;
|
|
2403
|
+
enabled?: boolean | undefined;
|
|
2404
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2405
|
+
id?: string | undefined;
|
|
2406
|
+
createdAt?: Date | undefined;
|
|
2407
|
+
updatedAt?: Date | undefined;
|
|
2392
2408
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2393
2409
|
datasetId?: string | undefined;
|
|
2394
2410
|
versionNumber?: number | undefined;
|
|
@@ -2439,22 +2455,6 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2439
2455
|
id?: string | undefined;
|
|
2440
2456
|
createdAt?: Date | undefined;
|
|
2441
2457
|
updatedAt?: Date | undefined;
|
|
2442
|
-
}> | zod0.ZodSafeParseSuccess<{
|
|
2443
|
-
providerConfigId?: string | undefined;
|
|
2444
|
-
guardrailConfigId?: string | undefined;
|
|
2445
|
-
enabled?: boolean | undefined;
|
|
2446
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2447
|
-
id?: string | undefined;
|
|
2448
|
-
createdAt?: Date | undefined;
|
|
2449
|
-
updatedAt?: Date | undefined;
|
|
2450
|
-
}> | zod0.ZodSafeParseError<{
|
|
2451
|
-
providerConfigId?: string | undefined;
|
|
2452
|
-
guardrailConfigId?: string | undefined;
|
|
2453
|
-
enabled?: boolean | undefined;
|
|
2454
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2455
|
-
id?: string | undefined;
|
|
2456
|
-
createdAt?: Date | undefined;
|
|
2457
|
-
updatedAt?: Date | undefined;
|
|
2458
2458
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2459
2459
|
requestId?: string | undefined;
|
|
2460
2460
|
configId?: string | null | undefined;
|
|
@@ -2618,6 +2618,14 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2618
2618
|
id: string;
|
|
2619
2619
|
createdAt: Date;
|
|
2620
2620
|
updatedAt: Date;
|
|
2621
|
+
} | {
|
|
2622
|
+
providerConfigId: string;
|
|
2623
|
+
guardrailConfigId: string;
|
|
2624
|
+
enabled: boolean;
|
|
2625
|
+
id: string;
|
|
2626
|
+
createdAt: Date;
|
|
2627
|
+
updatedAt: Date;
|
|
2628
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2621
2629
|
} | {
|
|
2622
2630
|
datasetId: string;
|
|
2623
2631
|
versionNumber: number;
|
|
@@ -2643,14 +2651,6 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2643
2651
|
id: string;
|
|
2644
2652
|
createdAt: Date;
|
|
2645
2653
|
updatedAt: Date;
|
|
2646
|
-
} | {
|
|
2647
|
-
providerConfigId: string;
|
|
2648
|
-
guardrailConfigId: string;
|
|
2649
|
-
enabled: boolean;
|
|
2650
|
-
id: string;
|
|
2651
|
-
createdAt: Date;
|
|
2652
|
-
updatedAt: Date;
|
|
2653
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2654
2654
|
} | {
|
|
2655
2655
|
requestId: string;
|
|
2656
2656
|
provider: string;
|
|
@@ -2773,6 +2773,14 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2773
2773
|
id?: string | undefined;
|
|
2774
2774
|
createdAt?: Date | undefined;
|
|
2775
2775
|
updatedAt?: Date | undefined;
|
|
2776
|
+
} | {
|
|
2777
|
+
providerConfigId?: string | undefined;
|
|
2778
|
+
guardrailConfigId?: string | undefined;
|
|
2779
|
+
enabled?: boolean | undefined;
|
|
2780
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2781
|
+
id?: string | undefined;
|
|
2782
|
+
createdAt?: Date | undefined;
|
|
2783
|
+
updatedAt?: Date | undefined;
|
|
2776
2784
|
} | {
|
|
2777
2785
|
datasetId?: string | undefined;
|
|
2778
2786
|
versionNumber?: number | undefined;
|
|
@@ -2798,14 +2806,6 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2798
2806
|
id?: string | undefined;
|
|
2799
2807
|
createdAt?: Date | undefined;
|
|
2800
2808
|
updatedAt?: Date | undefined;
|
|
2801
|
-
} | {
|
|
2802
|
-
providerConfigId?: string | undefined;
|
|
2803
|
-
guardrailConfigId?: string | undefined;
|
|
2804
|
-
enabled?: boolean | undefined;
|
|
2805
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2806
|
-
id?: string | undefined;
|
|
2807
|
-
createdAt?: Date | undefined;
|
|
2808
|
-
updatedAt?: Date | undefined;
|
|
2809
2809
|
} | {
|
|
2810
2810
|
requestId?: string | undefined;
|
|
2811
2811
|
configId?: string | null | undefined;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ColumnType, Dialect, Generated, Kysely, MssqlDialect, MysqlDialect, PostgresDialect, SqliteDialect } from "kysely";
|
|
2
|
-
import { NeonQueryFunction } from "@neondatabase/serverless";
|
|
3
2
|
import * as zod0 from "zod";
|
|
4
3
|
import { z } from "zod";
|
|
4
|
+
import { NeonQueryFunction } from "@neondatabase/serverless";
|
|
5
5
|
|
|
6
6
|
//#region src/db/schema.d.ts
|
|
7
7
|
declare const configsSchema: z.ZodObject<{
|
|
@@ -2083,6 +2083,22 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2083
2083
|
id: string;
|
|
2084
2084
|
createdAt: Date;
|
|
2085
2085
|
updatedAt: Date;
|
|
2086
|
+
}> | zod0.ZodSafeParseSuccess<{
|
|
2087
|
+
providerConfigId: string;
|
|
2088
|
+
guardrailConfigId: string;
|
|
2089
|
+
enabled: boolean;
|
|
2090
|
+
id: string;
|
|
2091
|
+
createdAt: Date;
|
|
2092
|
+
updatedAt: Date;
|
|
2093
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2094
|
+
}> | zod0.ZodSafeParseError<{
|
|
2095
|
+
providerConfigId: string;
|
|
2096
|
+
guardrailConfigId: string;
|
|
2097
|
+
enabled: boolean;
|
|
2098
|
+
id: string;
|
|
2099
|
+
createdAt: Date;
|
|
2100
|
+
updatedAt: Date;
|
|
2101
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2086
2102
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2087
2103
|
datasetId: string;
|
|
2088
2104
|
versionNumber: number;
|
|
@@ -2133,22 +2149,6 @@ declare function validateTableData<T extends TableName>(table: T, data: unknown)
|
|
|
2133
2149
|
id: string;
|
|
2134
2150
|
createdAt: Date;
|
|
2135
2151
|
updatedAt: Date;
|
|
2136
|
-
}> | zod0.ZodSafeParseSuccess<{
|
|
2137
|
-
providerConfigId: string;
|
|
2138
|
-
guardrailConfigId: string;
|
|
2139
|
-
enabled: boolean;
|
|
2140
|
-
id: string;
|
|
2141
|
-
createdAt: Date;
|
|
2142
|
-
updatedAt: Date;
|
|
2143
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2144
|
-
}> | zod0.ZodSafeParseError<{
|
|
2145
|
-
providerConfigId: string;
|
|
2146
|
-
guardrailConfigId: string;
|
|
2147
|
-
enabled: boolean;
|
|
2148
|
-
id: string;
|
|
2149
|
-
createdAt: Date;
|
|
2150
|
-
updatedAt: Date;
|
|
2151
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2152
2152
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2153
2153
|
requestId: string;
|
|
2154
2154
|
provider: string;
|
|
@@ -2389,6 +2389,22 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2389
2389
|
id?: string | undefined;
|
|
2390
2390
|
createdAt?: Date | undefined;
|
|
2391
2391
|
updatedAt?: Date | undefined;
|
|
2392
|
+
}> | zod0.ZodSafeParseSuccess<{
|
|
2393
|
+
providerConfigId?: string | undefined;
|
|
2394
|
+
guardrailConfigId?: string | undefined;
|
|
2395
|
+
enabled?: boolean | undefined;
|
|
2396
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2397
|
+
id?: string | undefined;
|
|
2398
|
+
createdAt?: Date | undefined;
|
|
2399
|
+
updatedAt?: Date | undefined;
|
|
2400
|
+
}> | zod0.ZodSafeParseError<{
|
|
2401
|
+
providerConfigId?: string | undefined;
|
|
2402
|
+
guardrailConfigId?: string | undefined;
|
|
2403
|
+
enabled?: boolean | undefined;
|
|
2404
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2405
|
+
id?: string | undefined;
|
|
2406
|
+
createdAt?: Date | undefined;
|
|
2407
|
+
updatedAt?: Date | undefined;
|
|
2392
2408
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2393
2409
|
datasetId?: string | undefined;
|
|
2394
2410
|
versionNumber?: number | undefined;
|
|
@@ -2439,22 +2455,6 @@ declare function validatePartialTableData<T extends TableName>(table: T, data: u
|
|
|
2439
2455
|
id?: string | undefined;
|
|
2440
2456
|
createdAt?: Date | undefined;
|
|
2441
2457
|
updatedAt?: Date | undefined;
|
|
2442
|
-
}> | zod0.ZodSafeParseSuccess<{
|
|
2443
|
-
providerConfigId?: string | undefined;
|
|
2444
|
-
guardrailConfigId?: string | undefined;
|
|
2445
|
-
enabled?: boolean | undefined;
|
|
2446
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2447
|
-
id?: string | undefined;
|
|
2448
|
-
createdAt?: Date | undefined;
|
|
2449
|
-
updatedAt?: Date | undefined;
|
|
2450
|
-
}> | zod0.ZodSafeParseError<{
|
|
2451
|
-
providerConfigId?: string | undefined;
|
|
2452
|
-
guardrailConfigId?: string | undefined;
|
|
2453
|
-
enabled?: boolean | undefined;
|
|
2454
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2455
|
-
id?: string | undefined;
|
|
2456
|
-
createdAt?: Date | undefined;
|
|
2457
|
-
updatedAt?: Date | undefined;
|
|
2458
2458
|
}> | zod0.ZodSafeParseSuccess<{
|
|
2459
2459
|
requestId?: string | undefined;
|
|
2460
2460
|
configId?: string | null | undefined;
|
|
@@ -2618,6 +2618,14 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2618
2618
|
id: string;
|
|
2619
2619
|
createdAt: Date;
|
|
2620
2620
|
updatedAt: Date;
|
|
2621
|
+
} | {
|
|
2622
|
+
providerConfigId: string;
|
|
2623
|
+
guardrailConfigId: string;
|
|
2624
|
+
enabled: boolean;
|
|
2625
|
+
id: string;
|
|
2626
|
+
createdAt: Date;
|
|
2627
|
+
updatedAt: Date;
|
|
2628
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2621
2629
|
} | {
|
|
2622
2630
|
datasetId: string;
|
|
2623
2631
|
versionNumber: number;
|
|
@@ -2643,14 +2651,6 @@ declare function parseTableData<T extends TableName>(table: T, data: unknown): {
|
|
|
2643
2651
|
id: string;
|
|
2644
2652
|
createdAt: Date;
|
|
2645
2653
|
updatedAt: Date;
|
|
2646
|
-
} | {
|
|
2647
|
-
providerConfigId: string;
|
|
2648
|
-
guardrailConfigId: string;
|
|
2649
|
-
enabled: boolean;
|
|
2650
|
-
id: string;
|
|
2651
|
-
createdAt: Date;
|
|
2652
|
-
updatedAt: Date;
|
|
2653
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2654
2654
|
} | {
|
|
2655
2655
|
requestId: string;
|
|
2656
2656
|
provider: string;
|
|
@@ -2773,6 +2773,14 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2773
2773
|
id?: string | undefined;
|
|
2774
2774
|
createdAt?: Date | undefined;
|
|
2775
2775
|
updatedAt?: Date | undefined;
|
|
2776
|
+
} | {
|
|
2777
|
+
providerConfigId?: string | undefined;
|
|
2778
|
+
guardrailConfigId?: string | undefined;
|
|
2779
|
+
enabled?: boolean | undefined;
|
|
2780
|
+
parameters?: Record<string, unknown> | null | undefined;
|
|
2781
|
+
id?: string | undefined;
|
|
2782
|
+
createdAt?: Date | undefined;
|
|
2783
|
+
updatedAt?: Date | undefined;
|
|
2776
2784
|
} | {
|
|
2777
2785
|
datasetId?: string | undefined;
|
|
2778
2786
|
versionNumber?: number | undefined;
|
|
@@ -2798,14 +2806,6 @@ declare function parsePartialTableData<T extends TableName>(table: T, data: unkn
|
|
|
2798
2806
|
id?: string | undefined;
|
|
2799
2807
|
createdAt?: Date | undefined;
|
|
2800
2808
|
updatedAt?: Date | undefined;
|
|
2801
|
-
} | {
|
|
2802
|
-
providerConfigId?: string | undefined;
|
|
2803
|
-
guardrailConfigId?: string | undefined;
|
|
2804
|
-
enabled?: boolean | undefined;
|
|
2805
|
-
parameters?: Record<string, unknown> | null | undefined;
|
|
2806
|
-
id?: string | undefined;
|
|
2807
|
-
createdAt?: Date | undefined;
|
|
2808
|
-
updatedAt?: Date | undefined;
|
|
2809
2809
|
} | {
|
|
2810
2810
|
requestId?: string | undefined;
|
|
2811
2811
|
configId?: string | null | undefined;
|