mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-07-24 07:39:41 +02:00
Consolidate frontend types (#1245)
This commit is contained in:
parent
6a88a59981
commit
479900e912
74 changed files with 261 additions and 582 deletions
|
@ -1,8 +1,13 @@
|
|||
import { useAsync, ref, reactive } from "@nuxtjs/composition-api";
|
||||
import { toastLoading, loader } from "./use-toast";
|
||||
import { AllBackups, ImportBackup } from "~/api/class-interfaces/backups";
|
||||
import { AllBackups, BackupOptions } from "~/types/api-types/admin";
|
||||
import { useUserApi } from "~/composables/api";
|
||||
|
||||
interface ImportBackup {
|
||||
name: string;
|
||||
options: BackupOptions;
|
||||
}
|
||||
|
||||
const backups = ref<AllBackups>({
|
||||
imports: [],
|
||||
templates: [],
|
||||
|
@ -41,7 +46,6 @@ export const useBackups = function (fetch = true) {
|
|||
options: {
|
||||
recipes: true,
|
||||
settings: true,
|
||||
pages: true,
|
||||
themes: true,
|
||||
groups: true,
|
||||
users: true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue