@googleforcreators/media
Version:
Functionality for creating and working with media resources in the Web Stories editor.
11 lines • 373 B
TypeScript
/**
* Internal dependencies
*/
import type { Resource } from './resource';
export interface AudioResource extends Pick<Resource, 'type' | 'id' | 'src' | 'mimeType' | 'isExternal' | 'isPlaceholder'> {
/** Length in seconds. */
length: number;
/** The formatted length, e.g. "01:17". */
lengthFormatted: string;
}
//# sourceMappingURL=audioResource.d.ts.map