@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.
@@ -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
  */
@@ -108,6 +108,10 @@ declare const _default: {
108
108
  additionalProperties: boolean;
109
109
  description: string;
110
110
  properties: {
111
+ publicationSite: {
112
+ type: string;
113
+ description: string;
114
+ };
111
115
  remoteDataset: {
112
116
  type: string;
113
117
  required: string[];
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'],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@data-fair/lib-common-types",
3
- "version": "1.10.5",
3
+ "version": "1.10.6",
4
4
  "description": "Shared schemas and built type definitions in the data-fair stack.",
5
5
  "main": "index.js",
6
6
  "scripts": {