@openframe-org/criteria-set-protocol 1.0.26 → 1.0.27

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, CriteriaSetMetadata, StreamMatrixResponse, TaskItemValueMap } from '../types';
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,17 @@ export interface IProtocolV1Service {
22
22
  /**
23
23
  * Get the metadata of all criteria sets supported by this service
24
24
  */
25
- getCriteriaSetMetadataList(): CriteriaSetMetadata[];
25
+ getCriteriaSetMetadataList(): Metadata[];
26
26
  /**
27
27
  * Get the JSON schema for the given criteria set ID
28
28
  */
29
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>;
30
38
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "1.0.26",
3
+ "version": "1.0.27",
4
4
  "description": "A protocol and tools for defining and working with criteria sets",
5
5
  "private": false,
6
6
  "author": "Andrés Angulo <aa@openframe.org>",