@gcforms/types 1.0.9 → 1.0.12

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,13 +5,28 @@ 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.12] - 2025-06-25
9
+
10
+ ### Changed
11
+
12
+ ## [1.0.11] - 2025-06-23
13
+
14
+ ### Changed
15
+
16
+ - Update Yarn to version 4.9.2
17
+
18
+ ## [1.0.10] - 2025-05-29
19
+
20
+ ### Changed
21
+
22
+ - Update fileType to allow for an array of types
23
+
8
24
  ## [1.0.9] - 2025-05-28
9
25
 
10
26
  ### Changed
11
27
 
12
28
  - Update NotificationsIntervalDefault to off
13
29
 
14
-
15
30
  ## [1.0.8] - 2025-05-20
16
31
 
17
32
  ### Changed
package/dist/index.d.mts CHANGED
@@ -91,7 +91,7 @@ interface ElementProperties {
91
91
  choices?: PropertyChoices[];
92
92
  managedChoices?: string;
93
93
  subElements?: FormElement[];
94
- fileType?: string | undefined;
94
+ fileType?: string | string[] | undefined;
95
95
  headingLevel?: string | undefined;
96
96
  isSectional?: boolean;
97
97
  maxNumberOfRows?: number;
@@ -178,7 +178,7 @@ declare const FormStatus: {
178
178
  readonly CAPTCHA_VERIFICATION_ERROR: "CaptchaVerificationError";
179
179
  };
180
180
  type FormStatus = (typeof FormStatus)[keyof typeof FormStatus];
181
- declare const NotificationsIntervalDefault: null;
181
+ declare const NotificationsIntervalDefault: 1440;
182
182
  declare const NotificationsInterval: {
183
183
  readonly OFF: null;
184
184
  readonly DAY: 1440;
package/dist/index.d.ts CHANGED
@@ -91,7 +91,7 @@ interface ElementProperties {
91
91
  choices?: PropertyChoices[];
92
92
  managedChoices?: string;
93
93
  subElements?: FormElement[];
94
- fileType?: string | undefined;
94
+ fileType?: string | string[] | undefined;
95
95
  headingLevel?: string | undefined;
96
96
  isSectional?: boolean;
97
97
  maxNumberOfRows?: number;
@@ -178,7 +178,7 @@ declare const FormStatus: {
178
178
  readonly CAPTCHA_VERIFICATION_ERROR: "CaptchaVerificationError";
179
179
  };
180
180
  type FormStatus = (typeof FormStatus)[keyof typeof FormStatus];
181
- declare const NotificationsIntervalDefault: null;
181
+ declare const NotificationsIntervalDefault: 1440;
182
182
  declare const NotificationsInterval: {
183
183
  readonly OFF: null;
184
184
  readonly DAY: 1440;
package/dist/index.js CHANGED
@@ -67,7 +67,7 @@ var NotificationsInterval = {
67
67
  DAY: 1440,
68
68
  WEEK: 10080
69
69
  };
70
- var NotificationsIntervalDefault = NotificationsInterval.OFF;
70
+ var NotificationsIntervalDefault = NotificationsInterval.DAY;
71
71
  // Annotate the CommonJS export names for ESM import in node:
72
72
  0 && (module.exports = {
73
73
  FormElementTypes,
package/dist/index.mjs CHANGED
@@ -37,7 +37,7 @@ var NotificationsInterval = {
37
37
  DAY: 1440,
38
38
  WEEK: 10080
39
39
  };
40
- var NotificationsIntervalDefault = NotificationsInterval.OFF;
40
+ var NotificationsIntervalDefault = NotificationsInterval.DAY;
41
41
  export {
42
42
  FormElementTypes,
43
43
  FormStatus,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcforms/types",
3
- "version": "1.0.9",
3
+ "version": "1.0.12",
4
4
  "author": "Canadian Digital Service",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -29,5 +29,5 @@
29
29
  "tsup": "^8.3.6",
30
30
  "typescript": "^5.5.2"
31
31
  },
32
- "packageManager": "yarn@4.6.0"
32
+ "packageManager": "yarn@4.9.2"
33
33
  }