This commit is contained in:
Manav Rathi
2024-09-09 16:42:47 +05:30
parent 2bd45883ce
commit e5939e3ca5
3 changed files with 5 additions and 7 deletions

View File

@@ -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 {

View File

@@ -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 minutes

View File

@@ -1,4 +1,7 @@
import { PLAN_PERIOD } from "constants/gallery";
export enum PLAN_PERIOD {
MONTH = "month",
YEAR = "year",
}
export interface Subscription {
id: number;