Skip to content

Type Alias: Runnable ​

ts
type Runnable = 
  | {
  type: "app";
} & AppRunnable
  | {
  type: "widget";
} & WidgetRunnable;

Une cible lançable retournée par AppsService.list | `k.apps.list` : soit une appli (type: 'app' + champs AppRunnable), soit un widget (type: 'widget' + champs WidgetRunnable). Le champ type discrimine les deux.