@sfxcode/nuxt-mongocamp-server 1.2.1 → 1.2.3
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 +1 -1
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +5 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/apis/AdminApi.d.ts +3 -3
- package/dist/runtime/api/apis/{AdminApi.mjs → AdminApi.js} +2 -2
- package/dist/runtime/api/apis/ApplicationApi.d.ts +16 -3
- package/dist/runtime/api/apis/{ApplicationApi.mjs → ApplicationApi.js} +41 -2
- package/dist/runtime/api/apis/AuthApi.d.ts +3 -3
- package/dist/runtime/api/apis/{AuthApi.mjs → AuthApi.js} +2 -2
- package/dist/runtime/api/apis/BucketApi.d.ts +3 -3
- package/dist/runtime/api/apis/{BucketApi.mjs → BucketApi.js} +2 -2
- package/dist/runtime/api/apis/CollectionApi.d.ts +6 -6
- package/dist/runtime/api/apis/{CollectionApi.mjs → CollectionApi.js} +2 -2
- package/dist/runtime/api/apis/DatabaseApi.d.ts +3 -3
- package/dist/runtime/api/apis/{DatabaseApi.mjs → DatabaseApi.js} +2 -2
- package/dist/runtime/api/apis/DocumentApi.d.ts +3 -3
- package/dist/runtime/api/apis/{DocumentApi.mjs → DocumentApi.js} +2 -2
- package/dist/runtime/api/apis/FileApi.d.ts +3 -3
- package/dist/runtime/api/apis/{FileApi.mjs → FileApi.js} +2 -2
- package/dist/runtime/api/apis/IndexApi.d.ts +3 -3
- package/dist/runtime/api/apis/{IndexApi.mjs → IndexApi.js} +2 -2
- package/dist/runtime/api/apis/InformationApi.d.ts +3 -3
- package/dist/runtime/api/apis/{InformationApi.mjs → InformationApi.js} +2 -2
- package/dist/runtime/api/apis/JobsApi.d.ts +3 -3
- package/dist/runtime/api/apis/{JobsApi.mjs → JobsApi.js} +2 -2
- package/dist/runtime/api/apis/index.d.ts +11 -11
- package/dist/runtime/api/apis/index.js +11 -0
- package/dist/runtime/api/index.d.ts +3 -3
- package/dist/runtime/api/index.js +3 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +4 -3
- package/dist/runtime/api/models/{BucketInformation.mjs → BucketInformation.js} +8 -9
- package/dist/runtime/api/models/CollectionStatus.d.ts +4 -3
- package/dist/runtime/api/models/{CollectionStatus.mjs → CollectionStatus.js} +17 -27
- package/dist/runtime/api/models/DatabaseInfo.d.ts +4 -3
- package/dist/runtime/api/models/{DatabaseInfo.mjs → DatabaseInfo.js} +9 -11
- package/dist/runtime/api/models/DeleteResponse.d.ts +4 -3
- package/dist/runtime/api/models/{DeleteResponse.mjs → DeleteResponse.js} +6 -5
- package/dist/runtime/api/models/ErrorDescription.d.ts +4 -3
- package/dist/runtime/api/models/{ErrorDescription.mjs → ErrorDescription.js} +7 -7
- package/dist/runtime/api/models/FileInformation.d.ts +4 -3
- package/dist/runtime/api/models/{FileInformation.mjs → FileInformation.js} +10 -13
- package/dist/runtime/api/models/Grant.d.ts +4 -3
- package/dist/runtime/api/models/{Grant.mjs → Grant.js} +9 -11
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +5 -4
- package/dist/runtime/api/models/{IndexCreateRequest.mjs → IndexCreateRequest.js} +6 -4
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +4 -3
- package/dist/runtime/api/models/{IndexCreateResponse.mjs → IndexCreateResponse.js} +5 -3
- package/dist/runtime/api/models/IndexDropResponse.d.ts +4 -3
- package/dist/runtime/api/models/{IndexDropResponse.mjs → IndexDropResponse.js} +5 -3
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +4 -3
- package/dist/runtime/api/models/{IndexOptionsRequest.mjs → IndexOptionsRequest.js} +4 -1
- package/dist/runtime/api/models/InsertResponse.d.ts +4 -3
- package/dist/runtime/api/models/{InsertResponse.mjs → InsertResponse.js} +5 -3
- package/dist/runtime/api/models/JobConfig.d.ts +4 -3
- package/dist/runtime/api/models/{JobConfig.mjs → JobConfig.js} +10 -13
- package/dist/runtime/api/models/JobInformation.d.ts +4 -3
- package/dist/runtime/api/models/{JobInformation.mjs → JobInformation.js} +10 -13
- package/dist/runtime/api/models/JsonSchema.d.ts +5 -4
- package/dist/runtime/api/models/JsonSchema.js +37 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +4 -3
- package/dist/runtime/api/models/{JsonSchemaDefinition.mjs → JsonSchemaDefinition.js} +8 -9
- package/dist/runtime/api/models/JsonValueAny.d.ts +4 -3
- package/dist/runtime/api/models/{JsonValueAny.mjs → JsonValueAny.js} +5 -3
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +4 -3
- package/dist/runtime/api/models/{JsonValueBoolean.mjs → JsonValueBoolean.js} +5 -3
- package/dist/runtime/api/models/JsonValueString.d.ts +4 -3
- package/dist/runtime/api/models/{JsonValueString.mjs → JsonValueString.js} +5 -3
- package/dist/runtime/api/models/Login.d.ts +4 -3
- package/dist/runtime/api/models/{Login.mjs → Login.js} +6 -5
- package/dist/runtime/api/models/LoginResult.d.ts +5 -4
- package/dist/runtime/api/models/{LoginResult.mjs → LoginResult.js} +8 -8
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +5 -4
- package/dist/runtime/api/models/{MongoAggregateRequest.mjs → MongoAggregateRequest.js} +6 -4
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +4 -3
- package/dist/runtime/api/models/{MongoCampConfiguration.mjs → MongoCampConfiguration.js} +9 -11
- package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -3
- package/dist/runtime/api/models/{MongoFindRequest.mjs → MongoFindRequest.js} +7 -7
- package/dist/runtime/api/models/MongoIndex.d.ts +4 -3
- package/dist/runtime/api/models/{MongoIndex.mjs → MongoIndex.js} +15 -23
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +4 -3
- package/dist/runtime/api/models/{PasswordUpdateRequest.mjs → PasswordUpdateRequest.js} +5 -3
- package/dist/runtime/api/models/PipelineStage.d.ts +4 -3
- package/dist/runtime/api/models/{PipelineStage.mjs → PipelineStage.js} +6 -5
- package/dist/runtime/api/models/Role.d.ts +5 -4
- package/dist/runtime/api/models/{Role.mjs → Role.js} +7 -6
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +5 -4
- package/dist/runtime/api/models/{SchemaAnalysis.mjs → SchemaAnalysis.js} +8 -8
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +5 -4
- package/dist/runtime/api/models/{SchemaAnalysisField.mjs → SchemaAnalysisField.js} +9 -10
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +4 -3
- package/dist/runtime/api/models/{SchemaAnalysisFieldType.mjs → SchemaAnalysisFieldType.js} +7 -7
- package/dist/runtime/api/models/SettingsResponse.d.ts +4 -3
- package/dist/runtime/api/models/{SettingsResponse.mjs → SettingsResponse.js} +5 -3
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +4 -3
- package/dist/runtime/api/models/{UpdateFileInformationRequest.mjs → UpdateFileInformationRequest.js} +4 -1
- package/dist/runtime/api/models/UpdateRequest.d.ts +4 -3
- package/dist/runtime/api/models/{UpdateRequest.mjs → UpdateRequest.js} +6 -5
- package/dist/runtime/api/models/UpdateResponse.d.ts +4 -3
- package/dist/runtime/api/models/{UpdateResponse.mjs → UpdateResponse.js} +7 -7
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +5 -4
- package/dist/runtime/api/models/{UpdateRoleRequest.mjs → UpdateRoleRequest.js} +6 -4
- package/dist/runtime/api/models/UserInformation.d.ts +4 -3
- package/dist/runtime/api/models/{UserInformation.mjs → UserInformation.js} +6 -5
- package/dist/runtime/api/models/UserProfile.d.ts +5 -4
- package/dist/runtime/api/models/{UserProfile.mjs → UserProfile.js} +7 -6
- package/dist/runtime/api/models/Version.d.ts +4 -3
- package/dist/runtime/api/models/{Version.mjs → Version.js} +7 -7
- package/dist/runtime/api/models/index.d.ts +39 -39
- package/dist/runtime/api/models/index.js +39 -0
- package/dist/runtime/api/runtime.d.ts +1 -1
- package/dist/runtime/composables/mongocampApi.d.ts +1 -1
- package/dist/runtime/composables/{mongocampApi.mjs → mongocampApi.js} +3 -3
- package/dist/runtime/composables/mongocampAuth.d.ts +1 -1
- package/dist/runtime/composables/{mongocampAuth.mjs → mongocampAuth.js} +3 -3
- package/dist/runtime/composables/mongocampSearch.d.ts +1 -1
- package/dist/runtime/composables/{mongocampSearch.mjs → mongocampSearch.js} +1 -1
- package/dist/runtime/composables/mongocampStorage.d.ts +5 -0
- package/dist/runtime/composables/mongocampUser.d.ts +1 -1
- package/dist/types.d.mts +1 -16
- package/dist/types.d.ts +1 -16
- package/package.json +18 -20
- package/dist/runtime/api/apis/index.mjs +0 -11
- package/dist/runtime/api/index.mjs +0 -3
- package/dist/runtime/api/models/JsonSchema.mjs +0 -32
- package/dist/runtime/api/models/index.mjs +0 -39
- /package/dist/runtime/api/{runtime.mjs → runtime.js} +0 -0
- /package/dist/runtime/composables/{mongocampStorage.mjs → mongocampStorage.js} +0 -0
- /package/dist/runtime/composables/{mongocampUrl.mjs → mongocampUrl.js} +0 -0
- /package/dist/runtime/composables/{mongocampUser.mjs → mongocampUser.js} +0 -0
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfPipelineStage(value) {
|
|
2
|
-
if (!("stage" in value))
|
|
3
|
-
|
|
4
|
-
if (!("value" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("stage" in value) || value["stage"] === void 0) return false;
|
|
3
|
+
if (!("value" in value) || value["value"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function PipelineStageFromJSON(json) {
|
|
@@ -17,7 +15,10 @@ export function PipelineStageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
15
|
"value": json["value"]
|
|
18
16
|
};
|
|
19
17
|
}
|
|
20
|
-
export function PipelineStageToJSON(
|
|
18
|
+
export function PipelineStageToJSON(json) {
|
|
19
|
+
return PipelineStageToJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
export function PipelineStageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
21
22
|
if (value == null) {
|
|
22
23
|
return value;
|
|
23
24
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Grant } from './Grant';
|
|
12
|
+
import type { Grant } from './Grant.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -38,7 +38,8 @@ export interface Role {
|
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the Role interface.
|
|
40
40
|
*/
|
|
41
|
-
export declare function instanceOfRole(value: object):
|
|
41
|
+
export declare function instanceOfRole(value: object): value is Role;
|
|
42
42
|
export declare function RoleFromJSON(json: any): Role;
|
|
43
43
|
export declare function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role;
|
|
44
|
-
export declare function RoleToJSON(
|
|
44
|
+
export declare function RoleToJSON(json: any): Role;
|
|
45
|
+
export declare function RoleToJSONTyped(value?: Role | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GrantFromJSON,
|
|
3
3
|
GrantToJSON
|
|
4
|
-
} from "./Grant.
|
|
4
|
+
} from "./Grant.js";
|
|
5
5
|
export function instanceOfRole(value) {
|
|
6
|
-
if (!("name" in value))
|
|
7
|
-
|
|
8
|
-
if (!("isAdmin" in value))
|
|
9
|
-
return false;
|
|
6
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
7
|
+
if (!("isAdmin" in value) || value["isAdmin"] === void 0) return false;
|
|
10
8
|
return true;
|
|
11
9
|
}
|
|
12
10
|
export function RoleFromJSON(json) {
|
|
@@ -22,7 +20,10 @@ export function RoleFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
22
20
|
"collectionGrants": json["collectionGrants"] == null ? void 0 : json["collectionGrants"].map(GrantFromJSON)
|
|
23
21
|
};
|
|
24
22
|
}
|
|
25
|
-
export function RoleToJSON(
|
|
23
|
+
export function RoleToJSON(json) {
|
|
24
|
+
return RoleToJSONTyped(json, false);
|
|
25
|
+
}
|
|
26
|
+
export function RoleToJSONTyped(value, ignoreDiscriminator = false) {
|
|
26
27
|
if (value == null) {
|
|
27
28
|
return value;
|
|
28
29
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SchemaAnalysisField } from './SchemaAnalysisField';
|
|
12
|
+
import type { SchemaAnalysisField } from './SchemaAnalysisField.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -44,7 +44,8 @@ export interface SchemaAnalysis {
|
|
|
44
44
|
/**
|
|
45
45
|
* Check if a given object implements the SchemaAnalysis interface.
|
|
46
46
|
*/
|
|
47
|
-
export declare function instanceOfSchemaAnalysis(value: object):
|
|
47
|
+
export declare function instanceOfSchemaAnalysis(value: object): value is SchemaAnalysis;
|
|
48
48
|
export declare function SchemaAnalysisFromJSON(json: any): SchemaAnalysis;
|
|
49
49
|
export declare function SchemaAnalysisFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysis;
|
|
50
|
-
export declare function SchemaAnalysisToJSON(
|
|
50
|
+
export declare function SchemaAnalysisToJSON(json: any): SchemaAnalysis;
|
|
51
|
+
export declare function SchemaAnalysisToJSONTyped(value?: SchemaAnalysis | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SchemaAnalysisFieldFromJSON,
|
|
3
3
|
SchemaAnalysisFieldToJSON
|
|
4
|
-
} from "./SchemaAnalysisField.
|
|
4
|
+
} from "./SchemaAnalysisField.js";
|
|
5
5
|
export function instanceOfSchemaAnalysis(value) {
|
|
6
|
-
if (!("count" in value))
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
return false;
|
|
10
|
-
if (!("percentageOfAnalysed" in value))
|
|
11
|
-
return false;
|
|
6
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
7
|
+
if (!("sample" in value) || value["sample"] === void 0) return false;
|
|
8
|
+
if (!("percentageOfAnalysed" in value) || value["percentageOfAnalysed"] === void 0) return false;
|
|
12
9
|
return true;
|
|
13
10
|
}
|
|
14
11
|
export function SchemaAnalysisFromJSON(json) {
|
|
@@ -25,7 +22,10 @@ export function SchemaAnalysisFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
25
22
|
"fields": json["fields"] == null ? void 0 : json["fields"].map(SchemaAnalysisFieldFromJSON)
|
|
26
23
|
};
|
|
27
24
|
}
|
|
28
|
-
export function SchemaAnalysisToJSON(
|
|
25
|
+
export function SchemaAnalysisToJSON(json) {
|
|
26
|
+
return SchemaAnalysisToJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function SchemaAnalysisToJSONTyped(value, ignoreDiscriminator = false) {
|
|
29
29
|
if (value == null) {
|
|
30
30
|
return value;
|
|
31
31
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType';
|
|
12
|
+
import type { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -56,7 +56,8 @@ export interface SchemaAnalysisField {
|
|
|
56
56
|
/**
|
|
57
57
|
* Check if a given object implements the SchemaAnalysisField interface.
|
|
58
58
|
*/
|
|
59
|
-
export declare function instanceOfSchemaAnalysisField(value: object):
|
|
59
|
+
export declare function instanceOfSchemaAnalysisField(value: object): value is SchemaAnalysisField;
|
|
60
60
|
export declare function SchemaAnalysisFieldFromJSON(json: any): SchemaAnalysisField;
|
|
61
61
|
export declare function SchemaAnalysisFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisField;
|
|
62
|
-
export declare function SchemaAnalysisFieldToJSON(
|
|
62
|
+
export declare function SchemaAnalysisFieldToJSON(json: any): SchemaAnalysisField;
|
|
63
|
+
export declare function SchemaAnalysisFieldToJSONTyped(value?: SchemaAnalysisField | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SchemaAnalysisFieldTypeFromJSON,
|
|
3
3
|
SchemaAnalysisFieldTypeToJSON
|
|
4
|
-
} from "./SchemaAnalysisFieldType.
|
|
4
|
+
} from "./SchemaAnalysisFieldType.js";
|
|
5
5
|
export function instanceOfSchemaAnalysisField(value) {
|
|
6
|
-
if (!("name" in value))
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
|
|
10
|
-
if (!("count" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("percentageOfParent" in value))
|
|
13
|
-
return false;
|
|
6
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
7
|
+
if (!("fullName" in value) || value["fullName"] === void 0) return false;
|
|
8
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
9
|
+
if (!("percentageOfParent" in value) || value["percentageOfParent"] === void 0) return false;
|
|
14
10
|
return true;
|
|
15
11
|
}
|
|
16
12
|
export function SchemaAnalysisFieldFromJSON(json) {
|
|
@@ -29,7 +25,10 @@ export function SchemaAnalysisFieldFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
25
|
"subFields": json["subFields"] == null ? void 0 : json["subFields"].map(SchemaAnalysisFieldFromJSON)
|
|
30
26
|
};
|
|
31
27
|
}
|
|
32
|
-
export function SchemaAnalysisFieldToJSON(
|
|
28
|
+
export function SchemaAnalysisFieldToJSON(json) {
|
|
29
|
+
return SchemaAnalysisFieldToJSONTyped(json, false);
|
|
30
|
+
}
|
|
31
|
+
export function SchemaAnalysisFieldToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
32
|
if (value == null) {
|
|
34
33
|
return value;
|
|
35
34
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -37,7 +37,8 @@ export interface SchemaAnalysisFieldType {
|
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the SchemaAnalysisFieldType interface.
|
|
39
39
|
*/
|
|
40
|
-
export declare function instanceOfSchemaAnalysisFieldType(value: object):
|
|
40
|
+
export declare function instanceOfSchemaAnalysisFieldType(value: object): value is SchemaAnalysisFieldType;
|
|
41
41
|
export declare function SchemaAnalysisFieldTypeFromJSON(json: any): SchemaAnalysisFieldType;
|
|
42
42
|
export declare function SchemaAnalysisFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisFieldType;
|
|
43
|
-
export declare function SchemaAnalysisFieldTypeToJSON(
|
|
43
|
+
export declare function SchemaAnalysisFieldTypeToJSON(json: any): SchemaAnalysisFieldType;
|
|
44
|
+
export declare function SchemaAnalysisFieldTypeToJSONTyped(value?: SchemaAnalysisFieldType | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfSchemaAnalysisFieldType(value) {
|
|
2
|
-
if (!("fieldType" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("percentageOfParent" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("fieldType" in value) || value["fieldType"] === void 0) return false;
|
|
3
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
4
|
+
if (!("percentageOfParent" in value) || value["percentageOfParent"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function SchemaAnalysisFieldTypeFromJSON(json) {
|
|
@@ -20,7 +17,10 @@ export function SchemaAnalysisFieldTypeFromJSONTyped(json, ignoreDiscriminator)
|
|
|
20
17
|
"percentageOfParent": json["percentageOfParent"]
|
|
21
18
|
};
|
|
22
19
|
}
|
|
23
|
-
export function SchemaAnalysisFieldTypeToJSON(
|
|
20
|
+
export function SchemaAnalysisFieldTypeToJSON(json) {
|
|
21
|
+
return SchemaAnalysisFieldTypeToJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function SchemaAnalysisFieldTypeToJSONTyped(value, ignoreDiscriminator = false) {
|
|
24
24
|
if (value == null) {
|
|
25
25
|
return value;
|
|
26
26
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -45,7 +45,8 @@ export interface SettingsResponse {
|
|
|
45
45
|
/**
|
|
46
46
|
* Check if a given object implements the SettingsResponse interface.
|
|
47
47
|
*/
|
|
48
|
-
export declare function instanceOfSettingsResponse(value: object):
|
|
48
|
+
export declare function instanceOfSettingsResponse(value: object): value is SettingsResponse;
|
|
49
49
|
export declare function SettingsResponseFromJSON(json: any): SettingsResponse;
|
|
50
50
|
export declare function SettingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsResponse;
|
|
51
|
-
export declare function SettingsResponseToJSON(
|
|
51
|
+
export declare function SettingsResponseToJSON(json: any): SettingsResponse;
|
|
52
|
+
export declare function SettingsResponseToJSONTyped(value?: SettingsResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export function instanceOfSettingsResponse(value) {
|
|
2
|
-
if (!("configurations" in value))
|
|
3
|
-
return false;
|
|
2
|
+
if (!("configurations" in value) || value["configurations"] === void 0) return false;
|
|
4
3
|
return true;
|
|
5
4
|
}
|
|
6
5
|
export function SettingsResponseFromJSON(json) {
|
|
@@ -17,7 +16,10 @@ export function SettingsResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
16
|
"configurations": json["configurations"]
|
|
18
17
|
};
|
|
19
18
|
}
|
|
20
|
-
export function SettingsResponseToJSON(
|
|
19
|
+
export function SettingsResponseToJSON(json) {
|
|
20
|
+
return SettingsResponseToJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
export function SettingsResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
21
23
|
if (value == null) {
|
|
22
24
|
return value;
|
|
23
25
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -33,7 +33,8 @@ export interface UpdateFileInformationRequest {
|
|
|
33
33
|
/**
|
|
34
34
|
* Check if a given object implements the UpdateFileInformationRequest interface.
|
|
35
35
|
*/
|
|
36
|
-
export declare function instanceOfUpdateFileInformationRequest(value: object):
|
|
36
|
+
export declare function instanceOfUpdateFileInformationRequest(value: object): value is UpdateFileInformationRequest;
|
|
37
37
|
export declare function UpdateFileInformationRequestFromJSON(json: any): UpdateFileInformationRequest;
|
|
38
38
|
export declare function UpdateFileInformationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFileInformationRequest;
|
|
39
|
-
export declare function UpdateFileInformationRequestToJSON(
|
|
39
|
+
export declare function UpdateFileInformationRequestToJSON(json: any): UpdateFileInformationRequest;
|
|
40
|
+
export declare function UpdateFileInformationRequestToJSONTyped(value?: UpdateFileInformationRequest | null, ignoreDiscriminator?: boolean): any;
|
package/dist/runtime/api/models/{UpdateFileInformationRequest.mjs → UpdateFileInformationRequest.js}
RENAMED
|
@@ -13,7 +13,10 @@ export function UpdateFileInformationRequestFromJSONTyped(json, ignoreDiscrimina
|
|
|
13
13
|
"metadata": json["metadata"] == null ? void 0 : json["metadata"]
|
|
14
14
|
};
|
|
15
15
|
}
|
|
16
|
-
export function UpdateFileInformationRequestToJSON(
|
|
16
|
+
export function UpdateFileInformationRequestToJSON(json) {
|
|
17
|
+
return UpdateFileInformationRequestToJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function UpdateFileInformationRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
17
20
|
if (value == null) {
|
|
18
21
|
return value;
|
|
19
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,7 +35,8 @@ export interface UpdateRequest {
|
|
|
35
35
|
/**
|
|
36
36
|
* Check if a given object implements the UpdateRequest interface.
|
|
37
37
|
*/
|
|
38
|
-
export declare function instanceOfUpdateRequest(value: object):
|
|
38
|
+
export declare function instanceOfUpdateRequest(value: object): value is UpdateRequest;
|
|
39
39
|
export declare function UpdateRequestFromJSON(json: any): UpdateRequest;
|
|
40
40
|
export declare function UpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRequest;
|
|
41
|
-
export declare function UpdateRequestToJSON(
|
|
41
|
+
export declare function UpdateRequestToJSON(json: any): UpdateRequest;
|
|
42
|
+
export declare function UpdateRequestToJSONTyped(value?: UpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfUpdateRequest(value) {
|
|
2
|
-
if (!("document" in value))
|
|
3
|
-
|
|
4
|
-
if (!("filter" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("document" in value) || value["document"] === void 0) return false;
|
|
3
|
+
if (!("filter" in value) || value["filter"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function UpdateRequestFromJSON(json) {
|
|
@@ -17,7 +15,10 @@ export function UpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
15
|
"filter": json["filter"]
|
|
18
16
|
};
|
|
19
17
|
}
|
|
20
|
-
export function UpdateRequestToJSON(
|
|
18
|
+
export function UpdateRequestToJSON(json) {
|
|
19
|
+
return UpdateRequestToJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
export function UpdateRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
21
22
|
if (value == null) {
|
|
22
23
|
return value;
|
|
23
24
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -43,7 +43,8 @@ export interface UpdateResponse {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the UpdateResponse interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfUpdateResponse(value: object):
|
|
46
|
+
export declare function instanceOfUpdateResponse(value: object): value is UpdateResponse;
|
|
47
47
|
export declare function UpdateResponseFromJSON(json: any): UpdateResponse;
|
|
48
48
|
export declare function UpdateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateResponse;
|
|
49
|
-
export declare function UpdateResponseToJSON(
|
|
49
|
+
export declare function UpdateResponseToJSON(json: any): UpdateResponse;
|
|
50
|
+
export declare function UpdateResponseToJSONTyped(value?: UpdateResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfUpdateResponse(value) {
|
|
2
|
-
if (!("wasAcknowledged" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("matchedCount" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("wasAcknowledged" in value) || value["wasAcknowledged"] === void 0) return false;
|
|
3
|
+
if (!("modifiedCount" in value) || value["modifiedCount"] === void 0) return false;
|
|
4
|
+
if (!("matchedCount" in value) || value["matchedCount"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function UpdateResponseFromJSON(json) {
|
|
@@ -21,7 +18,10 @@ export function UpdateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
21
18
|
"matchedCount": json["matchedCount"]
|
|
22
19
|
};
|
|
23
20
|
}
|
|
24
|
-
export function UpdateResponseToJSON(
|
|
21
|
+
export function UpdateResponseToJSON(json) {
|
|
22
|
+
return UpdateResponseToJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function UpdateResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
25
25
|
if (value == null) {
|
|
26
26
|
return value;
|
|
27
27
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Grant } from './Grant';
|
|
12
|
+
import type { Grant } from './Grant.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -32,7 +32,8 @@ export interface UpdateRoleRequest {
|
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the UpdateRoleRequest interface.
|
|
34
34
|
*/
|
|
35
|
-
export declare function instanceOfUpdateRoleRequest(value: object):
|
|
35
|
+
export declare function instanceOfUpdateRoleRequest(value: object): value is UpdateRoleRequest;
|
|
36
36
|
export declare function UpdateRoleRequestFromJSON(json: any): UpdateRoleRequest;
|
|
37
37
|
export declare function UpdateRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRoleRequest;
|
|
38
|
-
export declare function UpdateRoleRequestToJSON(
|
|
38
|
+
export declare function UpdateRoleRequestToJSON(json: any): UpdateRoleRequest;
|
|
39
|
+
export declare function UpdateRoleRequestToJSONTyped(value?: UpdateRoleRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GrantFromJSON,
|
|
3
3
|
GrantToJSON
|
|
4
|
-
} from "./Grant.
|
|
4
|
+
} from "./Grant.js";
|
|
5
5
|
export function instanceOfUpdateRoleRequest(value) {
|
|
6
|
-
if (!("isAdmin" in value))
|
|
7
|
-
return false;
|
|
6
|
+
if (!("isAdmin" in value) || value["isAdmin"] === void 0) return false;
|
|
8
7
|
return true;
|
|
9
8
|
}
|
|
10
9
|
export function UpdateRoleRequestFromJSON(json) {
|
|
@@ -19,7 +18,10 @@ export function UpdateRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
18
|
"collectionGrants": json["collectionGrants"] == null ? void 0 : json["collectionGrants"].map(GrantFromJSON)
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
|
-
export function UpdateRoleRequestToJSON(
|
|
21
|
+
export function UpdateRoleRequestToJSON(json) {
|
|
22
|
+
return UpdateRoleRequestToJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function UpdateRoleRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
23
25
|
if (value == null) {
|
|
24
26
|
return value;
|
|
25
27
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -43,7 +43,8 @@ export interface UserInformation {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the UserInformation interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfUserInformation(value: object):
|
|
46
|
+
export declare function instanceOfUserInformation(value: object): value is UserInformation;
|
|
47
47
|
export declare function UserInformationFromJSON(json: any): UserInformation;
|
|
48
48
|
export declare function UserInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInformation;
|
|
49
|
-
export declare function UserInformationToJSON(
|
|
49
|
+
export declare function UserInformationToJSON(json: any): UserInformation;
|
|
50
|
+
export declare function UserInformationToJSONTyped(value?: UserInformation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfUserInformation(value) {
|
|
2
|
-
if (!("userId" in value))
|
|
3
|
-
|
|
4
|
-
if (!("password" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("userId" in value) || value["userId"] === void 0) return false;
|
|
3
|
+
if (!("password" in value) || value["password"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function UserInformationFromJSON(json) {
|
|
@@ -19,7 +17,10 @@ export function UserInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
17
|
"roles": json["roles"] == null ? void 0 : json["roles"]
|
|
20
18
|
};
|
|
21
19
|
}
|
|
22
|
-
export function UserInformationToJSON(
|
|
20
|
+
export function UserInformationToJSON(json) {
|
|
21
|
+
return UserInformationToJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function UserInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
23
24
|
if (value == null) {
|
|
24
25
|
return value;
|
|
25
26
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Grant } from './Grant';
|
|
12
|
+
import type { Grant } from './Grant.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -50,7 +50,8 @@ export interface UserProfile {
|
|
|
50
50
|
/**
|
|
51
51
|
* Check if a given object implements the UserProfile interface.
|
|
52
52
|
*/
|
|
53
|
-
export declare function instanceOfUserProfile(value: object):
|
|
53
|
+
export declare function instanceOfUserProfile(value: object): value is UserProfile;
|
|
54
54
|
export declare function UserProfileFromJSON(json: any): UserProfile;
|
|
55
55
|
export declare function UserProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserProfile;
|
|
56
|
-
export declare function UserProfileToJSON(
|
|
56
|
+
export declare function UserProfileToJSON(json: any): UserProfile;
|
|
57
|
+
export declare function UserProfileToJSONTyped(value?: UserProfile | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GrantFromJSON,
|
|
3
3
|
GrantToJSON
|
|
4
|
-
} from "./Grant.
|
|
4
|
+
} from "./Grant.js";
|
|
5
5
|
export function instanceOfUserProfile(value) {
|
|
6
|
-
if (!("user" in value))
|
|
7
|
-
|
|
8
|
-
if (!("isAdmin" in value))
|
|
9
|
-
return false;
|
|
6
|
+
if (!("user" in value) || value["user"] === void 0) return false;
|
|
7
|
+
if (!("isAdmin" in value) || value["isAdmin"] === void 0) return false;
|
|
10
8
|
return true;
|
|
11
9
|
}
|
|
12
10
|
export function UserProfileFromJSON(json) {
|
|
@@ -24,7 +22,10 @@ export function UserProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
24
22
|
"grants": json["grants"] == null ? void 0 : json["grants"].map(GrantFromJSON)
|
|
25
23
|
};
|
|
26
24
|
}
|
|
27
|
-
export function UserProfileToJSON(
|
|
25
|
+
export function UserProfileToJSON(json) {
|
|
26
|
+
return UserProfileToJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function UserProfileToJSONTyped(value, ignoreDiscriminator = false) {
|
|
28
29
|
if (value == null) {
|
|
29
30
|
return value;
|
|
30
31
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.5.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -37,7 +37,8 @@ export interface Version {
|
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the Version interface.
|
|
39
39
|
*/
|
|
40
|
-
export declare function instanceOfVersion(value: object):
|
|
40
|
+
export declare function instanceOfVersion(value: object): value is Version;
|
|
41
41
|
export declare function VersionFromJSON(json: any): Version;
|
|
42
42
|
export declare function VersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Version;
|
|
43
|
-
export declare function VersionToJSON(
|
|
43
|
+
export declare function VersionToJSON(json: any): Version;
|
|
44
|
+
export declare function VersionToJSONTyped(value?: Version | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfVersion(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("builtAt" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("version" in value) || value["version"] === void 0) return false;
|
|
4
|
+
if (!("builtAt" in value) || value["builtAt"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function VersionFromJSON(json) {
|
|
@@ -20,7 +17,10 @@ export function VersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
17
|
"builtAt": new Date(json["builtAt"])
|
|
21
18
|
};
|
|
22
19
|
}
|
|
23
|
-
export function VersionToJSON(
|
|
20
|
+
export function VersionToJSON(json) {
|
|
21
|
+
return VersionToJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function VersionToJSONTyped(value, ignoreDiscriminator = false) {
|
|
24
24
|
if (value == null) {
|
|
25
25
|
return value;
|
|
26
26
|
}
|