@cirrobio/api-client 0.0.20-alpha → 0.0.21-alpha

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/README.md CHANGED
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
36
36
  _published:_
37
37
 
38
38
  ```
39
- npm install @cirrobio/api-client@0.0.20-alpha --save
39
+ npm install @cirrobio/api-client@0.0.21-alpha --save
40
40
  ```
41
41
 
42
42
  _unPublished (not recommended):_
@@ -17,6 +17,12 @@ import type { DatasetViz } from './DatasetViz';
17
17
  * @interface DatasetAssetsManifest
18
18
  */
19
19
  export interface DatasetAssetsManifest {
20
+ /**
21
+ * Base URL for files
22
+ * @type {string}
23
+ * @memberof DatasetAssetsManifest
24
+ */
25
+ domain?: string;
20
26
  /**
21
27
  * List of files in the dataset, including metadata
22
28
  * @type {Array<DatasetFile>}
@@ -34,6 +34,7 @@ function DatasetAssetsManifestFromJSONTyped(json, ignoreDiscriminator) {
34
34
  return json;
35
35
  }
36
36
  return {
37
+ 'domain': !(0, runtime_1.exists)(json, 'domain') ? undefined : json['domain'],
37
38
  'files': !(0, runtime_1.exists)(json, 'files') ? undefined : (json['files'].map(DatasetFile_1.DatasetFileFromJSON)),
38
39
  'viz': !(0, runtime_1.exists)(json, 'viz') ? undefined : (json['viz'].map(DatasetViz_1.DatasetVizFromJSON)),
39
40
  };
@@ -47,6 +48,7 @@ function DatasetAssetsManifestToJSON(value) {
47
48
  return null;
48
49
  }
49
50
  return {
51
+ 'domain': value.domain,
50
52
  'files': value.files === undefined ? undefined : (value.files.map(DatasetFile_1.DatasetFileToJSON)),
51
53
  'viz': value.viz === undefined ? undefined : (value.viz.map(DatasetViz_1.DatasetVizToJSON)),
52
54
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cirrobio/api-client",
3
- "version": "0.0.20-alpha",
3
+ "version": "0.0.21-alpha",
4
4
  "description": "API client for Cirro",
5
5
  "author": "CirroBio",
6
6
  "repository": {
@@ -32,6 +32,12 @@ import {
32
32
  * @interface DatasetAssetsManifest
33
33
  */
34
34
  export interface DatasetAssetsManifest {
35
+ /**
36
+ * Base URL for files
37
+ * @type {string}
38
+ * @memberof DatasetAssetsManifest
39
+ */
40
+ domain?: string;
35
41
  /**
36
42
  * List of files in the dataset, including metadata
37
43
  * @type {Array<DatasetFile>}
@@ -65,6 +71,7 @@ export function DatasetAssetsManifestFromJSONTyped(json: any, ignoreDiscriminato
65
71
  }
66
72
  return {
67
73
 
74
+ 'domain': !exists(json, 'domain') ? undefined : json['domain'],
68
75
  'files': !exists(json, 'files') ? undefined : ((json['files'] as Array<any>).map(DatasetFileFromJSON)),
69
76
  'viz': !exists(json, 'viz') ? undefined : ((json['viz'] as Array<any>).map(DatasetVizFromJSON)),
70
77
  };
@@ -79,6 +86,7 @@ export function DatasetAssetsManifestToJSON(value?: DatasetAssetsManifest | null
79
86
  }
80
87
  return {
81
88
 
89
+ 'domain': value.domain,
82
90
  'files': value.files === undefined ? undefined : ((value.files as Array<any>).map(DatasetFileToJSON)),
83
91
  'viz': value.viz === undefined ? undefined : ((value.viz as Array<any>).map(DatasetVizToJSON)),
84
92
  };