@sfxcode/nuxt-mongocamp-server 1.0.4 → 1.0.5
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.d.ts +9 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +553 -4
- package/dist/runtime/api/apis/AdminApi.d.ts +181 -0
- package/dist/runtime/api/apis/AdminApi.mjs +509 -0
- package/dist/runtime/api/apis/ApplicationApi.d.ts +65 -0
- package/dist/runtime/api/apis/ApplicationApi.mjs +164 -0
- package/dist/runtime/api/apis/AuthApi.d.ts +104 -0
- package/dist/runtime/api/apis/AuthApi.mjs +296 -0
- package/dist/runtime/api/apis/BucketApi.d.ts +67 -0
- package/dist/runtime/api/apis/BucketApi.mjs +160 -0
- package/dist/runtime/api/apis/CollectionApi.d.ts +161 -0
- package/dist/runtime/api/apis/CollectionApi.mjs +435 -0
- package/dist/runtime/api/apis/DatabaseApi.d.ts +77 -0
- package/dist/runtime/api/apis/DatabaseApi.mjs +196 -0
- package/dist/runtime/api/apis/DocumentApi.d.ts +188 -0
- package/dist/runtime/api/apis/DocumentApi.mjs +465 -0
- package/dist/runtime/api/apis/FileApi.d.ts +125 -0
- package/dist/runtime/api/apis/FileApi.mjs +355 -0
- package/dist/runtime/api/apis/IndexApi.d.ts +137 -0
- package/dist/runtime/api/apis/IndexApi.mjs +367 -0
- package/dist/runtime/api/apis/InformationApi.d.ts +28 -0
- package/dist/runtime/api/apis/InformationApi.mjs +29 -0
- package/dist/runtime/api/apis/JobsApi.d.ts +94 -0
- package/dist/runtime/api/apis/JobsApi.mjs +252 -0
- package/dist/runtime/api/apis/index.d.ts +11 -0
- package/dist/runtime/api/apis/index.mjs +11 -0
- package/dist/runtime/api/index.d.ts +3 -0
- package/dist/runtime/api/index.mjs +3 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +49 -0
- package/dist/runtime/api/models/BucketInformation.mjs +36 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +107 -0
- package/dist/runtime/api/models/CollectionStatus.mjs +63 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +57 -0
- package/dist/runtime/api/models/DatabaseInfo.mjs +39 -0
- package/dist/runtime/api/models/DeleteResponse.d.ts +37 -0
- package/dist/runtime/api/models/DeleteResponse.mjs +30 -0
- package/dist/runtime/api/models/ErrorDescription.d.ts +43 -0
- package/dist/runtime/api/models/ErrorDescription.mjs +33 -0
- package/dist/runtime/api/models/FileInformation.d.ts +63 -0
- package/dist/runtime/api/models/FileInformation.mjs +42 -0
- package/dist/runtime/api/models/Grant.d.ts +55 -0
- package/dist/runtime/api/models/Grant.mjs +39 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +40 -0
- package/dist/runtime/api/models/IndexCreateRequest.mjs +34 -0
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +31 -0
- package/dist/runtime/api/models/IndexCreateResponse.mjs +27 -0
- package/dist/runtime/api/models/IndexDropResponse.d.ts +31 -0
- package/dist/runtime/api/models/IndexDropResponse.mjs +27 -0
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +73 -0
- package/dist/runtime/api/models/IndexOptionsRequest.mjs +41 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +37 -0
- package/dist/runtime/api/models/InsertResponse.mjs +30 -0
- package/dist/runtime/api/models/JobConfig.d.ts +61 -0
- package/dist/runtime/api/models/JobConfig.mjs +42 -0
- package/dist/runtime/api/models/JobInformation.d.ts +79 -0
- package/dist/runtime/api/models/JobInformation.mjs +49 -0
- package/dist/runtime/api/models/JsonResultBoolean.d.ts +27 -0
- package/dist/runtime/api/models/JsonResultBoolean.mjs +22 -0
- package/dist/runtime/api/models/JsonResultString.d.ts +27 -0
- package/dist/runtime/api/models/JsonResultString.mjs +22 -0
- package/dist/runtime/api/models/JsonSchema.d.ts +46 -0
- package/dist/runtime/api/models/JsonSchema.mjs +38 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +59 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.mjs +39 -0
- package/dist/runtime/api/models/JsonValueAny.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueAny.mjs +27 -0
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueBoolean.mjs +27 -0
- package/dist/runtime/api/models/JsonValueString.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueString.mjs +27 -0
- package/dist/runtime/api/models/Login.d.ts +37 -0
- package/dist/runtime/api/models/Login.mjs +30 -0
- package/dist/runtime/api/models/LoginResult.d.ts +44 -0
- package/dist/runtime/api/models/LoginResult.mjs +37 -0
- package/dist/runtime/api/models/Measurement.d.ts +33 -0
- package/dist/runtime/api/models/Measurement.mjs +24 -0
- package/dist/runtime/api/models/Metric.d.ts +52 -0
- package/dist/runtime/api/models/Metric.mjs +35 -0
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +38 -0
- package/dist/runtime/api/models/MongoAggregateRequest.mjs +34 -0
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +55 -0
- package/dist/runtime/api/models/MongoCampConfiguration.mjs +39 -0
- package/dist/runtime/api/models/MongoFindRequest.d.ts +49 -0
- package/dist/runtime/api/models/MongoFindRequest.mjs +33 -0
- package/dist/runtime/api/models/MongoIndex.d.ts +103 -0
- package/dist/runtime/api/models/MongoIndex.mjs +60 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +31 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.mjs +27 -0
- package/dist/runtime/api/models/PipelineStage.d.ts +37 -0
- package/dist/runtime/api/models/PipelineStage.mjs +30 -0
- package/dist/runtime/api/models/Role.d.ts +44 -0
- package/dist/runtime/api/models/Role.mjs +37 -0
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +50 -0
- package/dist/runtime/api/models/SchemaAnalysis.mjs +40 -0
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +62 -0
- package/dist/runtime/api/models/SchemaAnalysisField.mjs +45 -0
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +43 -0
- package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +33 -0
- package/dist/runtime/api/models/SettingsResponse.d.ts +51 -0
- package/dist/runtime/api/models/SettingsResponse.mjs +34 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +39 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +29 -0
- package/dist/runtime/api/models/UpdateRequest.d.ts +41 -0
- package/dist/runtime/api/models/UpdateRequest.mjs +30 -0
- package/dist/runtime/api/models/UpdateResponse.d.ts +49 -0
- package/dist/runtime/api/models/UpdateResponse.mjs +36 -0
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +38 -0
- package/dist/runtime/api/models/UpdateRoleRequest.mjs +34 -0
- package/dist/runtime/api/models/UserInformation.d.ts +49 -0
- package/dist/runtime/api/models/UserInformation.mjs +35 -0
- package/dist/runtime/api/models/UserProfile.d.ts +56 -0
- package/dist/runtime/api/models/UserProfile.mjs +41 -0
- package/dist/runtime/api/models/Version.d.ts +43 -0
- package/dist/runtime/api/models/Version.mjs +33 -0
- package/dist/runtime/api/models/index.d.ts +39 -0
- package/dist/runtime/api/models/index.mjs +39 -0
- package/dist/runtime/api/runtime.d.ts +182 -0
- package/dist/runtime/api/runtime.mjs +281 -0
- package/dist/runtime/composables/mongocampApi.d.ts +14 -0
- package/dist/runtime/composables/mongocampApi.mjs +45 -0
- package/dist/runtime/composables/mongocampAuth.d.ts +8 -0
- package/dist/runtime/composables/mongocampAuth.mjs +28 -0
- package/dist/runtime/composables/mongocampSearch.d.ts +11 -0
- package/dist/runtime/composables/mongocampSearch.mjs +20 -0
- package/dist/runtime/composables/mongocampStorage.d.ts +0 -0
- package/dist/runtime/composables/mongocampStorage.mjs +5 -0
- package/dist/runtime/composables/mongocampUrl.d.ts +1 -0
- package/dist/runtime/composables/mongocampUrl.mjs +5 -0
- package/dist/runtime/composables/mongocampUser.d.ts +3 -0
- package/dist/runtime/composables/mongocampUser.mjs +4 -0
- package/dist/types.d.ts +2 -8
- package/package.json +4 -3
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export function instanceOfJsonValueString(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "value" in value;
|
|
4
|
+
return isInstance;
|
|
5
|
+
}
|
|
6
|
+
export function JsonValueStringFromJSON(json) {
|
|
7
|
+
return JsonValueStringFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function JsonValueStringFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json === void 0 || json === null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"value": json["value"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function JsonValueStringToJSON(value) {
|
|
18
|
+
if (value === void 0) {
|
|
19
|
+
return void 0;
|
|
20
|
+
}
|
|
21
|
+
if (value === null) {
|
|
22
|
+
return null;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
"value": value.value
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
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 Login
|
|
16
|
+
*/
|
|
17
|
+
export interface Login {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Login
|
|
22
|
+
*/
|
|
23
|
+
userId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Login
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the Login interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfLogin(value: object): boolean;
|
|
35
|
+
export declare function LoginFromJSON(json: any): Login;
|
|
36
|
+
export declare function LoginFromJSONTyped(json: any, ignoreDiscriminator: boolean): Login;
|
|
37
|
+
export declare function LoginToJSON(value?: Login | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function instanceOfLogin(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "userId" in value;
|
|
4
|
+
isInstance = isInstance && "password" in value;
|
|
5
|
+
return isInstance;
|
|
6
|
+
}
|
|
7
|
+
export function LoginFromJSON(json) {
|
|
8
|
+
return LoginFromJSONTyped(json, false);
|
|
9
|
+
}
|
|
10
|
+
export function LoginFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if (json === void 0 || json === null) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
"userId": json["userId"],
|
|
16
|
+
"password": json["password"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function LoginToJSON(value) {
|
|
20
|
+
if (value === void 0) {
|
|
21
|
+
return void 0;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
"userId": value.userId,
|
|
28
|
+
"password": value.password
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
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
|
+
import type { UserProfile } from './UserProfile';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface LoginResult
|
|
17
|
+
*/
|
|
18
|
+
export interface LoginResult {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof LoginResult
|
|
23
|
+
*/
|
|
24
|
+
authToken: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {UserProfile}
|
|
28
|
+
* @memberof LoginResult
|
|
29
|
+
*/
|
|
30
|
+
userProfile: UserProfile;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {Date}
|
|
34
|
+
* @memberof LoginResult
|
|
35
|
+
*/
|
|
36
|
+
expirationDate: Date;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Check if a given object implements the LoginResult interface.
|
|
40
|
+
*/
|
|
41
|
+
export declare function instanceOfLoginResult(value: object): boolean;
|
|
42
|
+
export declare function LoginResultFromJSON(json: any): LoginResult;
|
|
43
|
+
export declare function LoginResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginResult;
|
|
44
|
+
export declare function LoginResultToJSON(value?: LoginResult | null): any;
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import {
|
|
2
|
+
UserProfileFromJSON,
|
|
3
|
+
UserProfileToJSON
|
|
4
|
+
} from "./UserProfile.mjs";
|
|
5
|
+
export function instanceOfLoginResult(value) {
|
|
6
|
+
let isInstance = true;
|
|
7
|
+
isInstance = isInstance && "authToken" in value;
|
|
8
|
+
isInstance = isInstance && "userProfile" in value;
|
|
9
|
+
isInstance = isInstance && "expirationDate" in value;
|
|
10
|
+
return isInstance;
|
|
11
|
+
}
|
|
12
|
+
export function LoginResultFromJSON(json) {
|
|
13
|
+
return LoginResultFromJSONTyped(json, false);
|
|
14
|
+
}
|
|
15
|
+
export function LoginResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if (json === void 0 || json === null) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
"authToken": json["authToken"],
|
|
21
|
+
"userProfile": UserProfileFromJSON(json["userProfile"]),
|
|
22
|
+
"expirationDate": new Date(json["expirationDate"])
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function LoginResultToJSON(value) {
|
|
26
|
+
if (value === void 0) {
|
|
27
|
+
return void 0;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
"authToken": value.authToken,
|
|
34
|
+
"userProfile": UserProfileToJSON(value.userProfile),
|
|
35
|
+
"expirationDate": value.expirationDate.toISOString()
|
|
36
|
+
};
|
|
37
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
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 Measurement
|
|
16
|
+
*/
|
|
17
|
+
export interface Measurement {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Measurement
|
|
22
|
+
*/
|
|
23
|
+
statisticType: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof Measurement
|
|
28
|
+
*/
|
|
29
|
+
value: number;
|
|
30
|
+
}
|
|
31
|
+
export declare function MeasurementFromJSON(json: any): Measurement;
|
|
32
|
+
export declare function MeasurementFromJSONTyped(json: any, ignoreDiscriminator: boolean): Measurement;
|
|
33
|
+
export declare function MeasurementToJSON(value?: Measurement | null): any;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export function MeasurementFromJSON(json) {
|
|
2
|
+
return MeasurementFromJSONTyped(json, false);
|
|
3
|
+
}
|
|
4
|
+
export function MeasurementFromJSONTyped(json, ignoreDiscriminator) {
|
|
5
|
+
if (json === void 0 || json === null) {
|
|
6
|
+
return json;
|
|
7
|
+
}
|
|
8
|
+
return {
|
|
9
|
+
"statisticType": json["statisticType"],
|
|
10
|
+
"value": json["value"]
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export function MeasurementToJSON(value) {
|
|
14
|
+
if (value === void 0) {
|
|
15
|
+
return void 0;
|
|
16
|
+
}
|
|
17
|
+
if (value === null) {
|
|
18
|
+
return null;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
"statisticType": value.statisticType,
|
|
22
|
+
"value": value.value
|
|
23
|
+
};
|
|
24
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.0
|
|
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
|
+
import { Measurement } from './Measurement';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface Metric
|
|
17
|
+
*/
|
|
18
|
+
export interface Metric {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof Metric
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof Metric
|
|
29
|
+
*/
|
|
30
|
+
metricsType: string;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof Metric
|
|
35
|
+
*/
|
|
36
|
+
description: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof Metric
|
|
41
|
+
*/
|
|
42
|
+
baseUnit: string;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<Measurement>}
|
|
46
|
+
* @memberof Metric
|
|
47
|
+
*/
|
|
48
|
+
measurements?: Array<Measurement>;
|
|
49
|
+
}
|
|
50
|
+
export declare function MetricFromJSON(json: any): Metric;
|
|
51
|
+
export declare function MetricFromJSONTyped(json: any, ignoreDiscriminator: boolean): Metric;
|
|
52
|
+
export declare function MetricToJSON(value?: Metric | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
import {
|
|
3
|
+
MeasurementFromJSON,
|
|
4
|
+
MeasurementToJSON
|
|
5
|
+
} from "./Measurement.mjs";
|
|
6
|
+
export function MetricFromJSON(json) {
|
|
7
|
+
return MetricFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function MetricFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json === void 0 || json === null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"name": json["name"],
|
|
15
|
+
"metricsType": json["metricsType"],
|
|
16
|
+
"description": json["description"],
|
|
17
|
+
"baseUnit": json["baseUnit"],
|
|
18
|
+
"measurements": !exists(json, "measurements") ? void 0 : json["measurements"].map(MeasurementFromJSON)
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export function MetricToJSON(value) {
|
|
22
|
+
if (value === void 0) {
|
|
23
|
+
return void 0;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
"name": value.name,
|
|
30
|
+
"metricsType": value.metricsType,
|
|
31
|
+
"description": value.description,
|
|
32
|
+
"baseUnit": value.baseUnit,
|
|
33
|
+
"measurements": value.measurements === void 0 ? void 0 : value.measurements.map(MeasurementToJSON)
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
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
|
+
import type { PipelineStage } from './PipelineStage';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface MongoAggregateRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface MongoAggregateRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {Array<PipelineStage>}
|
|
22
|
+
* @memberof MongoAggregateRequest
|
|
23
|
+
*/
|
|
24
|
+
pipeline?: Array<PipelineStage>;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof MongoAggregateRequest
|
|
29
|
+
*/
|
|
30
|
+
allowDiskUse: boolean;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the MongoAggregateRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfMongoAggregateRequest(value: object): boolean;
|
|
36
|
+
export declare function MongoAggregateRequestFromJSON(json: any): MongoAggregateRequest;
|
|
37
|
+
export declare function MongoAggregateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoAggregateRequest;
|
|
38
|
+
export declare function MongoAggregateRequestToJSON(value?: MongoAggregateRequest | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
import {
|
|
3
|
+
PipelineStageFromJSON,
|
|
4
|
+
PipelineStageToJSON
|
|
5
|
+
} from "./PipelineStage.mjs";
|
|
6
|
+
export function instanceOfMongoAggregateRequest(value) {
|
|
7
|
+
let isInstance = true;
|
|
8
|
+
isInstance = isInstance && "allowDiskUse" in value;
|
|
9
|
+
return isInstance;
|
|
10
|
+
}
|
|
11
|
+
export function MongoAggregateRequestFromJSON(json) {
|
|
12
|
+
return MongoAggregateRequestFromJSONTyped(json, false);
|
|
13
|
+
}
|
|
14
|
+
export function MongoAggregateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if (json === void 0 || json === null) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
"pipeline": !exists(json, "pipeline") ? void 0 : json["pipeline"].map(PipelineStageFromJSON),
|
|
20
|
+
"allowDiskUse": json["allowDiskUse"]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function MongoAggregateRequestToJSON(value) {
|
|
24
|
+
if (value === void 0) {
|
|
25
|
+
return void 0;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
"pipeline": value.pipeline === void 0 ? void 0 : value.pipeline.map(PipelineStageToJSON),
|
|
32
|
+
"allowDiskUse": value.allowDiskUse
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
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 MongoCampConfiguration
|
|
16
|
+
*/
|
|
17
|
+
export interface MongoCampConfiguration {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MongoCampConfiguration
|
|
22
|
+
*/
|
|
23
|
+
key: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof MongoCampConfiguration
|
|
28
|
+
*/
|
|
29
|
+
value: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof MongoCampConfiguration
|
|
34
|
+
*/
|
|
35
|
+
configType: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof MongoCampConfiguration
|
|
40
|
+
*/
|
|
41
|
+
comment: string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {boolean}
|
|
45
|
+
* @memberof MongoCampConfiguration
|
|
46
|
+
*/
|
|
47
|
+
needsRestartForActivation: boolean;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Check if a given object implements the MongoCampConfiguration interface.
|
|
51
|
+
*/
|
|
52
|
+
export declare function instanceOfMongoCampConfiguration(value: object): boolean;
|
|
53
|
+
export declare function MongoCampConfigurationFromJSON(json: any): MongoCampConfiguration;
|
|
54
|
+
export declare function MongoCampConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoCampConfiguration;
|
|
55
|
+
export declare function MongoCampConfigurationToJSON(value?: MongoCampConfiguration | null): any;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export function instanceOfMongoCampConfiguration(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "key" in value;
|
|
4
|
+
isInstance = isInstance && "value" in value;
|
|
5
|
+
isInstance = isInstance && "configType" in value;
|
|
6
|
+
isInstance = isInstance && "comment" in value;
|
|
7
|
+
isInstance = isInstance && "needsRestartForActivation" in value;
|
|
8
|
+
return isInstance;
|
|
9
|
+
}
|
|
10
|
+
export function MongoCampConfigurationFromJSON(json) {
|
|
11
|
+
return MongoCampConfigurationFromJSONTyped(json, false);
|
|
12
|
+
}
|
|
13
|
+
export function MongoCampConfigurationFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
+
if (json === void 0 || json === null) {
|
|
15
|
+
return json;
|
|
16
|
+
}
|
|
17
|
+
return {
|
|
18
|
+
"key": json["key"],
|
|
19
|
+
"value": json["value"],
|
|
20
|
+
"configType": json["configType"],
|
|
21
|
+
"comment": json["comment"],
|
|
22
|
+
"needsRestartForActivation": json["needsRestartForActivation"]
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function MongoCampConfigurationToJSON(value) {
|
|
26
|
+
if (value === void 0) {
|
|
27
|
+
return void 0;
|
|
28
|
+
}
|
|
29
|
+
if (value === null) {
|
|
30
|
+
return null;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
"key": value.key,
|
|
34
|
+
"value": value.value,
|
|
35
|
+
"configType": value.configType,
|
|
36
|
+
"comment": value.comment,
|
|
37
|
+
"needsRestartForActivation": value.needsRestartForActivation
|
|
38
|
+
};
|
|
39
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
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 MongoFindRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface MongoFindRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof MongoFindRequest
|
|
22
|
+
*/
|
|
23
|
+
filter: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: string; }}
|
|
29
|
+
* @memberof MongoFindRequest
|
|
30
|
+
*/
|
|
31
|
+
sort: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {{ [key: string]: string; }}
|
|
37
|
+
* @memberof MongoFindRequest
|
|
38
|
+
*/
|
|
39
|
+
projection: {
|
|
40
|
+
[key: string]: string;
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the MongoFindRequest interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfMongoFindRequest(value: object): boolean;
|
|
47
|
+
export declare function MongoFindRequestFromJSON(json: any): MongoFindRequest;
|
|
48
|
+
export declare function MongoFindRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoFindRequest;
|
|
49
|
+
export declare function MongoFindRequestToJSON(value?: MongoFindRequest | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function instanceOfMongoFindRequest(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "filter" in value;
|
|
4
|
+
isInstance = isInstance && "sort" in value;
|
|
5
|
+
isInstance = isInstance && "projection" in value;
|
|
6
|
+
return isInstance;
|
|
7
|
+
}
|
|
8
|
+
export function MongoFindRequestFromJSON(json) {
|
|
9
|
+
return MongoFindRequestFromJSONTyped(json, false);
|
|
10
|
+
}
|
|
11
|
+
export function MongoFindRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if (json === void 0 || json === null) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
"filter": json["filter"],
|
|
17
|
+
"sort": json["sort"],
|
|
18
|
+
"projection": json["projection"]
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export function MongoFindRequestToJSON(value) {
|
|
22
|
+
if (value === void 0) {
|
|
23
|
+
return void 0;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
"filter": value.filter,
|
|
30
|
+
"sort": value.sort,
|
|
31
|
+
"projection": value.projection
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.2
|
|
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 MongoIndex
|
|
16
|
+
*/
|
|
17
|
+
export interface MongoIndex {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof MongoIndex
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof MongoIndex
|
|
28
|
+
*/
|
|
29
|
+
fields?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {boolean}
|
|
33
|
+
* @memberof MongoIndex
|
|
34
|
+
*/
|
|
35
|
+
unique: boolean;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof MongoIndex
|
|
40
|
+
*/
|
|
41
|
+
version: number;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof MongoIndex
|
|
46
|
+
*/
|
|
47
|
+
namespace: string;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {{ [key: string]: string; }}
|
|
51
|
+
* @memberof MongoIndex
|
|
52
|
+
*/
|
|
53
|
+
keys: {
|
|
54
|
+
[key: string]: string;
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
*
|
|
58
|
+
* @type {{ [key: string]: string; }}
|
|
59
|
+
* @memberof MongoIndex
|
|
60
|
+
*/
|
|
61
|
+
weights: {
|
|
62
|
+
[key: string]: string;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
* @type {boolean}
|
|
67
|
+
* @memberof MongoIndex
|
|
68
|
+
*/
|
|
69
|
+
expire: boolean;
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
* @type {number}
|
|
73
|
+
* @memberof MongoIndex
|
|
74
|
+
*/
|
|
75
|
+
expireAfterSeconds: number;
|
|
76
|
+
/**
|
|
77
|
+
*
|
|
78
|
+
* @type {boolean}
|
|
79
|
+
* @memberof MongoIndex
|
|
80
|
+
*/
|
|
81
|
+
text: boolean;
|
|
82
|
+
/**
|
|
83
|
+
*
|
|
84
|
+
* @type {Date}
|
|
85
|
+
* @memberof MongoIndex
|
|
86
|
+
*/
|
|
87
|
+
fetched: Date;
|
|
88
|
+
/**
|
|
89
|
+
*
|
|
90
|
+
* @type {{ [key: string]: string; }}
|
|
91
|
+
* @memberof MongoIndex
|
|
92
|
+
*/
|
|
93
|
+
map: {
|
|
94
|
+
[key: string]: string;
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* Check if a given object implements the MongoIndex interface.
|
|
99
|
+
*/
|
|
100
|
+
export declare function instanceOfMongoIndex(value: object): boolean;
|
|
101
|
+
export declare function MongoIndexFromJSON(json: any): MongoIndex;
|
|
102
|
+
export declare function MongoIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoIndex;
|
|
103
|
+
export declare function MongoIndexToJSON(value?: MongoIndex | null): any;
|