Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Irenewang/typedocsupdate #2072

Open
wants to merge 14 commits into
base: main
Choose a base branch
from
Open
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "none",
"comment": "Clarified documentation around action interfaces",
"packageName": "@microsoft/teams-js",
"email": "irenewangms@gmail.com",
"dependentChangeType": "none"
}
13 changes: 7 additions & 6 deletions packages/teams-js/src/public/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export enum FileOpenPreference {
}

/**
* Possible Action Types
* Types of Action Objects
*
* @beta
*/
Expand All @@ -218,8 +218,7 @@ export interface BaseActionObject<T extends ActionObjectType> {
}

/**
* Stores information needed to represent M365 Content stored
* in OneDrive or Sharepoint
* Stores information needed to represent content stored in OneDrive or Sharepoint
*
* @beta
*/
Expand All @@ -234,7 +233,7 @@ export interface M365ContentAction extends BaseActionObject<ActionObjectType.M36
}

/**
* Contains information on what Graph item is being queried
* Contains additional IDs of the content that the action is triggered from. Maps to ids used in the Graph.
*
* @beta
*/
Expand Down Expand Up @@ -262,13 +261,15 @@ export enum SecondaryM365ContentIdName {
}

/**
* Information common to all actions
* Information about an Action.
*
* @remarks
* This contains Id of the action, and the information about the object that triggered the action.
* @beta
*/
export interface ActionInfo {
/**
* Maps to the action id supplied inside the manifest
* Id of the action. Maps to the action id supplied inside the manifest
*/
actionId: string;
/**
Expand Down