datacite-ts
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -5,2 +5,9 @@ # Changelog | ||
### [0.1.4](https://github.com/thewilkybarkid/datacite-ts/compare/v0.1.3...v0.1.4) (2023-05-25) | ||
### Features | ||
* add related identifiers ([0e0e999](https://github.com/thewilkybarkid/datacite-ts/commit/0e0e999dcfe14a2711ae1e893fb2aab1a406c864)) | ||
### [0.1.3](https://github.com/thewilkybarkid/datacite-ts/compare/v0.1.2...v0.1.3) (2023-05-24) | ||
@@ -7,0 +14,0 @@ |
@@ -46,2 +46,8 @@ /** | ||
readonly publisher: string; | ||
readonly relatedIdentifiers: ReadonlyArray<{ | ||
relationType: string; | ||
relatedIdentifier: string; | ||
resourceTypeGeneral?: string; | ||
relatedIdentifierType: string; | ||
}>; | ||
readonly types: { | ||
@@ -48,0 +54,0 @@ resourceType?: string; |
@@ -133,2 +133,9 @@ "use strict"; | ||
publisher: C.string, | ||
relatedIdentifiers: ReadonlyArrayC((0, function_1.pipe)(C.struct({ | ||
relationType: C.string, | ||
relatedIdentifier: C.string, | ||
relatedIdentifierType: C.string, | ||
}), C.intersect(C.partial({ | ||
resourceTypeGeneral: C.string, | ||
})))), | ||
titles: ReadonlyNonEmptyArrayC(C.struct({ | ||
@@ -135,0 +142,0 @@ title: C.string, |
{ | ||
"name": "datacite-ts", | ||
"description": "A DataCite API client for use with fp-ts.", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/thewilkybarkid/datacite-ts", |
15717
226