Skip to content

basalt / drives/src / DriveConnectionWatch

Interface: DriveConnectionWatch ​

Defined in: drives/src/store.ts:79

Persisted push-subscription state.

Properties ​

expiresAt? ​

> optional expiresAt?: number

Defined in: drives/src/store.ts:88


id ​

> id: string

Defined in: drives/src/store.ts:80


raw? ​

> optional raw?: Record<string, unknown>

Defined in: drives/src/store.ts:89


secret ​

> secret: string

Defined in: drives/src/store.ts:87

A SHA-256 digest (sha256:…) of the secret the provider echoes back — never the secret itself, which is only ever compared. A row written before @basaltkit/drives 0.3 may still hold the plain secret; it keeps matching until the subscription is renewed.

Released under the MIT License.