@microsoft/teams-js 1.10.1-dev.0 → 1.10.1-dev.1
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/dist/MicrosoftTeams.js +1 -1
- package/dist/MicrosoftTeams.js.map +1 -1
- package/dist/MicrosoftTeams.min.js +1 -1
- package/dist/microsoftteams.d.ts +2834 -0
- package/dts/index.d.ts +2 -0
- package/dts/internal/communication.d.ts +23 -0
- package/dts/internal/constants.d.ts +42 -0
- package/dts/internal/globalVars.d.ts +15 -0
- package/dts/internal/handlers.d.ts +10 -0
- package/dts/internal/interfaces.d.ts +44 -0
- package/dts/internal/internalAPIs.d.ts +12 -0
- package/dts/internal/mediaUtil.d.ts +31 -0
- package/dts/internal/utils.d.ts +22 -0
- package/dts/private/appEntity.d.ts +49 -0
- package/dts/private/bot.d.ts +77 -0
- package/dts/private/conversations.d.ts +20 -0
- package/dts/private/files.d.ts +169 -0
- package/dts/private/index.d.ts +10 -0
- package/dts/private/interfaces.d.ts +141 -0
- package/dts/private/logs.d.ts +17 -0
- package/dts/private/meetingRoom.d.ts +157 -0
- package/dts/private/menus.d.ts +117 -0
- package/dts/private/privateAPIs.d.ts +104 -0
- package/dts/private/remoteCamera.d.ts +196 -0
- package/dts/public/appInitialization.d.ts +44 -0
- package/dts/public/appWindow.d.ts +14 -0
- package/dts/public/authentication.d.ts +177 -0
- package/dts/public/constants.d.ts +53 -0
- package/dts/public/index.d.ts +13 -0
- package/dts/public/interfaces.d.ts +557 -0
- package/dts/public/location.d.ts +47 -0
- package/dts/public/media.d.ts +219 -0
- package/dts/public/meeting.d.ts +158 -0
- package/dts/public/navigation.d.ts +28 -0
- package/dts/public/people.d.ts +53 -0
- package/dts/public/publicAPIs.d.ts +117 -0
- package/dts/public/settings.d.ts +95 -0
- package/dts/public/tasks.d.ts +25 -0
- package/package.json +1 -1
- package/dist/MicrosoftTeams.d.ts +0 -5
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { TaskInfo } from './interfaces';
|
|
2
|
+
import { IAppWindow } from './appWindow';
|
|
3
|
+
/**
|
|
4
|
+
* Namespace to interact with the task module-specific part of the SDK.
|
|
5
|
+
* This object is usable only on the content frame.
|
|
6
|
+
*/
|
|
7
|
+
export declare namespace tasks {
|
|
8
|
+
/**
|
|
9
|
+
* Allows an app to open the task module.
|
|
10
|
+
* @param taskInfo An object containing the parameters of the task module
|
|
11
|
+
* @param submitHandler Handler to call when the task module is completed
|
|
12
|
+
*/
|
|
13
|
+
function startTask(taskInfo: TaskInfo, submitHandler?: (err: string, result: string) => void): IAppWindow;
|
|
14
|
+
/**
|
|
15
|
+
* Update height/width task info properties.
|
|
16
|
+
* @param taskInfo An object containing width and height properties
|
|
17
|
+
*/
|
|
18
|
+
function updateTask(taskInfo: TaskInfo): void;
|
|
19
|
+
/**
|
|
20
|
+
* Submit the task module.
|
|
21
|
+
* @param result Contains the result to be sent to the bot or the app. Typically a JSON object or a serialized version of it
|
|
22
|
+
* @param appIds Helps to validate that the call originates from the same appId as the one that invoked the task module
|
|
23
|
+
*/
|
|
24
|
+
function submitTask(result?: string | object, appIds?: string | string[]): void;
|
|
25
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"@microsoft/teams-js","author":"Microsoft Teams","version":"1.10.1-dev.
|
|
1
|
+
{"name":"@microsoft/teams-js","author":"Microsoft Teams","version":"1.10.1-dev.1","description":"Microsoft Client SDK for building app for Microsoft teams","main":"./dist/MicrosoftTeams.min.js","typings":"./dist/MicrosoftTeams.d.ts","repository":{"type":"git","url":"https://github.com/OfficeDev/microsoft-teams-library-js"},"scripts":{"build":"yarn lint && webpack","lint":"eslint ./src/**/*.ts","doctor":"yarn lint --fix","prettier":"prettier --write '**/*.{ts,js,css,html}'","test":"jest"},"license":"MIT","devDependencies":{"@types/jest":"^23.3.5","@typescript-eslint/eslint-plugin":"^1.10.2","@typescript-eslint/parser":"^1.10.2","azure-keyvault":"^3.0.4","del":"2.2.2","deploy-azure-cdn":"^2.1.0","dts-builder":"^1.1.6","dts-bundle":"^0.7.3","eslint":"^5.16.0","eslint-config-prettier":"^4.3.0","eslint-plugin-prettier":"^3.1.0","fs-jetpack":"^2.2.2","jest":"^23.6.0","merge2":"1.0.2","prettier":"^1.18.2","ts-jest":"^23.10.4","ts-loader":"^5.2.1","tslint":"^5.8.0","tslint-eslint-rules":"^4.1.1","typescript":"^2.5.0","webpack":"^4.20.2","webpack-cli":"^3.1.2","yargs":"^8.0.1"},"files":["dist/**","dts/**","README.md","LICENSE"],"jest":{"transform":{".(ts|tsx)":"<rootDir>/node_modules/ts-jest/preprocessor.js"},"testRegex":"(/__tests__/.*|\\.(test|spec))\\.(ts|tsx)$","moduleFileExtensions":["ts","tsx","js"]}}
|