UNPKG

@drovp/share

Version:

Upload a file and get a URL to share with others.

15 lines (14 loc) 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const types_1 = require("@drovp/types"); const acceptsFlags = (0, types_1.makeAcceptsFlags)()({ files: true, }); exports.default = (plugin) => { plugin.registerProcessor('share', { main: 'dist/processor.js', description: 'Upload a file and get a URL to share with others.', accepts: acceptsFlags, threadType: 'upload', }); };