(value: unknown)
| 1096 | params: (params) => { |
| 1097 | const result: Record<string, unknown> = {} |
| 1098 | const toBoolean = (value: unknown) => value === true || value === 'true' |
| 1099 | if (params.page_size) result.page_size = Number(params.page_size) |
| 1100 | if (params.notify_incident_channel !== undefined) { |
| 1101 | result.notify_incident_channel = toBoolean(params.notify_incident_channel) |