(value: string | undefined)
| 53 | ]) |
| 54 | |
| 55 | function parseLeaseState(value: string | undefined): LeaseState | null { |
| 56 | if (!value || !SESSION_INGRESS_LEASE_STATE_VALUES.has(value as LeaseState)) { |
| 57 | return null |
| 58 | } |
| 59 | return value as LeaseState |
| 60 | } |
| 61 | |
| 62 | function parseLeaseExecutionTarget( |
| 63 | value: string | undefined, |
no test coverage detected