@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,30 +1,17 @@
|
|
|
1
1
|
export function instanceOfCollectionStatus(value) {
|
|
2
|
-
if (!("ns" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
|
|
10
|
-
if (!("
|
|
11
|
-
|
|
12
|
-
if (!("
|
|
13
|
-
|
|
14
|
-
if (!("
|
|
15
|
-
return false;
|
|
16
|
-
if (!("nindexes" in value))
|
|
17
|
-
return false;
|
|
18
|
-
if (!("indexSizes" in value))
|
|
19
|
-
return false;
|
|
20
|
-
if (!("totalIndexSize" in value))
|
|
21
|
-
return false;
|
|
22
|
-
if (!("ok" in value))
|
|
23
|
-
return false;
|
|
24
|
-
if (!("fetched" in value))
|
|
25
|
-
return false;
|
|
26
|
-
if (!("map" in value))
|
|
27
|
-
return false;
|
|
2
|
+
if (!("ns" in value) || value["ns"] === void 0) return false;
|
|
3
|
+
if (!("collectionType" in value) || value["collectionType"] === void 0) return false;
|
|
4
|
+
if (!("scaleFactor" in value) || value["scaleFactor"] === void 0) return false;
|
|
5
|
+
if (!("size" in value) || value["size"] === void 0) return false;
|
|
6
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
7
|
+
if (!("storageSize" in value) || value["storageSize"] === void 0) return false;
|
|
8
|
+
if (!("avgObjSize" in value) || value["avgObjSize"] === void 0) return false;
|
|
9
|
+
if (!("nindexes" in value) || value["nindexes"] === void 0) return false;
|
|
10
|
+
if (!("indexSizes" in value) || value["indexSizes"] === void 0) return false;
|
|
11
|
+
if (!("totalIndexSize" in value) || value["totalIndexSize"] === void 0) return false;
|
|
12
|
+
if (!("ok" in value) || value["ok"] === void 0) return false;
|
|
13
|
+
if (!("fetched" in value) || value["fetched"] === void 0) return false;
|
|
14
|
+
if (!("map" in value) || value["map"] === void 0) return false;
|
|
28
15
|
return true;
|
|
29
16
|
}
|
|
30
17
|
export function CollectionStatusFromJSON(json) {
|
|
@@ -50,7 +37,10 @@ export function CollectionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
50
37
|
"map": json["map"]
|
|
51
38
|
};
|
|
52
39
|
}
|
|
53
|
-
export function CollectionStatusToJSON(
|
|
40
|
+
export function CollectionStatusToJSON(json) {
|
|
41
|
+
return CollectionStatusToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
export function CollectionStatusToJSONTyped(value, ignoreDiscriminator = false) {
|
|
54
44
|
if (value == null) {
|
|
55
45
|
return value;
|
|
56
46
|
}
|
|
@@ -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).
|
|
@@ -51,7 +51,8 @@ export interface DatabaseInfo {
|
|
|
51
51
|
/**
|
|
52
52
|
* Check if a given object implements the DatabaseInfo interface.
|
|
53
53
|
*/
|
|
54
|
-
export declare function instanceOfDatabaseInfo(value: object):
|
|
54
|
+
export declare function instanceOfDatabaseInfo(value: object): value is DatabaseInfo;
|
|
55
55
|
export declare function DatabaseInfoFromJSON(json: any): DatabaseInfo;
|
|
56
56
|
export declare function DatabaseInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseInfo;
|
|
57
|
-
export declare function DatabaseInfoToJSON(
|
|
57
|
+
export declare function DatabaseInfoToJSON(json: any): DatabaseInfo;
|
|
58
|
+
export declare function DatabaseInfoToJSONTyped(value?: DatabaseInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export function instanceOfDatabaseInfo(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
return false;
|
|
8
|
-
if (!("fetched" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("map" in value))
|
|
11
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("sizeOnDisk" in value) || value["sizeOnDisk"] === void 0) return false;
|
|
4
|
+
if (!("empty" in value) || value["empty"] === void 0) return false;
|
|
5
|
+
if (!("fetched" in value) || value["fetched"] === void 0) return false;
|
|
6
|
+
if (!("map" in value) || value["map"] === void 0) return false;
|
|
12
7
|
return true;
|
|
13
8
|
}
|
|
14
9
|
export function DatabaseInfoFromJSON(json) {
|
|
@@ -26,7 +21,10 @@ export function DatabaseInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
21
|
"map": json["map"]
|
|
27
22
|
};
|
|
28
23
|
}
|
|
29
|
-
export function DatabaseInfoToJSON(
|
|
24
|
+
export function DatabaseInfoToJSON(json) {
|
|
25
|
+
return DatabaseInfoToJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function DatabaseInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
30
28
|
if (value == null) {
|
|
31
29
|
return value;
|
|
32
30
|
}
|
|
@@ -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).
|
|
@@ -31,7 +31,8 @@ export interface DeleteResponse {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the DeleteResponse interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfDeleteResponse(value: object):
|
|
34
|
+
export declare function instanceOfDeleteResponse(value: object): value is DeleteResponse;
|
|
35
35
|
export declare function DeleteResponseFromJSON(json: any): DeleteResponse;
|
|
36
36
|
export declare function DeleteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteResponse;
|
|
37
|
-
export declare function DeleteResponseToJSON(
|
|
37
|
+
export declare function DeleteResponseToJSON(json: any): DeleteResponse;
|
|
38
|
+
export declare function DeleteResponseToJSONTyped(value?: DeleteResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfDeleteResponse(value) {
|
|
2
|
-
if (!("wasAcknowledged" in value))
|
|
3
|
-
|
|
4
|
-
if (!("deletedCount" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("wasAcknowledged" in value) || value["wasAcknowledged"] === void 0) return false;
|
|
3
|
+
if (!("deletedCount" in value) || value["deletedCount"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function DeleteResponseFromJSON(json) {
|
|
@@ -17,7 +15,10 @@ export function DeleteResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
17
15
|
"deletedCount": json["deletedCount"]
|
|
18
16
|
};
|
|
19
17
|
}
|
|
20
|
-
export function DeleteResponseToJSON(
|
|
18
|
+
export function DeleteResponseToJSON(json) {
|
|
19
|
+
return DeleteResponseToJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
export function DeleteResponseToJSONTyped(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).
|
|
@@ -37,7 +37,8 @@ export interface ErrorDescription {
|
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the ErrorDescription interface.
|
|
39
39
|
*/
|
|
40
|
-
export declare function instanceOfErrorDescription(value: object):
|
|
40
|
+
export declare function instanceOfErrorDescription(value: object): value is ErrorDescription;
|
|
41
41
|
export declare function ErrorDescriptionFromJSON(json: any): ErrorDescription;
|
|
42
42
|
export declare function ErrorDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDescription;
|
|
43
|
-
export declare function ErrorDescriptionToJSON(
|
|
43
|
+
export declare function ErrorDescriptionToJSON(json: any): ErrorDescription;
|
|
44
|
+
export declare function ErrorDescriptionToJSONTyped(value?: ErrorDescription | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfErrorDescription(value) {
|
|
2
|
-
if (!("code" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("additionalInfo" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("code" in value) || value["code"] === void 0) return false;
|
|
3
|
+
if (!("msg" in value) || value["msg"] === void 0) return false;
|
|
4
|
+
if (!("additionalInfo" in value) || value["additionalInfo"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function ErrorDescriptionFromJSON(json) {
|
|
@@ -20,7 +17,10 @@ export function ErrorDescriptionFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
17
|
"additionalInfo": json["additionalInfo"]
|
|
21
18
|
};
|
|
22
19
|
}
|
|
23
|
-
export function ErrorDescriptionToJSON(
|
|
20
|
+
export function ErrorDescriptionToJSON(json) {
|
|
21
|
+
return ErrorDescriptionToJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ErrorDescriptionToJSONTyped(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).
|
|
@@ -57,7 +57,8 @@ export interface FileInformation {
|
|
|
57
57
|
/**
|
|
58
58
|
* Check if a given object implements the FileInformation interface.
|
|
59
59
|
*/
|
|
60
|
-
export declare function instanceOfFileInformation(value: object):
|
|
60
|
+
export declare function instanceOfFileInformation(value: object): value is FileInformation;
|
|
61
61
|
export declare function FileInformationFromJSON(json: any): FileInformation;
|
|
62
62
|
export declare function FileInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileInformation;
|
|
63
|
-
export declare function FileInformationToJSON(
|
|
63
|
+
export declare function FileInformationToJSON(json: any): FileInformation;
|
|
64
|
+
export declare function FileInformationToJSONTyped(value?: FileInformation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export function instanceOfFileInformation(value) {
|
|
2
|
-
if (!("id" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("chunkSize" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("uploadDate" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("metadata" in value))
|
|
13
|
-
return false;
|
|
2
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
3
|
+
if (!("filename" in value) || value["filename"] === void 0) return false;
|
|
4
|
+
if (!("length" in value) || value["length"] === void 0) return false;
|
|
5
|
+
if (!("chunkSize" in value) || value["chunkSize"] === void 0) return false;
|
|
6
|
+
if (!("uploadDate" in value) || value["uploadDate"] === void 0) return false;
|
|
7
|
+
if (!("metadata" in value) || value["metadata"] === void 0) return false;
|
|
14
8
|
return true;
|
|
15
9
|
}
|
|
16
10
|
export function FileInformationFromJSON(json) {
|
|
@@ -29,7 +23,10 @@ export function FileInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
23
|
"metadata": json["metadata"]
|
|
30
24
|
};
|
|
31
25
|
}
|
|
32
|
-
export function FileInformationToJSON(
|
|
26
|
+
export function FileInformationToJSON(json) {
|
|
27
|
+
return FileInformationToJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function FileInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
30
|
if (value == null) {
|
|
34
31
|
return value;
|
|
35
32
|
}
|
|
@@ -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).
|
|
@@ -49,7 +49,8 @@ export interface Grant {
|
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the Grant interface.
|
|
51
51
|
*/
|
|
52
|
-
export declare function instanceOfGrant(value: object):
|
|
52
|
+
export declare function instanceOfGrant(value: object): value is Grant;
|
|
53
53
|
export declare function GrantFromJSON(json: any): Grant;
|
|
54
54
|
export declare function GrantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Grant;
|
|
55
|
-
export declare function GrantToJSON(
|
|
55
|
+
export declare function GrantToJSON(json: any): Grant;
|
|
56
|
+
export declare function GrantToJSONTyped(value?: Grant | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export function instanceOfGrant(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
return false;
|
|
8
|
-
if (!("administrate" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("grantType" in value))
|
|
11
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("read" in value) || value["read"] === void 0) return false;
|
|
4
|
+
if (!("write" in value) || value["write"] === void 0) return false;
|
|
5
|
+
if (!("administrate" in value) || value["administrate"] === void 0) return false;
|
|
6
|
+
if (!("grantType" in value) || value["grantType"] === void 0) return false;
|
|
12
7
|
return true;
|
|
13
8
|
}
|
|
14
9
|
export function GrantFromJSON(json) {
|
|
@@ -26,7 +21,10 @@ export function GrantFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
26
21
|
"grantType": json["grantType"]
|
|
27
22
|
};
|
|
28
23
|
}
|
|
29
|
-
export function GrantToJSON(
|
|
24
|
+
export function GrantToJSON(json) {
|
|
25
|
+
return GrantToJSONTyped(json, false);
|
|
26
|
+
}
|
|
27
|
+
export function GrantToJSONTyped(value, ignoreDiscriminator = false) {
|
|
30
28
|
if (value == null) {
|
|
31
29
|
return value;
|
|
32
30
|
}
|
|
@@ -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 { IndexOptionsRequest } from './IndexOptionsRequest';
|
|
12
|
+
import type { IndexOptionsRequest } from './IndexOptionsRequest.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -34,7 +34,8 @@ export interface IndexCreateRequest {
|
|
|
34
34
|
/**
|
|
35
35
|
* Check if a given object implements the IndexCreateRequest interface.
|
|
36
36
|
*/
|
|
37
|
-
export declare function instanceOfIndexCreateRequest(value: object):
|
|
37
|
+
export declare function instanceOfIndexCreateRequest(value: object): value is IndexCreateRequest;
|
|
38
38
|
export declare function IndexCreateRequestFromJSON(json: any): IndexCreateRequest;
|
|
39
39
|
export declare function IndexCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateRequest;
|
|
40
|
-
export declare function IndexCreateRequestToJSON(
|
|
40
|
+
export declare function IndexCreateRequestToJSON(json: any): IndexCreateRequest;
|
|
41
|
+
export declare function IndexCreateRequestToJSONTyped(value?: IndexCreateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IndexOptionsRequestFromJSON,
|
|
3
3
|
IndexOptionsRequestToJSON
|
|
4
|
-
} from "./IndexOptionsRequest.
|
|
4
|
+
} from "./IndexOptionsRequest.js";
|
|
5
5
|
export function instanceOfIndexCreateRequest(value) {
|
|
6
|
-
if (!("keys" in value))
|
|
7
|
-
return false;
|
|
6
|
+
if (!("keys" in value) || value["keys"] === void 0) return false;
|
|
8
7
|
return true;
|
|
9
8
|
}
|
|
10
9
|
export function IndexCreateRequestFromJSON(json) {
|
|
@@ -19,7 +18,10 @@ export function IndexCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
18
|
"indexOptionsRequest": json["indexOptionsRequest"] == null ? void 0 : IndexOptionsRequestFromJSON(json["indexOptionsRequest"])
|
|
20
19
|
};
|
|
21
20
|
}
|
|
22
|
-
export function IndexCreateRequestToJSON(
|
|
21
|
+
export function IndexCreateRequestToJSON(json) {
|
|
22
|
+
return IndexCreateRequestToJSONTyped(json, false);
|
|
23
|
+
}
|
|
24
|
+
export function IndexCreateRequestToJSONTyped(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).
|
|
@@ -25,7 +25,8 @@ export interface IndexCreateResponse {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the IndexCreateResponse interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfIndexCreateResponse(value: object):
|
|
28
|
+
export declare function instanceOfIndexCreateResponse(value: object): value is IndexCreateResponse;
|
|
29
29
|
export declare function IndexCreateResponseFromJSON(json: any): IndexCreateResponse;
|
|
30
30
|
export declare function IndexCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateResponse;
|
|
31
|
-
export declare function IndexCreateResponseToJSON(
|
|
31
|
+
export declare function IndexCreateResponseToJSON(json: any): IndexCreateResponse;
|
|
32
|
+
export declare function IndexCreateResponseToJSONTyped(value?: IndexCreateResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export function instanceOfIndexCreateResponse(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
4
3
|
return true;
|
|
5
4
|
}
|
|
6
5
|
export function IndexCreateResponseFromJSON(json) {
|
|
@@ -14,7 +13,10 @@ export function IndexCreateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
13
|
"name": json["name"]
|
|
15
14
|
};
|
|
16
15
|
}
|
|
17
|
-
export function IndexCreateResponseToJSON(
|
|
16
|
+
export function IndexCreateResponseToJSON(json) {
|
|
17
|
+
return IndexCreateResponseToJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function IndexCreateResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
18
20
|
if (value == null) {
|
|
19
21
|
return value;
|
|
20
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).
|
|
@@ -25,7 +25,8 @@ export interface IndexDropResponse {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the IndexDropResponse interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfIndexDropResponse(value: object):
|
|
28
|
+
export declare function instanceOfIndexDropResponse(value: object): value is IndexDropResponse;
|
|
29
29
|
export declare function IndexDropResponseFromJSON(json: any): IndexDropResponse;
|
|
30
30
|
export declare function IndexDropResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexDropResponse;
|
|
31
|
-
export declare function IndexDropResponseToJSON(
|
|
31
|
+
export declare function IndexDropResponseToJSON(json: any): IndexDropResponse;
|
|
32
|
+
export declare function IndexDropResponseToJSONTyped(value?: IndexDropResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export function instanceOfIndexDropResponse(value) {
|
|
2
|
-
if (!("dropped" in value))
|
|
3
|
-
return false;
|
|
2
|
+
if (!("dropped" in value) || value["dropped"] === void 0) return false;
|
|
4
3
|
return true;
|
|
5
4
|
}
|
|
6
5
|
export function IndexDropResponseFromJSON(json) {
|
|
@@ -14,7 +13,10 @@ export function IndexDropResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
13
|
"dropped": json["dropped"]
|
|
15
14
|
};
|
|
16
15
|
}
|
|
17
|
-
export function IndexDropResponseToJSON(
|
|
16
|
+
export function IndexDropResponseToJSON(json) {
|
|
17
|
+
return IndexDropResponseToJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function IndexDropResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
18
20
|
if (value == null) {
|
|
19
21
|
return value;
|
|
20
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).
|
|
@@ -67,7 +67,8 @@ export interface IndexOptionsRequest {
|
|
|
67
67
|
/**
|
|
68
68
|
* Check if a given object implements the IndexOptionsRequest interface.
|
|
69
69
|
*/
|
|
70
|
-
export declare function instanceOfIndexOptionsRequest(value: object):
|
|
70
|
+
export declare function instanceOfIndexOptionsRequest(value: object): value is IndexOptionsRequest;
|
|
71
71
|
export declare function IndexOptionsRequestFromJSON(json: any): IndexOptionsRequest;
|
|
72
72
|
export declare function IndexOptionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexOptionsRequest;
|
|
73
|
-
export declare function IndexOptionsRequestToJSON(
|
|
73
|
+
export declare function IndexOptionsRequestToJSON(json: any): IndexOptionsRequest;
|
|
74
|
+
export declare function IndexOptionsRequestToJSONTyped(value?: IndexOptionsRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -19,7 +19,10 @@ export function IndexOptionsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
19
19
|
"min": json["min"] == null ? void 0 : json["min"]
|
|
20
20
|
};
|
|
21
21
|
}
|
|
22
|
-
export function IndexOptionsRequestToJSON(
|
|
22
|
+
export function IndexOptionsRequestToJSON(json) {
|
|
23
|
+
return IndexOptionsRequestToJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function IndexOptionsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
23
26
|
if (value == null) {
|
|
24
27
|
return value;
|
|
25
28
|
}
|
|
@@ -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).
|
|
@@ -31,7 +31,8 @@ export interface InsertResponse {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the InsertResponse interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfInsertResponse(value: object):
|
|
34
|
+
export declare function instanceOfInsertResponse(value: object): value is InsertResponse;
|
|
35
35
|
export declare function InsertResponseFromJSON(json: any): InsertResponse;
|
|
36
36
|
export declare function InsertResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsertResponse;
|
|
37
|
-
export declare function InsertResponseToJSON(
|
|
37
|
+
export declare function InsertResponseToJSON(json: any): InsertResponse;
|
|
38
|
+
export declare function InsertResponseToJSONTyped(value?: InsertResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export function instanceOfInsertResponse(value) {
|
|
2
|
-
if (!("wasAcknowledged" in value))
|
|
3
|
-
return false;
|
|
2
|
+
if (!("wasAcknowledged" in value) || value["wasAcknowledged"] === void 0) return false;
|
|
4
3
|
return true;
|
|
5
4
|
}
|
|
6
5
|
export function InsertResponseFromJSON(json) {
|
|
@@ -15,7 +14,10 @@ export function InsertResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
15
14
|
"insertedIds": json["insertedIds"] == null ? void 0 : json["insertedIds"]
|
|
16
15
|
};
|
|
17
16
|
}
|
|
18
|
-
export function InsertResponseToJSON(
|
|
17
|
+
export function InsertResponseToJSON(json) {
|
|
18
|
+
return InsertResponseToJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
export function InsertResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
19
21
|
if (value == null) {
|
|
20
22
|
return value;
|
|
21
23
|
}
|
|
@@ -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).
|
|
@@ -55,7 +55,8 @@ export interface JobConfig {
|
|
|
55
55
|
/**
|
|
56
56
|
* Check if a given object implements the JobConfig interface.
|
|
57
57
|
*/
|
|
58
|
-
export declare function instanceOfJobConfig(value: object):
|
|
58
|
+
export declare function instanceOfJobConfig(value: object): value is JobConfig;
|
|
59
59
|
export declare function JobConfigFromJSON(json: any): JobConfig;
|
|
60
60
|
export declare function JobConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobConfig;
|
|
61
|
-
export declare function JobConfigToJSON(
|
|
61
|
+
export declare function JobConfigToJSON(json: any): JobConfig;
|
|
62
|
+
export declare function JobConfigToJSONTyped(value?: JobConfig | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export function instanceOfJobConfig(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("cronExpression" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("group" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("priority" in value))
|
|
13
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("className" in value) || value["className"] === void 0) return false;
|
|
4
|
+
if (!("description" in value) || value["description"] === void 0) return false;
|
|
5
|
+
if (!("cronExpression" in value) || value["cronExpression"] === void 0) return false;
|
|
6
|
+
if (!("group" in value) || value["group"] === void 0) return false;
|
|
7
|
+
if (!("priority" in value) || value["priority"] === void 0) return false;
|
|
14
8
|
return true;
|
|
15
9
|
}
|
|
16
10
|
export function JobConfigFromJSON(json) {
|
|
@@ -29,7 +23,10 @@ export function JobConfigFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
29
23
|
"priority": json["priority"]
|
|
30
24
|
};
|
|
31
25
|
}
|
|
32
|
-
export function JobConfigToJSON(
|
|
26
|
+
export function JobConfigToJSON(json) {
|
|
27
|
+
return JobConfigToJSONTyped(json, false);
|
|
28
|
+
}
|
|
29
|
+
export function JobConfigToJSONTyped(value, ignoreDiscriminator = false) {
|
|
33
30
|
if (value == null) {
|
|
34
31
|
return value;
|
|
35
32
|
}
|
|
@@ -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).
|
|
@@ -73,7 +73,8 @@ export interface JobInformation {
|
|
|
73
73
|
/**
|
|
74
74
|
* Check if a given object implements the JobInformation interface.
|
|
75
75
|
*/
|
|
76
|
-
export declare function instanceOfJobInformation(value: object):
|
|
76
|
+
export declare function instanceOfJobInformation(value: object): value is JobInformation;
|
|
77
77
|
export declare function JobInformationFromJSON(json: any): JobInformation;
|
|
78
78
|
export declare function JobInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobInformation;
|
|
79
|
-
export declare function JobInformationToJSON(
|
|
79
|
+
export declare function JobInformationToJSON(json: any): JobInformation;
|
|
80
|
+
export declare function JobInformationToJSONTyped(value?: JobInformation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export function instanceOfJobInformation(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("description" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("cronExpression" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("priority" in value))
|
|
13
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("group" in value) || value["group"] === void 0) return false;
|
|
4
|
+
if (!("jobClassName" in value) || value["jobClassName"] === void 0) return false;
|
|
5
|
+
if (!("description" in value) || value["description"] === void 0) return false;
|
|
6
|
+
if (!("cronExpression" in value) || value["cronExpression"] === void 0) return false;
|
|
7
|
+
if (!("priority" in value) || value["priority"] === void 0) return false;
|
|
14
8
|
return true;
|
|
15
9
|
}
|
|
16
10
|
export function JobInformationFromJSON(json) {
|
|
@@ -32,7 +26,10 @@ export function JobInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
32
26
|
"scheduleInformation": json["scheduleInformation"] == null ? void 0 : json["scheduleInformation"]
|
|
33
27
|
};
|
|
34
28
|
}
|
|
35
|
-
export function JobInformationToJSON(
|
|
29
|
+
export function JobInformationToJSON(json) {
|
|
30
|
+
return JobInformationToJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
export function JobInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
36
33
|
if (value == null) {
|
|
37
34
|
return value;
|
|
38
35
|
}
|