@microsoft/teams.api
Version:
<p> <a href="https://www.npmjs.com/package/@microsoft/teams.api" target="_blank"> <img src="https://img.shields.io/npm/v/@microsoft/teams.api/latest" /> </a> <a href="https://www.npmjs.com/package/@microsoft/teams.api?activeTab=code" t
25 lines (22 loc) • 591 B
text/typescript
import { TabContext } from './tab-context.mjs';
import { TabEntityContext } from './tab-entity-context.mjs';
/**
*
* Invoke ('tab/fetch') request value payload.
*
*/
type TabRequest = {
/**
* @member {TabEntityContext} [tabContext] The current tab entity request context.
*/
tabContext?: TabEntityContext;
/**
* @member {TabContext} [context] The current user context, i.e., the current theme.
*/
context?: TabContext;
/**
* @member {string} [state] The magic code for OAuth flow.
*/
state?: string;
};
export type { TabRequest };