Change design of edit media modal in web UI (#33516)

This commit is contained in:
Eugen Rochko authored and GitHub committed 2025-01-21 11:34:22 +00:00
1 parent 4ebdfed8ea
commit 11786f1114
42 files changed
+919 -900

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
import { apiRequestPut } from 'mastodon/api';
import type { ApiMediaAttachmentJSON } from 'mastodon/api_types/media_attachments';
export const apiUpdateMedia = (
id: string,
params?: { description?: string; focus?: string },
) => apiRequestPut<ApiMediaAttachmentJSON>(`v1/media/${id}`, params);