@openframe-org/criteria-set-protocol 2.8.0 → 2.9.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.
@@ -4,6 +4,6 @@ import { z } from "zod";
4
4
  */
5
5
  export declare const matrixRequestBodySchema: z.ZodOptional<z.ZodObject<{
6
6
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7
- values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodUndefined, z.ZodArray<z.ZodString>]>>>;
7
+ valueReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodUndefined, z.ZodArray<z.ZodString>]>>>;
8
8
  additional: z.ZodOptional<z.ZodAny>;
9
9
  }, z.core.$strip>>;
@@ -12,7 +12,7 @@ exports.matrixRequestBodySchema = zod_1.z
12
12
  .record(zod_1.z.string(), zod_1.z.any())
13
13
  .optional()
14
14
  .describe("Parameters to be passed when generating the matrix"),
15
- values: task_item_1.taskItemValueReferenceMapSchema
15
+ valueReferences: task_item_1.taskItemValueReferenceMapSchema
16
16
  .optional()
17
17
  .describe("Values to be passed when generating the matrix"),
18
18
  additional: zod_1.z
@@ -4,5 +4,5 @@ import { z } from "zod";
4
4
  */
5
5
  export declare const treeAndDataRequestBodySchema: z.ZodOptional<z.ZodObject<{
6
6
  parameters: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
7
- values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodUndefined, z.ZodArray<z.ZodString>]>>>;
7
+ valueReferences: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean, z.ZodNull, z.ZodUndefined, z.ZodArray<z.ZodString>]>>>;
8
8
  }, z.core.$strip>>;
@@ -12,7 +12,7 @@ exports.treeAndDataRequestBodySchema = zod_1.z
12
12
  .record(zod_1.z.string(), zod_1.z.any())
13
13
  .optional()
14
14
  .describe("Parameters to be passed when generating the matrix"),
15
- values: task_item_1.taskItemValueReferenceMapSchema
15
+ valueReferences: task_item_1.taskItemValueReferenceMapSchema
16
16
  .optional()
17
17
  .describe("Values to be passed when generating the matrix"),
18
18
  })
@@ -1,7 +1,7 @@
1
1
  import { CriteriaTree, Metadata, DataMap, StreamMatrixResponse, TaskItemValueReferenceMap } from "../types";
2
2
  export type TreeAndMapParameters<ParametersType extends Record<string, any> | undefined = undefined> = {
3
3
  parameters: ParametersType extends undefined ? undefined : ParametersType;
4
- values?: TaskItemValueReferenceMap | null;
4
+ valueReferences?: TaskItemValueReferenceMap | null;
5
5
  };
6
6
  export type MatrixParameters<ParametersType extends Record<string, any> | undefined = undefined> = TreeAndMapParameters<ParametersType> & {
7
7
  additional?: any;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openframe-org/criteria-set-protocol",
3
- "version": "2.8.0",
3
+ "version": "2.9.0",
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>",