xyne-plugin 1.2.14 → 1.2.19
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/package.json +1 -1
- package/src/hooks.ts +7 -0
package/package.json
CHANGED
package/src/hooks.ts
CHANGED
|
@@ -242,6 +242,13 @@ export type AuthHook = {
|
|
|
242
242
|
// ─── Hook definitions ────────────────────────────────────────────────────────
|
|
243
243
|
|
|
244
244
|
export interface Hooks {
|
|
245
|
+
/**
|
|
246
|
+
* Plugin dependencies — package names that must be installed.
|
|
247
|
+
* If missing, the system auto-adds them to the plugins config and installs them.
|
|
248
|
+
* Example: ["xyne-plugin-spaces"]
|
|
249
|
+
*/
|
|
250
|
+
dependencies?: string[]
|
|
251
|
+
|
|
245
252
|
/** Subscribe to bus events. */
|
|
246
253
|
event?: (input: { event: unknown }) => Promise<void>
|
|
247
254
|
|