@cirrobio/api-client 0.10.1 → 0.10.2
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
|
@@ -26,7 +26,7 @@ export interface FileNamePattern {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof FileNamePattern
|
|
28
28
|
*/
|
|
29
|
-
description
|
|
29
|
+
description?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
* File name pattern, formatted as a valid regex, to extract sample name and other metadata.
|
|
32
32
|
* @type {string}
|
|
@@ -11,13 +11,13 @@
|
|
|
11
11
|
* https://openapi-generator.tech
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
14
15
|
/**
|
|
15
16
|
* Check if a given object implements the FileNamePattern interface.
|
|
16
17
|
*/
|
|
17
18
|
export function instanceOfFileNamePattern(value) {
|
|
18
19
|
let isInstance = true;
|
|
19
20
|
isInstance = isInstance && "exampleName" in value;
|
|
20
|
-
isInstance = isInstance && "description" in value;
|
|
21
21
|
isInstance = isInstance && "sampleMatchingPattern" in value;
|
|
22
22
|
return isInstance;
|
|
23
23
|
}
|
|
@@ -30,7 +30,7 @@ export function FileNamePatternFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
}
|
|
31
31
|
return {
|
|
32
32
|
'exampleName': json['exampleName'],
|
|
33
|
-
'description': json['description'],
|
|
33
|
+
'description': !exists(json, 'description') ? undefined : json['description'],
|
|
34
34
|
'sampleMatchingPattern': json['sampleMatchingPattern'],
|
|
35
35
|
};
|
|
36
36
|
}
|
|
@@ -26,7 +26,7 @@ export interface FileNamePattern {
|
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof FileNamePattern
|
|
28
28
|
*/
|
|
29
|
-
description
|
|
29
|
+
description?: string | null;
|
|
30
30
|
/**
|
|
31
31
|
* File name pattern, formatted as a valid regex, to extract sample name and other metadata.
|
|
32
32
|
* @type {string}
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FileNamePatternToJSON = exports.FileNamePatternFromJSONTyped = exports.FileNamePatternFromJSON = exports.instanceOfFileNamePattern = void 0;
|
|
17
|
+
const runtime_1 = require("../runtime");
|
|
17
18
|
/**
|
|
18
19
|
* Check if a given object implements the FileNamePattern interface.
|
|
19
20
|
*/
|
|
20
21
|
function instanceOfFileNamePattern(value) {
|
|
21
22
|
let isInstance = true;
|
|
22
23
|
isInstance = isInstance && "exampleName" in value;
|
|
23
|
-
isInstance = isInstance && "description" in value;
|
|
24
24
|
isInstance = isInstance && "sampleMatchingPattern" in value;
|
|
25
25
|
return isInstance;
|
|
26
26
|
}
|
|
@@ -35,7 +35,7 @@ function FileNamePatternFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
35
|
}
|
|
36
36
|
return {
|
|
37
37
|
'exampleName': json['exampleName'],
|
|
38
|
-
'description': json['description'],
|
|
38
|
+
'description': !(0, runtime_1.exists)(json, 'description') ? undefined : json['description'],
|
|
39
39
|
'sampleMatchingPattern': json['sampleMatchingPattern'],
|
|
40
40
|
};
|
|
41
41
|
}
|