@data-fair/lib-common-types 1.10.5 → 1.10.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/catalog/.type/index.d.ts +4 -0
- package/catalog/schema.d.ts +4 -0
- package/catalog/schema.js +4 -0
- package/package.json +1 -1
package/catalog/.type/index.d.ts
CHANGED
|
@@ -86,6 +86,10 @@ export type Resource = {
|
|
|
86
86
|
* via the `definition` "publication".
|
|
87
87
|
*/
|
|
88
88
|
export type Publication = {
|
|
89
|
+
/**
|
|
90
|
+
* The URL of the publication site where the user will be redirected from the remote catalog
|
|
91
|
+
*/
|
|
92
|
+
publicationSite?: string;
|
|
89
93
|
/**
|
|
90
94
|
* Dataset from the remote catalog, used if a local dataset is published as a dataset on a remote catalog. If it is defined during publication, then the remote dataset must be updated.
|
|
91
95
|
*/
|
package/catalog/schema.d.ts
CHANGED
package/catalog/schema.js
CHANGED
|
@@ -123,6 +123,10 @@ export default {
|
|
|
123
123
|
additionalProperties: false,
|
|
124
124
|
description: 'A small object that contains the information needed to publish or update a dataset or a resource',
|
|
125
125
|
properties: {
|
|
126
|
+
publicationSite: {
|
|
127
|
+
type: 'string',
|
|
128
|
+
description: 'The URL of the publication site where the user will be redirected from the remote catalog'
|
|
129
|
+
},
|
|
126
130
|
remoteDataset: {
|
|
127
131
|
type: 'object',
|
|
128
132
|
required: ['id'],
|