API Reference
interfaces
Wakersubscription

@coasys/ad4m / Exports / WakerSubscription

Interface: WakerSubscription

WakerSubscriptionManager — manages live SurrealDB subscriptions for the waker.

Lives in core so it can be imported by both the plugin and integration tests without ESM/CJS import issues.

NOTE: keep in sync with plugins/ad4m/wakerSubscriptionManager.ts

Table of contents

Properties

Properties

channel

channel: string

Defined in

perspectives/WakerSubscriptionManager.ts:14 (opens in a new tab)


id

id: string

Defined in

perspectives/WakerSubscriptionManager.ts:11 (opens in a new tab)


neighbourhood

Optional neighbourhood: string

Defined in

perspectives/WakerSubscriptionManager.ts:16 (opens in a new tab)


perspective

perspective: string

Defined in

perspectives/WakerSubscriptionManager.ts:13 (opens in a new tab)


query

query: string

Defined in

perspectives/WakerSubscriptionManager.ts:15 (opens in a new tab)


type

type: "mention" | "channel-messages"

Defined in

perspectives/WakerSubscriptionManager.ts:12 (opens in a new tab)