Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/server / / DeliveryCommentaryPattern
Interface: DeliveryCommentaryPattern
Defined in: packages/server/src/commentary/types.ts:68
Single pattern entry in the DEFAULT_DELIVERY_COMMENTARY_PATTERNS catalogue. The regex is matched against the JSON payload of the event frame (after JSON.stringify(payload)); deployments that want to match against the wire-format string instead can supply their own catalogue.
Stable
Properties
| Property | Modifier | Type | Defined in |
|---|---|---|---|
description | readonly | string | packages/server/src/commentary/types.ts:71 |
reason | readonly | DeliveryCommentaryReason | packages/server/src/commentary/types.ts:69 |
regex | readonly | RegExp | packages/server/src/commentary/types.ts:70 |