UNPKG

@prefecthq/prefect-ui-library

Version:

This library is the Vue and Typescript component library for [Prefect 2](https://github.com/PrefectHQ/prefect) and [Prefect Cloud 2](https://www.prefect.io/cloud/). _The components and utilities in this project are not meant to be used independently_.

20 lines (17 loc) 714 B
import { FlowRunInputKeysetResponse } from '@/models/api/FlowRunInputKeysetResponse' import { FlowRunInputKeyset } from '@/models/FlowRunInputKeyset' import { MapFunction } from '@/services/Mapper' export const mapFlowRunInputKeysetResponseToFlowRunInputKeyset: MapFunction<FlowRunInputKeysetResponse, FlowRunInputKeyset> = function(source) { return { description: source.description, response: source.response, schema: source.schema, } } export const mapFlowRunInputKeysetToFlowRunInputKeysetResponse: MapFunction<FlowRunInputKeyset, FlowRunInputKeysetResponse> = function(source) { return { description: source.description, response: source.response, schema: source.schema, } }