π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move
Manav Rathie5939e3ca57d
diff --git a/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx b/web/apps/photos/src/components/pages/gallery/PlanSelector.tsxindex 525da89eb7..e1668c4167 100644--- a/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx+++ b/web/apps/photos/src/components/pages/gallery/PlanSelector.tsx@@ -25,7 +25,6 @@ import {} from "@mui/material";import Box from "@mui/material/Box";import Typography from "@mui/material/Typography";-import { PLAN_PERIOD } from "constants/gallery";import { t } from "i18next";import { AppContext } from "pages/_app";import { GalleryContext } from "pages/gallery";@@ -33,7 +32,7 @@ import { useContext, useEffect, useMemo, useState } from "react";import { Trans } from "react-i18next";import billingService, { type PlansResponse } from "services/billingService";import { getFamilyPortalRedirectURL } from "services/userService";-import { Plan, Subscription } from "types/billing";+import { Plan, PLAN_PERIOD, Subscription } from "types/billing";import { SetLoading } from "types/gallery";import { BonusData } from "types/user";import {diff --git a/web/apps/photos/src/constants/gallery.ts b/web/apps/photos/src/constants/gallery.tsindex 9865d2e809..d7047865ff 100644--- a/web/apps/photos/src/constants/gallery.ts+++ b/web/apps/photos/src/constants/gallery.ts@@ -7,9 +7,5 @@ export const MIN_COLUMNS = 4;export const SPACE_BTW_DATES = 44;export const SPACE_BTW_DATES_TO_IMAGE_CONTAINER_WIDTH_RATIO = 0.244;-export enum PLAN_PERIOD {- MONTH = "month",- YEAR = "year",-}export const SYNC_INTERVAL_IN_MICROSECONDS = 1000 * 60 * 5; // 5 minutesdiff --git a/web/apps/photos/src/types/billing/index.ts b/web/apps/photos/src/types/billing/index.tsindex ef203d49fe..3354a174ca 100644--- a/web/apps/photos/src/types/billing/index.ts+++ b/web/apps/photos/src/types/billing/index.ts@@ -1,4 +1,7 @@-import { PLAN_PERIOD } from "constants/gallery";+export enum PLAN_PERIOD {+ MONTH = "month",+ YEAR = "year",+}export interface Subscription {id: number;