(context: OpenAPIUniversalContext)
| 88 | * Get the client context from the OpenAPI context. |
| 89 | */ |
| 90 | export function getOpenAPIClientContext(context: OpenAPIUniversalContext): OpenAPIClientContext { |
| 91 | return { |
| 92 | translation: context.translation, |
| 93 | icons: context.icons, |
| 94 | defaultInteractiveOpened: context.defaultInteractiveOpened, |
| 95 | blockKey: context.blockKey, |
| 96 | id: context.id, |
| 97 | $$isClientContext$$: true, |
| 98 | }; |
| 99 | } |
no outgoing calls
no test coverage detected