mirror of
https://github.com/kmc7468/arkvault.git
synced 2026-08-05 08:05:49 +09:00
패키지 버전 업데이트
This commit is contained in:
@@ -153,7 +153,7 @@ export const uploadBlob = async (
|
||||
try {
|
||||
await uploadEncryptedChunk(uploadId, item.index, item.data, onChunkProgress);
|
||||
} finally {
|
||||
// @ts-ignore
|
||||
// @ts-expect-error
|
||||
item.data = null;
|
||||
}
|
||||
});
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Kysely, PostgresDialect, Migrator } from "kysely";
|
||||
import { Kysely, PostgresDialect } from "kysely";
|
||||
import { Migrator } from "kysely/migration";
|
||||
import pg from "pg";
|
||||
import env from "$lib/server/loadenv";
|
||||
import migrations from "./migrations";
|
||||
|
||||
@@ -14,11 +14,7 @@ export interface ClientSession extends Session {
|
||||
}
|
||||
|
||||
export type SessionPermission =
|
||||
| "any"
|
||||
| "notClient"
|
||||
| "anyClient"
|
||||
| "pendingClient"
|
||||
| "activeClient";
|
||||
"any" | "notClient" | "anyClient" | "pendingClient" | "activeClient";
|
||||
|
||||
export class AuthenticationError extends Error {
|
||||
constructor(
|
||||
|
||||
@@ -8,12 +8,7 @@ import { HybridPromise, Scheduler } from "$lib/utils";
|
||||
import type { RouterOutputs } from "$trpc/router.server";
|
||||
|
||||
export type GenerationStatus =
|
||||
| "queued"
|
||||
| "generation-pending"
|
||||
| "generating"
|
||||
| "uploading"
|
||||
| "uploaded"
|
||||
| "error";
|
||||
"queued" | "generation-pending" | "generating" | "uploading" | "uploaded" | "error";
|
||||
|
||||
const scheduler = new Scheduler();
|
||||
const statuses = new SvelteMap<number, GenerationStatus>();
|
||||
|
||||
@@ -33,22 +33,18 @@ export const requestFavoriteEntries = async (
|
||||
]);
|
||||
return [
|
||||
...sortEntries(
|
||||
directories.map(
|
||||
(directory): FavoriteEntry => ({
|
||||
type: "directory",
|
||||
name: directory.name!,
|
||||
details: directory as LocalDirectoryInfo,
|
||||
}),
|
||||
),
|
||||
directories.map((directory): FavoriteEntry => ({
|
||||
type: "directory",
|
||||
name: directory.name!,
|
||||
details: directory as LocalDirectoryInfo,
|
||||
})),
|
||||
),
|
||||
...sortEntries(
|
||||
files.map(
|
||||
(file): FavoriteEntry => ({
|
||||
type: "file",
|
||||
name: file.name!,
|
||||
details: file as SummarizedFileInfo,
|
||||
}),
|
||||
),
|
||||
files.map((file): FavoriteEntry => ({
|
||||
type: "file",
|
||||
name: file.name!,
|
||||
details: file as SummarizedFileInfo,
|
||||
})),
|
||||
),
|
||||
];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user