Interface: SubscriptionDto
@kortexya/reasoninglayer / SubscriptionDto
Interface: SubscriptionDto
Section titled “Interface: SubscriptionDto”Defined in: src/types/subscriptions.ts:102
A stored subscription, as the listing reports it.
Properties
Section titled “Properties”backoffMs
Section titled “backoffMs”backoffMs:
number
Defined in: src/types/subscriptions.ts:126
Backoff between attempts in milliseconds, as stored (1000 when create omitted it).
createdAt
Section titled “createdAt”createdAt:
string
Defined in: src/types/subscriptions.ts:130
When it was created (RFC 3339).
delivery
Section titled “delivery”delivery:
DeliveryStatusDto
Defined in: src/types/subscriptions.ts:132
Delivery health — read failed to learn what was lost.
enabled
Section titled “enabled”enabled:
boolean
Defined in: src/types/subscriptions.ts:128
Whether the subscription currently delivers. client.subscriptions.update sets it.
exact:
boolean
Defined in: src/types/subscriptions.ts:112
Whether the sort is matched exactly rather than by subsumption.
features
Section titled “features”features:
FeatureFilterDto[]
Defined in: src/types/subscriptions.ts:122
The ANDed feature equalities.
id:
string
Defined in: src/types/subscriptions.ts:104
The subscription’s stable id.
kinds:
string[]
Defined in: src/types/subscriptions.ts:120
The kinds delivered. Empty means all four.
Remarks
Section titled “Remarks”Typed as string[], not SubscriptionEventKind[]: an engine that
gains a fifth kind must not have it silently dropped on the way out.
maxRetries
Section titled “maxRetries”maxRetries:
number
Defined in: src/types/subscriptions.ts:124
Retry attempts after a failed delivery, as stored (3 when create omitted it).
name:
string
Defined in: src/types/subscriptions.ts:106
Human-readable name.
optionalsort?:string
Defined in: src/types/subscriptions.ts:110
The sort the pattern selects. Absent means every sort.
url:
string
Defined in: src/types/subscriptions.ts:108
The delivery target URL.