Introduce the shared openworkflow contract: the send-booking-email workflow spec with its BookingEmailKind / SendBookingEmailInput / SendBookingEmailResult types, plus createBackend/createClient helpers that build an OpenWorkflow client over a node:sqlite backend. The queue test exercises a real :memory: backend (runWorkflow inserts a pending run), proving the node:sqlite path end to end. Also set declaration:false in the shared tsconfig base — these are noEmit source packages consumed as TS, so the declaration-portability check (which tripped on openworkflow's non-exported WorkflowSpec type) does not apply.
9 lines
137 B
JSON
9 lines
137 B
JSON
{
|
|
"extends": "../../tsconfig.base.json",
|
|
"compilerOptions": {
|
|
"noEmit": true
|
|
},
|
|
"include": ["src/**/*.ts"],
|
|
"exclude": ["dist"]
|
|
}
|