Skip to content

basalt / drives/src / DriveWatchInput

Interface: DriveWatchInput ​

Defined in: drives/src/provider.ts:283

Properties ​

notificationUrl ​

> notificationUrl: string

Defined in: drives/src/provider.ts:285

Public HTTPS URL the provider will call.


secret ​

> secret: string

Defined in: drives/src/provider.ts:292

Shared secret the engine generated for this subscription. The adapter must pass it to the provider in whatever slot the vendor offers (Graph clientState, Google channel token) so an inbound notification can be tied back to one connection.


ttlMs? ​

> optional ttlMs?: number

Defined in: drives/src/provider.ts:294

Renewal hint; an adapter clamps it to the vendor's maximum.

Released under the MIT License.