xonecas.io
4436
Sl

sesame-labs-coding-assignment / files

sesame-labs-coding-assignment / ui / src / types.ts

515 bytes
1export type UserType = {
2  id?: number;
3  walletAddress: string;
4  discordTokenId?: number;
5  verified: boolean;
6  coupon?: string;
7};
8
9export type PageContextType = {
10  user: UserType | null;
11  setUser: Function;
12  quest: {
13    title: string;
14    description: string;
15    guildName: string;
16    coverImage: string;
17  } | null;
18  error?: string;
19  setError: Function;
20};
21
22export type ThemeType = {
23  colors: {
24    background: string;
25    foreground: string;
26    highlight: string;
27    altHighlight: string;
28  };
29};