@qping/plugin-bus 0.5.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/actions.d.ts CHANGED
@@ -212,6 +212,8 @@ export type ActionDefinition<TItem = any> = {
212
212
  title: LocalizedText;
213
213
  description?: LocalizedText;
214
214
  hotkey?: Hotkey;
215
+ /** Keep this action visible in the host action bar instead of the overflow menu. */
216
+ pinned?: boolean;
215
217
  execute: (context: ActionContext<TItem>) => ActionOutcome | void | Promise<ActionOutcome | void>;
216
218
  };
217
219
  /** The registry shape sent to the host in the initialize response (no `execute`). */
@@ -220,6 +222,7 @@ export type ActionManifestEntry = {
220
222
  title: LocalizedText;
221
223
  description?: LocalizedText;
222
224
  hotkey?: Hotkey;
225
+ pinned?: boolean;
223
226
  };
224
227
  export declare function toActionManifest(definition: ActionDefinition): ActionManifestEntry;
225
228
  export {};