@gcforms/types 1.0.12 → 1.0.14

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,10 +5,24 @@ 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.14] - 2025-07-10
9
+
10
+ ### Changed
11
+
12
+ - Update fileInputResponse to migrate from base64 to BufferArray
13
+
14
+ # [1.0.13] - 2025-07-08
15
+
16
+ ### Changed
17
+
18
+ - Add strictValue to ElementProperties for use with ComboBox / Searchable list
19
+
8
20
  ## [1.0.12] - 2025-06-25
9
21
 
10
22
  ### Changed
11
23
 
24
+ - Update fileInputResponse to migrate from base64 to BufferArray
25
+
12
26
  ## [1.0.11] - 2025-06-23
13
27
 
14
28
  ### Changed
package/dist/index.d.mts CHANGED
@@ -102,6 +102,7 @@ interface ElementProperties {
102
102
  addressComponents?: AddressComponents | undefined;
103
103
  dynamicRow?: dynamicRowType;
104
104
  sortOrder?: SortValue;
105
+ strictValue?: boolean;
105
106
  [key: string]: string | string[] | number | boolean | Array<PropertyChoices> | Array<FormElement> | ValidationProperties | Array<ConditionalRule> | AddressComponents | dynamicRowType | undefined;
106
107
  }
107
108
  interface BrandProperties {
@@ -193,7 +194,7 @@ type Response = string | string[] | number | Record<string, unknown>[] | FileInp
193
194
  type FileInputResponse = {
194
195
  name: string | null;
195
196
  size: number | null;
196
- based64EncodedFile: string | null;
197
+ content: ArrayBuffer | null;
197
198
  };
198
199
 
199
200
  export { type AddressComponents, type BrandProperties, type ClosedDetails, type ConditionalRule, type DeliveryOption, type ElementProperties, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type Group, 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
@@ -102,6 +102,7 @@ interface ElementProperties {
102
102
  addressComponents?: AddressComponents | undefined;
103
103
  dynamicRow?: dynamicRowType;
104
104
  sortOrder?: SortValue;
105
+ strictValue?: boolean;
105
106
  [key: string]: string | string[] | number | boolean | Array<PropertyChoices> | Array<FormElement> | ValidationProperties | Array<ConditionalRule> | AddressComponents | dynamicRowType | undefined;
106
107
  }
107
108
  interface BrandProperties {
@@ -193,7 +194,7 @@ type Response = string | string[] | number | Record<string, unknown>[] | FileInp
193
194
  type FileInputResponse = {
194
195
  name: string | null;
195
196
  size: number | null;
196
- based64EncodedFile: string | null;
197
+ content: ArrayBuffer | null;
197
198
  };
198
199
 
199
200
  export { type AddressComponents, type BrandProperties, type ClosedDetails, type ConditionalRule, type DeliveryOption, type ElementProperties, type FileInputResponse, type FormElement, FormElementTypes, type FormProperties, type FormPurpose, type FormRecord, FormStatus, type Group, 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.12",
3
+ "version": "1.0.14",
4
4
  "author": "Canadian Digital Service",
5
5
  "license": "MIT",
6
6
  "publishConfig": {