From f118a9d2f2d35d3b50d9c8f1f2ffdcc763b899fb Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Sat, 21 Sep 2024 16:43:27 +0530 Subject: [PATCH] Rename to mirror sender --- web/apps/cast/src/pages/index.tsx | 2 +- web/apps/cast/src/pages/slideshow.tsx | 2 +- .../src/services/{chromecast.ts => chromecast-receiver.ts} | 0 web/apps/cast/src/services/render.ts | 2 +- web/yarn.lock | 4 ++-- 5 files changed, 5 insertions(+), 5 deletions(-) rename web/apps/cast/src/services/{chromecast.ts => chromecast-receiver.ts} (100%) diff --git a/web/apps/cast/src/pages/index.tsx b/web/apps/cast/src/pages/index.tsx index ad031f863b..2a49e3d43f 100644 --- a/web/apps/cast/src/pages/index.tsx +++ b/web/apps/cast/src/pages/index.tsx @@ -6,7 +6,7 @@ import { useRouter } from "next/router"; import React, { useEffect, useState } from "react"; import { readCastData, storeCastData } from "services/cast-data"; import { getCastData, register } from "services/pair"; -import { advertiseOnChromecast } from "../services/chromecast"; +import { advertiseOnChromecast } from "../services/chromecast-receiver"; export default function Index() { const [publicKeyB64, setPublicKeyB64] = useState(); diff --git a/web/apps/cast/src/pages/slideshow.tsx b/web/apps/cast/src/pages/slideshow.tsx index 7dba6c8fd5..1d206867c4 100644 --- a/web/apps/cast/src/pages/slideshow.tsx +++ b/web/apps/cast/src/pages/slideshow.tsx @@ -5,7 +5,7 @@ import { FilledCircleCheck } from "components/FilledCircleCheck"; import { useRouter } from "next/router"; import React, { useEffect, useState } from "react"; import { readCastData } from "services/cast-data"; -import { isChromecast } from "services/chromecast"; +import { isChromecast } from "services/chromecast-receiver"; import { imageURLGenerator } from "services/render"; export default function Slideshow() { diff --git a/web/apps/cast/src/services/chromecast.ts b/web/apps/cast/src/services/chromecast-receiver.ts similarity index 100% rename from web/apps/cast/src/services/chromecast.ts rename to web/apps/cast/src/services/chromecast-receiver.ts diff --git a/web/apps/cast/src/services/render.ts b/web/apps/cast/src/services/render.ts index b19e41bfe1..21c9925a03 100644 --- a/web/apps/cast/src/services/render.ts +++ b/web/apps/cast/src/services/render.ts @@ -28,7 +28,7 @@ import HTTPService from "@ente/shared/network/HTTPService"; import type { AxiosResponse } from "axios"; import type { CastData } from "services/cast-data"; import { detectMediaMIMEType } from "services/detect-type"; -import { isChromecast } from "./chromecast"; +import { isChromecast } from "./chromecast-receiver"; /** * An async generator function that loops through all the files in the diff --git a/web/yarn.lock b/web/yarn.lock index 1c768dfc9f..4c1941f89d 100644 --- a/web/yarn.lock +++ b/web/yarn.lock @@ -210,7 +210,7 @@ source-map "^0.5.7" stylis "4.2.0" -"@emotion/cache@^11.11.0", "@emotion/cache@^11.13.0", "@emotion/cache@^11.4.0": +"@emotion/cache@11.13.1", "@emotion/cache@^11.11.0", "@emotion/cache@^11.13.0", "@emotion/cache@^11.4.0": version "11.13.1" resolved "https://registry.yarnpkg.com/@emotion/cache/-/cache-11.13.1.tgz#fecfc54d51810beebf05bf2a161271a1a91895d7" integrity sha512-iqouYkuEblRcXmylXIwwOodiEK5Ifl7JcX7o6V4jI3iW4mLXX3dmt5xwBtIkJiQEXFAI+pC8X0i67yiPkH9Ucw== @@ -238,7 +238,7 @@ resolved "https://registry.yarnpkg.com/@emotion/memoize/-/memoize-0.9.0.tgz#745969d649977776b43fc7648c556aaa462b4102" integrity sha512-30FAj7/EoJ5mwVPOWhAyCX+FPfMDrVecJAM+Iw9NRoSl4BBAQeqj4cApHHUXOVvIPgLVDsCFoz/hGD+5QQD1GQ== -"@emotion/react@11.13.3", "@emotion/react@^11.8.1": +"@emotion/react@11.13.3", "@emotion/react@^11.13.3", "@emotion/react@^11.8.1": version "11.13.3" resolved "https://registry.yarnpkg.com/@emotion/react/-/react-11.13.3.tgz#a69d0de2a23f5b48e0acf210416638010e4bd2e4" integrity sha512-lIsdU6JNrmYfJ5EbUCf4xW1ovy5wKQ2CkPRM4xogziOxH1nXxBSjpC9YqbFAP7circxMfYp+6x676BqWcEiixg==