()
| 303 | } |
| 304 | |
| 305 | get $procs() { |
| 306 | return Object.keys(this.$schema.procedures ?? {}).reduce((acc, name) => { |
| 307 | // Filter procedures based on slicing configuration |
| 308 | if (!isProcedureIncluded(this.$options, name)) { |
| 309 | return acc; |
| 310 | } |
| 311 | acc[name] = (input?: unknown) => this.handleProc(name, input); |
| 312 | return acc; |
| 313 | }, {} as any); |
| 314 | } |
| 315 | |
| 316 | private async handleProc(name: string, input: unknown) { |
| 317 | if (!('procedures' in this.$options) || !this.$options || typeof this.$options.procedures !== 'object') { |
nothing calls this directly
no test coverage detected