@sfxcode/nuxt-mongocamp-server 1.7.0 → 1.8.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/README.md +8 -0
- package/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/.openapi-generator/FILES +18 -0
- 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 +1 -1
- package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
- package/dist/runtime/api/apis/CollectionApi.d.ts +58 -2
- package/dist/runtime/api/apis/CollectionApi.js +183 -0
- package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
- package/dist/runtime/api/apis/DocumentApi.d.ts +47 -2
- package/dist/runtime/api/apis/DocumentApi.js +145 -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/SystemApi.d.ts +1 -1
- package/dist/runtime/api/docs/CollectionApi.md +253 -1
- package/dist/runtime/api/docs/CopyRequest.md +40 -0
- package/dist/runtime/api/docs/CopyResponse.md +38 -0
- package/dist/runtime/api/docs/DocumentApi.md +196 -5
- package/dist/runtime/api/docs/FieldInfo.md +36 -0
- package/dist/runtime/api/docs/FieldTypeCount.md +36 -0
- package/dist/runtime/api/docs/ImportResponse.md +42 -0
- package/dist/runtime/api/docs/IndexApi.md +78 -0
- package/dist/runtime/api/docs/IndexCreateRequest.md +2 -0
- package/dist/runtime/api/docs/IndexInfo.md +54 -0
- package/dist/runtime/api/docs/IndexKey.md +36 -0
- package/dist/runtime/api/docs/IndexOptionsRequest.md +10 -0
- package/dist/runtime/api/docs/RenameRequest.md +36 -0
- package/dist/runtime/api/docs/RenameResponse.md +34 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
- package/dist/runtime/api/models/ClusterInformation.d.ts +1 -1
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -1
- package/dist/runtime/api/models/CollectionPermission.d.ts +1 -1
- package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
- package/dist/runtime/api/models/CollectionSummary.d.ts +1 -1
- package/dist/runtime/api/models/CopyRequest.d.ts +50 -0
- package/dist/runtime/api/models/CopyRequest.js +32 -0
- package/dist/runtime/api/models/CopyResponse.d.ts +44 -0
- package/dist/runtime/api/models/CopyResponse.js +32 -0
- package/dist/runtime/api/models/CountResponse.d.ts +1 -1
- package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
- 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/FieldInfo.d.ts +39 -0
- package/dist/runtime/api/models/FieldInfo.js +32 -0
- package/dist/runtime/api/models/FieldTypeCount.d.ts +38 -0
- package/dist/runtime/api/models/FieldTypeCount.js +29 -0
- package/dist/runtime/api/models/FileInformation.d.ts +1 -1
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/ImportResponse.d.ts +57 -0
- package/dist/runtime/api/models/ImportResponse.js +41 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +9 -2
- package/dist/runtime/api/models/IndexCreateRequest.js +9 -4
- 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/IndexInfo.d.ts +99 -0
- package/dist/runtime/api/models/IndexInfo.js +54 -0
- package/dist/runtime/api/models/IndexKey.d.ts +38 -0
- package/dist/runtime/api/models/IndexKey.js +29 -0
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +37 -1
- package/dist/runtime/api/models/IndexOptionsRequest.js +12 -2
- package/dist/runtime/api/models/IndexUsage.d.ts +1 -1
- package/dist/runtime/api/models/InsertError.d.ts +1 -1
- package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/JobInformation.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
- 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 +1 -1
- package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
- package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
- package/dist/runtime/api/models/RenameRequest.d.ts +38 -0
- package/dist/runtime/api/models/RenameRequest.js +28 -0
- package/dist/runtime/api/models/RenameResponse.d.ts +32 -0
- package/dist/runtime/api/models/RenameResponse.js +26 -0
- 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 +1 -1
- package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
- 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 +9 -0
- package/dist/runtime/api/models/index.js +9 -0
- package/dist/runtime/api/runtime.d.ts +1 -1
- package/package.json +2 -2
|
@@ -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.8.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 { IndexKey } from './IndexKey.js';
|
|
12
13
|
import type { IndexOptionsRequest } from './IndexOptionsRequest.js';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -21,7 +22,7 @@ export interface IndexCreateRequest {
|
|
|
21
22
|
* @type {{ [key: string]: number; }}
|
|
22
23
|
* @memberof IndexCreateRequest
|
|
23
24
|
*/
|
|
24
|
-
keys
|
|
25
|
+
keys?: {
|
|
25
26
|
[key: string]: number;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
@@ -30,6 +31,12 @@ export interface IndexCreateRequest {
|
|
|
30
31
|
* @memberof IndexCreateRequest
|
|
31
32
|
*/
|
|
32
33
|
indexOptionsRequest?: IndexOptionsRequest;
|
|
34
|
+
/**
|
|
35
|
+
*
|
|
36
|
+
* @type {Array<IndexKey>}
|
|
37
|
+
* @memberof IndexCreateRequest
|
|
38
|
+
*/
|
|
39
|
+
orderedKeys?: Array<IndexKey>;
|
|
33
40
|
}
|
|
34
41
|
/**
|
|
35
42
|
* Check if a given object implements the IndexCreateRequest interface.
|
|
@@ -1,9 +1,12 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IndexKeyFromJSON,
|
|
3
|
+
IndexKeyToJSON
|
|
4
|
+
} from "./IndexKey.js";
|
|
1
5
|
import {
|
|
2
6
|
IndexOptionsRequestFromJSON,
|
|
3
7
|
IndexOptionsRequestToJSON
|
|
4
8
|
} from "./IndexOptionsRequest.js";
|
|
5
9
|
export function instanceOfIndexCreateRequest(value) {
|
|
6
|
-
if (!("keys" in value) || value["keys"] === void 0) return false;
|
|
7
10
|
return true;
|
|
8
11
|
}
|
|
9
12
|
export function IndexCreateRequestFromJSON(json) {
|
|
@@ -14,8 +17,9 @@ export function IndexCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
14
17
|
return json;
|
|
15
18
|
}
|
|
16
19
|
return {
|
|
17
|
-
"keys": json["keys"],
|
|
18
|
-
"indexOptionsRequest": json["indexOptionsRequest"] == null ? void 0 : IndexOptionsRequestFromJSON(json["indexOptionsRequest"])
|
|
20
|
+
"keys": json["keys"] == null ? void 0 : json["keys"],
|
|
21
|
+
"indexOptionsRequest": json["indexOptionsRequest"] == null ? void 0 : IndexOptionsRequestFromJSON(json["indexOptionsRequest"]),
|
|
22
|
+
"orderedKeys": json["orderedKeys"] == null ? void 0 : json["orderedKeys"].map(IndexKeyFromJSON)
|
|
19
23
|
};
|
|
20
24
|
}
|
|
21
25
|
export function IndexCreateRequestToJSON(json) {
|
|
@@ -27,6 +31,7 @@ export function IndexCreateRequestToJSONTyped(value, ignoreDiscriminator = false
|
|
|
27
31
|
}
|
|
28
32
|
return {
|
|
29
33
|
"keys": value["keys"],
|
|
30
|
-
"indexOptionsRequest": IndexOptionsRequestToJSON(value["indexOptionsRequest"])
|
|
34
|
+
"indexOptionsRequest": IndexOptionsRequestToJSON(value["indexOptionsRequest"]),
|
|
35
|
+
"orderedKeys": value["orderedKeys"] == null ? void 0 : value["orderedKeys"].map(IndexKeyToJSON)
|
|
31
36
|
};
|
|
32
37
|
}
|
|
@@ -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.8.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.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,99 @@
|
|
|
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.8.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
|
+
import type { IndexKey } from './IndexKey.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IndexInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface IndexInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof IndexInfo
|
|
23
|
+
*/
|
|
24
|
+
name: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<IndexKey>}
|
|
28
|
+
* @memberof IndexInfo
|
|
29
|
+
*/
|
|
30
|
+
keys?: Array<IndexKey>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {boolean}
|
|
34
|
+
* @memberof IndexInfo
|
|
35
|
+
*/
|
|
36
|
+
unique: boolean;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {boolean}
|
|
40
|
+
* @memberof IndexInfo
|
|
41
|
+
*/
|
|
42
|
+
sparse: boolean;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {boolean}
|
|
46
|
+
* @memberof IndexInfo
|
|
47
|
+
*/
|
|
48
|
+
hidden: boolean;
|
|
49
|
+
/**
|
|
50
|
+
*
|
|
51
|
+
* @type {{ [key: string]: any; }}
|
|
52
|
+
* @memberof IndexInfo
|
|
53
|
+
*/
|
|
54
|
+
partialFilterExpression?: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
* @type {{ [key: string]: any; }}
|
|
60
|
+
* @memberof IndexInfo
|
|
61
|
+
*/
|
|
62
|
+
collation?: {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {{ [key: string]: any; }}
|
|
68
|
+
* @memberof IndexInfo
|
|
69
|
+
*/
|
|
70
|
+
weights?: {
|
|
71
|
+
[key: string]: any;
|
|
72
|
+
};
|
|
73
|
+
/**
|
|
74
|
+
*
|
|
75
|
+
* @type {string}
|
|
76
|
+
* @memberof IndexInfo
|
|
77
|
+
*/
|
|
78
|
+
defaultLanguage?: string;
|
|
79
|
+
/**
|
|
80
|
+
*
|
|
81
|
+
* @type {number}
|
|
82
|
+
* @memberof IndexInfo
|
|
83
|
+
*/
|
|
84
|
+
expireAfterSeconds?: number;
|
|
85
|
+
/**
|
|
86
|
+
*
|
|
87
|
+
* @type {number}
|
|
88
|
+
* @memberof IndexInfo
|
|
89
|
+
*/
|
|
90
|
+
version: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* Check if a given object implements the IndexInfo interface.
|
|
94
|
+
*/
|
|
95
|
+
export declare function instanceOfIndexInfo(value: object): value is IndexInfo;
|
|
96
|
+
export declare function IndexInfoFromJSON(json: any): IndexInfo;
|
|
97
|
+
export declare function IndexInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexInfo;
|
|
98
|
+
export declare function IndexInfoToJSON(json: any): IndexInfo;
|
|
99
|
+
export declare function IndexInfoToJSONTyped(value?: IndexInfo | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
IndexKeyFromJSON,
|
|
3
|
+
IndexKeyToJSON
|
|
4
|
+
} from "./IndexKey.js";
|
|
5
|
+
export function instanceOfIndexInfo(value) {
|
|
6
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
7
|
+
if (!("unique" in value) || value["unique"] === void 0) return false;
|
|
8
|
+
if (!("sparse" in value) || value["sparse"] === void 0) return false;
|
|
9
|
+
if (!("hidden" in value) || value["hidden"] === void 0) return false;
|
|
10
|
+
if (!("version" in value) || value["version"] === void 0) return false;
|
|
11
|
+
return true;
|
|
12
|
+
}
|
|
13
|
+
export function IndexInfoFromJSON(json) {
|
|
14
|
+
return IndexInfoFromJSONTyped(json, false);
|
|
15
|
+
}
|
|
16
|
+
export function IndexInfoFromJSONTyped(json, ignoreDiscriminator) {
|
|
17
|
+
if (json == null) {
|
|
18
|
+
return json;
|
|
19
|
+
}
|
|
20
|
+
return {
|
|
21
|
+
"name": json["name"],
|
|
22
|
+
"keys": json["keys"] == null ? void 0 : json["keys"].map(IndexKeyFromJSON),
|
|
23
|
+
"unique": json["unique"],
|
|
24
|
+
"sparse": json["sparse"],
|
|
25
|
+
"hidden": json["hidden"],
|
|
26
|
+
"partialFilterExpression": json["partialFilterExpression"] == null ? void 0 : json["partialFilterExpression"],
|
|
27
|
+
"collation": json["collation"] == null ? void 0 : json["collation"],
|
|
28
|
+
"weights": json["weights"] == null ? void 0 : json["weights"],
|
|
29
|
+
"defaultLanguage": json["defaultLanguage"] == null ? void 0 : json["defaultLanguage"],
|
|
30
|
+
"expireAfterSeconds": json["expireAfterSeconds"] == null ? void 0 : json["expireAfterSeconds"],
|
|
31
|
+
"version": json["version"]
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export function IndexInfoToJSON(json) {
|
|
35
|
+
return IndexInfoToJSONTyped(json, false);
|
|
36
|
+
}
|
|
37
|
+
export function IndexInfoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
38
|
+
if (value == null) {
|
|
39
|
+
return value;
|
|
40
|
+
}
|
|
41
|
+
return {
|
|
42
|
+
"name": value["name"],
|
|
43
|
+
"keys": value["keys"] == null ? void 0 : value["keys"].map(IndexKeyToJSON),
|
|
44
|
+
"unique": value["unique"],
|
|
45
|
+
"sparse": value["sparse"],
|
|
46
|
+
"hidden": value["hidden"],
|
|
47
|
+
"partialFilterExpression": value["partialFilterExpression"],
|
|
48
|
+
"collation": value["collation"],
|
|
49
|
+
"weights": value["weights"],
|
|
50
|
+
"defaultLanguage": value["defaultLanguage"],
|
|
51
|
+
"expireAfterSeconds": value["expireAfterSeconds"],
|
|
52
|
+
"version": value["version"]
|
|
53
|
+
};
|
|
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.8.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 IndexKey
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexKey {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof IndexKey
|
|
22
|
+
*/
|
|
23
|
+
field: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof IndexKey
|
|
28
|
+
*/
|
|
29
|
+
direction: string;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the IndexKey interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfIndexKey(value: object): value is IndexKey;
|
|
35
|
+
export declare function IndexKeyFromJSON(json: any): IndexKey;
|
|
36
|
+
export declare function IndexKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexKey;
|
|
37
|
+
export declare function IndexKeyToJSON(json: any): IndexKey;
|
|
38
|
+
export declare function IndexKeyToJSONTyped(value?: IndexKey | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export function instanceOfIndexKey(value) {
|
|
2
|
+
if (!("field" in value) || value["field"] === void 0) return false;
|
|
3
|
+
if (!("direction" in value) || value["direction"] === void 0) return false;
|
|
4
|
+
return true;
|
|
5
|
+
}
|
|
6
|
+
export function IndexKeyFromJSON(json) {
|
|
7
|
+
return IndexKeyFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function IndexKeyFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json == null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"field": json["field"],
|
|
15
|
+
"direction": json["direction"]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export function IndexKeyToJSON(json) {
|
|
19
|
+
return IndexKeyToJSONTyped(json, false);
|
|
20
|
+
}
|
|
21
|
+
export function IndexKeyToJSONTyped(value, ignoreDiscriminator = false) {
|
|
22
|
+
if (value == null) {
|
|
23
|
+
return value;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
"field": value["field"],
|
|
27
|
+
"direction": value["direction"]
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -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.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -63,6 +63,42 @@ export interface IndexOptionsRequest {
|
|
|
63
63
|
* @memberof IndexOptionsRequest
|
|
64
64
|
*/
|
|
65
65
|
min?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {boolean}
|
|
69
|
+
* @memberof IndexOptionsRequest
|
|
70
|
+
*/
|
|
71
|
+
sparse?: boolean;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {boolean}
|
|
75
|
+
* @memberof IndexOptionsRequest
|
|
76
|
+
*/
|
|
77
|
+
hidden?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {{ [key: string]: any; }}
|
|
81
|
+
* @memberof IndexOptionsRequest
|
|
82
|
+
*/
|
|
83
|
+
partialFilterExpression?: {
|
|
84
|
+
[key: string]: any;
|
|
85
|
+
};
|
|
86
|
+
/**
|
|
87
|
+
*
|
|
88
|
+
* @type {{ [key: string]: number; }}
|
|
89
|
+
* @memberof IndexOptionsRequest
|
|
90
|
+
*/
|
|
91
|
+
weights?: {
|
|
92
|
+
[key: string]: number;
|
|
93
|
+
};
|
|
94
|
+
/**
|
|
95
|
+
*
|
|
96
|
+
* @type {{ [key: string]: any; }}
|
|
97
|
+
* @memberof IndexOptionsRequest
|
|
98
|
+
*/
|
|
99
|
+
collation?: {
|
|
100
|
+
[key: string]: any;
|
|
101
|
+
};
|
|
66
102
|
}
|
|
67
103
|
/**
|
|
68
104
|
* Check if a given object implements the IndexOptionsRequest interface.
|
|
@@ -16,7 +16,12 @@ export function IndexOptionsRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
16
|
"expireAfter": json["expireAfter"] == null ? void 0 : json["expireAfter"],
|
|
17
17
|
"unique": json["unique"] == null ? void 0 : json["unique"],
|
|
18
18
|
"max": json["max"] == null ? void 0 : json["max"],
|
|
19
|
-
"min": json["min"] == null ? void 0 : json["min"]
|
|
19
|
+
"min": json["min"] == null ? void 0 : json["min"],
|
|
20
|
+
"sparse": json["sparse"] == null ? void 0 : json["sparse"],
|
|
21
|
+
"hidden": json["hidden"] == null ? void 0 : json["hidden"],
|
|
22
|
+
"partialFilterExpression": json["partialFilterExpression"] == null ? void 0 : json["partialFilterExpression"],
|
|
23
|
+
"weights": json["weights"] == null ? void 0 : json["weights"],
|
|
24
|
+
"collation": json["collation"] == null ? void 0 : json["collation"]
|
|
20
25
|
};
|
|
21
26
|
}
|
|
22
27
|
export function IndexOptionsRequestToJSON(json) {
|
|
@@ -34,6 +39,11 @@ export function IndexOptionsRequestToJSONTyped(value, ignoreDiscriminator = fals
|
|
|
34
39
|
"expireAfter": value["expireAfter"],
|
|
35
40
|
"unique": value["unique"],
|
|
36
41
|
"max": value["max"],
|
|
37
|
-
"min": value["min"]
|
|
42
|
+
"min": value["min"],
|
|
43
|
+
"sparse": value["sparse"],
|
|
44
|
+
"hidden": value["hidden"],
|
|
45
|
+
"partialFilterExpression": value["partialFilterExpression"],
|
|
46
|
+
"weights": value["weights"],
|
|
47
|
+
"collation": value["collation"]
|
|
38
48
|
};
|
|
39
49
|
}
|
|
@@ -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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.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.8.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -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.8.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 RenameRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RenameRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RenameRequest
|
|
22
|
+
*/
|
|
23
|
+
target: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {boolean}
|
|
27
|
+
* @memberof RenameRequest
|
|
28
|
+
*/
|
|
29
|
+
dropTarget?: boolean;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the RenameRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfRenameRequest(value: object): value is RenameRequest;
|
|
35
|
+
export declare function RenameRequestFromJSON(json: any): RenameRequest;
|
|
36
|
+
export declare function RenameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenameRequest;
|
|
37
|
+
export declare function RenameRequestToJSON(json: any): RenameRequest;
|
|
38
|
+
export declare function RenameRequestToJSONTyped(value?: RenameRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export function instanceOfRenameRequest(value) {
|
|
2
|
+
if (!("target" in value) || value["target"] === void 0) return false;
|
|
3
|
+
return true;
|
|
4
|
+
}
|
|
5
|
+
export function RenameRequestFromJSON(json) {
|
|
6
|
+
return RenameRequestFromJSONTyped(json, false);
|
|
7
|
+
}
|
|
8
|
+
export function RenameRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if (json == null) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
"target": json["target"],
|
|
14
|
+
"dropTarget": json["dropTarget"] == null ? void 0 : json["dropTarget"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function RenameRequestToJSON(json) {
|
|
18
|
+
return RenameRequestToJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
export function RenameRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
21
|
+
if (value == null) {
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
"target": value["target"],
|
|
26
|
+
"dropTarget": value["dropTarget"]
|
|
27
|
+
};
|
|
28
|
+
}
|