@gcforms/types 1.0.7 → 1.0.8
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 +6 -1
- package/dist/index.d.mts +4 -1
- package/dist/index.d.ts +4 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,12 +5,17 @@ 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.8] - 2025-05-20
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Add questionId and tags to ElementProperties
|
|
13
|
+
- Add uuid to FormElement
|
|
8
14
|
|
|
9
15
|
## [1.0.7] - 2025-04-09
|
|
10
16
|
|
|
11
17
|
Add form element type for custom json
|
|
12
18
|
|
|
13
|
-
|
|
14
19
|
## [1.0.6] - 2025-04-29
|
|
15
20
|
|
|
16
21
|
### Added
|
package/dist/index.d.mts
CHANGED
|
@@ -79,6 +79,8 @@ declare const SortOption: {
|
|
|
79
79
|
};
|
|
80
80
|
type SortValue = (typeof SortOption)[keyof typeof SortOption];
|
|
81
81
|
interface ElementProperties {
|
|
82
|
+
questionId?: string;
|
|
83
|
+
tags?: string[];
|
|
82
84
|
titleEn: string;
|
|
83
85
|
titleFr: string;
|
|
84
86
|
placeholderEn?: string;
|
|
@@ -100,7 +102,7 @@ interface ElementProperties {
|
|
|
100
102
|
addressComponents?: AddressComponents | undefined;
|
|
101
103
|
dynamicRow?: dynamicRowType;
|
|
102
104
|
sortOrder?: SortValue;
|
|
103
|
-
[key: string]: string | number | boolean | Array<PropertyChoices> | Array<FormElement> | ValidationProperties | Array<ConditionalRule> | AddressComponents | dynamicRowType | undefined;
|
|
105
|
+
[key: string]: string | string[] | number | boolean | Array<PropertyChoices> | Array<FormElement> | ValidationProperties | Array<ConditionalRule> | AddressComponents | dynamicRowType | undefined;
|
|
104
106
|
}
|
|
105
107
|
interface BrandProperties {
|
|
106
108
|
name?: string;
|
|
@@ -115,6 +117,7 @@ interface BrandProperties {
|
|
|
115
117
|
}
|
|
116
118
|
interface FormElement {
|
|
117
119
|
id: number;
|
|
120
|
+
uuid?: string;
|
|
118
121
|
subId?: string;
|
|
119
122
|
type: FormElementTypes;
|
|
120
123
|
properties: ElementProperties;
|
package/dist/index.d.ts
CHANGED
|
@@ -79,6 +79,8 @@ declare const SortOption: {
|
|
|
79
79
|
};
|
|
80
80
|
type SortValue = (typeof SortOption)[keyof typeof SortOption];
|
|
81
81
|
interface ElementProperties {
|
|
82
|
+
questionId?: string;
|
|
83
|
+
tags?: string[];
|
|
82
84
|
titleEn: string;
|
|
83
85
|
titleFr: string;
|
|
84
86
|
placeholderEn?: string;
|
|
@@ -100,7 +102,7 @@ interface ElementProperties {
|
|
|
100
102
|
addressComponents?: AddressComponents | undefined;
|
|
101
103
|
dynamicRow?: dynamicRowType;
|
|
102
104
|
sortOrder?: SortValue;
|
|
103
|
-
[key: string]: string | number | boolean | Array<PropertyChoices> | Array<FormElement> | ValidationProperties | Array<ConditionalRule> | AddressComponents | dynamicRowType | undefined;
|
|
105
|
+
[key: string]: string | string[] | number | boolean | Array<PropertyChoices> | Array<FormElement> | ValidationProperties | Array<ConditionalRule> | AddressComponents | dynamicRowType | undefined;
|
|
104
106
|
}
|
|
105
107
|
interface BrandProperties {
|
|
106
108
|
name?: string;
|
|
@@ -115,6 +117,7 @@ interface BrandProperties {
|
|
|
115
117
|
}
|
|
116
118
|
interface FormElement {
|
|
117
119
|
id: number;
|
|
120
|
+
uuid?: string;
|
|
118
121
|
subId?: string;
|
|
119
122
|
type: FormElementTypes;
|
|
120
123
|
properties: ElementProperties;
|