added export functionality

This commit is contained in:
daniel31x13
2023-10-16 18:27:04 -04:00
parent f98500ec4e
commit 6259405045
9 changed files with 202 additions and 14 deletions
+10
View File
@@ -86,6 +86,16 @@ export interface Backup extends Omit<User, "password" | "id" | "image"> {
collections: CollectionIncludingLinks[];
}
export type MigrationRequest = {
format: MigrationFormat;
data: string;
};
export enum MigrationFormat {
linkwarden,
htmlFile,
}
export enum Plan {
monthly,
yearly,