@microsoft/teams-manifest
Advanced tools
Comparing version 0.1.6-alpha.bc7ab6285.0 to 0.1.6-alpha.be6b6c9df.0
export declare const SharePointAppId = "00000003-0000-0ff1-ce00-000000000000"; | ||
//# sourceMappingURL=constants.d.ts.map |
@@ -55,2 +55,1 @@ import { ConversationStarter } from "./pluginManifest"; | ||
} | ||
//# sourceMappingURL=declarativeCopilotManifest.d.ts.map |
@@ -866,2 +866,1 @@ /** | ||
} | ||
//# sourceMappingURL=devPreviewManifest.d.ts.map |
@@ -14,2 +14,3 @@ import { TeamsAppManifest } from "./manifest"; | ||
export type Manifest = TeamsAppManifest | DevPreviewSchema; | ||
export type ManifestProperties = ManifestCommonProperties; | ||
export declare class ManifestUtil { | ||
@@ -67,2 +68,1 @@ /** | ||
} | ||
//# sourceMappingURL=index.d.ts.map |
@@ -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"; | ||
/** | ||
@@ -514,2 +514,1 @@ * When a group install scope is selected, this will define the default capability when the user installs the app | ||
} | ||
//# sourceMappingURL=manifest.d.ts.map |
@@ -26,3 +26,6 @@ export interface ManifestCommonProperties { | ||
isSPFx: boolean; | ||
/** | ||
* Whether it's an API ME with AAD auth | ||
*/ | ||
isApiMeAAD: boolean; | ||
} | ||
//# sourceMappingURL=ManifestCommonProperties.d.ts.map |
@@ -145,2 +145,1 @@ export type Instruction = string | string[]; | ||
} | ||
//# sourceMappingURL=pluginManifest.d.ts.map |
{ | ||
"name": "@microsoft/teams-manifest", | ||
"version": "0.1.6-alpha.bc7ab6285.0", | ||
"version": "0.1.6-alpha.be6b6c9df.0", | ||
"main": "build/index.js", | ||
@@ -46,3 +46,3 @@ "types": "build/index.d.ts", | ||
"prebuild": "npm run generate-manifest", | ||
"build": "rimraf build && npx tsc -p ./", | ||
"build": "tsc -p ./ --incremental", | ||
"test": "npm run test:unit", | ||
@@ -66,3 +66,3 @@ "test:unit": "npx nyc --reporter=lcov mocha --no-timeouts --require ts-node/register test/**/*.test.ts ", | ||
}, | ||
"gitHead": "af5485bbec52d5369665502dfc779bd99b492aba" | ||
"gitHead": "523fe380a23a7339ca7764f9620403b8eafc8f04" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
106826
1964
24