voideditor--void
24 行
645 B
TypeScript
24 行
645 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
export const Mime = {
|
|
textUriList: 'text/uri-list',
|
|
textPlain: 'text/plain',
|
|
} as const;
|
|
|
|
export const mediaMimes = new Set([
|
|
'image/avif',
|
|
'image/bmp',
|
|
'image/gif',
|
|
'image/jpeg',
|
|
'image/png',
|
|
'image/webp',
|
|
'video/mp4',
|
|
'video/ogg',
|
|
'audio/mpeg',
|
|
'audio/aac',
|
|
'audio/x-wav',
|
|
]);
|