From 596c13a861c015cd21216b4d73fa1167a4afa7b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Boris=20P=C3=B6hland?= Date: Sun, 25 Aug 2024 21:49:34 +0200 Subject: [PATCH] add creatorProfile --- src/email/event-email.tsx | 2 +- src/types/event.ts | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/email/event-email.tsx b/src/email/event-email.tsx index 76f6fd2..1ae3fe9 100644 --- a/src/email/event-email.tsx +++ b/src/email/event-email.tsx @@ -36,7 +36,7 @@ const translations = { meta: 'Your {eventName} Ticket is Here – Claim Now!', title: 'Dear {name},', description: - 'We’re excited to have you join us at the {eventName}! Please click the button below to claim your ticket and secure your spot:', + "We're excited to have you join us at the {eventName}! Please click the button below to claim your ticket and secure your spot:", action: 'Claim your ticket', info: 'For more information and updates, visit our website. If you have any questions, feel free to reach out to us via email.', maps: 'Open in Google Maps', diff --git a/src/types/event.ts b/src/types/event.ts index fdf2e79..ad899de 100644 --- a/src/types/event.ts +++ b/src/types/event.ts @@ -1,3 +1,6 @@ +import { CreatorInfo } from './collection' +import { CreatorProfile } from './user' + export interface IEventDoc { dataType: 'event-profile' descriptionUrl: string @@ -39,6 +42,15 @@ export interface IEventDoc { tags: string[] alternativeTitle?: string } + creatorProfile: { + name: string + contractAddress: string + address: string + profile: string + banner: string + description: string + creatorTag: string + } } export interface ITicketDoc {