fix: moved icons and created PlatformClient so we can use the enum on the frontend

This commit is contained in:
DecDuck
2024-12-24 11:43:36 +11:00
parent a361c38e82
commit cada630e81
11 changed files with 37 additions and 31 deletions

18
composables/types.ts Normal file
View File

@ -0,0 +1,18 @@
import type { Component } from "vue";
export type NavigationItem = {
prefix: string;
route: string;
label: string;
};
export type QuickActionNav = {
icon: Component;
notifications?: Ref<number>;
action: () => Promise<void>;
};
export enum PlatformClient {
Windows = "Windows",
Linux = "Linux",
}