chore(web): change license wording and other things (#11309)

This commit is contained in:
Alex
2024-07-26 10:34:35 -05:00
committed by GitHub
parent bc20710c6d
commit ef7a6bb246
40 changed files with 1045 additions and 518 deletions

View File

@@ -45,6 +45,10 @@ export interface UserPreferences {
download: {
archiveSize: number;
};
purchase: {
showSupportBadge: boolean;
hideBuyButtonUntil: string;
};
}
export const getDefaultPreferences = (user: { email: string }): UserPreferences => {
@@ -68,6 +72,10 @@ export const getDefaultPreferences = (user: { email: string }): UserPreferences
download: {
archiveSize: HumanReadableSize.GiB * 4,
},
purchase: {
showSupportBadge: true,
hideBuyButtonUntil: new Date(2022, 1, 12).toISOString(),
},
};
};