mirror of
https://github.com/neocities/neocities.git
synced 2025-04-30 03:58:00 +02:00
26 lines
717 B
JavaScript
26 lines
717 B
JavaScript
import { Mimes } from '../common/mime.js';
|
|
// Common data transfers
|
|
export const DataTransfers = {
|
|
/**
|
|
* Application specific resource transfer type
|
|
*/
|
|
RESOURCES: 'ResourceURLs',
|
|
/**
|
|
* Browser specific transfer type to download
|
|
*/
|
|
DOWNLOAD_URL: 'DownloadURL',
|
|
/**
|
|
* Browser specific transfer type for files
|
|
*/
|
|
FILES: 'Files',
|
|
/**
|
|
* Typically transfer type for copy/paste transfers.
|
|
*/
|
|
TEXT: Mimes.text,
|
|
/**
|
|
* Internal type used to pass around text/uri-list data.
|
|
*
|
|
* This is needed to work around https://bugs.chromium.org/p/chromium/issues/detail?id=239745.
|
|
*/
|
|
INTERNAL_URI_LIST: 'application/vnd.code.uri-list',
|
|
};
|