@opencrvs/toolkit 2.1.0-rc.30bcbde → 2.1.0-rc.35e0e39

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.
@@ -101,6 +101,9 @@ export declare function eventPayloadGenerator(rng: () => number, configuration?:
101
101
  annotation: {};
102
102
  keepAssignment?: boolean | undefined;
103
103
  type: "EDIT";
104
+ content: {
105
+ comment: string;
106
+ };
104
107
  eventId: string;
105
108
  };
106
109
  assign: (eventId: string, input?: Partial<Pick<AssignActionInput, "transactionId" | "assignedTo">>) => {
@@ -9961,6 +9961,7 @@ function eventPayloadGenerator(rng, configuration = tennisClubMembershipEvent) {
9961
9961
  },
9962
9962
  edit: (eventId, input = {}) => ({
9963
9963
  type: ActionType.EDIT,
9964
+ content: { comment: "Test comment" },
9964
9965
  transactionId: input.transactionId ?? getUUID(),
9965
9966
  declaration: input.declaration ?? generateActionDeclarationInput(configuration, ActionType.EDIT, rng),
9966
9967
  annotation: input.annotation ?? generateActionAnnotationInput(configuration, ActionType.EDIT, rng),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "2.1.0-rc.30bcbde",
3
+ "version": "2.1.0-rc.35e0e39",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "bin": {