scorecard-ai 1.1.0 → 1.2.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 +32 -0
- package/README.md +4 -5
- package/client.d.mts +11 -11
- package/client.d.mts.map +1 -1
- package/client.d.ts +11 -11
- package/client.d.ts.map +1 -1
- package/client.js +27 -25
- package/client.js.map +1 -1
- package/client.mjs +16 -14
- package/client.mjs.map +1 -1
- package/core/resource.d.mts +1 -1
- package/core/resource.d.mts.map +1 -1
- package/core/resource.d.ts +1 -1
- package/core/resource.d.ts.map +1 -1
- package/core/resource.js.map +1 -1
- package/core/resource.mjs.map +1 -1
- package/internal/headers.d.mts.map +1 -1
- package/internal/headers.d.ts.map +1 -1
- package/internal/headers.js +4 -4
- package/internal/headers.js.map +1 -1
- package/internal/headers.mjs +4 -4
- package/internal/headers.mjs.map +1 -1
- package/internal/request-options.d.mts +1 -0
- package/internal/request-options.d.mts.map +1 -1
- package/internal/request-options.d.ts +1 -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/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.map +1 -1
- package/internal/utils/path.mjs +1 -1
- package/internal/utils/path.mjs.map +1 -1
- package/internal/utils/values.d.mts +2 -0
- package/internal/utils/values.d.mts.map +1 -1
- package/internal/utils/values.d.ts +2 -0
- package/internal/utils/values.d.ts.map +1 -1
- package/internal/utils/values.js +4 -1
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +2 -0
- package/internal/utils/values.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 +27 -9
- package/resources/systems/systems.d.mts.map +1 -1
- package/resources/systems/systems.d.ts +27 -9
- 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 +37 -25
- package/src/core/resource.ts +1 -1
- package/src/internal/headers.ts +5 -5
- package/src/internal/request-options.ts +1 -0
- package/src/internal/uploads.ts +1 -1
- package/src/internal/utils/log.ts +1 -1
- package/src/internal/utils/path.ts +1 -1
- package/src/internal/utils/values.ts +3 -0
- 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 +9 -9
- 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.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -109,7 +109,7 @@ export interface SystemVersion {
|
|
|
109
109
|
/**
|
|
110
110
|
* The configuration of the system version.
|
|
111
111
|
*/
|
|
112
|
-
config:
|
|
112
|
+
config: { [key: string]: unknown };
|
|
113
113
|
|
|
114
114
|
/**
|
|
115
115
|
* The name of the system version.
|
|
@@ -146,7 +146,7 @@ export interface VersionCreateParams {
|
|
|
146
146
|
/**
|
|
147
147
|
* The configuration of the system version.
|
|
148
148
|
*/
|
|
149
|
-
config:
|
|
149
|
+
config: { [key: string]: unknown };
|
|
150
150
|
|
|
151
151
|
/**
|
|
152
152
|
* The name of the system version.
|
|
@@ -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 = '1.
|
|
1
|
+
export const VERSION = '1.2.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "1.
|
|
1
|
+
export declare const VERSION = "1.2.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '1.
|
|
1
|
+
export const VERSION = '1.2.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|