mirror of
https://github.com/Memo-2023/mana-monorepo.git
synced 2026-05-22 08:26:41 +02:00
feat(shared-uload): add password protection and expiration to ShareModal
Adds collapsible "Erweiterte Optionen" section with: - Password protection toggle with text input - Expiration date toggle with datetime-local picker - Footer badges showing active protection/expiry on created links Both fields are passed through to createShortLink and stored in IndexedDB. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ae73f70ad0
commit
14701a973d
3 changed files with 85 additions and 5 deletions
|
|
@ -88,6 +88,7 @@ export async function createShortLink(options: CreateShortLinkOptions): Promise<
|
|||
order: 0,
|
||||
source: options.source,
|
||||
expiresAt: options.expiresAt || null,
|
||||
password: options.password || null,
|
||||
qrCodeUrl,
|
||||
} as UloadLink);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue