@ichicraft/widgets-widget-base 1.11.1 → 1.11.3
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 +8 -0
- package/lib/types/index.d.ts +8 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,14 @@ 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.3 - 2024-11-05
|
|
13
|
+
|
|
14
|
+
- Added `fileName` property to `FilePickerFileProps` interface.
|
|
15
|
+
|
|
16
|
+
## 1.11.2 - 2024-10-21
|
|
17
|
+
|
|
18
|
+
- Added optional `objectId` property to the `ICPersona` interface.
|
|
19
|
+
|
|
12
20
|
## 1.11.1 - 2024-10-17
|
|
13
21
|
|
|
14
22
|
- Made `buddy` property of type `WidgetBuddyContext` optional.
|
package/lib/types/index.d.ts
CHANGED
|
@@ -610,6 +610,7 @@ export interface ICPersona {
|
|
|
610
610
|
displayName: string;
|
|
611
611
|
id: string;
|
|
612
612
|
type?: ICPersonaType;
|
|
613
|
+
objectId?: string;
|
|
613
614
|
}
|
|
614
615
|
/**
|
|
615
616
|
* Tells the severity of the command bar item, resulting in
|
|
@@ -840,15 +841,19 @@ export interface FilePickerOptions {
|
|
|
840
841
|
}
|
|
841
842
|
export interface FilePickerFileProps {
|
|
842
843
|
/**
|
|
843
|
-
*
|
|
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.
|
|
844
849
|
*/
|
|
845
850
|
uniqueId: string;
|
|
846
851
|
/**
|
|
847
|
-
* Unique identifier of the list in SharePoint, in the
|
|
852
|
+
* Unique identifier of the list in SharePoint, in the form of a Guid.
|
|
848
853
|
*/
|
|
849
854
|
listId: string;
|
|
850
855
|
/**
|
|
851
|
-
* Unique identifier of the site in SharePoint, in the
|
|
856
|
+
* Unique identifier of the site in SharePoint, in the form of a Guid.
|
|
852
857
|
*/
|
|
853
858
|
siteId: string;
|
|
854
859
|
}
|
package/package.json
CHANGED