Skip to content

[V] $lib

const $lib: TypeSpecLibrary<object, Record<string, any>, "data" | "events" | "contentType">;

Type declaration

NameType
invalid-content-type-targetobject
invalid-content-type-target.default"@contentType can only be specified on the top-level event envelope, or the event payload marked with @data"
multiple-event-payloadsobject
multiple-event-payloads.defaultCallableMessage<["dataPath", "currentPath"]>
multiple-event-payloads.payloadInIndexedModelCallableMessage<["dataPath"]>