* use import_map.json instead of per-file import * remove test_deps.ts in favor of import_map * remove common/deps.ts in favor of import_map * use import_map instead of server/deps.ts * make all plug-api files usable without an import_map * make all lib files usable without an import_map * remove web/deps.ts in favor of import_map * fix plug build * remove plug-api/deps.ts in favor of lib/deps.ts * fix server deps bundled in client deps
36 lines
575 B
TypeScript
36 lines
575 B
TypeScript
// Used by FilterBox
|
|
export type FilterOption = {
|
|
name: string;
|
|
description?: string;
|
|
orderId?: number;
|
|
hint?: string;
|
|
} & Record<string, any>;
|
|
|
|
export type Notification = {
|
|
id: number;
|
|
message: string;
|
|
type: "info" | "error";
|
|
date: Date;
|
|
};
|
|
|
|
export type PanelMode = number;
|
|
|
|
export type Shortcut = {
|
|
key?: string;
|
|
mac?: string;
|
|
priority?: number;
|
|
command: string;
|
|
};
|
|
|
|
export type ActionButton = {
|
|
icon: string;
|
|
description?: string;
|
|
command: string;
|
|
args?: any[];
|
|
mobile?: boolean;
|
|
};
|
|
|
|
export type EmojiConfig = {
|
|
aliases: string[][];
|
|
};
|