@gcforms/types 1.0.23 → 1.0.25

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.25] - 2025-10-17
9
+
10
+ - Remove File Upload as a beta option
11
+
8
12
 
9
13
  ## [1.0.23] - 2025-10-01
10
14
 
package/dist/index.d.mts CHANGED
@@ -64,9 +64,6 @@ declare const BetaFormElementTypes: {
64
64
  addressComplete: {
65
65
  flag: string;
66
66
  };
67
- fileInput: {
68
- flag: string;
69
- };
70
67
  };
71
68
  type ConditionalRule = {
72
69
  choiceId: string;
@@ -177,6 +174,7 @@ type FormRecord = {
177
174
  id: string;
178
175
  createdAt?: string;
179
176
  updatedAt?: string;
177
+ ttl?: Date | null;
180
178
  name: string;
181
179
  form: FormProperties;
182
180
  isPublished: boolean;
@@ -186,7 +184,7 @@ type FormRecord = {
186
184
  closedDetails?: ClosedDetails;
187
185
  saveAndResume?: boolean;
188
186
  notificationsInterval?: NotificationsInterval;
189
- [key: string]: string | boolean | number | FormProperties | DeliveryOption | ClosedDetails | undefined | null;
187
+ [key: string]: string | boolean | number | Date | FormProperties | DeliveryOption | ClosedDetails | undefined | null;
190
188
  };
191
189
  type SecurityAttribute = "Unclassified" | "Protected A" | "Protected B";
192
190
  type FormPurpose = "" | "admin" | "nonAdmin";
package/dist/index.d.ts CHANGED
@@ -64,9 +64,6 @@ declare const BetaFormElementTypes: {
64
64
  addressComplete: {
65
65
  flag: string;
66
66
  };
67
- fileInput: {
68
- flag: string;
69
- };
70
67
  };
71
68
  type ConditionalRule = {
72
69
  choiceId: string;
@@ -177,6 +174,7 @@ type FormRecord = {
177
174
  id: string;
178
175
  createdAt?: string;
179
176
  updatedAt?: string;
177
+ ttl?: Date | null;
180
178
  name: string;
181
179
  form: FormProperties;
182
180
  isPublished: boolean;
@@ -186,7 +184,7 @@ type FormRecord = {
186
184
  closedDetails?: ClosedDetails;
187
185
  saveAndResume?: boolean;
188
186
  notificationsInterval?: NotificationsInterval;
189
- [key: string]: string | boolean | number | FormProperties | DeliveryOption | ClosedDetails | undefined | null;
187
+ [key: string]: string | boolean | number | Date | FormProperties | DeliveryOption | ClosedDetails | undefined | null;
190
188
  };
191
189
  type SecurityAttribute = "Unclassified" | "Protected A" | "Protected B";
192
190
  type FormPurpose = "" | "admin" | "nonAdmin";
package/dist/index.js CHANGED
@@ -52,8 +52,7 @@ var FormElementTypes = /* @__PURE__ */ ((FormElementTypes2) => {
52
52
  return FormElementTypes2;
53
53
  })(FormElementTypes || {});
54
54
  var BetaFormElementTypes = {
55
- ["addressComplete" /* addressComplete */]: { flag: "addressComplete" },
56
- ["fileInput" /* fileInput */]: { flag: "fileUpload" }
55
+ ["addressComplete" /* addressComplete */]: { flag: "addressComplete" }
57
56
  };
58
57
  var SortOption = {
59
58
  NONE: "none",
package/dist/index.mjs CHANGED
@@ -21,8 +21,7 @@ var FormElementTypes = /* @__PURE__ */ ((FormElementTypes2) => {
21
21
  return FormElementTypes2;
22
22
  })(FormElementTypes || {});
23
23
  var BetaFormElementTypes = {
24
- ["addressComplete" /* addressComplete */]: { flag: "addressComplete" },
25
- ["fileInput" /* fileInput */]: { flag: "fileUpload" }
24
+ ["addressComplete" /* addressComplete */]: { flag: "addressComplete" }
26
25
  };
27
26
  var SortOption = {
28
27
  NONE: "none",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcforms/types",
3
- "version": "1.0.23",
3
+ "version": "1.0.25",
4
4
  "author": "Canadian Digital Service",
5
5
  "license": "MIT",
6
6
  "publishConfig": {