@ichicraft/widgets-widget-base 1.13.0 → 1.13.2
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 +6 -0
- package/lib/types/index.d.ts +15 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -9,6 +9,12 @@ 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.13.2 - 2025-04-11
|
|
13
|
+
- Minor update in documentation of `WebApiPermissionRequest` interface
|
|
14
|
+
|
|
15
|
+
## 1.13.1 - 2025-03-11
|
|
16
|
+
- Added new interface `ICSite`, used to represent a SharePoint site object in code
|
|
17
|
+
|
|
12
18
|
## 1.13.0 - 2025-02-17
|
|
13
19
|
- Fixed an issue with detecting external users in `UserHelper`
|
|
14
20
|
- Changed target JavaScript version to `ES6`
|
package/lib/types/index.d.ts
CHANGED
|
@@ -457,11 +457,16 @@ export interface WidgetResource {
|
|
|
457
457
|
}
|
|
458
458
|
export interface WebApiPermissionRequest {
|
|
459
459
|
/**
|
|
460
|
-
* Specifies the name of the
|
|
460
|
+
* Specifies the name of the API to which access has to be granted.
|
|
461
|
+
* This can be something like "Microsoft Graph" or "Power BI Service" and is the same
|
|
462
|
+
* as what's used in the package-solution file in an SPPKG package.
|
|
461
463
|
*/
|
|
462
464
|
resource: string;
|
|
463
465
|
/**
|
|
464
|
-
* Specifies the name of
|
|
466
|
+
* Specifies the name of one scope claim that the resource application
|
|
467
|
+
* should expect in the OAuth 2.0 access token.
|
|
468
|
+
* This can be something like "User.Read.All" (for Graph) or "Report.Read.All" (for Power BI) and is the same
|
|
469
|
+
* as what's used in the package-solution file in an SPPKG package.
|
|
465
470
|
*/
|
|
466
471
|
scope: string;
|
|
467
472
|
}
|
|
@@ -649,6 +654,14 @@ export interface ICPersona {
|
|
|
649
654
|
type?: ICPersonaType;
|
|
650
655
|
objectId?: string;
|
|
651
656
|
}
|
|
657
|
+
/**
|
|
658
|
+
* A type that represents a SharePoint site
|
|
659
|
+
*/
|
|
660
|
+
export interface ICSite {
|
|
661
|
+
id: string;
|
|
662
|
+
displayName?: string;
|
|
663
|
+
url?: string;
|
|
664
|
+
}
|
|
652
665
|
/**
|
|
653
666
|
* Tells the severity of the command bar item, resulting in
|
|
654
667
|
* distinguishable presentation of the item
|
package/package.json
CHANGED