mirror of
https://github.com/aykhans/slash-e.git
synced 2025-07-02 04:01:35 +00:00
chore: fix frontend build
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
import type { Shortcut } from "../../types/proto/api/v2/shortcut_service_pb";
|
||||
import type { Shortcut } from "@pbtypes/proto/api/v2/shortcut_service_pb";
|
||||
import { Storage } from "@plasmohq/storage";
|
||||
|
||||
const storage = new Storage();
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Button, IconButton, Input, Modal, ModalDialog } from "@mui/joy";
|
||||
import { CreateShortcutResponse, OpenGraphMetadata, Visibility } from "@pbtypes/proto/api/v2/shortcut_service_pb";
|
||||
import { useStorage } from "@plasmohq/storage/hook";
|
||||
import axios from "axios";
|
||||
import { useEffect, useState } from "react";
|
||||
import { toast } from "react-hot-toast";
|
||||
import { CreateShortcutResponse, OpenGraphMetadata, Visibility } from "../../../types/proto/api/v2/shortcut_service_pb";
|
||||
import Icon from "./Icon";
|
||||
|
||||
const generateTempName = (length = 6) => {
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { IconButton } from "@mui/joy";
|
||||
import { ListShortcutsResponse } from "@pbtypes/proto/api/v2/shortcut_service_pb";
|
||||
import { useStorage } from "@plasmohq/storage/hook";
|
||||
import axios from "axios";
|
||||
import { useEffect } from "react";
|
||||
import { toast } from "react-hot-toast";
|
||||
import { ListShortcutsResponse } from "../../../types/proto/api/v2/shortcut_service_pb";
|
||||
import Icon from "./Icon";
|
||||
|
||||
const PullShortcutsButton = () => {
|
||||
|
@ -1,4 +1,4 @@
|
||||
import type { Shortcut } from "../../../types/proto/api/v2/shortcut_service_pb";
|
||||
import type { Shortcut } from "@pbtypes/proto/api/v2/shortcut_service_pb";
|
||||
import { useStorage } from "@plasmohq/storage/hook";
|
||||
import classNames from "classnames";
|
||||
import { useEffect, useState } from "react";
|
||||
|
@ -1,4 +1,4 @@
|
||||
import type { Shortcut } from "../../../types/proto/api/v2/shortcut_service_pb";
|
||||
import type { Shortcut } from "@pbtypes/proto/api/v2/shortcut_service_pb";
|
||||
import { useStorage } from "@plasmohq/storage/hook";
|
||||
import classNames from "classnames";
|
||||
import ShortcutView from "./ShortcutView";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import type { Shortcut } from "../../types/proto/api/v2/shortcut_service_pb";
|
||||
import { Button, Divider, Input } from "@mui/joy";
|
||||
import type { Shortcut } from "@pbtypes/proto/api/v2/shortcut_service_pb";
|
||||
import { useStorage } from "@plasmohq/storage/hook";
|
||||
import { useEffect, useState } from "react";
|
||||
import { Toaster, toast } from "react-hot-toast";
|
||||
|
@ -1,5 +1,5 @@
|
||||
import type { Shortcut } from "../../types/proto/api/v2/shortcut_service_pb";
|
||||
import { Button, Divider, IconButton } from "@mui/joy";
|
||||
import type { Shortcut } from "@pbtypes/proto/api/v2/shortcut_service_pb";
|
||||
import { useStorage } from "@plasmohq/storage/hook";
|
||||
import { Toaster } from "react-hot-toast";
|
||||
import CreateShortcutsButton from "@/components/CreateShortcutsButton";
|
||||
|
@ -6,12 +6,16 @@
|
||||
"include": [
|
||||
".plasmo/index.d.ts",
|
||||
"./**/*.ts",
|
||||
"./**/*.tsx"
|
||||
"./**/*.tsx",
|
||||
"../types"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"@pbtypes/*": [
|
||||
"../types/*"
|
||||
]
|
||||
},
|
||||
"baseUrl": "."
|
||||
|
@ -1,9 +1,9 @@
|
||||
import { Button, IconButton } from "@mui/joy";
|
||||
import { ListUserAccessTokensResponse, UserAccessToken } from "@pbtypes/proto/api/v2/user_service_pb";
|
||||
import axios from "axios";
|
||||
import copy from "copy-to-clipboard";
|
||||
import { useEffect, useState } from "react";
|
||||
import { toast } from "react-hot-toast";
|
||||
import { ListUserAccessTokensResponse, UserAccessToken } from "../../../../types/proto/api/v2/user_service_pb";
|
||||
import useUserStore from "../../stores/v1/user";
|
||||
import { showCommonDialog } from "../Alert";
|
||||
import CreateAccessTokenDialog from "../CreateAccessTokenDialog";
|
||||
|
@ -14,7 +14,16 @@
|
||||
"resolveJsonModule": true,
|
||||
"isolatedModules": true,
|
||||
"noEmit": true,
|
||||
"jsx": "react-jsx"
|
||||
"jsx": "react-jsx",
|
||||
"paths": {
|
||||
"@/*": [
|
||||
"./src/*"
|
||||
],
|
||||
"@pbtypes/*": [
|
||||
"../types/*"
|
||||
]
|
||||
},
|
||||
"baseUrl": "."
|
||||
},
|
||||
"include": ["./src"]
|
||||
"include": ["./src", "../types"]
|
||||
}
|
||||
|
Reference in New Issue
Block a user