( value: string | undefined, )
| 60 | } |
| 61 | |
| 62 | function parseLeaseExecutionTarget( |
| 63 | value: string | undefined, |
| 64 | ): LeaseExecutionTarget | null { |
| 65 | if ( |
| 66 | !value || |
| 67 | !SESSION_INGRESS_LEASE_EXECUTION_TARGET_VALUES.has( |
| 68 | value as LeaseExecutionTarget, |
| 69 | ) |
| 70 | ) { |
| 71 | return null |
| 72 | } |
| 73 | return value as LeaseExecutionTarget |
| 74 | } |
| 75 | |
| 76 | function parseLeaseProviderMode( |
| 77 | value: string | undefined, |
no test coverage detected