diff --git a/src/bookmark.tsx b/src/bookmark.tsx index 9a1d325..fce65f9 100644 --- a/src/bookmark.tsx +++ b/src/bookmark.tsx @@ -1,9 +1,9 @@ import { useEffect, useState } from "react"; import { Action, ActionPanel, List, Toast, showToast, Cache } from "@raycast/api"; -import { BookmarkedStatus, AkkomaError } from "./types"; +import { BookmarkedStatus, AkkomaError } from "./utils/types"; import { NodeHtmlMarkdown } from "node-html-markdown"; -import apiServer from "./api"; -import { authorize } from "./oauth"; +import apiServer from "./utils/api"; +import { authorize } from "./utils/oauth"; const cache = new Cache(); const nhm = new NodeHtmlMarkdown(); diff --git a/src/simple-status.tsx b/src/simple-status.tsx index cf2aaf4..59a4666 100644 --- a/src/simple-status.tsx +++ b/src/simple-status.tsx @@ -12,9 +12,9 @@ import { LaunchProps, LocalStorage, } from "@raycast/api"; -import apiServer from "./api"; -import { AkkomaError, StatusResponse, Preference, Status } from "./types"; -import { authorize } from "./oauth"; +import apiServer from "./utils/api"; +import { AkkomaError, StatusResponse, Preference, Status } from "./utils/types"; +import { authorize } from "./utils/oauth"; import VisibilityDropdown from "./components/VisibilityDropdown"; diff --git a/src/status.tsx b/src/status.tsx index 489dcf3..7242b53 100644 --- a/src/status.tsx +++ b/src/status.tsx @@ -1,5 +1,5 @@ import { Form, LaunchProps } from "@raycast/api"; -import { Status } from "./types"; +import { Status } from "./utils/types"; import { useState } from "react"; import VisibilityDropdown from "./components/VisibilityDropdown"; @@ -10,7 +10,7 @@ export default function DetailCommand(props: LaunchProps<{ draftValues: Partial< return ( <SimpleCommand {...props}> - <Form.FilePicker id="files" value={files} onChange={setFiles} /> + <Form.FilePicker id="files" value={files} onChange={setFiles} title="Attechments"/> {files.length === 1 && <Form.TextArea id="description" title="Alt text" />} <Form.DatePicker id="scheduled_at" title="Scheduled Time" /> <VisibilityDropdown />