@wix/evalforge-types 0.86.0 → 0.87.0
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/build/index.js +71 -45
- package/build/index.js.map +3 -3
- package/build/index.mjs +69 -45
- package/build/index.mjs.map +3 -3
- package/build/types/template/template.d.ts +58 -14
- package/package.json +2 -2
|
@@ -1,12 +1,20 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
2
|
+
export declare const SourceFileSchema: z.ZodObject<{
|
|
3
|
+
path: z.ZodString;
|
|
4
|
+
content: z.ZodString;
|
|
5
|
+
}, z.core.$strip>;
|
|
6
|
+
export type SourceFile = z.infer<typeof SourceFileSchema>;
|
|
7
|
+
export declare const ExtraFileSchema: z.ZodObject<{
|
|
8
|
+
path: z.ZodString;
|
|
9
|
+
content: z.ZodOptional<z.ZodString>;
|
|
10
|
+
gitSource: z.ZodOptional<z.ZodObject<{
|
|
11
|
+
owner: z.ZodString;
|
|
12
|
+
repo: z.ZodString;
|
|
13
|
+
path: z.ZodString;
|
|
14
|
+
ref: z.ZodString;
|
|
15
|
+
}, z.core.$strip>>;
|
|
16
|
+
}, z.core.$strip>;
|
|
17
|
+
export type ExtraFile = z.infer<typeof ExtraFileSchema>;
|
|
10
18
|
export declare const TemplateSchema: z.ZodObject<{
|
|
11
19
|
id: z.ZodString;
|
|
12
20
|
name: z.ZodString;
|
|
@@ -21,11 +29,22 @@ export declare const TemplateSchema: z.ZodObject<{
|
|
|
21
29
|
path: z.ZodString;
|
|
22
30
|
ref: z.ZodString;
|
|
23
31
|
}, z.core.$strip>>;
|
|
32
|
+
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
33
|
+
path: z.ZodString;
|
|
34
|
+
content: z.ZodString;
|
|
35
|
+
}, z.core.$strip>>>;
|
|
36
|
+
extraFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37
|
+
path: z.ZodString;
|
|
38
|
+
content: z.ZodOptional<z.ZodString>;
|
|
39
|
+
gitSource: z.ZodOptional<z.ZodObject<{
|
|
40
|
+
owner: z.ZodString;
|
|
41
|
+
repo: z.ZodString;
|
|
42
|
+
path: z.ZodString;
|
|
43
|
+
ref: z.ZodString;
|
|
44
|
+
}, z.core.$strip>>;
|
|
45
|
+
}, z.core.$strip>>>;
|
|
24
46
|
}, z.core.$strip>;
|
|
25
47
|
export type Template = z.infer<typeof TemplateSchema>;
|
|
26
|
-
/**
|
|
27
|
-
* Input schema for creating a new Template.
|
|
28
|
-
*/
|
|
29
48
|
export declare const CreateTemplateInputSchema: z.ZodObject<{
|
|
30
49
|
name: z.ZodString;
|
|
31
50
|
description: z.ZodString;
|
|
@@ -36,11 +55,22 @@ export declare const CreateTemplateInputSchema: z.ZodObject<{
|
|
|
36
55
|
path: z.ZodString;
|
|
37
56
|
ref: z.ZodString;
|
|
38
57
|
}, z.core.$strip>>;
|
|
58
|
+
sourceFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
59
|
+
path: z.ZodString;
|
|
60
|
+
content: z.ZodString;
|
|
61
|
+
}, z.core.$strip>>>;
|
|
62
|
+
extraFiles: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
63
|
+
path: z.ZodString;
|
|
64
|
+
content: z.ZodOptional<z.ZodString>;
|
|
65
|
+
gitSource: z.ZodOptional<z.ZodObject<{
|
|
66
|
+
owner: z.ZodString;
|
|
67
|
+
repo: z.ZodString;
|
|
68
|
+
path: z.ZodString;
|
|
69
|
+
ref: z.ZodString;
|
|
70
|
+
}, z.core.$strip>>;
|
|
71
|
+
}, z.core.$strip>>>;
|
|
39
72
|
}, z.core.$strip>;
|
|
40
73
|
export type CreateTemplateInput = z.infer<typeof CreateTemplateInputSchema>;
|
|
41
|
-
/**
|
|
42
|
-
* Input schema for updating a Template.
|
|
43
|
-
*/
|
|
44
74
|
export declare const UpdateTemplateInputSchema: z.ZodObject<{
|
|
45
75
|
name: z.ZodOptional<z.ZodString>;
|
|
46
76
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -51,5 +81,19 @@ export declare const UpdateTemplateInputSchema: z.ZodObject<{
|
|
|
51
81
|
path: z.ZodString;
|
|
52
82
|
ref: z.ZodString;
|
|
53
83
|
}, z.core.$strip>>>;
|
|
84
|
+
sourceFiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
85
|
+
path: z.ZodString;
|
|
86
|
+
content: z.ZodString;
|
|
87
|
+
}, z.core.$strip>>>>;
|
|
88
|
+
extraFiles: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
89
|
+
path: z.ZodString;
|
|
90
|
+
content: z.ZodOptional<z.ZodString>;
|
|
91
|
+
gitSource: z.ZodOptional<z.ZodObject<{
|
|
92
|
+
owner: z.ZodString;
|
|
93
|
+
repo: z.ZodString;
|
|
94
|
+
path: z.ZodString;
|
|
95
|
+
ref: z.ZodString;
|
|
96
|
+
}, z.core.$strip>>;
|
|
97
|
+
}, z.core.$strip>>>>;
|
|
54
98
|
}, z.core.$strip>;
|
|
55
99
|
export type UpdateTemplateInput = z.infer<typeof UpdateTemplateInputSchema>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/evalforge-types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.87.0",
|
|
4
4
|
"description": "Unified types for EvalForge agent evaluation system",
|
|
5
5
|
"files": [
|
|
6
6
|
"build"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"artifactId": "evalforge-types"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"falconPackageHash": "
|
|
49
|
+
"falconPackageHash": "63a0ca8f78db8fb64c7f5846e78d90de0869fe5248ac4eef81ac9cca"
|
|
50
50
|
}
|