aboutsummaryrefslogtreecommitdiff
path: root/src/modules/command-palette/command-palette.types.ts
blob: 325eba2cfa3b04ce32d8224a0fe33f7ea2b0967c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import type { Component } from 'vue';
import type { RouteLocationRaw } from 'vue-router';

export interface PaletteOption {
  name: string
  description?: string
  icon?: Component
  action?: () => void
  to?: RouteLocationRaw
  category: string
  keywords?: string[]
  href?: string
  closeOnSelect?: boolean
}