@ichicraft/widgets-widget-base 1.11.2 → 1.11.4

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/README.md CHANGED
@@ -9,9 +9,17 @@ All notable changes to this project will be documented here.
9
9
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
10
10
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
11
11
 
12
+ ## 1.11.4 - 2024-11-08
13
+
14
+ - Added `driveId` property to `FilePickerFileProps` interface.
15
+
16
+ ## 1.11.3 - 2024-11-05
17
+
18
+ - Added `fileName` property to `FilePickerFileProps` interface.
19
+
12
20
  ## 1.11.2 - 2024-10-21
13
21
 
14
- - Add optional `objectId` property to the `ICPersona` interface.
22
+ - Added optional `objectId` property to the `ICPersona` interface.
15
23
 
16
24
  ## 1.11.1 - 2024-10-17
17
25
 
@@ -841,17 +841,25 @@ export interface FilePickerOptions {
841
841
  }
842
842
  export interface FilePickerFileProps {
843
843
  /**
844
- * Unique identifier of the file item in SharePoint, in the shape of a Guid.
844
+ * Name of the selected file (including extension).
845
+ */
846
+ fileName: string;
847
+ /**
848
+ * Unique identifier of the file item in SharePoint, in the form of a Guid.
845
849
  */
846
850
  uniqueId: string;
847
851
  /**
848
- * Unique identifier of the list in SharePoint, in the shape of a Guid.
852
+ * Unique identifier of the list in SharePoint, in the form of a Guid.
849
853
  */
850
854
  listId: string;
851
855
  /**
852
- * Unique identifier of the site in SharePoint, in the shape of a Guid.
856
+ * Unique identifier of the site in SharePoint, in the form of a Guid.
853
857
  */
854
858
  siteId: string;
859
+ /**
860
+ * Unique identifier of the drive, in the form of a Guid.
861
+ */
862
+ driveId: string;
855
863
  }
856
864
  export type BoardType = 'shared' | 'personal' | 'buddybar';
857
865
  export type UserRole = 'administrator' | 'board-owner' | 'widget-administrator';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ichicraft/widgets-widget-base",
3
- "version": "1.11.2",
3
+ "version": "1.11.4",
4
4
  "description": "Part of the Widget Development Kit for building widgets for Ichicraft Boards",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",