@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
|
@@ -0,0 +1,77 @@
|
|
|
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
|
+
import type { IndexKey } from './IndexKey.js';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface IndexInfo
|
|
17
|
+
*/
|
|
18
|
+
export interface IndexInfo {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*/
|
|
22
|
+
name: string;
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
keys?: Array<IndexKey>;
|
|
27
|
+
/**
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
unique: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
*/
|
|
34
|
+
sparse: boolean;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
*/
|
|
38
|
+
hidden: boolean;
|
|
39
|
+
/**
|
|
40
|
+
*
|
|
41
|
+
*/
|
|
42
|
+
partialFilterExpression?: {
|
|
43
|
+
[key: string]: any | null;
|
|
44
|
+
};
|
|
45
|
+
/**
|
|
46
|
+
*
|
|
47
|
+
*/
|
|
48
|
+
collation?: {
|
|
49
|
+
[key: string]: any | null;
|
|
50
|
+
};
|
|
51
|
+
/**
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
weights?: {
|
|
55
|
+
[key: string]: any | null;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
*
|
|
59
|
+
*/
|
|
60
|
+
defaultLanguage?: string;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
expireAfterSeconds?: number;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
*/
|
|
68
|
+
version: number;
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* Check if a given object implements the IndexInfo interface.
|
|
72
|
+
*/
|
|
73
|
+
export declare function instanceOfIndexInfo(value: object): value is IndexInfo;
|
|
74
|
+
export declare function IndexInfoFromJSON(json: any): IndexInfo;
|
|
75
|
+
export declare function IndexInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexInfo;
|
|
76
|
+
export declare function IndexInfoToJSON(json: any): IndexInfo;
|
|
77
|
+
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,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 IndexKey
|
|
16
|
+
*/
|
|
17
|
+
export interface IndexKey {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
*/
|
|
21
|
+
field: string;
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*/
|
|
25
|
+
direction: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Check if a given object implements the IndexKey interface.
|
|
29
|
+
*/
|
|
30
|
+
export declare function instanceOfIndexKey(value: object): value is IndexKey;
|
|
31
|
+
export declare function IndexKeyFromJSON(json: any): IndexKey;
|
|
32
|
+
export declare function IndexKeyFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexKey;
|
|
33
|
+
export declare function IndexKeyToJSON(json: any): IndexKey;
|
|
34
|
+
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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,52 +17,62 @@
|
|
|
17
17
|
export interface IndexOptionsRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexOptionsRequest
|
|
22
20
|
*/
|
|
23
21
|
name?: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof IndexOptionsRequest
|
|
28
24
|
*/
|
|
29
25
|
background?: boolean;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IndexOptionsRequest
|
|
34
28
|
*/
|
|
35
29
|
defaultLanguage?: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IndexOptionsRequest
|
|
40
32
|
*/
|
|
41
33
|
textVersion?: number;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof IndexOptionsRequest
|
|
46
36
|
*/
|
|
47
37
|
expireAfter?: string;
|
|
48
38
|
/**
|
|
49
39
|
*
|
|
50
|
-
* @type {boolean}
|
|
51
|
-
* @memberof IndexOptionsRequest
|
|
52
40
|
*/
|
|
53
41
|
unique?: boolean;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
|
-
* @type {number}
|
|
57
|
-
* @memberof IndexOptionsRequest
|
|
58
44
|
*/
|
|
59
45
|
max?: number;
|
|
60
46
|
/**
|
|
61
47
|
*
|
|
62
|
-
* @type {number}
|
|
63
|
-
* @memberof IndexOptionsRequest
|
|
64
48
|
*/
|
|
65
49
|
min?: number;
|
|
50
|
+
/**
|
|
51
|
+
*
|
|
52
|
+
*/
|
|
53
|
+
sparse?: boolean;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
hidden?: boolean;
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
*/
|
|
61
|
+
partialFilterExpression?: {
|
|
62
|
+
[key: string]: any | null;
|
|
63
|
+
};
|
|
64
|
+
/**
|
|
65
|
+
*
|
|
66
|
+
*/
|
|
67
|
+
weights?: {
|
|
68
|
+
[key: string]: number;
|
|
69
|
+
};
|
|
70
|
+
/**
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
collation?: {
|
|
74
|
+
[key: string]: any | null;
|
|
75
|
+
};
|
|
66
76
|
}
|
|
67
77
|
/**
|
|
68
78
|
* 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.2
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,28 +17,20 @@
|
|
|
17
17
|
export interface IndexUsage {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IndexUsage
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {{ [key: string]: any; }}
|
|
27
|
-
* @memberof IndexUsage
|
|
28
24
|
*/
|
|
29
25
|
key: {
|
|
30
|
-
[key: string]: any;
|
|
26
|
+
[key: string]: any | null;
|
|
31
27
|
};
|
|
32
28
|
/**
|
|
33
29
|
*
|
|
34
|
-
* @type {number}
|
|
35
|
-
* @memberof IndexUsage
|
|
36
30
|
*/
|
|
37
31
|
ops: number;
|
|
38
32
|
/**
|
|
39
33
|
*
|
|
40
|
-
* @type {Date}
|
|
41
|
-
* @memberof IndexUsage
|
|
42
34
|
*/
|
|
43
35
|
since: Date;
|
|
44
36
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseDateTime, serializeDateTime } from "../runtime.js";
|
|
1
2
|
export function instanceOfIndexUsage(value) {
|
|
2
3
|
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
4
|
if (!("key" in value) || value["key"] === void 0) return false;
|
|
@@ -16,7 +17,7 @@ export function IndexUsageFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
16
17
|
"name": json["name"],
|
|
17
18
|
"key": json["key"],
|
|
18
19
|
"ops": json["ops"],
|
|
19
|
-
"since":
|
|
20
|
+
"since": json["since"] == null ? json["since"] : parseDateTime(json["since"])
|
|
20
21
|
};
|
|
21
22
|
}
|
|
22
23
|
export function IndexUsageToJSON(json) {
|
|
@@ -30,6 +31,6 @@ export function IndexUsageToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
30
31
|
"name": value["name"],
|
|
31
32
|
"key": value["key"],
|
|
32
33
|
"ops": value["ops"],
|
|
33
|
-
"since": value["since"]
|
|
34
|
+
"since": value["since"] == null ? value["since"] : serializeDateTime(value["since"])
|
|
34
35
|
};
|
|
35
36
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* mongocamp-library
|
|
3
3
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 1.
|
|
5
|
+
* The version of the OpenAPI document: 1.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 InsertError {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof InsertError
|
|
22
20
|
*/
|
|
23
21
|
index: number;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {number}
|
|
27
|
-
* @memberof InsertError
|
|
28
24
|
*/
|
|
29
25
|
code: number;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof InsertError
|
|
34
28
|
*/
|
|
35
29
|
message: string;
|
|
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).
|
|
@@ -18,26 +18,18 @@ import type { InsertError } from './InsertError.js';
|
|
|
18
18
|
export interface InsertResponse {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {boolean}
|
|
22
|
-
* @memberof InsertResponse
|
|
23
21
|
*/
|
|
24
22
|
wasAcknowledged: boolean;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {Array<string>}
|
|
28
|
-
* @memberof InsertResponse
|
|
29
25
|
*/
|
|
30
26
|
insertedIds?: Array<string>;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof InsertResponse
|
|
35
29
|
*/
|
|
36
30
|
insertedCount?: number;
|
|
37
31
|
/**
|
|
38
32
|
*
|
|
39
|
-
* @type {Array<InsertError>}
|
|
40
|
-
* @memberof InsertResponse
|
|
41
33
|
*/
|
|
42
34
|
errors?: Array<InsertError>;
|
|
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).
|
|
@@ -17,38 +17,26 @@
|
|
|
17
17
|
export interface JobConfig {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof JobConfig
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof JobConfig
|
|
28
24
|
*/
|
|
29
25
|
className: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof JobConfig
|
|
34
28
|
*/
|
|
35
29
|
description: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof JobConfig
|
|
40
32
|
*/
|
|
41
33
|
cronExpression: string;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof JobConfig
|
|
46
36
|
*/
|
|
47
37
|
group: string;
|
|
48
38
|
/**
|
|
49
39
|
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof JobConfig
|
|
52
40
|
*/
|
|
53
41
|
priority: number;
|
|
54
42
|
}
|
|
@@ -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,56 +17,38 @@
|
|
|
17
17
|
export interface JobInformation {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof JobInformation
|
|
22
20
|
*/
|
|
23
21
|
name: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof JobInformation
|
|
28
24
|
*/
|
|
29
25
|
group: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof JobInformation
|
|
34
28
|
*/
|
|
35
29
|
jobClassName: string;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof JobInformation
|
|
40
32
|
*/
|
|
41
33
|
description?: string;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof JobInformation
|
|
46
36
|
*/
|
|
47
37
|
cronExpression: string;
|
|
48
38
|
/**
|
|
49
39
|
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof JobInformation
|
|
52
40
|
*/
|
|
53
41
|
priority: number;
|
|
54
42
|
/**
|
|
55
43
|
*
|
|
56
|
-
* @type {Date}
|
|
57
|
-
* @memberof JobInformation
|
|
58
44
|
*/
|
|
59
45
|
lastScheduledFireTime?: Date;
|
|
60
46
|
/**
|
|
61
47
|
*
|
|
62
|
-
* @type {Date}
|
|
63
|
-
* @memberof JobInformation
|
|
64
48
|
*/
|
|
65
49
|
nextScheduledFireTime?: Date;
|
|
66
50
|
/**
|
|
67
51
|
*
|
|
68
|
-
* @type {string}
|
|
69
|
-
* @memberof JobInformation
|
|
70
52
|
*/
|
|
71
53
|
scheduleInformation?: string;
|
|
72
54
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { parseDateTime, serializeDateTime } from "../runtime.js";
|
|
1
2
|
export function instanceOfJobInformation(value) {
|
|
2
3
|
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
4
|
if (!("group" in value) || value["group"] === void 0) return false;
|
|
@@ -20,8 +21,8 @@ export function JobInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
20
21
|
"description": json["description"] == null ? void 0 : json["description"],
|
|
21
22
|
"cronExpression": json["cronExpression"],
|
|
22
23
|
"priority": json["priority"],
|
|
23
|
-
"lastScheduledFireTime": json["lastScheduledFireTime"] == null ? void 0 :
|
|
24
|
-
"nextScheduledFireTime": json["nextScheduledFireTime"] == null ? void 0 :
|
|
24
|
+
"lastScheduledFireTime": json["lastScheduledFireTime"] == null ? void 0 : parseDateTime(json["lastScheduledFireTime"]),
|
|
25
|
+
"nextScheduledFireTime": json["nextScheduledFireTime"] == null ? void 0 : parseDateTime(json["nextScheduledFireTime"]),
|
|
25
26
|
"scheduleInformation": json["scheduleInformation"] == null ? void 0 : json["scheduleInformation"]
|
|
26
27
|
};
|
|
27
28
|
}
|
|
@@ -39,8 +40,8 @@ export function JobInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
39
40
|
"description": value["description"],
|
|
40
41
|
"cronExpression": value["cronExpression"],
|
|
41
42
|
"priority": value["priority"],
|
|
42
|
-
"lastScheduledFireTime": value["lastScheduledFireTime"] == null ? value["lastScheduledFireTime"] : value["lastScheduledFireTime"]
|
|
43
|
-
"nextScheduledFireTime": value["nextScheduledFireTime"] == null ? value["nextScheduledFireTime"] : value["nextScheduledFireTime"]
|
|
43
|
+
"lastScheduledFireTime": value["lastScheduledFireTime"] == null ? value["lastScheduledFireTime"] : serializeDateTime(value["lastScheduledFireTime"]),
|
|
44
|
+
"nextScheduledFireTime": value["nextScheduledFireTime"] == null ? value["nextScheduledFireTime"] : serializeDateTime(value["nextScheduledFireTime"]),
|
|
44
45
|
"scheduleInformation": value["scheduleInformation"]
|
|
45
46
|
};
|
|
46
47
|
}
|
|
@@ -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 { JsonSchemaDefinition } from './JsonSchemaDefinition.js';
|
|
|
18
18
|
export interface JsonSchema {
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @type {string}
|
|
22
|
-
* @memberof JsonSchema
|
|
23
21
|
*/
|
|
24
22
|
$schema: string;
|
|
25
23
|
/**
|
|
26
24
|
*
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof JsonSchema
|
|
29
25
|
*/
|
|
30
26
|
$ref: string;
|
|
31
27
|
/**
|
|
32
28
|
*
|
|
33
|
-
* @type {{ [key: string]: JsonSchemaDefinition; }}
|
|
34
|
-
* @memberof JsonSchema
|
|
35
29
|
*/
|
|
36
30
|
definitions: {
|
|
37
31
|
[key: string]: JsonSchemaDefinition;
|
|
@@ -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,36 +17,26 @@
|
|
|
17
17
|
export interface JsonSchemaDefinition {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof JsonSchemaDefinition
|
|
22
20
|
*/
|
|
23
21
|
type: string;
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof JsonSchemaDefinition
|
|
28
24
|
*/
|
|
29
25
|
title: string;
|
|
30
26
|
/**
|
|
31
27
|
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof JsonSchemaDefinition
|
|
34
28
|
*/
|
|
35
29
|
additionalProperties: boolean;
|
|
36
30
|
/**
|
|
37
31
|
*
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof JsonSchemaDefinition
|
|
40
32
|
*/
|
|
41
33
|
required?: Array<string>;
|
|
42
34
|
/**
|
|
43
35
|
*
|
|
44
|
-
* @type {{ [key: string]: { [key: string]: any; }; }}
|
|
45
|
-
* @memberof JsonSchemaDefinition
|
|
46
36
|
*/
|
|
47
37
|
properties: {
|
|
48
38
|
[key: string]: {
|
|
49
|
-
[key: string]: any;
|
|
39
|
+
[key: string]: any | null;
|
|
50
40
|
};
|
|
51
41
|
};
|
|
52
42
|
}
|
|
@@ -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 JsonValueAny {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {any}
|
|
21
|
-
* @memberof JsonValueAny
|
|
22
20
|
*/
|
|
23
21
|
value: any | null;
|
|
24
22
|
}
|