-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tests ok validation ok but could be prettier * remove unused brackets * reshape error messages and display * validation to typescript * typescript in concept validation"
- Loading branch information
1 parent
c208707
commit 1067a63
Showing
14 changed files
with
259 additions
and
171 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
export type Collection = { | ||
id: string; | ||
prefLabelLg1: string; | ||
creator: string; | ||
}; |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
export type ConceptGeneral = { | ||
prefLabelLg1: string; | ||
creator: string; | ||
disseminationStatus: string; | ||
}; | ||
|
||
export type ConceptNotes = { | ||
scopeNoteLg1?: string; | ||
scopeNoteLg2?: string; | ||
definitionLg1: string; | ||
definitionLg2?: string; | ||
}; | ||
|
||
export type Concept = ConceptGeneral & ConceptNotes; |
36 changes: 12 additions & 24 deletions
36
src/packages/modules-concepts/collections/edition-creation/controls.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
4 changes: 1 addition & 3 deletions
4
src/packages/modules-concepts/collections/edition-creation/controls.spec.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
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
37 changes: 0 additions & 37 deletions
37
src/packages/modules-concepts/collections/edition-creation/validation.js
This file was deleted.
Oops, something went wrong.
59 changes: 0 additions & 59 deletions
59
src/packages/modules-concepts/collections/edition-creation/validation.spec.js
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.