mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
fix: moved icons and created PlatformClient so we can use the enum on the frontend
This commit is contained in:
13
composables/types.d.ts
vendored
13
composables/types.d.ts
vendored
@@ -1,13 +0,0 @@
|
||||
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>,
|
||||
}
|
||||
18
composables/types.ts
Normal file
18
composables/types.ts
Normal 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",
|
||||
}
|
||||
Reference in New Issue
Block a user