Skip to content
← Public packages

@kody/dropbox

Reusable Dropbox OAuth helpers for account, metadata, search, file transfer, sharing, and generic API requests.

src/index.ts

20 lines · 672 B · TypeScript
/**
 * Describe the Dropbox package, integration requirements, and export surface.
 * @example
 * import dropbox from 'kody:@kody/dropbox'
 * const overview = await dropbox()
 */
export default async function dropboxOverview() {
	return {
		name: 'Dropbox',
		integration: 'dropbox',
		connectUrl: 'https://kody.codes/connect/oauth?provider=dropbox',
		safety: 'Mutating operations require confirm: true and support dryRun: true.',
		exports: {
			account: ['get-current-account', 'get-space-usage', 'smoke-test'],
			files: ['list-folder', 'get-metadata', 'search', 'download', 'upload', 'delete'],
			sharing: ['create-shared-link'],
			advanced: ['request'],
		},
	}
}