scorecard-ai 2.0.0-alpha.1 → 2.0.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/CHANGELOG.md +15 -0
- package/client.d.mts +2 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -0
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/internal/request-options.d.mts +42 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +42 -0
- package/internal/request-options.d.ts.map +1 -1
- package/internal/request-options.js.map +1 -1
- package/internal/request-options.mjs.map +1 -1
- package/internal/types.d.mts +8 -6
- package/internal/types.d.mts.map +1 -1
- package/internal/types.d.ts +8 -6
- package/internal/types.d.ts.map +1 -1
- package/internal/uploads.js +1 -1
- package/internal/uploads.js.map +1 -1
- package/internal/uploads.mjs +1 -1
- package/internal/uploads.mjs.map +1 -1
- package/internal/utils/log.js +1 -1
- package/internal/utils/log.js.map +1 -1
- package/internal/utils/log.mjs +1 -1
- package/internal/utils/log.mjs.map +1 -1
- package/internal/utils/path.d.mts.map +1 -1
- package/internal/utils/path.d.ts.map +1 -1
- package/internal/utils/path.js +26 -5
- package/internal/utils/path.js.map +1 -1
- package/internal/utils/path.mjs +26 -5
- package/internal/utils/path.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/records.d.mts +18 -7
- package/resources/records.d.mts.map +1 -1
- package/resources/records.d.ts +18 -7
- package/resources/records.d.ts.map +1 -1
- package/resources/records.js.map +1 -1
- package/resources/records.mjs.map +1 -1
- package/resources/scores.d.mts +6 -2
- package/resources/scores.d.mts.map +1 -1
- package/resources/scores.d.ts +6 -2
- package/resources/scores.d.ts.map +1 -1
- package/resources/shared.d.mts +3 -1
- package/resources/shared.d.mts.map +1 -1
- package/resources/shared.d.ts +3 -1
- package/resources/shared.d.ts.map +1 -1
- package/resources/systems/systems.d.mts +3 -1
- package/resources/systems/systems.d.mts.map +1 -1
- package/resources/systems/systems.d.ts +3 -1
- package/resources/systems/systems.d.ts.map +1 -1
- package/resources/systems/versions.d.mts +6 -2
- package/resources/systems/versions.d.mts.map +1 -1
- package/resources/systems/versions.d.ts +6 -2
- package/resources/systems/versions.d.ts.map +1 -1
- package/resources/testcases.d.mts +15 -5
- package/resources/testcases.d.mts.map +1 -1
- package/resources/testcases.d.ts +15 -5
- package/resources/testcases.d.ts.map +1 -1
- package/resources/testsets.d.mts +9 -3
- package/resources/testsets.d.mts.map +1 -1
- package/resources/testsets.d.ts +9 -3
- package/resources/testsets.d.ts.map +1 -1
- package/src/client.ts +2 -0
- package/src/internal/request-options.ts +53 -0
- package/src/internal/types.ts +9 -6
- package/src/internal/uploads.ts +1 -1
- package/src/internal/utils/log.ts +1 -1
- package/src/internal/utils/path.ts +30 -7
- package/src/resources/records.ts +6 -7
- package/src/resources/scores.ts +2 -2
- package/src/resources/shared.ts +1 -1
- package/src/resources/systems/systems.ts +1 -1
- package/src/resources/systems/versions.ts +2 -2
- package/src/resources/testcases.ts +5 -5
- package/src/resources/testsets.ts +3 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.mts.map +1 -1
- package/version.d.ts +1 -1
- package/version.d.ts.map +1 -1
- package/version.js +1 -1
- package/version.js.map +1 -1
- package/version.mjs +1 -1
- package/version.mjs.map +1 -1
|
@@ -136,18 +136,18 @@ export interface Testcase {
|
|
|
136
136
|
* Derived from data based on the Testset's fieldMapping. Contains all fields
|
|
137
137
|
* marked as expected outputs, including those with validation errors.
|
|
138
138
|
*/
|
|
139
|
-
expected:
|
|
139
|
+
expected: { [key: string]: unknown };
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* Derived from data based on the Testset's fieldMapping. Contains all fields
|
|
143
143
|
* marked as inputs, including those with validation errors.
|
|
144
144
|
*/
|
|
145
|
-
inputs:
|
|
145
|
+
inputs: { [key: string]: unknown };
|
|
146
146
|
|
|
147
147
|
/**
|
|
148
148
|
* The JSON data of the Testcase, which is validated against the Testset's schema.
|
|
149
149
|
*/
|
|
150
|
-
jsonData:
|
|
150
|
+
jsonData: { [key: string]: unknown };
|
|
151
151
|
|
|
152
152
|
/**
|
|
153
153
|
* The ID of the Testset this Testcase belongs to.
|
|
@@ -198,7 +198,7 @@ export namespace TestcaseCreateParams {
|
|
|
198
198
|
/**
|
|
199
199
|
* The JSON data of the Testcase, which is validated against the Testset's schema.
|
|
200
200
|
*/
|
|
201
|
-
jsonData:
|
|
201
|
+
jsonData: { [key: string]: unknown };
|
|
202
202
|
}
|
|
203
203
|
}
|
|
204
204
|
|
|
@@ -206,7 +206,7 @@ export interface TestcaseUpdateParams {
|
|
|
206
206
|
/**
|
|
207
207
|
* The JSON data of the Testcase, which is validated against the Testset's schema.
|
|
208
208
|
*/
|
|
209
|
-
jsonData:
|
|
209
|
+
jsonData: { [key: string]: unknown };
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
export interface TestcaseListParams extends PaginatedResponseParams {}
|
|
@@ -162,7 +162,7 @@ export interface Testset {
|
|
|
162
162
|
/**
|
|
163
163
|
* The JSON schema for each Testcase in the Testset.
|
|
164
164
|
*/
|
|
165
|
-
jsonSchema:
|
|
165
|
+
jsonSchema: { [key: string]: unknown };
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* The name of the Testset.
|
|
@@ -215,7 +215,7 @@ export interface TestsetCreateParams {
|
|
|
215
215
|
/**
|
|
216
216
|
* The JSON schema for each Testcase in the Testset.
|
|
217
217
|
*/
|
|
218
|
-
jsonSchema:
|
|
218
|
+
jsonSchema: { [key: string]: unknown };
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
221
|
* The name of the Testset.
|
|
@@ -261,7 +261,7 @@ export interface TestsetUpdateParams {
|
|
|
261
261
|
/**
|
|
262
262
|
* The JSON schema for each Testcase in the Testset.
|
|
263
263
|
*/
|
|
264
|
-
jsonSchema?:
|
|
264
|
+
jsonSchema?: { [key: string]: unknown };
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
267
|
* The name of the Testset.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '2.0.0
|
|
1
|
+
export const VERSION = '2.0.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.0.0
|
|
1
|
+
export declare const VERSION = "2.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.mts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "2.0.0
|
|
1
|
+
export declare const VERSION = "2.0.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,
|
|
1
|
+
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,OAAO,UAAU,CAAC"}
|
package/version.js
CHANGED
package/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":";;;AAAa,QAAA,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '2.0.0
|
|
1
|
+
export const VERSION = '2.0.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
package/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,
|
|
1
|
+
{"version":3,"file":"version.mjs","sourceRoot":"","sources":["src/version.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,CAAC,2BAA2B"}
|