@sfxcode/nuxt-mongocamp-server 1.5.2 → 1.7.0
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/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/.openapi-generator/FILES +18 -2
- package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
- package/dist/runtime/api/apis/ApplicationApi.d.ts +1 -1
- package/dist/runtime/api/apis/AuthApi.d.ts +21 -4
- package/dist/runtime/api/apis/AuthApi.js +50 -2
- package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
- package/dist/runtime/api/apis/CollectionApi.d.ts +26 -8
- package/dist/runtime/api/apis/CollectionApi.js +53 -2
- package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
- package/dist/runtime/api/apis/DocumentApi.d.ts +60 -13
- package/dist/runtime/api/apis/DocumentApi.js +136 -0
- package/dist/runtime/api/apis/FileApi.d.ts +1 -1
- package/dist/runtime/api/apis/IndexApi.d.ts +19 -2
- package/dist/runtime/api/apis/IndexApi.js +52 -0
- package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
- package/dist/runtime/api/apis/{InformationApi.d.ts → SystemApi.d.ts} +17 -3
- package/dist/runtime/api/apis/SystemApi.js +82 -0
- package/dist/runtime/api/apis/index.d.ts +1 -1
- package/dist/runtime/api/apis/index.js +1 -1
- package/dist/runtime/api/docs/AdminApi.md +2 -2
- package/dist/runtime/api/docs/AuthApi.md +79 -1
- package/dist/runtime/api/docs/ClusterInformation.md +36 -0
- package/dist/runtime/api/docs/ClusterMemberInformation.md +42 -0
- package/dist/runtime/api/docs/CollectionApi.md +86 -5
- package/dist/runtime/api/docs/CollectionPermission.md +40 -0
- package/dist/runtime/api/docs/CollectionStatus.md +1 -1
- package/dist/runtime/api/docs/CollectionSummary.md +50 -0
- package/dist/runtime/api/docs/CountResponse.md +34 -0
- package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
- package/dist/runtime/api/docs/DocumentApi.md +208 -24
- package/dist/runtime/api/docs/FileApi.md +2 -2
- package/dist/runtime/api/docs/FileInformation.md +1 -1
- package/dist/runtime/api/docs/IndexApi.md +80 -2
- package/dist/runtime/api/docs/IndexUsage.md +40 -0
- package/dist/runtime/api/docs/InsertError.md +38 -0
- package/dist/runtime/api/docs/InsertResponse.md +4 -0
- package/dist/runtime/api/docs/JsonSchemaDefinition.md +1 -1
- package/dist/runtime/api/docs/JsonValueAny.md +1 -1
- package/dist/runtime/api/docs/MongoCampConfiguration.md +1 -1
- package/dist/runtime/api/docs/MongoFindRequest.md +3 -3
- package/dist/runtime/api/docs/MongoIndex.md +3 -3
- package/dist/runtime/api/docs/PipelineStage.md +1 -1
- package/dist/runtime/api/docs/SearchRequest.md +38 -0
- package/dist/runtime/api/docs/SettingsResponse.md +1 -1
- package/dist/runtime/api/docs/SystemApi.md +139 -0
- package/dist/runtime/api/docs/UpdateFileInformationRequest.md +1 -1
- package/dist/runtime/api/docs/UpdateRequest.md +2 -2
- package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
- package/dist/runtime/api/models/ClusterInformation.d.ts +39 -0
- package/dist/runtime/api/models/ClusterInformation.js +32 -0
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +56 -0
- package/dist/runtime/api/models/ClusterMemberInformation.js +38 -0
- package/dist/runtime/api/models/CollectionPermission.d.ts +50 -0
- package/dist/runtime/api/models/CollectionPermission.js +35 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +3 -3
- package/dist/runtime/api/models/CollectionSummary.d.ts +80 -0
- package/dist/runtime/api/models/CollectionSummary.js +50 -0
- package/dist/runtime/api/models/CountResponse.d.ts +32 -0
- package/dist/runtime/api/models/CountResponse.js +26 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +3 -3
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
- package/dist/runtime/api/models/FileInformation.d.ts +3 -3
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
- package/dist/runtime/api/models/IndexUsage.d.ts +52 -0
- package/dist/runtime/api/models/IndexUsage.js +35 -0
- package/dist/runtime/api/models/InsertError.d.ts +44 -0
- package/dist/runtime/api/models/InsertError.js +32 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +14 -1
- package/dist/runtime/api/models/InsertResponse.js +10 -2
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/JobInformation.d.ts +2 -2
- package/dist/runtime/api/models/JobInformation.js +1 -2
- package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +3 -3
- package/dist/runtime/api/models/JsonValueAny.d.ts +3 -3
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
- package/dist/runtime/api/models/Login.d.ts +1 -1
- package/dist/runtime/api/models/LoginResult.d.ts +1 -1
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +3 -3
- package/dist/runtime/api/models/MongoFindRequest.d.ts +7 -7
- package/dist/runtime/api/models/MongoIndex.d.ts +7 -7
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/PipelineStage.d.ts +3 -3
- package/dist/runtime/api/models/Role.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
- package/dist/runtime/api/models/SearchRequest.d.ts +44 -0
- package/dist/runtime/api/models/SearchRequest.js +29 -0
- package/dist/runtime/api/models/SettingsResponse.d.ts +3 -3
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +3 -3
- package/dist/runtime/api/models/UpdateRequest.d.ts +5 -5
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
- package/dist/runtime/api/models/UserInformation.d.ts +1 -1
- package/dist/runtime/api/models/UserProfile.d.ts +1 -1
- package/dist/runtime/api/models/Version.d.ts +1 -1
- package/dist/runtime/api/models/index.d.ts +8 -0
- package/dist/runtime/api/models/index.js +8 -0
- package/dist/runtime/api/runtime.d.ts +1 -1
- package/dist/runtime/composables/mongocampApi.d.ts +1 -1
- package/dist/runtime/composables/mongocampApiCollection.d.ts +2 -2
- package/dist/runtime/composables/mongocampSearch.d.ts +3 -3
- package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
- package/dist/runtime/server/composables/mongocampApi.d.ts +1 -1
- package/dist/runtime/server/composables/mongocampServerApi.d.ts +1 -1
- package/dist/runtime/utils/createMongocampApis.d.ts +2 -2
- package/dist/runtime/utils/createMongocampApis.js +2 -2
- package/package.json +14 -14
- package/dist/runtime/api/apis/InformationApi.js +0 -37
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface CountResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CountResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof CountResponse
|
|
22
|
+
*/
|
|
23
|
+
count: number;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the CountResponse interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfCountResponse(value: object): value is CountResponse;
|
|
29
|
+
export declare function CountResponseFromJSON(json: any): CountResponse;
|
|
30
|
+
export declare function CountResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CountResponse;
|
|
31
|
+
export declare function CountResponseToJSON(json: any): CountResponse;
|
|
32
|
+
export declare function CountResponseToJSONTyped(value?: CountResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function instanceOfCountResponse(value) {
|
|
2
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
3
|
+
return true;
|
|
4
|
+
}
|
|
5
|
+
export function CountResponseFromJSON(json) {
|
|
6
|
+
return CountResponseFromJSONTyped(json, false);
|
|
7
|
+
}
|
|
8
|
+
export function CountResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if (json == null) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
"count": json["count"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function CountResponseToJSON(json) {
|
|
17
|
+
return CountResponseToJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function CountResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
20
|
+
if (value == null) {
|
|
21
|
+
return value;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
"count": value["count"]
|
|
25
|
+
};
|
|
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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,11 +41,11 @@ export interface DatabaseInfo {
|
|
|
41
41
|
fetched: Date;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {{ [key: string]:
|
|
44
|
+
* @type {{ [key: string]: any; }}
|
|
45
45
|
* @memberof DatabaseInfo
|
|
46
46
|
*/
|
|
47
47
|
map: {
|
|
48
|
-
[key: string]:
|
|
48
|
+
[key: string]: any;
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -47,11 +47,11 @@ export interface FileInformation {
|
|
|
47
47
|
uploadDate: Date;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {{ [key: string]:
|
|
50
|
+
* @type {{ [key: string]: any; }}
|
|
51
51
|
* @memberof FileInformation
|
|
52
52
|
*/
|
|
53
53
|
metadata: {
|
|
54
|
-
[key: string]:
|
|
54
|
+
[key: string]: any;
|
|
55
55
|
};
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface IndexUsage
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexUsage {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexUsage
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
|
+
* @memberof IndexUsage
|
|
28
|
+
*/
|
|
29
|
+
key: {
|
|
30
|
+
[key: string]: any;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {number}
|
|
35
|
+
* @memberof IndexUsage
|
|
36
|
+
*/
|
|
37
|
+
ops: number;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Date}
|
|
41
|
+
* @memberof IndexUsage
|
|
42
|
+
*/
|
|
43
|
+
since: Date;
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* Check if a given object implements the IndexUsage interface.
|
|
47
|
+
*/
|
|
48
|
+
export declare function instanceOfIndexUsage(value: object): value is IndexUsage;
|
|
49
|
+
export declare function IndexUsageFromJSON(json: any): IndexUsage;
|
|
50
|
+
export declare function IndexUsageFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexUsage;
|
|
51
|
+
export declare function IndexUsageToJSON(json: any): IndexUsage;
|
|
52
|
+
export declare function IndexUsageToJSONTyped(value?: IndexUsage | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
export function instanceOfIndexUsage(value) {
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("key" in value) || value["key"] === void 0) return false;
|
|
4
|
+
if (!("ops" in value) || value["ops"] === void 0) return false;
|
|
5
|
+
if (!("since" in value) || value["since"] === void 0) return false;
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
export function IndexUsageFromJSON(json) {
|
|
9
|
+
return IndexUsageFromJSONTyped(json, false);
|
|
10
|
+
}
|
|
11
|
+
export function IndexUsageFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if (json == null) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
"name": json["name"],
|
|
17
|
+
"key": json["key"],
|
|
18
|
+
"ops": json["ops"],
|
|
19
|
+
"since": new Date(json["since"])
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export function IndexUsageToJSON(json) {
|
|
23
|
+
return IndexUsageToJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function IndexUsageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
26
|
+
if (value == null) {
|
|
27
|
+
return value;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
"name": value["name"],
|
|
31
|
+
"key": value["key"],
|
|
32
|
+
"ops": value["ops"],
|
|
33
|
+
"since": value["since"].toISOString()
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-library
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface InsertError
|
|
16
|
+
*/
|
|
17
|
+
export interface InsertError {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof InsertError
|
|
22
|
+
*/
|
|
23
|
+
index: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InsertError
|
|
28
|
+
*/
|
|
29
|
+
code: number;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InsertError
|
|
34
|
+
*/
|
|
35
|
+
message: string;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the InsertError interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfInsertError(value: object): value is InsertError;
|
|
41
|
+
export declare function InsertErrorFromJSON(json: any): InsertError;
|
|
42
|
+
export declare function InsertErrorFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsertError;
|
|
43
|
+
export declare function InsertErrorToJSON(json: any): InsertError;
|
|
44
|
+
export declare function InsertErrorToJSONTyped(value?: InsertError | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function instanceOfInsertError(value) {
|
|
2
|
+
if (!("index" in value) || value["index"] === void 0) return false;
|
|
3
|
+
if (!("code" in value) || value["code"] === void 0) return false;
|
|
4
|
+
if (!("message" in value) || value["message"] === void 0) return false;
|
|
5
|
+
return true;
|
|
6
|
+
}
|
|
7
|
+
export function InsertErrorFromJSON(json) {
|
|
8
|
+
return InsertErrorFromJSONTyped(json, false);
|
|
9
|
+
}
|
|
10
|
+
export function InsertErrorFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if (json == null) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
"index": json["index"],
|
|
16
|
+
"code": json["code"],
|
|
17
|
+
"message": json["message"]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function InsertErrorToJSON(json) {
|
|
21
|
+
return InsertErrorToJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function InsertErrorToJSONTyped(value, ignoreDiscriminator = false) {
|
|
24
|
+
if (value == null) {
|
|
25
|
+
return value;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
"index": value["index"],
|
|
29
|
+
"code": value["code"],
|
|
30
|
+
"message": value["message"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -2,13 +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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
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 { InsertError } from './InsertError.js';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -27,6 +28,18 @@ export interface InsertResponse {
|
|
|
27
28
|
* @memberof InsertResponse
|
|
28
29
|
*/
|
|
29
30
|
insertedIds?: Array<string>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof InsertResponse
|
|
35
|
+
*/
|
|
36
|
+
insertedCount?: number;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<InsertError>}
|
|
40
|
+
* @memberof InsertResponse
|
|
41
|
+
*/
|
|
42
|
+
errors?: Array<InsertError>;
|
|
30
43
|
}
|
|
31
44
|
/**
|
|
32
45
|
* Check if a given object implements the InsertResponse interface.
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
InsertErrorFromJSON,
|
|
3
|
+
InsertErrorToJSON
|
|
4
|
+
} from "./InsertError.js";
|
|
1
5
|
export function instanceOfInsertResponse(value) {
|
|
2
6
|
if (!("wasAcknowledged" in value) || value["wasAcknowledged"] === void 0) return false;
|
|
3
7
|
return true;
|
|
@@ -11,7 +15,9 @@ export function InsertResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
11
15
|
}
|
|
12
16
|
return {
|
|
13
17
|
"wasAcknowledged": json["wasAcknowledged"],
|
|
14
|
-
"insertedIds": json["insertedIds"] == null ? void 0 : json["insertedIds"]
|
|
18
|
+
"insertedIds": json["insertedIds"] == null ? void 0 : json["insertedIds"],
|
|
19
|
+
"insertedCount": json["insertedCount"] == null ? void 0 : json["insertedCount"],
|
|
20
|
+
"errors": json["errors"] == null ? void 0 : json["errors"].map(InsertErrorFromJSON)
|
|
15
21
|
};
|
|
16
22
|
}
|
|
17
23
|
export function InsertResponseToJSON(json) {
|
|
@@ -23,6 +29,8 @@ export function InsertResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
23
29
|
}
|
|
24
30
|
return {
|
|
25
31
|
"wasAcknowledged": value["wasAcknowledged"],
|
|
26
|
-
"insertedIds": value["insertedIds"]
|
|
32
|
+
"insertedIds": value["insertedIds"],
|
|
33
|
+
"insertedCount": value["insertedCount"],
|
|
34
|
+
"errors": value["errors"] == null ? void 0 : value["errors"].map(InsertErrorToJSON)
|
|
27
35
|
};
|
|
28
36
|
}
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -38,7 +38,7 @@ export interface JobInformation {
|
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof JobInformation
|
|
40
40
|
*/
|
|
41
|
-
description
|
|
41
|
+
description?: string;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
44
|
* @type {string}
|
|
@@ -2,7 +2,6 @@ export function instanceOfJobInformation(value) {
|
|
|
2
2
|
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
3
|
if (!("group" in value) || value["group"] === void 0) return false;
|
|
4
4
|
if (!("jobClassName" in value) || value["jobClassName"] === void 0) return false;
|
|
5
|
-
if (!("description" in value) || value["description"] === void 0) return false;
|
|
6
5
|
if (!("cronExpression" in value) || value["cronExpression"] === void 0) return false;
|
|
7
6
|
if (!("priority" in value) || value["priority"] === void 0) return false;
|
|
8
7
|
return true;
|
|
@@ -18,7 +17,7 @@ export function JobInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
17
|
"name": json["name"],
|
|
19
18
|
"group": json["group"],
|
|
20
19
|
"jobClassName": json["jobClassName"],
|
|
21
|
-
"description": json["description"],
|
|
20
|
+
"description": json["description"] == null ? void 0 : json["description"],
|
|
22
21
|
"cronExpression": json["cronExpression"],
|
|
23
22
|
"priority": json["priority"],
|
|
24
23
|
"lastScheduledFireTime": json["lastScheduledFireTime"] == null ? void 0 : new Date(json["lastScheduledFireTime"]),
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -41,12 +41,12 @@ export interface JsonSchemaDefinition {
|
|
|
41
41
|
required?: Array<string>;
|
|
42
42
|
/**
|
|
43
43
|
*
|
|
44
|
-
* @type {{ [key: string]: { [key: string]:
|
|
44
|
+
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
45
45
|
* @memberof JsonSchemaDefinition
|
|
46
46
|
*/
|
|
47
47
|
properties: {
|
|
48
48
|
[key: string]: {
|
|
49
|
-
[key: string]:
|
|
49
|
+
[key: string]: any;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
52
52
|
}
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
export interface JsonValueAny {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {any}
|
|
21
21
|
* @memberof JsonValueAny
|
|
22
22
|
*/
|
|
23
|
-
value:
|
|
23
|
+
value: any | null;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the JsonValueAny interface.
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,10 +23,10 @@ export interface MongoCampConfiguration {
|
|
|
23
23
|
key: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {any}
|
|
27
27
|
* @memberof MongoCampConfiguration
|
|
28
28
|
*/
|
|
29
|
-
value:
|
|
29
|
+
value: any | null;
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
32
|
* @type {string}
|
|
@@ -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
|
+
* The version of the OpenAPI document: 1.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,27 +17,27 @@
|
|
|
17
17
|
export interface MongoFindRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {{ [key: string]:
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
21
|
* @memberof MongoFindRequest
|
|
22
22
|
*/
|
|
23
23
|
filter: {
|
|
24
|
-
[key: string]:
|
|
24
|
+
[key: string]: any;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {{ [key: string]:
|
|
28
|
+
* @type {{ [key: string]: any; }}
|
|
29
29
|
* @memberof MongoFindRequest
|
|
30
30
|
*/
|
|
31
31
|
sort: {
|
|
32
|
-
[key: string]:
|
|
32
|
+
[key: string]: any;
|
|
33
33
|
};
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
|
-
* @type {{ [key: string]:
|
|
36
|
+
* @type {{ [key: string]: any; }}
|
|
37
37
|
* @memberof MongoFindRequest
|
|
38
38
|
*/
|
|
39
39
|
projection: {
|
|
40
|
-
[key: string]:
|
|
40
|
+
[key: string]: any;
|
|
41
41
|
};
|
|
42
42
|
}
|
|
43
43
|
/**
|