π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Move
Manav Rathi15e7e0ae9d7a
diff --git a/web/apps/accounts/src/types/context.ts b/web/apps/accounts/src/types/context.tsindex 5218ae033f..73617d92f6 100644--- a/web/apps/accounts/src/types/context.ts+++ b/web/apps/accounts/src/types/context.ts@@ -1,4 +1,4 @@-import type { AccountsContextT } from "@/accounts/types/context";+import type { AccountsContextT } from "@/base/context";import { createContext, useContext } from "react";/**diff --git a/web/apps/auth/src/types/context.ts b/web/apps/auth/src/types/context.tsindex e4cb892adf..1072c514f0 100644--- a/web/apps/auth/src/types/context.ts+++ b/web/apps/auth/src/types/context.ts@@ -1,4 +1,4 @@-import type { AccountsContextT } from "@/accounts/types/context";+import type { AccountsContextT } from "@/base/context";import { createContext, useContext } from "react";/**diff --git a/web/packages/accounts/pages/two-factor/recover.tsx b/web/packages/accounts/pages/two-factor/recover.tsxindex 071c713623..61d8421ca3 100644--- a/web/packages/accounts/pages/two-factor/recover.tsx+++ b/web/packages/accounts/pages/two-factor/recover.tsx@@ -9,9 +9,9 @@ import {removeTwoFactor,type TwoFactorType,} from "@/accounts/services/user";-import type { AccountsContextT } from "@/accounts/types/context";import { LinkButton } from "@/base/components/LinkButton";import type { MiniDialogAttributes } from "@/base/components/MiniDialog";+import type { AccountsContextT } from "@/base/context";import { sharedCryptoWorker } from "@/base/crypto";import type { B64EncryptionResult } from "@/base/crypto/libsodium";import log from "@/base/log";diff --git a/web/packages/accounts/types/page.ts b/web/packages/accounts/types/page.tsindex 92a5096562..7f772bd66f 100644--- a/web/packages/accounts/types/page.ts+++ b/web/packages/accounts/types/page.ts@@ -1,4 +1,4 @@-import type { AccountsContextT } from "./context";+import type { AccountsContextT } from "@/base/context";/*** The default type for pages exposed by this package.diff --git a/web/packages/accounts/types/context.ts b/web/packages/base/context.tssimilarity index 100%rename from web/packages/accounts/types/context.tsrename to web/packages/base/context.tsdiff --git a/web/packages/gallery/components/FileInfo.tsx b/web/packages/gallery/components/FileInfo.tsxindex 7bc39b364c..1c1a4aabee 100644--- a/web/packages/gallery/components/FileInfo.tsx+++ b/web/packages/gallery/components/FileInfo.tsx@@ -13,6 +13,7 @@ import { SidebarDrawer } from "@/base/components/mui/SidebarDrawer";import { Titlebar } from "@/base/components/Titlebar";import { EllipsizedTypography } from "@/base/components/Typography";import { useModalVisibility } from "@/base/components/utils/modal";+import type { AccountsContextT } from "@/base/context";import { haveWindow } from "@/base/env";import { nameAndExtension } from "@/base/file-name";import log from "@/base/log";@@ -86,7 +87,6 @@ import React, { useEffect, useMemo, useRef, useState } from "react";import * as Yup from "yup";// Re-uses images from ~leaflet package.-import type { AccountsContextT } from "@/accounts/types/context";import "leaflet-defaulticon-compatibility/dist/leaflet-defaulticon-compatibility.webpack.css";import "leaflet/dist/leaflet.css";// eslint-disable-next-line @typescript-eslint/no-require-importsdiff --git a/web/packages/new/photos/types/context.ts b/web/packages/new/photos/types/context.tsindex 28d6ce7aa5..dd9cab7c0b 100644--- a/web/packages/new/photos/types/context.ts+++ b/web/packages/new/photos/types/context.ts@@ -1,4 +1,4 @@-import type { AccountsContextT } from "@/accounts/types/context";+import type { AccountsContextT } from "@/base/context";import { type NotificationAttributes } from "@/new/photos/components/Notification";import { createContext, useContext } from "react";