@openframe-org/criteria-set-protocol 1.0.27 → 1.0.29
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.
|
@@ -23,16 +23,4 @@ export interface IProtocolV1Service {
|
|
|
23
23
|
* Get the metadata of all criteria sets supported by this service
|
|
24
24
|
*/
|
|
25
25
|
getCriteriaSetMetadataList(): Metadata[];
|
|
26
|
-
/**
|
|
27
|
-
* Get the JSON schema for the given criteria set ID
|
|
28
|
-
*/
|
|
29
|
-
getParametersJsonSchema(criteriaSetId: string): Record<string, unknown>;
|
|
30
|
-
/**
|
|
31
|
-
* Get the JSON schema for the given criteria set ID
|
|
32
|
-
*/
|
|
33
|
-
getResultsJsonSchema(criteriaSetId: string): Record<string, unknown>;
|
|
34
|
-
/**
|
|
35
|
-
* Get the JSON schema for the given criteria set ID
|
|
36
|
-
*/
|
|
37
|
-
getAdditionalDefinitionsJsonSchema(criteriaSetId: string): Record<string, unknown>;
|
|
38
26
|
}
|
|
@@ -12,9 +12,9 @@ export type Metadata = {
|
|
|
12
12
|
metadata: CriteriaSetMetadata;
|
|
13
13
|
locales?: string[];
|
|
14
14
|
defaultLocale?: string;
|
|
15
|
-
parameters
|
|
16
|
-
result
|
|
17
|
-
definitions
|
|
15
|
+
parameters?: Record<string, any>;
|
|
16
|
+
result?: Record<string, any>;
|
|
17
|
+
definitions?: Record<string, any>;
|
|
18
18
|
};
|
|
19
19
|
export type CriteriaSetMetadata = {
|
|
20
20
|
id: string;
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { Stream } from 'stream';
|
|
3
3
|
import { CriteriaTree, CriteriaSetMetadata, TaskItemValue, Metadata } from './criteria';
|
|
4
|
-
export type MetadataResponse
|
|
5
|
-
parameters: Parameters;
|
|
6
|
-
};
|
|
4
|
+
export type MetadataResponse = Metadata;
|
|
7
5
|
export type CriteriaTreeResponse = CriteriaTree;
|
|
8
6
|
export type StringParam<ParamName extends string> = Record<ParamName, string>;
|
|
9
7
|
export type TaskItemValueMap = Record<string, TaskItemValue>;
|
package/package.json
CHANGED