import PropTypes from 'prop-types'; const T = {}; T['io.github.mkows.playground.api.v0.enums.item_state_failed_cause'] = PropTypes.oneOf(['ErrorCause1', 'ErrorCause2', 'ErrorCause3']); T['io.github.mkows.playground.api.v0.enums.item_state_progress'] = PropTypes.oneOf(['Init', 'Pending', 'Completed']); T['io.github.mkows.playground.api.v0.unions.item_state'] = PropTypes.oneOfType([PropTypes.exact({ type: PropTypes.oneOf(['item_state_progress']).isRequired, value: T['io.github.mkows.playground.api.v0.enums.item_state_progress'], }), PropTypes.exact({ type: PropTypes.oneOf(['item_state_failed_cause']).isRequired, value: T['io.github.mkows.playground.api.v0.enums.item_state_failed_cause'], })]); T['io.github.mkows.playground.api.v0.models.error'] = PropTypes.exact({ code: PropTypes.number.isRequired, message: PropTypes.string.isRequired, details: PropTypes.string, }); T['io.github.mkows.playground.api.v0.models.healthcheck'] = PropTypes.exact({ status: PropTypes.string.isRequired, created_at: PropTypes.string.isRequired, }); export const error = T['io.github.mkows.playground.api.v0.models.error']; export const healthcheck = T['io.github.mkows.playground.api.v0.models.healthcheck']; export const itemState = T['io.github.mkows.playground.api.v0.unions.item_state']; export const itemStateFailedCause = T['io.github.mkows.playground.api.v0.enums.item_state_failed_cause']; export const itemStateProgress = T['io.github.mkows.playground.api.v0.enums.item_state_progress'];