@opencrvs/toolkit 1.9.16-rc.a94059f → 1.9.16-rc.b4bcd8b

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.
@@ -998,7 +998,7 @@ var ActionBase = import_zod13.z.object({
998
998
  ),
999
999
  createdAt: import_zod13.z.string().datetime().describe("Timestamp indicating when the action was created."),
1000
1000
  createdBy: import_zod13.z.string().describe("Identifier of the user who created the action."),
1001
- createdByRole: import_zod13.z.string().describe("Role of the user who created the action."),
1001
+ createdByRole: import_zod13.z.string().optional().describe("Role of the user who created the action."),
1002
1002
  createdBySignature: import_zod13.z.string().nullish().describe("Reference to the signature of the user who created the action."),
1003
1003
  createdAtLocation: CreatedAtLocation.describe(
1004
1004
  "Reference to the location of the user who created the action."
@@ -1202,7 +1202,7 @@ var ActionCreationMetadata = import_zod14.z.object({
1202
1202
  ),
1203
1203
  createdByUserType: import_zod14.z.enum(["user", "system"]).nullish().describe("Whether the user is a normal user or a system."),
1204
1204
  acceptedAt: import_zod14.z.string().datetime().describe("Timestamp when the action request was accepted."),
1205
- createdByRole: import_zod14.z.string().describe("Role of the user at the time of action request creation."),
1205
+ createdByRole: import_zod14.z.string().optional().describe("Role of the user at the time of action request creation."),
1206
1206
  createdBySignature: import_zod14.z.string().nullish().describe("Signature of the user who created the action request.")
1207
1207
  });
1208
1208
  var RegistrationCreationMetadata = ActionCreationMetadata.extend({
@@ -1225,7 +1225,7 @@ var EventMetadata = import_zod14.z.object({
1225
1225
  dateOfEvent: ZodDate.nullish(),
1226
1226
  createdBy: import_zod14.z.string().describe("ID of the user who created the event."),
1227
1227
  createdByUserType: import_zod14.z.enum(["user", "system"]).nullish().describe("Whether the user is a normal user or a system."),
1228
- updatedByUserRole: import_zod14.z.string().describe("Role of the user who last changed the status."),
1228
+ updatedByUserRole: import_zod14.z.string().optional().describe("Role of the user who last changed the status."),
1229
1229
  createdAtLocation: CreatedAtLocation.describe(
1230
1230
  "Location of the user who created the event."
1231
1231
  ),
@@ -2090,6 +2090,9 @@ var PageConfigBase = import_zod18.z.object({
2090
2090
  requireCompletionToContinue: import_zod18.z.boolean().default(false).describe(
2091
2091
  "If true, all required fields must be filled before continuing to the next page"
2092
2092
  ),
2093
+ showClearButton: import_zod18.z.boolean().optional().describe(
2094
+ 'If true, a "Clear" button is shown at the top of the page allowing the user to reset all fields on the page to their default state'
2095
+ ),
2093
2096
  fields: import_zod18.z.array(FieldConfig).describe("Fields to be rendered on the page"),
2094
2097
  conditional: Conditional.optional().describe(
2095
2098
  "Page will be shown if condition is met. If conditional is not defined, the page will be always shown."
@@ -4876,6 +4879,7 @@ var TENNIS_CLUB_DECLARATION_FORM = defineDeclarationForm({
4876
4879
  defaultMessage: "Who is applying for the membership?",
4877
4880
  description: "This is the title of the section"
4878
4881
  },
4882
+ showClearButton: true,
4879
4883
  fields: [
4880
4884
  {
4881
4885
  id: "applicant.name",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@opencrvs/toolkit",
3
- "version": "1.9.16-rc.a94059f",
3
+ "version": "1.9.16-rc.b4bcd8b",
4
4
  "description": "OpenCRVS toolkit for building country configurations",
5
5
  "license": "MPL-2.0",
6
6
  "exports": {