@microsoft/teams-manifest
Advanced tools
Comparing version 0.1.6-alpha.4a7c0c761.0 to 0.1.6-alpha.530dccdb5.0
@@ -14,2 +14,3 @@ import { TeamsAppManifest } from "./manifest"; | ||
export type Manifest = TeamsAppManifest | DevPreviewSchema; | ||
export type ManifestProperties = ManifestCommonProperties; | ||
export declare class ManifestUtil { | ||
@@ -16,0 +17,0 @@ /** |
@@ -151,9 +151,2 @@ "use strict"; | ||
} | ||
if (manifest.composeExtensions && | ||
manifest.composeExtensions.length > 0 && | ||
manifest.composeExtensions[0].composeExtensionType == "apiBased" && | ||
((_a = manifest.composeExtensions[0].authorization) === null || _a === void 0 ? void 0 : _a.authType) == | ||
"microsoftEntra") { | ||
capabilities.push("apiMeAAD"); | ||
} | ||
const properties = { | ||
@@ -166,2 +159,3 @@ id: manifest.id, | ||
isSPFx: false, | ||
isApiMeAAD: false, | ||
}; | ||
@@ -180,2 +174,10 @@ // If it's copilot plugin app | ||
} | ||
// If it's API ME with AAD auth | ||
if (manifest.composeExtensions && | ||
manifest.composeExtensions.length > 0 && | ||
manifest.composeExtensions[0].composeExtensionType == "apiBased" && | ||
((_a = manifest.composeExtensions[0].authorization) === null || _a === void 0 ? void 0 : _a.authType) == | ||
"microsoftEntra") { | ||
properties.isApiMeAAD = true; | ||
} | ||
if ((_b = manifest.copilotExtensions) === null || _b === void 0 ? void 0 : _b.plugins) { | ||
@@ -182,0 +184,0 @@ const apiPlugins = (_c = manifest.copilotExtensions) === null || _c === void 0 ? void 0 : _c.plugins; |
@@ -47,3 +47,3 @@ export interface IDeveloper { | ||
*/ | ||
scopes: ("team" | "groupchat")[]; | ||
scopes: ("team" | "groupchat" | "groupChat")[]; | ||
/** | ||
@@ -164,3 +164,3 @@ * The set of contextItem scopes that a tab belong to | ||
} | ||
export type BotOrMeScopes = ("team" | "personal" | "groupchat")[]; | ||
export type BotOrMeScopes = ("team" | "personal" | "groupchat" | "groupChat")[]; | ||
export interface IComposeExtension { | ||
@@ -463,3 +463,3 @@ objectId?: string; | ||
*/ | ||
defaultInstallScope?: "personal" | "team" | "groupchat" | "meetings"; | ||
defaultInstallScope?: "personal" | "team" | "groupchat" | "groupChat" | "meetings"; | ||
/** | ||
@@ -466,0 +466,0 @@ * When a group install scope is selected, this will define the default capability when the user installs the app |
@@ -26,3 +26,7 @@ export interface ManifestCommonProperties { | ||
isSPFx: boolean; | ||
/** | ||
* Whether it's an API ME with AAD auth | ||
*/ | ||
isApiMeAAD: boolean; | ||
} | ||
//# sourceMappingURL=ManifestCommonProperties.d.ts.map |
{ | ||
"name": "@microsoft/teams-manifest", | ||
"version": "0.1.6-alpha.4a7c0c761.0", | ||
"version": "0.1.6-alpha.530dccdb5.0", | ||
"main": "build/index.js", | ||
@@ -65,3 +65,3 @@ "types": "build/index.d.ts", | ||
}, | ||
"gitHead": "22826487f6248282c9b99ba15e407f587d7bc3c5" | ||
"gitHead": "19b444106a10349dd06cfa454b948861702e97e9" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
104248
1964