@omnia/fx-models 8.0.143-dev → 8.0.144-dev
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/Enums.d.ts +2 -1
- package/Enums.js +1 -0
- package/identities/UserIdentity.js +1 -1
- package/package.json +1 -1
package/Enums.d.ts
CHANGED
@@ -508,7 +508,8 @@ export declare enum FeatureInstanceStatus {
|
|
508
508
|
Deactivating = 3,
|
509
509
|
Error = 4,
|
510
510
|
AdminConsentActivating = 5,
|
511
|
-
AdminConsentUpgrading = 6
|
511
|
+
AdminConsentUpgrading = 6,
|
512
|
+
AdminConsentWaitingActivation = 7
|
512
513
|
}
|
513
514
|
export declare enum ThemeType {
|
514
515
|
Light = "Light",
|
package/Enums.js
CHANGED
@@ -418,6 +418,7 @@ var FeatureInstanceStatus;
|
|
418
418
|
FeatureInstanceStatus[FeatureInstanceStatus["Error"] = 4] = "Error";
|
419
419
|
FeatureInstanceStatus[FeatureInstanceStatus["AdminConsentActivating"] = 5] = "AdminConsentActivating";
|
420
420
|
FeatureInstanceStatus[FeatureInstanceStatus["AdminConsentUpgrading"] = 6] = "AdminConsentUpgrading";
|
421
|
+
FeatureInstanceStatus[FeatureInstanceStatus["AdminConsentWaitingActivation"] = 7] = "AdminConsentWaitingActivation";
|
421
422
|
})(FeatureInstanceStatus || (exports.FeatureInstanceStatus = FeatureInstanceStatus = {}));
|
422
423
|
var ThemeType;
|
423
424
|
(function (ThemeType) {
|
@@ -45,7 +45,7 @@ class ResolvedUserIdentity extends UserIdentity {
|
|
45
45
|
}, options);
|
46
46
|
}
|
47
47
|
static isAzureAdUser(resolvedUser) {
|
48
|
-
return resolvedUser?.providerId == BuiltInIdentityProvider_1.BuiltInIdentityProviderIds.
|
48
|
+
return resolvedUser?.providerId == BuiltInIdentityProvider_1.BuiltInIdentityProviderIds.defaultAd;
|
49
49
|
}
|
50
50
|
static isOmniaUser(resolvedUser) {
|
51
51
|
return resolvedUser?.providerId == BuiltInIdentityProvider_1.BuiltInIdentityProviderIds.omnia;
|