@openframe-org/criteria-set-protocol 1.0.26 → 1.0.28
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CriteriaTree,
|
|
1
|
+
import { CriteriaTree, StreamMatrixResponse, TaskItemValueMap, Metadata } from '../types';
|
|
2
2
|
/**
|
|
3
3
|
* Interface for services which implement the v1 protocol
|
|
4
4
|
*/
|
|
@@ -22,9 +22,5 @@ export interface IProtocolV1Service {
|
|
|
22
22
|
/**
|
|
23
23
|
* Get the metadata of all criteria sets supported by this service
|
|
24
24
|
*/
|
|
25
|
-
getCriteriaSetMetadataList():
|
|
26
|
-
/**
|
|
27
|
-
* Get the JSON schema for the given criteria set ID
|
|
28
|
-
*/
|
|
29
|
-
getParametersJsonSchema(criteriaSetId: string): Record<string, unknown>;
|
|
25
|
+
getCriteriaSetMetadataList(): Metadata[];
|
|
30
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;
|
package/package.json
CHANGED