@mastra/server 1.61.0-alpha.2 → 1.61.0-alpha.3
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/CHANGELOG.md +42 -0
- package/dist/{api-schema-manifest-Bx_zU5qw.js → api-schema-manifest-BxnLWV5l.js} +2 -2
- package/dist/{api-schema-manifest-Bx_zU5qw.js.map → api-schema-manifest-BxnLWV5l.js.map} +1 -1
- package/dist/{api-schema-manifest-DPgfugJT.cjs → api-schema-manifest-Cbonk0PF.cjs} +2 -2
- package/dist/{api-schema-manifest-DPgfugJT.cjs.map → api-schema-manifest-Cbonk0PF.cjs.map} +1 -1
- package/dist/{datasets-D2JdQI44.cjs → datasets-CNtKg_3d.cjs} +80 -6
- package/dist/datasets-CNtKg_3d.cjs.map +1 -0
- package/dist/{datasets-Dr1pCC6P.js → datasets-DmN9V4rU.js} +57 -7
- package/dist/datasets-DmN9V4rU.js.map +1 -0
- package/dist/docs/SKILL.md +1 -1
- package/dist/docs/assets/SOURCE_MAP.json +1 -1
- package/dist/docs/references/reference-server-routes.md +111 -0
- package/dist/{routes-Bh2p-WqG.js → routes-B6F4QBgN.js} +5 -2
- package/dist/routes-B6F4QBgN.js.map +1 -0
- package/dist/{routes-CdbboDwv.cjs → routes-DGwUTyHr.cjs} +4 -1
- package/dist/routes-DGwUTyHr.cjs.map +1 -0
- package/dist/server/handlers/datasets.cjs +125 -6
- package/dist/server/handlers/datasets.cjs.map +1 -1
- package/dist/server/handlers/datasets.d.ts +470 -22
- package/dist/server/handlers/datasets.d.ts.map +1 -1
- package/dist/server/handlers/datasets.js +123 -7
- package/dist/server/handlers/datasets.js.map +1 -1
- package/dist/server/handlers/system.cjs +1 -1
- package/dist/server/handlers/system.js +1 -1
- package/dist/server/schemas/datasets.d.ts +117 -10
- package/dist/server/schemas/datasets.d.ts.map +1 -1
- package/dist/server/schemas/index.cjs +5 -1
- package/dist/server/schemas/index.js +2 -2
- package/dist/server/server-adapter/index.cjs +1 -1
- package/dist/server/server-adapter/index.js +1 -1
- package/dist/server/server-adapter/routes/datasets.d.ts +467 -22
- package/dist/server/server-adapter/routes/datasets.d.ts.map +1 -1
- package/package.json +7 -7
- package/dist/datasets-D2JdQI44.cjs.map +0 -1
- package/dist/datasets-Dr1pCC6P.js.map +0 -1
- package/dist/routes-Bh2p-WqG.js.map +0 -1
- package/dist/routes-CdbboDwv.cjs.map +0 -1
|
@@ -1949,8 +1949,8 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
1949
1949
|
id: string;
|
|
1950
1950
|
datasetId: string | null;
|
|
1951
1951
|
datasetVersion: number | null;
|
|
1952
|
-
targetType: "agent" | "workflow" | "scorer" | "processor";
|
|
1953
|
-
targetId: string;
|
|
1952
|
+
targetType: "agent" | "workflow" | "scorer" | "processor" | null;
|
|
1953
|
+
targetId: string | null;
|
|
1954
1954
|
status: "running" | "failed" | "pending" | "completed";
|
|
1955
1955
|
totalItems: number;
|
|
1956
1956
|
succeededCount: number;
|
|
@@ -1961,6 +1961,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
1961
1961
|
createdAt: Date;
|
|
1962
1962
|
updatedAt: Date;
|
|
1963
1963
|
agentVersion?: string | null | undefined;
|
|
1964
|
+
scorerIds?: string[] | null | undefined;
|
|
1964
1965
|
name?: string | undefined;
|
|
1965
1966
|
description?: string | undefined;
|
|
1966
1967
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -2010,13 +2011,14 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2010
2011
|
datasetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2011
2012
|
datasetVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2012
2013
|
agentVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2013
|
-
targetType: import("zod").ZodEnum<{
|
|
2014
|
+
targetType: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2014
2015
|
agent: "agent";
|
|
2015
2016
|
workflow: "workflow";
|
|
2016
2017
|
scorer: "scorer";
|
|
2017
2018
|
processor: "processor";
|
|
2018
|
-
}
|
|
2019
|
-
targetId: import("zod").ZodString
|
|
2019
|
+
}>>;
|
|
2020
|
+
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2021
|
+
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2020
2022
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2021
2023
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2022
2024
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -2115,8 +2117,8 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2115
2117
|
id: string;
|
|
2116
2118
|
datasetId: string | null;
|
|
2117
2119
|
datasetVersion: number | null;
|
|
2118
|
-
targetType: "agent" | "workflow" | "scorer" | "processor";
|
|
2119
|
-
targetId: string;
|
|
2120
|
+
targetType: "agent" | "workflow" | "scorer" | "processor" | null;
|
|
2121
|
+
targetId: string | null;
|
|
2120
2122
|
status: "running" | "failed" | "pending" | "completed";
|
|
2121
2123
|
totalItems: number;
|
|
2122
2124
|
succeededCount: number;
|
|
@@ -2127,6 +2129,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2127
2129
|
createdAt: Date;
|
|
2128
2130
|
updatedAt: Date;
|
|
2129
2131
|
agentVersion?: string | null | undefined;
|
|
2132
|
+
scorerIds?: string[] | null | undefined;
|
|
2130
2133
|
name?: string | undefined;
|
|
2131
2134
|
description?: string | undefined;
|
|
2132
2135
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -2178,13 +2181,14 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2178
2181
|
datasetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2179
2182
|
datasetVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2180
2183
|
agentVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2181
|
-
targetType: import("zod").ZodEnum<{
|
|
2184
|
+
targetType: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2182
2185
|
agent: "agent";
|
|
2183
2186
|
workflow: "workflow";
|
|
2184
2187
|
scorer: "scorer";
|
|
2185
2188
|
processor: "processor";
|
|
2186
|
-
}
|
|
2187
|
-
targetId: import("zod").ZodString
|
|
2189
|
+
}>>;
|
|
2190
|
+
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2191
|
+
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2188
2192
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2189
2193
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2190
2194
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -2236,8 +2240,10 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2236
2240
|
handler(params: {
|
|
2237
2241
|
datasetId: string;
|
|
2238
2242
|
} & {
|
|
2239
|
-
|
|
2240
|
-
|
|
2243
|
+
start?: boolean | undefined;
|
|
2244
|
+
targetType?: "agent" | "workflow" | "scorer" | undefined;
|
|
2245
|
+
targetId?: string | undefined;
|
|
2246
|
+
id?: string | undefined;
|
|
2241
2247
|
name?: string | undefined;
|
|
2242
2248
|
description?: string | undefined;
|
|
2243
2249
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -2272,7 +2278,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2272
2278
|
totalItems: number;
|
|
2273
2279
|
succeededCount: number;
|
|
2274
2280
|
failedCount: number;
|
|
2275
|
-
startedAt: Date;
|
|
2281
|
+
startedAt: Date | null;
|
|
2276
2282
|
completedAt: Date | null;
|
|
2277
2283
|
results: {
|
|
2278
2284
|
itemId: string;
|
|
@@ -2313,6 +2319,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2313
2319
|
} | undefined;
|
|
2314
2320
|
} | null | undefined;
|
|
2315
2321
|
}[];
|
|
2322
|
+
datasetVersion?: number | undefined;
|
|
2316
2323
|
}>;
|
|
2317
2324
|
pathParamSchema?: import("zod").ZodType;
|
|
2318
2325
|
queryParamSchema?: import("zod").ZodType;
|
|
@@ -2327,12 +2334,14 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2327
2334
|
readonly __schemas?: import(".").RouteSchemas<import("zod").ZodObject<{
|
|
2328
2335
|
datasetId: import("zod").ZodString;
|
|
2329
2336
|
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
2330
|
-
|
|
2337
|
+
start: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2338
|
+
targetType: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2331
2339
|
agent: "agent";
|
|
2332
2340
|
workflow: "workflow";
|
|
2333
2341
|
scorer: "scorer";
|
|
2334
|
-
}
|
|
2335
|
-
targetId: import("zod").ZodString
|
|
2342
|
+
}>>;
|
|
2343
|
+
targetId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2344
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2336
2345
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2337
2346
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2338
2347
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -2378,7 +2387,8 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2378
2387
|
totalItems: import("zod").ZodNumber;
|
|
2379
2388
|
succeededCount: import("zod").ZodNumber;
|
|
2380
2389
|
failedCount: import("zod").ZodNumber;
|
|
2381
|
-
|
|
2390
|
+
datasetVersion: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2391
|
+
startedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
2382
2392
|
completedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
2383
2393
|
results: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2384
2394
|
itemId: import("zod").ZodString;
|
|
@@ -2426,6 +2436,435 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2426
2436
|
}, import("zod/v4/core").$strip>> | undefined;
|
|
2427
2437
|
} & {
|
|
2428
2438
|
readonly _mastraSchemaRoute: true;
|
|
2439
|
+
}, Omit<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {
|
|
2440
|
+
method: "POST";
|
|
2441
|
+
path: "/datasets/:datasetId/experiments/:experimentId/items/:itemId/run";
|
|
2442
|
+
responseType: "json";
|
|
2443
|
+
streamFormat?: "sse" | "stream";
|
|
2444
|
+
sseFlushOnConnect?: boolean;
|
|
2445
|
+
handler(params: {
|
|
2446
|
+
datasetId: string;
|
|
2447
|
+
experimentId: string;
|
|
2448
|
+
itemId: string;
|
|
2449
|
+
} & {
|
|
2450
|
+
attempt?: number | undefined;
|
|
2451
|
+
requestContext?: Record<string, unknown> | undefined;
|
|
2452
|
+
} & import(".").ServerContext): Promise<{
|
|
2453
|
+
result: {
|
|
2454
|
+
id: string;
|
|
2455
|
+
experimentId: string;
|
|
2456
|
+
itemId: string;
|
|
2457
|
+
itemDatasetVersion: number | null;
|
|
2458
|
+
input: unknown;
|
|
2459
|
+
output: unknown;
|
|
2460
|
+
groundTruth: unknown;
|
|
2461
|
+
error: {
|
|
2462
|
+
message: string;
|
|
2463
|
+
stack?: string | undefined;
|
|
2464
|
+
code?: string | undefined;
|
|
2465
|
+
} | null;
|
|
2466
|
+
startedAt: Date;
|
|
2467
|
+
completedAt: Date;
|
|
2468
|
+
retryCount: number;
|
|
2469
|
+
traceId: string | null;
|
|
2470
|
+
createdAt: Date;
|
|
2471
|
+
expectedTrajectory?: unknown;
|
|
2472
|
+
attempt?: number | undefined;
|
|
2473
|
+
status?: "complete" | "needs-review" | "reviewed" | null | undefined;
|
|
2474
|
+
tags?: string[] | null | undefined;
|
|
2475
|
+
comment?: string | null | undefined;
|
|
2476
|
+
toolMockReport?: {
|
|
2477
|
+
served: {
|
|
2478
|
+
mockIndex: number;
|
|
2479
|
+
toolName: string;
|
|
2480
|
+
args: unknown;
|
|
2481
|
+
}[];
|
|
2482
|
+
unconsumed: {
|
|
2483
|
+
mockIndex: number;
|
|
2484
|
+
toolName: string;
|
|
2485
|
+
args: unknown;
|
|
2486
|
+
}[];
|
|
2487
|
+
liveCalls: {
|
|
2488
|
+
toolName: string;
|
|
2489
|
+
args: unknown;
|
|
2490
|
+
}[];
|
|
2491
|
+
failure?: {
|
|
2492
|
+
code: "TOOL_MOCK_MISMATCH" | "TOOL_MOCK_EXHAUSTED" | "TOOL_MOCK_NOT_DECLARED";
|
|
2493
|
+
toolName: string;
|
|
2494
|
+
args: unknown;
|
|
2495
|
+
} | undefined;
|
|
2496
|
+
} | null | undefined;
|
|
2497
|
+
};
|
|
2498
|
+
scores: {
|
|
2499
|
+
scorerId: string;
|
|
2500
|
+
scorerName: string;
|
|
2501
|
+
score: number | null;
|
|
2502
|
+
reason: string | null;
|
|
2503
|
+
error: string | null;
|
|
2504
|
+
failedStep?: string | undefined;
|
|
2505
|
+
completedSteps?: string[] | undefined;
|
|
2506
|
+
targetScope?: "span" | "trajectory" | undefined;
|
|
2507
|
+
stepId?: string | undefined;
|
|
2508
|
+
}[];
|
|
2509
|
+
}>;
|
|
2510
|
+
pathParamSchema?: import("zod").ZodType;
|
|
2511
|
+
queryParamSchema?: import("zod").ZodType;
|
|
2512
|
+
bodySchema?: import("zod").ZodType;
|
|
2513
|
+
responseSchema?: import("zod").ZodType;
|
|
2514
|
+
openapi?: import("../openapi-utils").OpenAPIRoute;
|
|
2515
|
+
maxBodySize?: number;
|
|
2516
|
+
deprecated?: boolean;
|
|
2517
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
2518
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
2519
|
+
onValidationError?: import("@mastra/core/server").ValidationErrorHook;
|
|
2520
|
+
readonly __schemas?: import(".").RouteSchemas<import("zod").ZodObject<{
|
|
2521
|
+
datasetId: import("zod").ZodString;
|
|
2522
|
+
experimentId: import("zod").ZodString;
|
|
2523
|
+
itemId: import("zod").ZodString;
|
|
2524
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
2525
|
+
attempt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2526
|
+
requestContext: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2527
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2528
|
+
result: import("zod").ZodObject<{
|
|
2529
|
+
id: import("zod").ZodString;
|
|
2530
|
+
experimentId: import("zod").ZodString;
|
|
2531
|
+
itemId: import("zod").ZodString;
|
|
2532
|
+
itemDatasetVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2533
|
+
input: import("zod").ZodUnknown;
|
|
2534
|
+
output: import("zod").ZodNullable<import("zod").ZodUnknown>;
|
|
2535
|
+
groundTruth: import("zod").ZodNullable<import("zod").ZodUnknown>;
|
|
2536
|
+
expectedTrajectory: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
2537
|
+
error: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2538
|
+
message: import("zod").ZodString;
|
|
2539
|
+
stack: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2540
|
+
code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2541
|
+
}, import("zod/v4/core").$strip>>;
|
|
2542
|
+
startedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2543
|
+
completedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2544
|
+
retryCount: import("zod").ZodNumber;
|
|
2545
|
+
attempt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2546
|
+
traceId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2547
|
+
status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2548
|
+
complete: "complete";
|
|
2549
|
+
"needs-review": "needs-review";
|
|
2550
|
+
reviewed: "reviewed";
|
|
2551
|
+
}>>>;
|
|
2552
|
+
tags: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2553
|
+
comment: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2554
|
+
toolMockReport: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2555
|
+
served: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2556
|
+
mockIndex: import("zod").ZodNumber;
|
|
2557
|
+
toolName: import("zod").ZodString;
|
|
2558
|
+
args: import("zod").ZodUnknown;
|
|
2559
|
+
}, import("zod/v4/core").$strip>>;
|
|
2560
|
+
unconsumed: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2561
|
+
mockIndex: import("zod").ZodNumber;
|
|
2562
|
+
toolName: import("zod").ZodString;
|
|
2563
|
+
args: import("zod").ZodUnknown;
|
|
2564
|
+
}, import("zod/v4/core").$strip>>;
|
|
2565
|
+
liveCalls: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2566
|
+
toolName: import("zod").ZodString;
|
|
2567
|
+
args: import("zod").ZodUnknown;
|
|
2568
|
+
}, import("zod/v4/core").$strip>>;
|
|
2569
|
+
failure: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2570
|
+
code: import("zod").ZodEnum<{
|
|
2571
|
+
TOOL_MOCK_MISMATCH: "TOOL_MOCK_MISMATCH";
|
|
2572
|
+
TOOL_MOCK_EXHAUSTED: "TOOL_MOCK_EXHAUSTED";
|
|
2573
|
+
TOOL_MOCK_NOT_DECLARED: "TOOL_MOCK_NOT_DECLARED";
|
|
2574
|
+
}>;
|
|
2575
|
+
toolName: import("zod").ZodString;
|
|
2576
|
+
args: import("zod").ZodUnknown;
|
|
2577
|
+
}, import("zod/v4/core").$strip>>;
|
|
2578
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2579
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
2580
|
+
}, import("zod/v4/core").$strip>;
|
|
2581
|
+
scores: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2582
|
+
scorerId: import("zod").ZodString;
|
|
2583
|
+
scorerName: import("zod").ZodString;
|
|
2584
|
+
score: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2585
|
+
reason: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2586
|
+
error: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2587
|
+
failedStep: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2588
|
+
completedSteps: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
2589
|
+
targetScope: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
2590
|
+
span: "span";
|
|
2591
|
+
trajectory: "trajectory";
|
|
2592
|
+
}>>;
|
|
2593
|
+
stepId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2594
|
+
}, import("zod/v4/core").$strip>>;
|
|
2595
|
+
}, import("zod/v4/core").$strip>> | undefined;
|
|
2596
|
+
} & {
|
|
2597
|
+
readonly _mastraSchemaRoute: true;
|
|
2598
|
+
}, Omit<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {
|
|
2599
|
+
method: "POST";
|
|
2600
|
+
path: "/datasets/:datasetId/experiments/:experimentId/results";
|
|
2601
|
+
responseType: "json";
|
|
2602
|
+
streamFormat?: "sse" | "stream";
|
|
2603
|
+
sseFlushOnConnect?: boolean;
|
|
2604
|
+
handler(params: {
|
|
2605
|
+
datasetId: string;
|
|
2606
|
+
experimentId: string;
|
|
2607
|
+
} & {
|
|
2608
|
+
itemId: string;
|
|
2609
|
+
attempt?: number | undefined;
|
|
2610
|
+
input?: unknown;
|
|
2611
|
+
output?: unknown;
|
|
2612
|
+
groundTruth?: unknown;
|
|
2613
|
+
error?: {
|
|
2614
|
+
message: string;
|
|
2615
|
+
stack?: string | undefined;
|
|
2616
|
+
code?: string | undefined;
|
|
2617
|
+
} | null | undefined;
|
|
2618
|
+
startedAt?: Date | undefined;
|
|
2619
|
+
completedAt?: Date | undefined;
|
|
2620
|
+
traceId?: string | undefined;
|
|
2621
|
+
scores?: {
|
|
2622
|
+
scorerId: string;
|
|
2623
|
+
score: number;
|
|
2624
|
+
scorerName?: string | undefined;
|
|
2625
|
+
reason?: string | undefined;
|
|
2626
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2627
|
+
}[] | undefined;
|
|
2628
|
+
} & import(".").ServerContext): Promise<{
|
|
2629
|
+
id: string;
|
|
2630
|
+
experimentId: string;
|
|
2631
|
+
itemId: string;
|
|
2632
|
+
itemDatasetVersion: number | null;
|
|
2633
|
+
input: unknown;
|
|
2634
|
+
output: unknown;
|
|
2635
|
+
groundTruth: unknown;
|
|
2636
|
+
error: {
|
|
2637
|
+
message: string;
|
|
2638
|
+
stack?: string | undefined;
|
|
2639
|
+
code?: string | undefined;
|
|
2640
|
+
} | null;
|
|
2641
|
+
startedAt: Date;
|
|
2642
|
+
completedAt: Date;
|
|
2643
|
+
retryCount: number;
|
|
2644
|
+
traceId: string | null;
|
|
2645
|
+
createdAt: Date;
|
|
2646
|
+
expectedTrajectory?: unknown;
|
|
2647
|
+
attempt?: number | undefined;
|
|
2648
|
+
status?: "complete" | "needs-review" | "reviewed" | null | undefined;
|
|
2649
|
+
tags?: string[] | null | undefined;
|
|
2650
|
+
comment?: string | null | undefined;
|
|
2651
|
+
toolMockReport?: {
|
|
2652
|
+
served: {
|
|
2653
|
+
mockIndex: number;
|
|
2654
|
+
toolName: string;
|
|
2655
|
+
args: unknown;
|
|
2656
|
+
}[];
|
|
2657
|
+
unconsumed: {
|
|
2658
|
+
mockIndex: number;
|
|
2659
|
+
toolName: string;
|
|
2660
|
+
args: unknown;
|
|
2661
|
+
}[];
|
|
2662
|
+
liveCalls: {
|
|
2663
|
+
toolName: string;
|
|
2664
|
+
args: unknown;
|
|
2665
|
+
}[];
|
|
2666
|
+
failure?: {
|
|
2667
|
+
code: "TOOL_MOCK_MISMATCH" | "TOOL_MOCK_EXHAUSTED" | "TOOL_MOCK_NOT_DECLARED";
|
|
2668
|
+
toolName: string;
|
|
2669
|
+
args: unknown;
|
|
2670
|
+
} | undefined;
|
|
2671
|
+
} | null | undefined;
|
|
2672
|
+
}>;
|
|
2673
|
+
pathParamSchema?: import("zod").ZodType;
|
|
2674
|
+
queryParamSchema?: import("zod").ZodType;
|
|
2675
|
+
bodySchema?: import("zod").ZodType;
|
|
2676
|
+
responseSchema?: import("zod").ZodType;
|
|
2677
|
+
openapi?: import("../openapi-utils").OpenAPIRoute;
|
|
2678
|
+
maxBodySize?: number;
|
|
2679
|
+
deprecated?: boolean;
|
|
2680
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
2681
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
2682
|
+
onValidationError?: import("@mastra/core/server").ValidationErrorHook;
|
|
2683
|
+
readonly __schemas?: import(".").RouteSchemas<import("zod").ZodObject<{
|
|
2684
|
+
datasetId: import("zod").ZodString;
|
|
2685
|
+
experimentId: import("zod").ZodString;
|
|
2686
|
+
}, import("zod/v4/core").$strip>, undefined, import("zod").ZodObject<{
|
|
2687
|
+
itemId: import("zod").ZodString;
|
|
2688
|
+
attempt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2689
|
+
input: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
2690
|
+
output: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
2691
|
+
groundTruth: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
2692
|
+
error: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2693
|
+
message: import("zod").ZodString;
|
|
2694
|
+
stack: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2695
|
+
code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2696
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2697
|
+
startedAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
2698
|
+
completedAt: import("zod").ZodOptional<import("zod").ZodCoercedDate<unknown>>;
|
|
2699
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2700
|
+
scores: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
2701
|
+
scorerId: import("zod").ZodString;
|
|
2702
|
+
scorerName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2703
|
+
score: import("zod").ZodNumber;
|
|
2704
|
+
reason: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2705
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2706
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2707
|
+
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2708
|
+
id: import("zod").ZodString;
|
|
2709
|
+
experimentId: import("zod").ZodString;
|
|
2710
|
+
itemId: import("zod").ZodString;
|
|
2711
|
+
itemDatasetVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2712
|
+
input: import("zod").ZodUnknown;
|
|
2713
|
+
output: import("zod").ZodNullable<import("zod").ZodUnknown>;
|
|
2714
|
+
groundTruth: import("zod").ZodNullable<import("zod").ZodUnknown>;
|
|
2715
|
+
expectedTrajectory: import("zod").ZodOptional<import("zod").ZodUnknown>;
|
|
2716
|
+
error: import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2717
|
+
message: import("zod").ZodString;
|
|
2718
|
+
stack: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2719
|
+
code: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2720
|
+
}, import("zod/v4/core").$strip>>;
|
|
2721
|
+
startedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2722
|
+
completedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2723
|
+
retryCount: import("zod").ZodNumber;
|
|
2724
|
+
attempt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2725
|
+
traceId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2726
|
+
status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2727
|
+
complete: "complete";
|
|
2728
|
+
"needs-review": "needs-review";
|
|
2729
|
+
reviewed: "reviewed";
|
|
2730
|
+
}>>>;
|
|
2731
|
+
tags: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2732
|
+
comment: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2733
|
+
toolMockReport: import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2734
|
+
served: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2735
|
+
mockIndex: import("zod").ZodNumber;
|
|
2736
|
+
toolName: import("zod").ZodString;
|
|
2737
|
+
args: import("zod").ZodUnknown;
|
|
2738
|
+
}, import("zod/v4/core").$strip>>;
|
|
2739
|
+
unconsumed: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2740
|
+
mockIndex: import("zod").ZodNumber;
|
|
2741
|
+
toolName: import("zod").ZodString;
|
|
2742
|
+
args: import("zod").ZodUnknown;
|
|
2743
|
+
}, import("zod/v4/core").$strip>>;
|
|
2744
|
+
liveCalls: import("zod").ZodArray<import("zod").ZodObject<{
|
|
2745
|
+
toolName: import("zod").ZodString;
|
|
2746
|
+
args: import("zod").ZodUnknown;
|
|
2747
|
+
}, import("zod/v4/core").$strip>>;
|
|
2748
|
+
failure: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
2749
|
+
code: import("zod").ZodEnum<{
|
|
2750
|
+
TOOL_MOCK_MISMATCH: "TOOL_MOCK_MISMATCH";
|
|
2751
|
+
TOOL_MOCK_EXHAUSTED: "TOOL_MOCK_EXHAUSTED";
|
|
2752
|
+
TOOL_MOCK_NOT_DECLARED: "TOOL_MOCK_NOT_DECLARED";
|
|
2753
|
+
}>;
|
|
2754
|
+
toolName: import("zod").ZodString;
|
|
2755
|
+
args: import("zod").ZodUnknown;
|
|
2756
|
+
}, import("zod/v4/core").$strip>>;
|
|
2757
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2758
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
2759
|
+
}, import("zod/v4/core").$strip>> | undefined;
|
|
2760
|
+
} & {
|
|
2761
|
+
readonly _mastraSchemaRoute: true;
|
|
2762
|
+
}, Omit<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {
|
|
2763
|
+
method: "POST";
|
|
2764
|
+
path: "/datasets/:datasetId/experiments/:experimentId/finalize";
|
|
2765
|
+
responseType: "json";
|
|
2766
|
+
streamFormat?: "sse" | "stream";
|
|
2767
|
+
sseFlushOnConnect?: boolean;
|
|
2768
|
+
handler(params: {
|
|
2769
|
+
datasetId: string;
|
|
2770
|
+
experimentId: string;
|
|
2771
|
+
} & import(".").ServerContext): Promise<{
|
|
2772
|
+
id: string;
|
|
2773
|
+
datasetId: string | null;
|
|
2774
|
+
datasetVersion: number | null;
|
|
2775
|
+
targetType: "agent" | "workflow" | "scorer" | "processor" | null;
|
|
2776
|
+
targetId: string | null;
|
|
2777
|
+
status: "running" | "failed" | "pending" | "completed";
|
|
2778
|
+
totalItems: number;
|
|
2779
|
+
succeededCount: number;
|
|
2780
|
+
failedCount: number;
|
|
2781
|
+
skippedCount: number;
|
|
2782
|
+
startedAt: Date | null;
|
|
2783
|
+
completedAt: Date | null;
|
|
2784
|
+
createdAt: Date;
|
|
2785
|
+
updatedAt: Date;
|
|
2786
|
+
agentVersion?: string | null | undefined;
|
|
2787
|
+
scorerIds?: string[] | null | undefined;
|
|
2788
|
+
name?: string | undefined;
|
|
2789
|
+
description?: string | undefined;
|
|
2790
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2791
|
+
provenance?: {
|
|
2792
|
+
source?: string | undefined;
|
|
2793
|
+
sourceId?: string | undefined;
|
|
2794
|
+
sourceVersion?: string | undefined;
|
|
2795
|
+
metadata?: Record<string, unknown> | undefined;
|
|
2796
|
+
} | null | undefined;
|
|
2797
|
+
runnerAttestation?: {
|
|
2798
|
+
runnerId: string;
|
|
2799
|
+
invocationId: string;
|
|
2800
|
+
runnerVersion?: string | undefined;
|
|
2801
|
+
} | null | undefined;
|
|
2802
|
+
experimentSetId?: string | null | undefined;
|
|
2803
|
+
comparisonId?: string | null | undefined;
|
|
2804
|
+
variantId?: string | null | undefined;
|
|
2805
|
+
trialIndex?: number | null | undefined;
|
|
2806
|
+
}>;
|
|
2807
|
+
pathParamSchema?: import("zod").ZodType;
|
|
2808
|
+
queryParamSchema?: import("zod").ZodType;
|
|
2809
|
+
bodySchema?: import("zod").ZodType;
|
|
2810
|
+
responseSchema?: import("zod").ZodType;
|
|
2811
|
+
openapi?: import("../openapi-utils").OpenAPIRoute;
|
|
2812
|
+
maxBodySize?: number;
|
|
2813
|
+
deprecated?: boolean;
|
|
2814
|
+
requiresPermission?: import("@mastra/core/auth").MastraFGAPermissionInput | import("@mastra/core/auth").MastraFGAPermissionInput[];
|
|
2815
|
+
fga?: import("@mastra/core/auth").FGARouteConfig;
|
|
2816
|
+
onValidationError?: import("@mastra/core/server").ValidationErrorHook;
|
|
2817
|
+
readonly __schemas?: import(".").RouteSchemas<import("zod").ZodObject<{
|
|
2818
|
+
datasetId: import("zod").ZodString;
|
|
2819
|
+
experimentId: import("zod").ZodString;
|
|
2820
|
+
}, import("zod/v4/core").$strip>, undefined, undefined, import("zod").ZodObject<{
|
|
2821
|
+
id: import("zod").ZodString;
|
|
2822
|
+
datasetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2823
|
+
datasetVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2824
|
+
agentVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2825
|
+
targetType: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2826
|
+
agent: "agent";
|
|
2827
|
+
workflow: "workflow";
|
|
2828
|
+
scorer: "scorer";
|
|
2829
|
+
processor: "processor";
|
|
2830
|
+
}>>;
|
|
2831
|
+
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2832
|
+
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2833
|
+
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2834
|
+
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2835
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2836
|
+
provenance: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2837
|
+
source: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2838
|
+
sourceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2839
|
+
sourceVersion: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2840
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
2841
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2842
|
+
runnerAttestation: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodObject<{
|
|
2843
|
+
runnerId: import("zod").ZodString;
|
|
2844
|
+
invocationId: import("zod").ZodString;
|
|
2845
|
+
runnerVersion: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2846
|
+
}, import("zod/v4/core").$strip>>>;
|
|
2847
|
+
experimentSetId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2848
|
+
comparisonId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2849
|
+
variantId: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2850
|
+
trialIndex: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2851
|
+
status: import("zod").ZodEnum<{
|
|
2852
|
+
running: "running";
|
|
2853
|
+
failed: "failed";
|
|
2854
|
+
pending: "pending";
|
|
2855
|
+
completed: "completed";
|
|
2856
|
+
}>;
|
|
2857
|
+
totalItems: import("zod").ZodNumber;
|
|
2858
|
+
succeededCount: import("zod").ZodNumber;
|
|
2859
|
+
failedCount: import("zod").ZodNumber;
|
|
2860
|
+
skippedCount: import("zod").ZodNumber;
|
|
2861
|
+
startedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
2862
|
+
completedAt: import("zod").ZodNullable<import("zod").ZodCoercedDate<unknown>>;
|
|
2863
|
+
createdAt: import("zod").ZodCoercedDate<unknown>;
|
|
2864
|
+
updatedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2865
|
+
}, import("zod/v4/core").$strip>> | undefined;
|
|
2866
|
+
} & {
|
|
2867
|
+
readonly _mastraSchemaRoute: true;
|
|
2429
2868
|
}, Omit<import("@mastra/core/server").ApiRoute, "path" | "method" | "handler" | "createHandler" | "openapi"> & {
|
|
2430
2869
|
method: "GET";
|
|
2431
2870
|
path: "/datasets/:datasetId/experiments/:experimentId";
|
|
@@ -2439,8 +2878,8 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2439
2878
|
id: string;
|
|
2440
2879
|
datasetId: string | null;
|
|
2441
2880
|
datasetVersion: number | null;
|
|
2442
|
-
targetType: "agent" | "workflow" | "scorer" | "processor";
|
|
2443
|
-
targetId: string;
|
|
2881
|
+
targetType: "agent" | "workflow" | "scorer" | "processor" | null;
|
|
2882
|
+
targetId: string | null;
|
|
2444
2883
|
status: "running" | "failed" | "pending" | "completed";
|
|
2445
2884
|
totalItems: number;
|
|
2446
2885
|
succeededCount: number;
|
|
@@ -2451,6 +2890,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2451
2890
|
createdAt: Date;
|
|
2452
2891
|
updatedAt: Date;
|
|
2453
2892
|
agentVersion?: string | null | undefined;
|
|
2893
|
+
scorerIds?: string[] | null | undefined;
|
|
2454
2894
|
name?: string | undefined;
|
|
2455
2895
|
description?: string | undefined;
|
|
2456
2896
|
metadata?: Record<string, unknown> | undefined;
|
|
@@ -2488,13 +2928,14 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2488
2928
|
datasetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2489
2929
|
datasetVersion: import("zod").ZodNullable<import("zod").ZodNumber>;
|
|
2490
2930
|
agentVersion: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
2491
|
-
targetType: import("zod").ZodEnum<{
|
|
2931
|
+
targetType: import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2492
2932
|
agent: "agent";
|
|
2493
2933
|
workflow: "workflow";
|
|
2494
2934
|
scorer: "scorer";
|
|
2495
2935
|
processor: "processor";
|
|
2496
|
-
}
|
|
2497
|
-
targetId: import("zod").ZodString
|
|
2936
|
+
}>>;
|
|
2937
|
+
targetId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2938
|
+
scorerIds: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodArray<import("zod").ZodString>>>;
|
|
2498
2939
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2499
2940
|
description: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2500
2941
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
|
|
@@ -2562,6 +3003,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2562
3003
|
traceId: string | null;
|
|
2563
3004
|
createdAt: Date;
|
|
2564
3005
|
expectedTrajectory?: unknown;
|
|
3006
|
+
attempt?: number | undefined;
|
|
2565
3007
|
status?: "complete" | "needs-review" | "reviewed" | null | undefined;
|
|
2566
3008
|
tags?: string[] | null | undefined;
|
|
2567
3009
|
comment?: string | null | undefined;
|
|
@@ -2628,6 +3070,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2628
3070
|
startedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2629
3071
|
completedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2630
3072
|
retryCount: import("zod").ZodNumber;
|
|
3073
|
+
attempt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2631
3074
|
traceId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2632
3075
|
status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2633
3076
|
complete: "complete";
|
|
@@ -2705,6 +3148,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2705
3148
|
traceId: string | null;
|
|
2706
3149
|
createdAt: Date;
|
|
2707
3150
|
expectedTrajectory?: unknown;
|
|
3151
|
+
attempt?: number | undefined;
|
|
2708
3152
|
status?: "complete" | "needs-review" | "reviewed" | null | undefined;
|
|
2709
3153
|
tags?: string[] | null | undefined;
|
|
2710
3154
|
comment?: string | null | undefined;
|
|
@@ -2769,6 +3213,7 @@ export declare const DATASETS_ROUTES: readonly [Omit<import("@mastra/core/server
|
|
|
2769
3213
|
startedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2770
3214
|
completedAt: import("zod").ZodCoercedDate<unknown>;
|
|
2771
3215
|
retryCount: import("zod").ZodNumber;
|
|
3216
|
+
attempt: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2772
3217
|
traceId: import("zod").ZodNullable<import("zod").ZodString>;
|
|
2773
3218
|
status: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodEnum<{
|
|
2774
3219
|
complete: "complete";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/datasets.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"datasets.d.ts","sourceRoot":"","sources":["../../../../src/server/server-adapter/routes/datasets.ts"],"names":[],"mappings":"AA+BA,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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