Your music, beautifully tracked. All yours. (coming soon) teal.fm
teal-fm atproto

normalise imports to use @

+18 -22
+3 -7
apps/amethyst/app/(tabs)/index.tsx
··· 1 import * as React from "react"; 2 import { View } from "react-native"; 3 - import { 4 - Avatar, 5 - AvatarFallback, 6 - AvatarImage, 7 - } from "../../components/ui/avatar"; 8 import { 9 Card, 10 CardContent, 11 CardHeader, 12 CardTitle, 13 } from "../../components/ui/card"; 14 - import { Text } from "../../components/ui/text"; 15 - import { useStore } from "../../stores/mainStore"; 16 import AuthOptions from "../auth/options"; 17 18 import { Response } from "@atproto/api/src/client/types/app/bsky/actor/getProfile";
··· 1 import * as React from "react"; 2 import { View } from "react-native"; 3 + import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; 4 import { 5 Card, 6 CardContent, 7 CardHeader, 8 CardTitle, 9 } from "../../components/ui/card"; 10 + import { Text } from "@/components/ui/text"; 11 + import { useStore } from "@/stores/mainStore"; 12 import AuthOptions from "../auth/options"; 13 14 import { Response } from "@atproto/api/src/client/types/app/bsky/actor/getProfile";
+3 -3
apps/amethyst/app/auth/callback.tsx
··· 1 import { Link, Stack, router } from "expo-router"; 2 import { View } from "react-native"; 3 - import { Text } from "../../components/ui/text"; 4 import React, { useEffect } from "react"; 5 - import { Icon } from "../../lib/icons/iconWithClassName"; 6 import { PencilLine } from "lucide-react-native"; 7 import { useLocalSearchParams } from "expo-router/build/hooks"; 8 - import { useStore } from "../../stores/mainStore"; 9 10 interface CallbackSearchParams { 11 iss: string;
··· 1 import { Link, Stack, router } from "expo-router"; 2 import { View } from "react-native"; 3 + import { Text } from "@/components/ui/text"; 4 import React, { useEffect } from "react"; 5 + import { Icon } from "@/lib/icons/iconWithClassName"; 6 import { PencilLine } from "lucide-react-native"; 7 import { useLocalSearchParams } from "expo-router/build/hooks"; 8 + import { useStore } from "@/stores/mainStore"; 9 10 interface CallbackSearchParams { 11 iss: string;
+6 -6
apps/amethyst/app/auth/login.tsx
··· 3 import React, { useState } from "react"; 4 import { Platform, View } from "react-native"; 5 import { SafeAreaView } from "react-native-safe-area-context"; 6 - import { Button } from "../components/ui/button"; 7 - import { Input } from "../components/ui/input"; 8 - import { Text } from "../components/ui/text"; 9 - import { Icon } from "../lib/icons/iconWithClassName"; 10 - import { cn } from "../lib/utils"; 11 12 import { openAuthSessionAsync } from "expo-web-browser"; 13 - import { useStore } from "../stores/mainStore"; 14 15 const LoginScreen = () => { 16 const [handle, setHandle] = useState("");
··· 3 import React, { useState } from "react"; 4 import { Platform, View } from "react-native"; 5 import { SafeAreaView } from "react-native-safe-area-context"; 6 + import { Button } from "@/components/ui/button"; 7 + import { Input } from "@/components/ui/input"; 8 + import { Text } from "@/components/ui/text"; 9 + import { Icon } from "@/lib/icons/iconWithClassName"; 10 + import { cn } from "@/lib/utils"; 11 12 import { openAuthSessionAsync } from "expo-web-browser"; 13 + import { useStore } from "@/stores/mainStore"; 14 15 const LoginScreen = () => { 16 const [handle, setHandle] = useState("");
+1 -1
apps/amethyst/app/auth/logoutModal.tsx
··· 1 import { StatusBar } from "expo-status-bar"; 2 - import { Platform, StyleSheet, TouchableOpacity } from "react-native"; 3 4 import { View } from "react-native"; 5 import { Text } from "../../components/ui/text";
··· 1 import { StatusBar } from "expo-status-bar"; 2 + import { Platform, TouchableOpacity } from "react-native"; 3 4 import { View } from "react-native"; 5 import { Text } from "../../components/ui/text";
+2 -2
apps/amethyst/app/auth/options.tsx
··· 1 import { Link, Stack, router } from "expo-router"; 2 import { View } from "react-native"; 3 - import { Text } from "../../components/ui/text"; 4 - import { Button } from "../../components/ui/button"; 5 import React from "react"; 6 7 export default function AuthOptions() {
··· 1 import { Link, Stack, router } from "expo-router"; 2 import { View } from "react-native"; 3 + import { Text } from "@/components/ui/text"; 4 + import { Button } from "@/components/ui/button"; 5 import React from "react"; 6 7 export default function AuthOptions() {
+3 -3
apps/amethyst/app/auth/signup.tsx
··· 1 import React from "react"; 2 import { View } from "react-native"; 3 import { SafeAreaView } from "react-native-safe-area-context"; 4 - import { Text } from "../../components/ui/text"; 5 - import { Button } from "../../components/ui/button"; 6 - import { Icon } from "../../lib/icons/iconWithClassName"; 7 import { ArrowRight } from "lucide-react-native"; 8 9 import { Link, Stack, router } from "expo-router";
··· 1 import React from "react"; 2 import { View } from "react-native"; 3 import { SafeAreaView } from "react-native-safe-area-context"; 4 + import { Text } from "@/components/ui/text"; 5 + import { Button } from "@/components/ui/button"; 6 + import { Icon } from "@/lib/icons/iconWithClassName"; 7 import { ArrowRight } from "lucide-react-native"; 8 9 import { Link, Stack, router } from "expo-router";