@gcforms/types 1.0.31 → 1.0.34

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,18 @@ 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.34] - 2026-06-11
9
+
10
+ - Add lastEditedBy to the FormRecord type
11
+
12
+ ## [1.0.33] - 2026-06-03
13
+
14
+ - Add users and invitations to the FormRecord type
15
+
16
+ ## [1.0.32] - 2026-05-01
17
+
18
+ - Add types for template versions
19
+
8
20
  ## [1.0.31] - 2026-04-23
9
21
 
10
22
  - Add Element properties to support Advanced number inputs
package/dist/index.d.mts CHANGED
@@ -188,13 +188,24 @@ type FormRecord = {
188
188
  name: string;
189
189
  form: FormProperties;
190
190
  isPublished: boolean;
191
+ currentPublishedVersionId?: string | null;
192
+ currentDraftVersionId?: string | null;
193
+ versionNumber?: number | null;
191
194
  deliveryOption?: DeliveryOption;
192
195
  securityAttribute: SecurityAttribute;
193
196
  closingDate?: string;
194
197
  closedDetails?: ClosedDetails;
195
198
  saveAndResume?: boolean;
196
199
  notificationsInterval?: NotificationsInterval;
197
- [key: string]: string | boolean | number | Date | FormProperties | DeliveryOption | ClosedDetails | undefined | null;
200
+ lastEditedBy?: string | null;
201
+ _count?: {
202
+ users: number;
203
+ invitations: number;
204
+ };
205
+ [key: string]: string | boolean | number | Date | FormProperties | DeliveryOption | ClosedDetails | {
206
+ users: number;
207
+ invitations: number;
208
+ } | undefined | null;
198
209
  };
199
210
  type SecurityAttribute = "Unclassified" | "Protected A" | "Protected B";
200
211
  type FormPurpose = "" | "admin" | "nonAdmin";
package/dist/index.d.ts CHANGED
@@ -188,13 +188,24 @@ type FormRecord = {
188
188
  name: string;
189
189
  form: FormProperties;
190
190
  isPublished: boolean;
191
+ currentPublishedVersionId?: string | null;
192
+ currentDraftVersionId?: string | null;
193
+ versionNumber?: number | null;
191
194
  deliveryOption?: DeliveryOption;
192
195
  securityAttribute: SecurityAttribute;
193
196
  closingDate?: string;
194
197
  closedDetails?: ClosedDetails;
195
198
  saveAndResume?: boolean;
196
199
  notificationsInterval?: NotificationsInterval;
197
- [key: string]: string | boolean | number | Date | FormProperties | DeliveryOption | ClosedDetails | undefined | null;
200
+ lastEditedBy?: string | null;
201
+ _count?: {
202
+ users: number;
203
+ invitations: number;
204
+ };
205
+ [key: string]: string | boolean | number | Date | FormProperties | DeliveryOption | ClosedDetails | {
206
+ users: number;
207
+ invitations: number;
208
+ } | undefined | null;
198
209
  };
199
210
  type SecurityAttribute = "Unclassified" | "Protected A" | "Protected B";
200
211
  type FormPurpose = "" | "admin" | "nonAdmin";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gcforms/types",
3
- "version": "1.0.31",
3
+ "version": "1.0.34",
4
4
  "author": "Canadian Digital Service",
5
5
  "license": "MIT",
6
6
  "publishConfig": {