mirror of
https://github.com/chenasraf/DefinitelyTyped.git
synced 2026-05-18 01:49:01 +00:00
[microsoftteams] Updated microsoftTeams definitions to v.1.9.0 (#53373)
* Updated microsoftTeams definitions I would like to propose an update to the Microsoft Teams SDK (v.1.9.0) types definitions. Just generated them using the provided d.ts generation script in the MS Teams SDK npm project source https://github.com/OfficeDev/microsoft-teams-library-js * Update microsoftteams-tests.ts * FIxed tslint issues Co-authored-by: Serge ARADJ <saradj@powell-software.com>
This commit is contained in:
2634
types/microsoftteams/index.d.ts
vendored
2634
types/microsoftteams/index.d.ts
vendored
File diff suppressed because it is too large
Load Diff
@@ -7,7 +7,54 @@
|
||||
*/
|
||||
(() => {
|
||||
microsoftTeams.getContext(context => {
|
||||
const { upn, channelId } = context;
|
||||
const {
|
||||
appIconPosition,
|
||||
appSessionId,
|
||||
channelId,
|
||||
channelName,
|
||||
channelRelativeUrl,
|
||||
channelType,
|
||||
chatId,
|
||||
defaultOneNoteSectionId,
|
||||
entityId,
|
||||
frameContext,
|
||||
groupId,
|
||||
hostClientType,
|
||||
hostTeamGroupId,
|
||||
hostTeamTenantId,
|
||||
isCallingAllowed,
|
||||
isFullScreen,
|
||||
isMultiWindow,
|
||||
isPSTNCallingAllowed,
|
||||
isTeamArchived,
|
||||
locale,
|
||||
loginHint,
|
||||
meetingId,
|
||||
osLocaleInfo,
|
||||
parentMessageId,
|
||||
ringId,
|
||||
sessionId,
|
||||
sharepoint,
|
||||
sourceOrigin,
|
||||
subEntityId,
|
||||
teamId,
|
||||
teamName,
|
||||
teamSiteDomain,
|
||||
teamSitePath,
|
||||
teamSiteUrl,
|
||||
teamTemplateId,
|
||||
teamType,
|
||||
tenantSKU,
|
||||
theme,
|
||||
tid,
|
||||
upn,
|
||||
userClickTime,
|
||||
userFileOpenPreference,
|
||||
userLicenseType,
|
||||
userObjectId,
|
||||
userPrincipalName,
|
||||
userTeamRole
|
||||
} = context;
|
||||
context.isFullScreen = true;
|
||||
});
|
||||
|
||||
|
||||
@@ -2,7 +2,8 @@
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
"es6",
|
||||
"dom"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
{
|
||||
"extends": "dtslint/dt.json",
|
||||
"rules": {
|
||||
"max-line-length": false,
|
||||
"no-const-enum": false
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user