@sfxcode/nuxt-mongocamp-server 1.8.0 → 1.9.1
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 +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/.openapi-generator/FILES +20 -0
- package/dist/runtime/api/.openapi-generator/VERSION +1 -1
- package/dist/runtime/api/apis/AdminApi.d.ts +65 -2
- package/dist/runtime/api/apis/AdminApi.js +39 -27
- package/dist/runtime/api/apis/ApplicationApi.d.ts +17 -2
- package/dist/runtime/api/apis/ApplicationApi.js +17 -11
- package/dist/runtime/api/apis/AuthApi.d.ts +17 -2
- package/dist/runtime/api/apis/AuthApi.js +27 -15
- package/dist/runtime/api/apis/BucketApi.d.ts +12 -2
- package/dist/runtime/api/apis/BucketApi.js +11 -9
- package/dist/runtime/api/apis/CollectionApi.d.ts +183 -6
- package/dist/runtime/api/apis/CollectionApi.js +233 -40
- package/dist/runtime/api/apis/DatabaseApi.d.ts +12 -2
- package/dist/runtime/api/apis/DatabaseApi.js +12 -10
- package/dist/runtime/api/apis/DocumentApi.d.ts +178 -15
- package/dist/runtime/api/apis/DocumentApi.js +54 -40
- package/dist/runtime/api/apis/FileApi.d.ts +78 -4
- package/dist/runtime/api/apis/FileApi.js +34 -24
- package/dist/runtime/api/apis/IndexApi.d.ts +83 -2
- package/dist/runtime/api/apis/IndexApi.js +46 -34
- package/dist/runtime/api/apis/JobsApi.d.ts +28 -2
- package/dist/runtime/api/apis/JobsApi.js +19 -15
- package/dist/runtime/api/apis/SystemApi.d.ts +48 -2
- package/dist/runtime/api/apis/SystemApi.js +146 -3
- package/dist/runtime/api/docs/Capabilities.md +42 -0
- package/dist/runtime/api/docs/CapabilityLimits.md +36 -0
- package/dist/runtime/api/docs/CollectionApi.md +251 -6
- package/dist/runtime/api/docs/CollectionCollation.md +40 -0
- package/dist/runtime/api/docs/CollectionOptions.md +46 -0
- package/dist/runtime/api/docs/CollectionStatus.md +1 -1
- package/dist/runtime/api/docs/ConnectionStats.md +38 -0
- package/dist/runtime/api/docs/CreateCollectionResponse.md +34 -0
- package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
- package/dist/runtime/api/docs/DocumentApi.md +19 -19
- package/dist/runtime/api/docs/FileInformation.md +1 -1
- package/dist/runtime/api/docs/IndexInfo.md +3 -3
- package/dist/runtime/api/docs/IndexOptionsRequest.md +2 -2
- package/dist/runtime/api/docs/IndexUsage.md +1 -1
- package/dist/runtime/api/docs/JsonSchemaDefinition.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/OpCounters.md +44 -0
- package/dist/runtime/api/docs/ReplicaSetState.md +40 -0
- package/dist/runtime/api/docs/SettingsResponse.md +1 -1
- package/dist/runtime/api/docs/SystemApi.md +210 -0
- package/dist/runtime/api/docs/SystemInfo.md +36 -0
- package/dist/runtime/api/docs/SystemStats.md +42 -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 -9
- package/dist/runtime/api/models/Capabilities.d.ts +47 -0
- package/dist/runtime/api/models/Capabilities.js +39 -0
- package/dist/runtime/api/models/CapabilityLimits.d.ts +34 -0
- package/dist/runtime/api/models/CapabilityLimits.js +29 -0
- package/dist/runtime/api/models/ClusterInformation.d.ts +1 -5
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -11
- package/dist/runtime/api/models/CollectionCollation.d.ts +42 -0
- package/dist/runtime/api/models/CollectionCollation.js +32 -0
- package/dist/runtime/api/models/CollectionOptions.d.ts +57 -0
- package/dist/runtime/api/models/CollectionOptions.js +41 -0
- package/dist/runtime/api/models/CollectionPermission.d.ts +1 -9
- package/dist/runtime/api/models/CollectionStatus.d.ts +2 -28
- package/dist/runtime/api/models/CollectionStatus.js +3 -2
- package/dist/runtime/api/models/CollectionSummary.d.ts +1 -19
- package/dist/runtime/api/models/ConnectionStats.d.ts +38 -0
- package/dist/runtime/api/models/ConnectionStats.js +32 -0
- package/dist/runtime/api/models/CopyRequest.d.ts +1 -9
- package/dist/runtime/api/models/CopyResponse.d.ts +1 -7
- package/dist/runtime/api/models/CountResponse.d.ts +1 -3
- package/dist/runtime/api/models/CreateCollectionResponse.d.ts +30 -0
- package/dist/runtime/api/models/CreateCollectionResponse.js +26 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +2 -12
- package/dist/runtime/api/models/DatabaseInfo.js +3 -2
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -5
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -7
- package/dist/runtime/api/models/FieldInfo.d.ts +1 -5
- package/dist/runtime/api/models/FieldTypeCount.d.ts +1 -5
- package/dist/runtime/api/models/FileInformation.d.ts +2 -14
- package/dist/runtime/api/models/FileInformation.js +4 -3
- package/dist/runtime/api/models/Grant.d.ts +1 -11
- package/dist/runtime/api/models/ImportResponse.d.ts +1 -11
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -7
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -3
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -3
- package/dist/runtime/api/models/IndexInfo.d.ts +4 -26
- package/dist/runtime/api/models/IndexKey.d.ts +1 -5
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +3 -29
- package/dist/runtime/api/models/IndexUsage.d.ts +2 -10
- package/dist/runtime/api/models/IndexUsage.js +3 -2
- package/dist/runtime/api/models/InsertError.d.ts +1 -7
- package/dist/runtime/api/models/InsertResponse.d.ts +1 -9
- package/dist/runtime/api/models/JobConfig.d.ts +1 -13
- package/dist/runtime/api/models/JobInformation.d.ts +1 -19
- package/dist/runtime/api/models/JobInformation.js +5 -4
- package/dist/runtime/api/models/JsonSchema.d.ts +1 -7
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +2 -12
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -3
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -3
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -3
- package/dist/runtime/api/models/Login.d.ts +1 -5
- package/dist/runtime/api/models/LoginResult.d.ts +1 -7
- package/dist/runtime/api/models/LoginResult.js +3 -2
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -5
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -11
- package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -10
- package/dist/runtime/api/models/MongoIndex.d.ts +4 -28
- package/dist/runtime/api/models/MongoIndex.js +3 -2
- package/dist/runtime/api/models/OpCounters.d.ts +50 -0
- package/dist/runtime/api/models/OpCounters.js +41 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -3
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -5
- package/dist/runtime/api/models/RenameRequest.d.ts +1 -5
- package/dist/runtime/api/models/RenameResponse.d.ts +1 -3
- package/dist/runtime/api/models/ReplicaSetState.d.ts +42 -0
- package/dist/runtime/api/models/ReplicaSetState.js +35 -0
- package/dist/runtime/api/models/Role.d.ts +1 -7
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -9
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -13
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -7
- package/dist/runtime/api/models/SearchRequest.d.ts +1 -7
- package/dist/runtime/api/models/SettingsResponse.d.ts +2 -10
- package/dist/runtime/api/models/SystemInfo.d.ts +34 -0
- package/dist/runtime/api/models/SystemInfo.js +28 -0
- package/dist/runtime/api/models/SystemStats.d.ts +49 -0
- package/dist/runtime/api/models/SystemStats.js +46 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +2 -6
- package/dist/runtime/api/models/UpdateRequest.d.ts +3 -7
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -9
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -5
- package/dist/runtime/api/models/UserInformation.d.ts +1 -9
- package/dist/runtime/api/models/UserProfile.d.ts +1 -11
- package/dist/runtime/api/models/Version.d.ts +1 -7
- package/dist/runtime/api/models/Version.js +3 -2
- package/dist/runtime/api/models/index.d.ts +10 -0
- package/dist/runtime/api/models/index.js +10 -0
- package/dist/runtime/api/runtime.d.ts +35 -2
- package/dist/runtime/api/runtime.js +84 -4
- package/dist/runtime/composables/mongocampApiFiles.d.ts +1 -1
- package/dist/runtime/composables/mongocampStorage.d.ts +7 -1
- package/dist/runtime/composables/mongocampStorage.js +12 -8
- package/package.json +4 -4
|
@@ -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.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,14 +18,10 @@ import type { ClusterMemberInformation } from './ClusterMemberInformation.js';
|
|
|
18
18
|
export interface ClusterInformation {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<ClusterMemberInformation>}
|
|
22
|
-
* @memberof ClusterInformation
|
|
23
21
|
*/
|
|
24
22
|
members?: Array<ClusterMemberInformation>;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {ClusterMemberInformation}
|
|
28
|
-
* @memberof ClusterInformation
|
|
29
25
|
*/
|
|
30
26
|
coordinator: ClusterMemberInformation;
|
|
31
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
|
+
* The version of the OpenAPI document: 1.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,32 +17,22 @@
|
|
|
17
17
|
export interface ClusterMemberInformation {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof ClusterMemberInformation
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof ClusterMemberInformation
|
|
28
24
|
*/
|
|
29
25
|
siteMaster: boolean;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof ClusterMemberInformation
|
|
34
28
|
*/
|
|
35
29
|
siteAddress: boolean;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof ClusterMemberInformation
|
|
40
32
|
*/
|
|
41
33
|
multicast: boolean;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof ClusterMemberInformation
|
|
46
36
|
*/
|
|
47
37
|
coordinator: boolean;
|
|
48
38
|
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.9.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 CollectionCollation
|
|
16
|
+
*/
|
|
17
|
+
export interface CollectionCollation {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
locale: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
strength?: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
caseLevel?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
*/
|
|
33
|
+
numericOrdering?: boolean;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the CollectionCollation interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfCollectionCollation(value: object): value is CollectionCollation;
|
|
39
|
+
export declare function CollectionCollationFromJSON(json: any): CollectionCollation;
|
|
40
|
+
export declare function CollectionCollationFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionCollation;
|
|
41
|
+
export declare function CollectionCollationToJSON(json: any): CollectionCollation;
|
|
42
|
+
export declare function CollectionCollationToJSONTyped(value?: CollectionCollation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function instanceOfCollectionCollation(value) {
|
|
2
|
+
if (!("locale" in value) || value["locale"] === void 0) return false;
|
|
3
|
+
return true;
|
|
4
|
+
}
|
|
5
|
+
export function CollectionCollationFromJSON(json) {
|
|
6
|
+
return CollectionCollationFromJSONTyped(json, false);
|
|
7
|
+
}
|
|
8
|
+
export function CollectionCollationFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if (json == null) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
"locale": json["locale"],
|
|
14
|
+
"strength": json["strength"] == null ? void 0 : json["strength"],
|
|
15
|
+
"caseLevel": json["caseLevel"] == null ? void 0 : json["caseLevel"],
|
|
16
|
+
"numericOrdering": json["numericOrdering"] == null ? void 0 : json["numericOrdering"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function CollectionCollationToJSON(json) {
|
|
20
|
+
return CollectionCollationToJSONTyped(json, false);
|
|
21
|
+
}
|
|
22
|
+
export function CollectionCollationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
23
|
+
if (value == null) {
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
"locale": value["locale"],
|
|
28
|
+
"strength": value["strength"],
|
|
29
|
+
"caseLevel": value["caseLevel"],
|
|
30
|
+
"numericOrdering": value["numericOrdering"]
|
|
31
|
+
};
|
|
32
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.9.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 type { CollectionCollation } from './CollectionCollation.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CollectionOptions
|
|
17
|
+
*/
|
|
18
|
+
export interface CollectionOptions {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
capped?: boolean;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
sizeInBytes?: number;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
maxDocuments?: number;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
validator?: {
|
|
35
|
+
[key: string]: any | null;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
*/
|
|
40
|
+
validationLevel?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
*/
|
|
44
|
+
validationAction?: string;
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
collation?: CollectionCollation;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the CollectionOptions interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfCollectionOptions(value: object): value is CollectionOptions;
|
|
54
|
+
export declare function CollectionOptionsFromJSON(json: any): CollectionOptions;
|
|
55
|
+
export declare function CollectionOptionsFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionOptions;
|
|
56
|
+
export declare function CollectionOptionsToJSON(json: any): CollectionOptions;
|
|
57
|
+
export declare function CollectionOptionsToJSONTyped(value?: CollectionOptions | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import {
|
|
2
|
+
CollectionCollationFromJSON,
|
|
3
|
+
CollectionCollationToJSON
|
|
4
|
+
} from "./CollectionCollation.js";
|
|
5
|
+
export function instanceOfCollectionOptions(value) {
|
|
6
|
+
return true;
|
|
7
|
+
}
|
|
8
|
+
export function CollectionOptionsFromJSON(json) {
|
|
9
|
+
return CollectionOptionsFromJSONTyped(json, false);
|
|
10
|
+
}
|
|
11
|
+
export function CollectionOptionsFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if (json == null) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
"capped": json["capped"] == null ? void 0 : json["capped"],
|
|
17
|
+
"sizeInBytes": json["sizeInBytes"] == null ? void 0 : json["sizeInBytes"],
|
|
18
|
+
"maxDocuments": json["maxDocuments"] == null ? void 0 : json["maxDocuments"],
|
|
19
|
+
"validator": json["validator"] == null ? void 0 : json["validator"],
|
|
20
|
+
"validationLevel": json["validationLevel"] == null ? void 0 : json["validationLevel"],
|
|
21
|
+
"validationAction": json["validationAction"] == null ? void 0 : json["validationAction"],
|
|
22
|
+
"collation": json["collation"] == null ? void 0 : CollectionCollationFromJSON(json["collation"])
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function CollectionOptionsToJSON(json) {
|
|
26
|
+
return CollectionOptionsToJSONTyped(json, false);
|
|
27
|
+
}
|
|
28
|
+
export function CollectionOptionsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
29
|
+
if (value == null) {
|
|
30
|
+
return value;
|
|
31
|
+
}
|
|
32
|
+
return {
|
|
33
|
+
"capped": value["capped"],
|
|
34
|
+
"sizeInBytes": value["sizeInBytes"],
|
|
35
|
+
"maxDocuments": value["maxDocuments"],
|
|
36
|
+
"validator": value["validator"],
|
|
37
|
+
"validationLevel": value["validationLevel"],
|
|
38
|
+
"validationAction": value["validationAction"],
|
|
39
|
+
"collation": CollectionCollationToJSON(value["collation"])
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -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.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface CollectionPermission {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CollectionPermission
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof CollectionPermission
|
|
28
24
|
*/
|
|
29
25
|
read: boolean;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof CollectionPermission
|
|
34
28
|
*/
|
|
35
29
|
write: boolean;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof CollectionPermission
|
|
40
32
|
*/
|
|
41
33
|
administrate: boolean;
|
|
42
34
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,85 +17,59 @@
|
|
|
17
17
|
export interface CollectionStatus {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CollectionStatus
|
|
22
20
|
*/
|
|
23
21
|
ns: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CollectionStatus
|
|
28
24
|
*/
|
|
29
25
|
collectionType: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof CollectionStatus
|
|
34
28
|
*/
|
|
35
29
|
scaleFactor: number;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof CollectionStatus
|
|
40
32
|
*/
|
|
41
33
|
size: number;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof CollectionStatus
|
|
46
36
|
*/
|
|
47
37
|
count: number;
|
|
48
38
|
/**
|
|
49
39
|
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof CollectionStatus
|
|
52
40
|
*/
|
|
53
41
|
storageSize: number;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof CollectionStatus
|
|
58
44
|
*/
|
|
59
45
|
avgObjSize: number;
|
|
60
46
|
/**
|
|
61
47
|
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof CollectionStatus
|
|
64
48
|
*/
|
|
65
49
|
nindexes: number;
|
|
66
50
|
/**
|
|
67
51
|
*
|
|
68
|
-
* @type {{ [key: string]: number; }}
|
|
69
|
-
* @memberof CollectionStatus
|
|
70
52
|
*/
|
|
71
53
|
indexSizes: {
|
|
72
54
|
[key: string]: number;
|
|
73
55
|
};
|
|
74
56
|
/**
|
|
75
57
|
*
|
|
76
|
-
* @type {number}
|
|
77
|
-
* @memberof CollectionStatus
|
|
78
58
|
*/
|
|
79
59
|
totalIndexSize: number;
|
|
80
60
|
/**
|
|
81
61
|
*
|
|
82
|
-
* @type {number}
|
|
83
|
-
* @memberof CollectionStatus
|
|
84
62
|
*/
|
|
85
63
|
ok: number;
|
|
86
64
|
/**
|
|
87
65
|
*
|
|
88
|
-
* @type {Date}
|
|
89
|
-
* @memberof CollectionStatus
|
|
90
66
|
*/
|
|
91
67
|
fetched: Date;
|
|
92
68
|
/**
|
|
93
69
|
*
|
|
94
|
-
* @type {{ [key: string]: any; }}
|
|
95
|
-
* @memberof CollectionStatus
|
|
96
70
|
*/
|
|
97
71
|
map: {
|
|
98
|
-
[key: string]: any;
|
|
72
|
+
[key: string]: any | null;
|
|
99
73
|
};
|
|
100
74
|
}
|
|
101
75
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseDateTime, serializeDateTime } from "../runtime.js";
|
|
1
2
|
export function instanceOfCollectionStatus(value) {
|
|
2
3
|
if (!("ns" in value) || value["ns"] === void 0) return false;
|
|
3
4
|
if (!("collectionType" in value) || value["collectionType"] === void 0) return false;
|
|
@@ -33,7 +34,7 @@ export function CollectionStatusFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
33
34
|
"indexSizes": json["indexSizes"],
|
|
34
35
|
"totalIndexSize": json["totalIndexSize"],
|
|
35
36
|
"ok": json["ok"],
|
|
36
|
-
"fetched":
|
|
37
|
+
"fetched": json["fetched"] == null ? json["fetched"] : parseDateTime(json["fetched"]),
|
|
37
38
|
"map": json["map"]
|
|
38
39
|
};
|
|
39
40
|
}
|
|
@@ -56,7 +57,7 @@ export function CollectionStatusToJSONTyped(value, ignoreDiscriminator = false)
|
|
|
56
57
|
"indexSizes": value["indexSizes"],
|
|
57
58
|
"totalIndexSize": value["totalIndexSize"],
|
|
58
59
|
"ok": value["ok"],
|
|
59
|
-
"fetched": value["fetched"]
|
|
60
|
+
"fetched": value["fetched"] == null ? value["fetched"] : serializeDateTime(value["fetched"]),
|
|
60
61
|
"map": value["map"]
|
|
61
62
|
};
|
|
62
63
|
}
|
|
@@ -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.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,56 +17,38 @@
|
|
|
17
17
|
export interface CollectionSummary {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CollectionSummary
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CollectionSummary
|
|
28
24
|
*/
|
|
29
25
|
collectionType: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof CollectionSummary
|
|
34
28
|
*/
|
|
35
29
|
count: number;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof CollectionSummary
|
|
40
32
|
*/
|
|
41
33
|
size: number;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof CollectionSummary
|
|
46
36
|
*/
|
|
47
37
|
storageSize: number;
|
|
48
38
|
/**
|
|
49
39
|
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof CollectionSummary
|
|
52
40
|
*/
|
|
53
41
|
avgObjSize: number;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof CollectionSummary
|
|
58
44
|
*/
|
|
59
45
|
nindexes: number;
|
|
60
46
|
/**
|
|
61
47
|
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof CollectionSummary
|
|
64
48
|
*/
|
|
65
49
|
totalIndexSize: number;
|
|
66
50
|
/**
|
|
67
51
|
*
|
|
68
|
-
* @type {boolean}
|
|
69
|
-
* @memberof CollectionSummary
|
|
70
52
|
*/
|
|
71
53
|
available: boolean;
|
|
72
54
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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.9.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 ConnectionStats
|
|
16
|
+
*/
|
|
17
|
+
export interface ConnectionStats {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
current: number;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
available: number;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
totalCreated: number;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the ConnectionStats interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfConnectionStats(value: object): value is ConnectionStats;
|
|
35
|
+
export declare function ConnectionStatsFromJSON(json: any): ConnectionStats;
|
|
36
|
+
export declare function ConnectionStatsFromJSONTyped(json: any, ignoreDiscriminator: boolean): ConnectionStats;
|
|
37
|
+
export declare function ConnectionStatsToJSON(json: any): ConnectionStats;
|
|
38
|
+
export declare function ConnectionStatsToJSONTyped(value?: ConnectionStats | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export function instanceOfConnectionStats(value) {
|
|
2
|
+
if (!("current" in value) || value["current"] === void 0) return false;
|
|
3
|
+
if (!("available" in value) || value["available"] === void 0) return false;
|
|
4
|
+
if (!("totalCreated" in value) || value["totalCreated"] === void 0) return false;
|
|
5
|
+
return true;
|
|
6
|
+
}
|
|
7
|
+
export function ConnectionStatsFromJSON(json) {
|
|
8
|
+
return ConnectionStatsFromJSONTyped(json, false);
|
|
9
|
+
}
|
|
10
|
+
export function ConnectionStatsFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if (json == null) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
"current": json["current"],
|
|
16
|
+
"available": json["available"],
|
|
17
|
+
"totalCreated": json["totalCreated"]
|
|
18
|
+
};
|
|
19
|
+
}
|
|
20
|
+
export function ConnectionStatsToJSON(json) {
|
|
21
|
+
return ConnectionStatsToJSONTyped(json, false);
|
|
22
|
+
}
|
|
23
|
+
export function ConnectionStatsToJSONTyped(value, ignoreDiscriminator = false) {
|
|
24
|
+
if (value == null) {
|
|
25
|
+
return value;
|
|
26
|
+
}
|
|
27
|
+
return {
|
|
28
|
+
"current": value["current"],
|
|
29
|
+
"available": value["available"],
|
|
30
|
+
"totalCreated": value["totalCreated"]
|
|
31
|
+
};
|
|
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
|
+
* The version of the OpenAPI document: 1.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,26 +17,18 @@
|
|
|
17
17
|
export interface CopyRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CopyRequest
|
|
22
20
|
*/
|
|
23
21
|
target: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof CopyRequest
|
|
28
24
|
*/
|
|
29
25
|
filter?: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof CopyRequest
|
|
34
28
|
*/
|
|
35
29
|
withIndexes?: boolean;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {boolean}
|
|
39
|
-
* @memberof CopyRequest
|
|
40
32
|
*/
|
|
41
33
|
dropTarget?: boolean;
|
|
42
34
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,20 +17,14 @@
|
|
|
17
17
|
export interface CopyResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof CopyResponse
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof CopyResponse
|
|
28
24
|
*/
|
|
29
25
|
count: number;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof CopyResponse
|
|
34
28
|
*/
|
|
35
29
|
indexes: number;
|
|
36
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
|
+
* The version of the OpenAPI document: 1.9.0
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,8 +17,6 @@
|
|
|
17
17
|
export interface CountResponse {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof CountResponse
|
|
22
20
|
*/
|
|
23
21
|
count: number;
|
|
24
22
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
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.9.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 CreateCollectionResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface CreateCollectionResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the CreateCollectionResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfCreateCollectionResponse(value: object): value is CreateCollectionResponse;
|
|
27
|
+
export declare function CreateCollectionResponseFromJSON(json: any): CreateCollectionResponse;
|
|
28
|
+
export declare function CreateCollectionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): CreateCollectionResponse;
|
|
29
|
+
export declare function CreateCollectionResponseToJSON(json: any): CreateCollectionResponse;
|
|
30
|
+
export declare function CreateCollectionResponseToJSONTyped(value?: CreateCollectionResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function instanceOfCreateCollectionResponse(value) {
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
return true;
|
|
4
|
+
}
|
|
5
|
+
export function CreateCollectionResponseFromJSON(json) {
|
|
6
|
+
return CreateCollectionResponseFromJSONTyped(json, false);
|
|
7
|
+
}
|
|
8
|
+
export function CreateCollectionResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if (json == null) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
"name": json["name"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function CreateCollectionResponseToJSON(json) {
|
|
17
|
+
return CreateCollectionResponseToJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function CreateCollectionResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
20
|
+
if (value == null) {
|
|
21
|
+
return value;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
"name": value["name"]
|
|
25
|
+
};
|
|
26
|
+
}
|