mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-06 00:27:24 +00:00
Add banner photo upload to App dialog
This commit is contained in:
2 files changed
+73
No files matched your search
@@ -9,6 +9,7 @@ export interface AppEventInput {
|
||||
name: string;
|
||||
about?: string;
|
||||
picture?: string;
|
||||
banner?: string;
|
||||
website?: string;
|
||||
dTag: string;
|
||||
supportedKinds?: string[];
|
||||
@@ -41,6 +42,7 @@ export async function buildAppEvent(
|
||||
if (input.name.trim()) content.name = input.name.trim();
|
||||
if (input.about?.trim()) content.about = input.about.trim();
|
||||
if (input.picture?.trim()) content.picture = input.picture.trim();
|
||||
if (input.banner?.trim()) content.banner = input.banner.trim();
|
||||
if (input.website?.trim()) content.website = input.website.trim();
|
||||
|
||||
// Build tags
|
||||
|
||||
Reference in new issue
Block a user