This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service ArticleManager { | |
// Get an article by its UUID | |
rpc ArticleByID(ArticleByIDRequest) returns (Article) {} | |
// List all the Articles | |
rpc ListArticles(ListArticlesRequest) returns (ListArticlesResponse) {} | |
} | |
// An Article stored in the content service | |
message Article { | |
string id = 1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React from 'react'; | |
import PropTypes from 'prop-types'; | |
import { connect } from 'react-redux'; | |
import { mapStateToProps } from 'aor-dependent-input/lib/DependentInput'; | |
import EmbeddedArrayInputFormField from 'aor-embedded-array/lib/mui/form/EmbeddedArrayInputFormField'; | |
/** | |
* A modified version of DependentInputComponent with | |
* support for being nested within <EmbeddedArrayInput> | |
* |