Clear up index
This commit is contained in:
parent
439de6a264
commit
0ab6984cdf
11 changed files with 44 additions and 66 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import type { VersionEvent } from "../lib/types";
|
||||
import type { VersionEvent } from "../lib/view-types";
|
||||
import {
|
||||
absoluteTime,
|
||||
formatBytes
|
||||
|
|
|
|||
|
|
@ -9,12 +9,9 @@
|
|||
formatBytes,
|
||||
type View
|
||||
} from "../lib/stores.svelte";
|
||||
import type {
|
||||
DocumentVersionWithoutContent,
|
||||
VaultHistoryResponse,
|
||||
VersionEvent,
|
||||
TreeNode
|
||||
} from "../lib/types";
|
||||
import type { DocumentVersionWithoutContent } from "../lib/types/DocumentVersionWithoutContent";
|
||||
import type { VaultHistoryResponse } from "../lib/types/VaultHistoryResponse";
|
||||
import type { VersionEvent, TreeNode } from "../lib/view-types";
|
||||
import FileTree from "./FileTree.svelte";
|
||||
import ActivityFeed from "./ActivityFeed.svelte";
|
||||
import DocumentDetail from "./DocumentDetail.svelte";
|
||||
|
|
|
|||
|
|
@ -10,11 +10,9 @@
|
|||
isImageFile,
|
||||
fileExtension
|
||||
} from "../lib/stores.svelte";
|
||||
import type {
|
||||
DocumentVersionWithoutContent,
|
||||
DocumentVersion,
|
||||
ActionType
|
||||
} from "../lib/types";
|
||||
import type { DocumentVersionWithoutContent } from "../lib/types/DocumentVersionWithoutContent";
|
||||
import type { DocumentVersion } from "../lib/types/DocumentVersion";
|
||||
import type { ActionType } from "../lib/view-types";
|
||||
import DiffView from "./DiffView.svelte";
|
||||
import ConfirmDialog from "./ConfirmDialog.svelte";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import type { TreeNode } from "../lib/types";
|
||||
import type { TreeNode } from "../lib/view-types";
|
||||
import FileTree from "./FileTree.svelte";
|
||||
|
||||
interface Props {
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
<script lang="ts">
|
||||
import type { DocumentVersionWithoutContent } from "../lib/types";
|
||||
import type { DocumentVersionWithoutContent } from "../lib/types/DocumentVersionWithoutContent";
|
||||
import { relativeTime, absoluteTime } from "../lib/stores.svelte";
|
||||
|
||||
interface Props {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { auth } from "../lib/stores.svelte";
|
||||
import { relativeTime } from "../lib/stores.svelte";
|
||||
import type { VaultInfo } from "../lib/types";
|
||||
import type { VaultInfo } from "../lib/types/VaultInfo";
|
||||
|
||||
function select(vault: VaultInfo) {
|
||||
auth.selectVault(vault.name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue