@sfxcode/nuxt-mongocamp-server 1.7.0 → 1.9.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 +2 -2
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/.openapi-generator/FILES +18 -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 +163 -4
- package/dist/runtime/api/apis/CollectionApi.js +230 -27
- 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 +223 -15
- package/dist/runtime/api/apis/DocumentApi.js +194 -35
- 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 +100 -2
- package/dist/runtime/api/apis/IndexApi.js +95 -31
- 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 +3 -2
- package/dist/runtime/api/apis/SystemApi.js +5 -3
- package/dist/runtime/api/docs/CollectionApi.md +254 -2
- package/dist/runtime/api/docs/CollectionStatus.md +1 -1
- package/dist/runtime/api/docs/CopyRequest.md +40 -0
- package/dist/runtime/api/docs/CopyResponse.md +38 -0
- package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
- package/dist/runtime/api/docs/DocumentApi.md +210 -19
- package/dist/runtime/api/docs/FieldInfo.md +36 -0
- package/dist/runtime/api/docs/FieldTypeCount.md +36 -0
- package/dist/runtime/api/docs/FileInformation.md +1 -1
- 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/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/RenameRequest.md +36 -0
- package/dist/runtime/api/docs/RenameResponse.md +34 -0
- package/dist/runtime/api/docs/SettingsResponse.md +1 -1
- 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/ClusterInformation.d.ts +1 -5
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -11
- 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/CopyRequest.d.ts +42 -0
- package/dist/runtime/api/models/CopyRequest.js +32 -0
- package/dist/runtime/api/models/CopyResponse.d.ts +38 -0
- package/dist/runtime/api/models/CopyResponse.js +32 -0
- package/dist/runtime/api/models/CountResponse.d.ts +1 -3
- 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 +35 -0
- package/dist/runtime/api/models/FieldInfo.js +32 -0
- package/dist/runtime/api/models/FieldTypeCount.d.ts +34 -0
- package/dist/runtime/api/models/FieldTypeCount.js +29 -0
- 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 +47 -0
- package/dist/runtime/api/models/ImportResponse.js +41 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +7 -6
- package/dist/runtime/api/models/IndexCreateRequest.js +9 -4
- 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 +77 -0
- package/dist/runtime/api/models/IndexInfo.js +54 -0
- package/dist/runtime/api/models/IndexKey.d.ts +34 -0
- package/dist/runtime/api/models/IndexKey.js +29 -0
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +27 -17
- package/dist/runtime/api/models/IndexOptionsRequest.js +12 -2
- 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/PasswordUpdateRequest.d.ts +1 -3
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -5
- package/dist/runtime/api/models/RenameRequest.d.ts +34 -0
- package/dist/runtime/api/models/RenameRequest.js +28 -0
- package/dist/runtime/api/models/RenameResponse.d.ts +30 -0
- package/dist/runtime/api/models/RenameResponse.js +26 -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/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 +9 -0
- package/dist/runtime/api/models/index.js +9 -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 +1 -1
- 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.8.2
|
|
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 JsonValueBoolean {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof JsonValueBoolean
|
|
22
20
|
*/
|
|
23
21
|
value: boolean;
|
|
24
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
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 JsonValueString {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof JsonValueString
|
|
22
20
|
*/
|
|
23
21
|
value: string;
|
|
24
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,14 +17,10 @@
|
|
|
17
17
|
export interface Login {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof Login
|
|
22
20
|
*/
|
|
23
21
|
userId: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof Login
|
|
28
24
|
*/
|
|
29
25
|
password: string;
|
|
30
26
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,20 +18,14 @@ import type { UserProfile } from './UserProfile.js';
|
|
|
18
18
|
export interface LoginResult {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof LoginResult
|
|
23
21
|
*/
|
|
24
22
|
authToken: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {UserProfile}
|
|
28
|
-
* @memberof LoginResult
|
|
29
25
|
*/
|
|
30
26
|
userProfile: UserProfile;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {Date}
|
|
34
|
-
* @memberof LoginResult
|
|
35
29
|
*/
|
|
36
30
|
expirationDate: Date;
|
|
37
31
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseDateTime, serializeDateTime } from "../runtime.js";
|
|
1
2
|
import {
|
|
2
3
|
UserProfileFromJSON,
|
|
3
4
|
UserProfileToJSON
|
|
@@ -18,7 +19,7 @@ export function LoginResultFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
18
19
|
return {
|
|
19
20
|
"authToken": json["authToken"],
|
|
20
21
|
"userProfile": UserProfileFromJSON(json["userProfile"]),
|
|
21
|
-
"expirationDate":
|
|
22
|
+
"expirationDate": json["expirationDate"] == null ? json["expirationDate"] : parseDateTime(json["expirationDate"])
|
|
22
23
|
};
|
|
23
24
|
}
|
|
24
25
|
export function LoginResultToJSON(json) {
|
|
@@ -31,6 +32,6 @@ export function LoginResultToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
31
32
|
return {
|
|
32
33
|
"authToken": value["authToken"],
|
|
33
34
|
"userProfile": UserProfileToJSON(value["userProfile"]),
|
|
34
|
-
"expirationDate": value["expirationDate"]
|
|
35
|
+
"expirationDate": value["expirationDate"] == null ? value["expirationDate"] : serializeDateTime(value["expirationDate"])
|
|
35
36
|
};
|
|
36
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.2
|
|
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 { PipelineStage } from './PipelineStage.js';
|
|
|
18
18
|
export interface MongoAggregateRequest {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {Array<PipelineStage>}
|
|
22
|
-
* @memberof MongoAggregateRequest
|
|
23
21
|
*/
|
|
24
22
|
pipeline?: Array<PipelineStage>;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof MongoAggregateRequest
|
|
29
25
|
*/
|
|
30
26
|
allowDiskUse: boolean;
|
|
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.8.2
|
|
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 MongoCampConfiguration {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MongoCampConfiguration
|
|
22
20
|
*/
|
|
23
21
|
key: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {any}
|
|
27
|
-
* @memberof MongoCampConfiguration
|
|
28
24
|
*/
|
|
29
25
|
value: any | null;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof MongoCampConfiguration
|
|
34
28
|
*/
|
|
35
29
|
configType: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof MongoCampConfiguration
|
|
40
32
|
*/
|
|
41
33
|
comment: string;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {boolean}
|
|
45
|
-
* @memberof MongoCampConfiguration
|
|
46
36
|
*/
|
|
47
37
|
needsRestartForActivation: boolean;
|
|
48
38
|
}
|
|
@@ -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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,27 +17,21 @@
|
|
|
17
17
|
export interface MongoFindRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {{ [key: string]: any; }}
|
|
21
|
-
* @memberof MongoFindRequest
|
|
22
20
|
*/
|
|
23
21
|
filter: {
|
|
24
|
-
[key: string]: any;
|
|
22
|
+
[key: string]: any | null;
|
|
25
23
|
};
|
|
26
24
|
/**
|
|
27
25
|
*
|
|
28
|
-
* @type {{ [key: string]: any; }}
|
|
29
|
-
* @memberof MongoFindRequest
|
|
30
26
|
*/
|
|
31
27
|
sort: {
|
|
32
|
-
[key: string]: any;
|
|
28
|
+
[key: string]: any | null;
|
|
33
29
|
};
|
|
34
30
|
/**
|
|
35
31
|
*
|
|
36
|
-
* @type {{ [key: string]: any; }}
|
|
37
|
-
* @memberof MongoFindRequest
|
|
38
32
|
*/
|
|
39
33
|
projection: {
|
|
40
|
-
[key: string]: any;
|
|
34
|
+
[key: string]: any | null;
|
|
41
35
|
};
|
|
42
36
|
}
|
|
43
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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,81 +17,57 @@
|
|
|
17
17
|
export interface MongoIndex {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MongoIndex
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof MongoIndex
|
|
28
24
|
*/
|
|
29
25
|
fields?: Array<string>;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof MongoIndex
|
|
34
28
|
*/
|
|
35
29
|
unique: boolean;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof MongoIndex
|
|
40
32
|
*/
|
|
41
33
|
version: number;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof MongoIndex
|
|
46
36
|
*/
|
|
47
37
|
namespace: string;
|
|
48
38
|
/**
|
|
49
39
|
*
|
|
50
|
-
* @type {{ [key: string]: any; }}
|
|
51
|
-
* @memberof MongoIndex
|
|
52
40
|
*/
|
|
53
41
|
keys: {
|
|
54
|
-
[key: string]: any;
|
|
42
|
+
[key: string]: any | null;
|
|
55
43
|
};
|
|
56
44
|
/**
|
|
57
45
|
*
|
|
58
|
-
* @type {{ [key: string]: any; }}
|
|
59
|
-
* @memberof MongoIndex
|
|
60
46
|
*/
|
|
61
47
|
weights: {
|
|
62
|
-
[key: string]: any;
|
|
48
|
+
[key: string]: any | null;
|
|
63
49
|
};
|
|
64
50
|
/**
|
|
65
51
|
*
|
|
66
|
-
* @type {boolean}
|
|
67
|
-
* @memberof MongoIndex
|
|
68
52
|
*/
|
|
69
53
|
expire: boolean;
|
|
70
54
|
/**
|
|
71
55
|
*
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof MongoIndex
|
|
74
56
|
*/
|
|
75
57
|
expireAfterSeconds: number;
|
|
76
58
|
/**
|
|
77
59
|
*
|
|
78
|
-
* @type {boolean}
|
|
79
|
-
* @memberof MongoIndex
|
|
80
60
|
*/
|
|
81
61
|
text: boolean;
|
|
82
62
|
/**
|
|
83
63
|
*
|
|
84
|
-
* @type {Date}
|
|
85
|
-
* @memberof MongoIndex
|
|
86
64
|
*/
|
|
87
65
|
fetched: Date;
|
|
88
66
|
/**
|
|
89
67
|
*
|
|
90
|
-
* @type {{ [key: string]: any; }}
|
|
91
|
-
* @memberof MongoIndex
|
|
92
68
|
*/
|
|
93
69
|
map: {
|
|
94
|
-
[key: string]: any;
|
|
70
|
+
[key: string]: any | null;
|
|
95
71
|
};
|
|
96
72
|
}
|
|
97
73
|
/**
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseDateTime, serializeDateTime } from "../runtime.js";
|
|
1
2
|
export function instanceOfMongoIndex(value) {
|
|
2
3
|
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
4
|
if (!("unique" in value) || value["unique"] === void 0) return false;
|
|
@@ -30,7 +31,7 @@ export function MongoIndexFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
31
|
"expire": json["expire"],
|
|
31
32
|
"expireAfterSeconds": json["expireAfterSeconds"],
|
|
32
33
|
"text": json["text"],
|
|
33
|
-
"fetched":
|
|
34
|
+
"fetched": json["fetched"] == null ? json["fetched"] : parseDateTime(json["fetched"]),
|
|
34
35
|
"map": json["map"]
|
|
35
36
|
};
|
|
36
37
|
}
|
|
@@ -52,7 +53,7 @@ export function MongoIndexToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
52
53
|
"expire": value["expire"],
|
|
53
54
|
"expireAfterSeconds": value["expireAfterSeconds"],
|
|
54
55
|
"text": value["text"],
|
|
55
|
-
"fetched": value["fetched"]
|
|
56
|
+
"fetched": value["fetched"] == null ? value["fetched"] : serializeDateTime(value["fetched"]),
|
|
56
57
|
"map": value["map"]
|
|
57
58
|
};
|
|
58
59
|
}
|
|
@@ -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.2
|
|
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 PasswordUpdateRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PasswordUpdateRequest
|
|
22
20
|
*/
|
|
23
21
|
password: string;
|
|
24
22
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,14 +17,10 @@
|
|
|
17
17
|
export interface PipelineStage {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof PipelineStage
|
|
22
20
|
*/
|
|
23
21
|
stage: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {any}
|
|
27
|
-
* @memberof PipelineStage
|
|
28
24
|
*/
|
|
29
25
|
value: any | null;
|
|
30
26
|
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.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 RenameRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface RenameRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
target: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
dropTarget?: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the RenameRequest interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfRenameRequest(value: object): value is RenameRequest;
|
|
31
|
+
export declare function RenameRequestFromJSON(json: any): RenameRequest;
|
|
32
|
+
export declare function RenameRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenameRequest;
|
|
33
|
+
export declare function RenameRequestToJSON(json: any): RenameRequest;
|
|
34
|
+
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
|
+
}
|
|
@@ -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.8.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 RenameResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface RenameResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Check if a given object implements the RenameResponse interface.
|
|
25
|
+
*/
|
|
26
|
+
export declare function instanceOfRenameResponse(value: object): value is RenameResponse;
|
|
27
|
+
export declare function RenameResponseFromJSON(json: any): RenameResponse;
|
|
28
|
+
export declare function RenameResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenameResponse;
|
|
29
|
+
export declare function RenameResponseToJSON(json: any): RenameResponse;
|
|
30
|
+
export declare function RenameResponseToJSONTyped(value?: RenameResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export function instanceOfRenameResponse(value) {
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
return true;
|
|
4
|
+
}
|
|
5
|
+
export function RenameResponseFromJSON(json) {
|
|
6
|
+
return RenameResponseFromJSONTyped(json, false);
|
|
7
|
+
}
|
|
8
|
+
export function RenameResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
9
|
+
if (json == null) {
|
|
10
|
+
return json;
|
|
11
|
+
}
|
|
12
|
+
return {
|
|
13
|
+
"name": json["name"]
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
export function RenameResponseToJSON(json) {
|
|
17
|
+
return RenameResponseToJSONTyped(json, false);
|
|
18
|
+
}
|
|
19
|
+
export function RenameResponseToJSONTyped(value, ignoreDiscriminator = false) {
|
|
20
|
+
if (value == null) {
|
|
21
|
+
return value;
|
|
22
|
+
}
|
|
23
|
+
return {
|
|
24
|
+
"name": value["name"]
|
|
25
|
+
};
|
|
26
|
+
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.8.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,20 +18,14 @@ import type { Grant } from './Grant.js';
|
|
|
18
18
|
export interface Role {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof Role
|
|
23
21
|
*/
|
|
24
22
|
name: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof Role
|
|
29
25
|
*/
|
|
30
26
|
isAdmin: boolean;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {Array<Grant>}
|
|
34
|
-
* @memberof Role
|
|
35
29
|
*/
|
|
36
30
|
collectionGrants?: Array<Grant>;
|
|
37
31
|
}
|
|
@@ -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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,26 +18,18 @@ import type { SchemaAnalysisField } from './SchemaAnalysisField.js';
|
|
|
18
18
|
export interface SchemaAnalysis {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof SchemaAnalysis
|
|
23
21
|
*/
|
|
24
22
|
count: number;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {number}
|
|
28
|
-
* @memberof SchemaAnalysis
|
|
29
25
|
*/
|
|
30
26
|
sample: number;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof SchemaAnalysis
|
|
35
29
|
*/
|
|
36
30
|
percentageOfAnalysed: number;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
|
-
* @type {Array<SchemaAnalysisField>}
|
|
40
|
-
* @memberof SchemaAnalysis
|
|
41
33
|
*/
|
|
42
34
|
fields?: Array<SchemaAnalysisField>;
|
|
43
35
|
}
|
|
@@ -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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,38 +18,26 @@ import type { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType.js';
|
|
|
18
18
|
export interface SchemaAnalysisField {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof SchemaAnalysisField
|
|
23
21
|
*/
|
|
24
22
|
name: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof SchemaAnalysisField
|
|
29
25
|
*/
|
|
30
26
|
fullName: string;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {Array<SchemaAnalysisFieldType>}
|
|
34
|
-
* @memberof SchemaAnalysisField
|
|
35
29
|
*/
|
|
36
30
|
fieldTypes?: Array<SchemaAnalysisFieldType>;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof SchemaAnalysisField
|
|
41
33
|
*/
|
|
42
34
|
count: number;
|
|
43
35
|
/**
|
|
44
36
|
*
|
|
45
|
-
* @type {number}
|
|
46
|
-
* @memberof SchemaAnalysisField
|
|
47
37
|
*/
|
|
48
38
|
percentageOfParent: number;
|
|
49
39
|
/**
|
|
50
40
|
*
|
|
51
|
-
* @type {Array<SchemaAnalysisField>}
|
|
52
|
-
* @memberof SchemaAnalysisField
|
|
53
41
|
*/
|
|
54
42
|
subFields?: Array<SchemaAnalysisField>;
|
|
55
43
|
}
|
|
@@ -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.2
|
|
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 SchemaAnalysisFieldType {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SchemaAnalysisFieldType
|
|
22
20
|
*/
|
|
23
21
|
fieldType: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof SchemaAnalysisFieldType
|
|
28
24
|
*/
|
|
29
25
|
count: number;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof SchemaAnalysisFieldType
|
|
34
28
|
*/
|
|
35
29
|
percentageOfParent: 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.8.2
|
|
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 SearchRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SearchRequest
|
|
22
20
|
*/
|
|
23
21
|
filter?: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {Array<string>}
|
|
27
|
-
* @memberof SearchRequest
|
|
28
24
|
*/
|
|
29
25
|
sort?: Array<string>;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {Array<string>}
|
|
33
|
-
* @memberof SearchRequest
|
|
34
28
|
*/
|
|
35
29
|
projection?: Array<string>;
|
|
36
30
|
}
|