Upgrade Asset Manager and Inbox; load Resend templates in Broadcast; v2.5.0
Publish Container / build (push) Successful in 16m39s
Publish Container / build (push) Successful in 16m39s
- Asset Manager: search/filter/sort, list+grid views, rename, move between R2 folders, tag chips, bulk actions, used-in counts; fix R2 delete lookup - Inbox: readable wrapped rows with subject/preview, real read state, type filters, bulk actions, mojibake repair - Broadcast: pick a Resend template to fill subject and body Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
4931bfab4d
commit
e74bd1df5d
10 files changed
+1247
-417
No files matched your search
+5
-1
@@ -1009,6 +1009,8 @@ export async function listUploadedAssets() {
|
||||
: Array.isArray(entry?.tags) ? entry.tags.filter(t => typeof t === 'string') : []
|
||||
return {
|
||||
filename,
|
||||
key: obj.Key,
|
||||
storage: 'r2',
|
||||
url: `${R2_PUBLIC_URL}/${obj.Key}`,
|
||||
folder,
|
||||
sizeBytes: obj.Size ?? 0,
|
||||
@@ -1036,8 +1038,10 @@ export async function listUploadedAssets() {
|
||||
: Array.isArray(entry?.tags) ? entry.tags.filter(t => typeof t === 'string') : []
|
||||
return {
|
||||
filename,
|
||||
key: filename,
|
||||
storage: 'local',
|
||||
url: `/uploads/${filename}`,
|
||||
folder: 'uploads',
|
||||
folder: 'local',
|
||||
sizeBytes: info.size,
|
||||
updatedAt: info.mtime.toISOString(),
|
||||
tags,
|
||||
|
||||
Reference in new issue
Block a user