-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: create new tei from relationship
- Loading branch information
1 parent
14a2530
commit 72ac535
Showing
24 changed files
with
420 additions
and
183 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
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
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
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
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
27 changes: 16 additions & 11 deletions
27
...ture-core/components/Pages/common/TEIRelationshipsWidget/RegisterTei/RegisterTei.types.js
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,22 @@ | ||
// @flow | ||
type PropsFromRedux = {| | ||
dataEntryId: string, | ||
itemId: string, | ||
trackedEntityName: ?string, | ||
error: string, | ||
|}; | ||
|
||
export type OwnProps = {| | ||
export type SharedProps = {| | ||
onLink: (teiId: string, values: Object) => void, | ||
onGetUnsavedAttributeValues?: ?Function, | ||
onSave: (itemId: string, dataEntryId: string) => void, | ||
suggestedProgramId: string, | ||
trackedEntityTypeId: string, | ||
|}; | ||
|
||
export type Props = {|...PropsFromRedux, ...OwnProps, ...CssClasses |} | ||
export type ContainerProps = {| | ||
suggestedProgramId: string, | ||
onSave: (teiPayload: Object) => void, | ||
...SharedProps, | ||
|}; | ||
|
||
export type ComponentProps = {| | ||
selectedScopeId: string, | ||
error: string, | ||
dataEntryId: string, | ||
trackedEntityName: ?string, | ||
onSave: () => void, | ||
...SharedProps, | ||
...CssClasses, | ||
|}; |
Oops, something went wrong.