@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
17 lines (15 loc) • 416 B
text/typescript
/**
*
* A cache info object which notifies Teams how long an object should be cached for.
*/
type CacheInfo = {
/**
* @member {string} [cacheType] The type of cache for this object.
*/
cacheType?: string;
/**
* @member {number} [cacheDuration] The time in seconds for which the cached object should remain in the cache
*/
cacheDuration?: number;
};
export type { CacheInfo };