@gcforms/types 1.0.17 → 1.0.18

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.
package/CHANGELOG.md CHANGED
@@ -5,6 +5,10 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.0.18] - 2025-08-25
9
+
10
+ - Add ChoiceRule export
11
+
8
12
  ## [1.0.17] - 2025-08-15
9
13
 
10
14
  - Add FileInput type
package/dist/index.d.mts CHANGED
@@ -31,6 +31,10 @@ type Group = {
31
31
  };
32
32
  type GroupsType = Record<string, Group>;
33
33
  type FormValues = Record<string, string | string[]>;
34
+ type ChoiceRule = {
35
+ elementId: string;
36
+ choiceId: string;
37
+ };
34
38
  type NextActionRule = {
35
39
  groupId: string;
36
40
  choiceId: string;
@@ -295,4 +299,4 @@ interface AddressCompleteLabels {
295
299
  country: string;
296
300
  }
297
301
 
298
- export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, type BrandProperties, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationProperties, type dynamicRowType };
302
+ export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, type BrandProperties, type ChoiceRule, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationProperties, type dynamicRowType };
package/dist/index.d.ts CHANGED
@@ -31,6 +31,10 @@ type Group = {
31
31
  };
32
32
  type GroupsType = Record<string, Group>;
33
33
  type FormValues = Record<string, string | string[]>;
34
+ type ChoiceRule = {
35
+ elementId: string;
36
+ choiceId: string;
37
+ };
34
38
  type NextActionRule = {
35
39
  groupId: string;
36
40
  choiceId: string;
@@ -295,4 +299,4 @@ interface AddressCompleteLabels {
295
299
  country: string;
296
300
  }
297
301
 
298
- export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, type BrandProperties, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationProperties, type dynamicRowType };
302
+ export { AddressCompleNext, type AddressCompleteChoice, type AddressCompleteLabels, type AddressCompleteProps, type AddressCompleteResult, type AddressComponents, type AddressElements, type BrandProperties, type ChoiceRule, type ClosedDetails, type ConditionalRule, type DateFormat, type DateObject, DatePart, type DeliveryOption, type ElementProperties, type FileInput, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type FormValues, type Group, type GroupsType, NotificationsInterval, NotificationsIntervalDefault, type PropertyChoices, type PublicFormRecord, type Response, type Responses, type SecurityAttribute, SortOption, type SortValue, type ValidationProperties, type dynamicRowType };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcforms/types",
3
- "version": "1.0.17",
3
+ "version": "1.0.18",
4
4
  "author": "Canadian Digital Service",
5
5
  "license": "MIT",
6
6
  "publishConfig": {