(
contract: Contract,
options:
| { readonly module: string; readonly api: string }
| { readonly module: string; readonly group: string }
| { readonly module: string; readonly endpoints: Readonly<Record<string, string>> },
)
| 223 | } |
| 224 | |
| 225 | export function emitEffectImported( |
| 226 | contract: Contract, |
| 227 | options: |
| 228 | | { readonly module: string; readonly api: string } |
| 229 | | { readonly module: string; readonly group: string } |
| 230 | | { readonly module: string; readonly endpoints: Readonly<Record<string, string>> }, |
| 231 | ): Output { |
| 232 | return { |
| 233 | operations: operations(contract.groups), |
| 234 | files: renderImportedEffectFiles(contract.groups, options), |
| 235 | } |
| 236 | } |
| 237 | |
| 238 | export function emitPromise( |
| 239 | contract: Contract, |
no test coverage detected