@sfxcode/nuxt-mongocamp-server 1.5.2 → 1.7.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/dist/module.json +1 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/.openapi-generator/FILES +18 -2
- 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 +21 -4
- package/dist/runtime/api/apis/AuthApi.js +50 -2
- package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
- package/dist/runtime/api/apis/CollectionApi.d.ts +26 -8
- package/dist/runtime/api/apis/CollectionApi.js +53 -2
- package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
- package/dist/runtime/api/apis/DocumentApi.d.ts +60 -13
- package/dist/runtime/api/apis/DocumentApi.js +136 -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/{InformationApi.d.ts → SystemApi.d.ts} +17 -3
- package/dist/runtime/api/apis/SystemApi.js +82 -0
- package/dist/runtime/api/apis/index.d.ts +1 -1
- package/dist/runtime/api/apis/index.js +1 -1
- package/dist/runtime/api/docs/AdminApi.md +2 -2
- package/dist/runtime/api/docs/AuthApi.md +79 -1
- package/dist/runtime/api/docs/ClusterInformation.md +36 -0
- package/dist/runtime/api/docs/ClusterMemberInformation.md +42 -0
- package/dist/runtime/api/docs/CollectionApi.md +86 -5
- package/dist/runtime/api/docs/CollectionPermission.md +40 -0
- package/dist/runtime/api/docs/CollectionStatus.md +1 -1
- package/dist/runtime/api/docs/CollectionSummary.md +50 -0
- package/dist/runtime/api/docs/CountResponse.md +34 -0
- package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
- package/dist/runtime/api/docs/DocumentApi.md +208 -24
- package/dist/runtime/api/docs/FileApi.md +2 -2
- package/dist/runtime/api/docs/FileInformation.md +1 -1
- package/dist/runtime/api/docs/IndexApi.md +80 -2
- package/dist/runtime/api/docs/IndexUsage.md +40 -0
- package/dist/runtime/api/docs/InsertError.md +38 -0
- package/dist/runtime/api/docs/InsertResponse.md +4 -0
- package/dist/runtime/api/docs/JsonSchemaDefinition.md +1 -1
- package/dist/runtime/api/docs/JsonValueAny.md +1 -1
- package/dist/runtime/api/docs/MongoCampConfiguration.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/PipelineStage.md +1 -1
- package/dist/runtime/api/docs/SearchRequest.md +38 -0
- package/dist/runtime/api/docs/SettingsResponse.md +1 -1
- package/dist/runtime/api/docs/SystemApi.md +139 -0
- package/dist/runtime/api/docs/UpdateFileInformationRequest.md +1 -1
- package/dist/runtime/api/docs/UpdateRequest.md +2 -2
- package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
- package/dist/runtime/api/models/ClusterInformation.d.ts +39 -0
- package/dist/runtime/api/models/ClusterInformation.js +32 -0
- package/dist/runtime/api/models/ClusterMemberInformation.d.ts +56 -0
- package/dist/runtime/api/models/ClusterMemberInformation.js +38 -0
- package/dist/runtime/api/models/CollectionPermission.d.ts +50 -0
- package/dist/runtime/api/models/CollectionPermission.js +35 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +3 -3
- package/dist/runtime/api/models/CollectionSummary.d.ts +80 -0
- package/dist/runtime/api/models/CollectionSummary.js +50 -0
- package/dist/runtime/api/models/CountResponse.d.ts +32 -0
- package/dist/runtime/api/models/CountResponse.js +26 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +3 -3
- 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/FileInformation.d.ts +3 -3
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
- 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/IndexOptionsRequest.d.ts +1 -1
- package/dist/runtime/api/models/IndexUsage.d.ts +52 -0
- package/dist/runtime/api/models/IndexUsage.js +35 -0
- package/dist/runtime/api/models/InsertError.d.ts +44 -0
- package/dist/runtime/api/models/InsertError.js +32 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +14 -1
- package/dist/runtime/api/models/InsertResponse.js +10 -2
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/JobInformation.d.ts +2 -2
- package/dist/runtime/api/models/JobInformation.js +1 -2
- package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +3 -3
- package/dist/runtime/api/models/JsonValueAny.d.ts +3 -3
- 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 +3 -3
- package/dist/runtime/api/models/MongoFindRequest.d.ts +7 -7
- package/dist/runtime/api/models/MongoIndex.d.ts +7 -7
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/PipelineStage.d.ts +3 -3
- 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 +44 -0
- package/dist/runtime/api/models/SearchRequest.js +29 -0
- package/dist/runtime/api/models/SettingsResponse.d.ts +3 -3
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +3 -3
- package/dist/runtime/api/models/UpdateRequest.d.ts +5 -5
- 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 +8 -0
- package/dist/runtime/api/models/index.js +8 -0
- package/dist/runtime/api/runtime.d.ts +1 -1
- package/dist/runtime/composables/mongocampApi.d.ts +1 -1
- package/dist/runtime/composables/mongocampApiCollection.d.ts +2 -2
- package/dist/runtime/composables/mongocampSearch.d.ts +3 -3
- package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
- package/dist/runtime/server/composables/mongocampApi.d.ts +1 -1
- package/dist/runtime/server/composables/mongocampServerApi.d.ts +1 -1
- package/dist/runtime/utils/createMongocampApis.d.ts +2 -2
- package/dist/runtime/utils/createMongocampApis.js +2 -2
- package/package.json +14 -14
- package/dist/runtime/api/apis/InformationApi.js +0 -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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -47,19 +47,19 @@ export interface MongoIndex {
|
|
|
47
47
|
namespace: string;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {{ [key: string]:
|
|
50
|
+
* @type {{ [key: string]: any; }}
|
|
51
51
|
* @memberof MongoIndex
|
|
52
52
|
*/
|
|
53
53
|
keys: {
|
|
54
|
-
[key: string]:
|
|
54
|
+
[key: string]: any;
|
|
55
55
|
};
|
|
56
56
|
/**
|
|
57
57
|
*
|
|
58
|
-
* @type {{ [key: string]:
|
|
58
|
+
* @type {{ [key: string]: any; }}
|
|
59
59
|
* @memberof MongoIndex
|
|
60
60
|
*/
|
|
61
61
|
weights: {
|
|
62
|
-
[key: string]:
|
|
62
|
+
[key: string]: any;
|
|
63
63
|
};
|
|
64
64
|
/**
|
|
65
65
|
*
|
|
@@ -87,11 +87,11 @@ export interface MongoIndex {
|
|
|
87
87
|
fetched: Date;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
|
-
* @type {{ [key: string]:
|
|
90
|
+
* @type {{ [key: string]: any; }}
|
|
91
91
|
* @memberof MongoIndex
|
|
92
92
|
*/
|
|
93
93
|
map: {
|
|
94
|
-
[key: string]:
|
|
94
|
+
[key: string]: any;
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
97
|
/**
|
|
@@ -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.7.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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,10 +23,10 @@ export interface PipelineStage {
|
|
|
23
23
|
stage: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {any}
|
|
27
27
|
* @memberof PipelineStage
|
|
28
28
|
*/
|
|
29
|
-
value:
|
|
29
|
+
value: any | null;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the PipelineStage interface.
|
|
@@ -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.7.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.7.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.7.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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -0,0 +1,44 @@
|
|
|
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.7.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 SearchRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SearchRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SearchRequest
|
|
22
|
+
*/
|
|
23
|
+
filter?: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof SearchRequest
|
|
28
|
+
*/
|
|
29
|
+
sort?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Array<string>}
|
|
33
|
+
* @memberof SearchRequest
|
|
34
|
+
*/
|
|
35
|
+
projection?: Array<string>;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the SearchRequest interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfSearchRequest(value: object): value is SearchRequest;
|
|
41
|
+
export declare function SearchRequestFromJSON(json: any): SearchRequest;
|
|
42
|
+
export declare function SearchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchRequest;
|
|
43
|
+
export declare function SearchRequestToJSON(json: any): SearchRequest;
|
|
44
|
+
export declare function SearchRequestToJSONTyped(value?: SearchRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export function instanceOfSearchRequest(value) {
|
|
2
|
+
return true;
|
|
3
|
+
}
|
|
4
|
+
export function SearchRequestFromJSON(json) {
|
|
5
|
+
return SearchRequestFromJSONTyped(json, false);
|
|
6
|
+
}
|
|
7
|
+
export function SearchRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
8
|
+
if (json == null) {
|
|
9
|
+
return json;
|
|
10
|
+
}
|
|
11
|
+
return {
|
|
12
|
+
"filter": json["filter"] == null ? void 0 : json["filter"],
|
|
13
|
+
"sort": json["sort"] == null ? void 0 : json["sort"],
|
|
14
|
+
"projection": json["projection"] == null ? void 0 : json["projection"]
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export function SearchRequestToJSON(json) {
|
|
18
|
+
return SearchRequestToJSONTyped(json, false);
|
|
19
|
+
}
|
|
20
|
+
export function SearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
21
|
+
if (value == null) {
|
|
22
|
+
return value;
|
|
23
|
+
}
|
|
24
|
+
return {
|
|
25
|
+
"filter": value["filter"],
|
|
26
|
+
"sort": value["sort"],
|
|
27
|
+
"projection": value["projection"]
|
|
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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -35,11 +35,11 @@ export interface SettingsResponse {
|
|
|
35
35
|
ignoredPlugins?: Array<string>;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
|
-
* @type {{ [key: string]:
|
|
38
|
+
* @type {{ [key: string]: any; }}
|
|
39
39
|
* @memberof SettingsResponse
|
|
40
40
|
*/
|
|
41
41
|
configurations: {
|
|
42
|
-
[key: string]:
|
|
42
|
+
[key: string]: any;
|
|
43
43
|
};
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
@@ -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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -23,11 +23,11 @@ export interface UpdateFileInformationRequest {
|
|
|
23
23
|
filename?: string;
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
|
-
* @type {{ [key: string]:
|
|
26
|
+
* @type {{ [key: string]: any; }}
|
|
27
27
|
* @memberof UpdateFileInformationRequest
|
|
28
28
|
*/
|
|
29
29
|
metadata?: {
|
|
30
|
-
[key: string]:
|
|
30
|
+
[key: string]: any;
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
@@ -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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
export interface UpdateRequest {
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
20
|
-
* @type {{ [key: string]:
|
|
20
|
+
* @type {{ [key: string]: any; }}
|
|
21
21
|
* @memberof UpdateRequest
|
|
22
22
|
*/
|
|
23
23
|
document: {
|
|
24
|
-
[key: string]:
|
|
24
|
+
[key: string]: any;
|
|
25
25
|
};
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {{ [key: string]:
|
|
28
|
+
* @type {{ [key: string]: any; }}
|
|
29
29
|
* @memberof UpdateRequest
|
|
30
30
|
*/
|
|
31
31
|
filter: {
|
|
32
|
-
[key: string]:
|
|
32
|
+
[key: string]: any;
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
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.7.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.7.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.7.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.7.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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export * from './BucketInformation.js';
|
|
2
|
+
export * from './ClusterInformation.js';
|
|
3
|
+
export * from './ClusterMemberInformation.js';
|
|
4
|
+
export * from './CollectionPermission.js';
|
|
2
5
|
export * from './CollectionStatus.js';
|
|
6
|
+
export * from './CollectionSummary.js';
|
|
7
|
+
export * from './CountResponse.js';
|
|
3
8
|
export * from './DatabaseInfo.js';
|
|
4
9
|
export * from './DeleteResponse.js';
|
|
5
10
|
export * from './ErrorDescription.js';
|
|
@@ -9,6 +14,8 @@ export * from './IndexCreateRequest.js';
|
|
|
9
14
|
export * from './IndexCreateResponse.js';
|
|
10
15
|
export * from './IndexDropResponse.js';
|
|
11
16
|
export * from './IndexOptionsRequest.js';
|
|
17
|
+
export * from './IndexUsage.js';
|
|
18
|
+
export * from './InsertError.js';
|
|
12
19
|
export * from './InsertResponse.js';
|
|
13
20
|
export * from './JobConfig.js';
|
|
14
21
|
export * from './JobInformation.js';
|
|
@@ -29,6 +36,7 @@ export * from './Role.js';
|
|
|
29
36
|
export * from './SchemaAnalysis.js';
|
|
30
37
|
export * from './SchemaAnalysisField.js';
|
|
31
38
|
export * from './SchemaAnalysisFieldType.js';
|
|
39
|
+
export * from './SearchRequest.js';
|
|
32
40
|
export * from './SettingsResponse.js';
|
|
33
41
|
export * from './UpdateFileInformationRequest.js';
|
|
34
42
|
export * from './UpdateRequest.js';
|
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
export * from "./BucketInformation.js";
|
|
2
|
+
export * from "./ClusterInformation.js";
|
|
3
|
+
export * from "./ClusterMemberInformation.js";
|
|
4
|
+
export * from "./CollectionPermission.js";
|
|
2
5
|
export * from "./CollectionStatus.js";
|
|
6
|
+
export * from "./CollectionSummary.js";
|
|
7
|
+
export * from "./CountResponse.js";
|
|
3
8
|
export * from "./DatabaseInfo.js";
|
|
4
9
|
export * from "./DeleteResponse.js";
|
|
5
10
|
export * from "./ErrorDescription.js";
|
|
@@ -9,6 +14,8 @@ export * from "./IndexCreateRequest.js";
|
|
|
9
14
|
export * from "./IndexCreateResponse.js";
|
|
10
15
|
export * from "./IndexDropResponse.js";
|
|
11
16
|
export * from "./IndexOptionsRequest.js";
|
|
17
|
+
export * from "./IndexUsage.js";
|
|
18
|
+
export * from "./InsertError.js";
|
|
12
19
|
export * from "./InsertResponse.js";
|
|
13
20
|
export * from "./JobConfig.js";
|
|
14
21
|
export * from "./JobInformation.js";
|
|
@@ -29,6 +36,7 @@ export * from "./Role.js";
|
|
|
29
36
|
export * from "./SchemaAnalysis.js";
|
|
30
37
|
export * from "./SchemaAnalysisField.js";
|
|
31
38
|
export * from "./SchemaAnalysisFieldType.js";
|
|
39
|
+
export * from "./SearchRequest.js";
|
|
32
40
|
export * from "./SettingsResponse.js";
|
|
33
41
|
export * from "./UpdateFileInformationRequest.js";
|
|
34
42
|
export * from "./UpdateRequest.js";
|
|
@@ -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.7.1
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -8,6 +8,6 @@ export declare function useMongocampApi(): {
|
|
|
8
8
|
documentApi: import("../api/index.js").DocumentApi;
|
|
9
9
|
fileApi: import("../api/index.js").FileApi;
|
|
10
10
|
indexApi: import("../api/index.js").IndexApi;
|
|
11
|
-
|
|
11
|
+
systemApi: import("../api/index.js").SystemApi;
|
|
12
12
|
jobApi: import("../api/index.js").JobsApi;
|
|
13
13
|
};
|
|
@@ -17,10 +17,10 @@ export declare function useMongocampApiCollection(collectionName: string): {
|
|
|
17
17
|
[key: string]: string;
|
|
18
18
|
}) => Promise<import("../api/index.js").DeleteResponse>;
|
|
19
19
|
aggregate: (mongoAggregateRequest: MongoAggregateRequest, rowsPerPage?: number, page?: number) => Promise<{
|
|
20
|
-
[key: string]:
|
|
20
|
+
[key: string]: any;
|
|
21
21
|
}[]>;
|
|
22
22
|
information: (includeDetails?: boolean) => Promise<import("../api/index.js").CollectionStatus>;
|
|
23
23
|
schemaAnalysis: () => Promise<import("../api/index.js").SchemaAnalysis>;
|
|
24
|
-
distinct: (field: string) => Promise<
|
|
24
|
+
distinct: (field: string) => Promise<any[]>;
|
|
25
25
|
clear: () => Promise<import("../api/index.js").JsonValueBoolean>;
|
|
26
26
|
};
|
|
@@ -4,13 +4,13 @@ export declare function useMongocampSearch(): {
|
|
|
4
4
|
mongoFindRequest: (filter?: object, sort?: object, projection?: object) => MongoFindRequest;
|
|
5
5
|
findRequest: (collection: string, searchParameter?: MongoFindRequest, rows?: number, actualPage?: number) => FindRequest;
|
|
6
6
|
find: (collectionName: string, filter: string | undefined, page?: number, sort?: string[] | undefined, projection?: string[] | undefined, rowsPerPage?: number) => Promise<{
|
|
7
|
-
[key: string]:
|
|
7
|
+
[key: string]: any;
|
|
8
8
|
}[]>;
|
|
9
9
|
findAll: (collectionName: string, page?: number, sort?: string[] | undefined, projection?: string[] | undefined, rowsPerPage?: number) => Promise<{
|
|
10
|
-
[key: string]:
|
|
10
|
+
[key: string]: any;
|
|
11
11
|
}[]>;
|
|
12
12
|
findByField: (collectionName: string, field: string, value: FilterFieldValue, page?: number, sort?: string[] | undefined, projection?: string[] | undefined, rowsPerPage?: number) => Promise<{
|
|
13
|
-
[key: string]:
|
|
13
|
+
[key: string]: any;
|
|
14
14
|
}[]>;
|
|
15
15
|
};
|
|
16
16
|
export interface PaginatedFindOptions {
|
|
@@ -9,6 +9,6 @@ export declare function useMongocampApi(event: H3Event, token?: string): {
|
|
|
9
9
|
documentApi: import("../../api/index.js").DocumentApi;
|
|
10
10
|
fileApi: import("../../api/index.js").FileApi;
|
|
11
11
|
indexApi: import("../../api/index.js").IndexApi;
|
|
12
|
-
|
|
12
|
+
systemApi: import("../../api/index.js").SystemApi;
|
|
13
13
|
jobApi: import("../../api/index.js").JobsApi;
|
|
14
14
|
};
|
|
@@ -8,6 +8,6 @@ export declare function useMongocampServerApi(url: string, key?: string, token?:
|
|
|
8
8
|
documentApi: import("../../api/index.js").DocumentApi;
|
|
9
9
|
fileApi: import("../../api/index.js").FileApi;
|
|
10
10
|
indexApi: import("../../api/index.js").IndexApi;
|
|
11
|
-
|
|
11
|
+
systemApi: import("../../api/index.js").SystemApi;
|
|
12
12
|
jobApi: import("../../api/index.js").JobsApi;
|
|
13
13
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Configuration } from '../api/index.js';
|
|
2
|
-
import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi,
|
|
2
|
+
import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi, SystemApi, JobsApi } from '../api/index.js';
|
|
3
3
|
export declare function createMongocampApis(configuration: Configuration): {
|
|
4
4
|
adminApi: AdminApi;
|
|
5
5
|
applicationApi: ApplicationApi;
|
|
@@ -10,6 +10,6 @@ export declare function createMongocampApis(configuration: Configuration): {
|
|
|
10
10
|
documentApi: DocumentApi;
|
|
11
11
|
fileApi: FileApi;
|
|
12
12
|
indexApi: IndexApi;
|
|
13
|
-
|
|
13
|
+
systemApi: SystemApi;
|
|
14
14
|
jobApi: JobsApi;
|
|
15
15
|
};
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
DocumentApi,
|
|
9
9
|
FileApi,
|
|
10
10
|
IndexApi,
|
|
11
|
-
|
|
11
|
+
SystemApi,
|
|
12
12
|
JobsApi
|
|
13
13
|
} from "../api/index.js";
|
|
14
14
|
export function createMongocampApis(configuration) {
|
|
@@ -22,7 +22,7 @@ export function createMongocampApis(configuration) {
|
|
|
22
22
|
documentApi: new DocumentApi(configuration),
|
|
23
23
|
fileApi: new FileApi(configuration),
|
|
24
24
|
indexApi: new IndexApi(configuration),
|
|
25
|
-
|
|
25
|
+
systemApi: new SystemApi(configuration),
|
|
26
26
|
jobApi: new JobsApi(configuration)
|
|
27
27
|
};
|
|
28
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/nuxt-mongocamp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"dev": "nuxi dev playground",
|
|
33
33
|
"dev:build": "nuxi build playground",
|
|
34
34
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
35
|
-
"release": "npm run lint && npm run test && npm run prepack && changelogen --
|
|
35
|
+
"release": "npm run lint && npm run test && npm run prepack && changelogen --minor --release && npm publish --access public && git push --follow-tags",
|
|
36
36
|
"lint": "eslint .",
|
|
37
37
|
"lint:fix": "eslint --fix .",
|
|
38
38
|
"test": "vitest run",
|
|
@@ -43,24 +43,24 @@
|
|
|
43
43
|
"api-codegen": "openapi-generator-cli generate -i ./openapi/docs.yaml -g typescript-fetch -o src/runtime/api --additional-properties=typescriptThreePlus=true,supportsES6=true"
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@nuxt/kit": "^4.
|
|
47
|
-
"@vueuse/nuxt": "^
|
|
46
|
+
"@nuxt/kit": "^4.6.4",
|
|
47
|
+
"@vueuse/nuxt": "^15.0.0",
|
|
48
48
|
"consola": "^3.4.2",
|
|
49
49
|
"defu": "^6.1.7"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
|
-
"@nuxt/devtools": "4.
|
|
53
|
-
"@nuxt/eslint-config": "^1.
|
|
52
|
+
"@nuxt/devtools": "^4.1.0",
|
|
53
|
+
"@nuxt/eslint-config": "^1.17.0",
|
|
54
54
|
"@nuxt/module-builder": "^1.0.3",
|
|
55
|
-
"@nuxt/schema": "^4.
|
|
56
|
-
"@nuxt/test-utils": "^4.
|
|
57
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
58
|
-
"@types/node": "^26.
|
|
59
|
-
"@unocss/nuxt": "66.
|
|
55
|
+
"@nuxt/schema": "^4.6.4",
|
|
56
|
+
"@nuxt/test-utils": "^4.3.4",
|
|
57
|
+
"@openapitools/openapi-generator-cli": "^2.42.0",
|
|
58
|
+
"@types/node": "^26.6.6",
|
|
59
|
+
"@unocss/nuxt": "^66.12.0",
|
|
60
60
|
"changelogen": "^0.6.2",
|
|
61
|
-
"eslint": "^10.
|
|
62
|
-
"nuxt": "^4.
|
|
63
|
-
"vitest": "^
|
|
61
|
+
"eslint": "^10.14.0",
|
|
62
|
+
"nuxt": "^4.6.4",
|
|
63
|
+
"vitest": "^5.1.0"
|
|
64
64
|
},
|
|
65
65
|
"packageManager": "pnpm@10.30.0+sha512.2b5753de015d480eeb88f5b5b61e0051f05b4301808a82ec8b840c9d2adf7748eb352c83f5c1593ca703ff1017295bc3fdd3119abb9686efc96b9fcb18200937"
|
|
66
66
|
}
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import * as runtime from "../runtime.js";
|
|
2
|
-
import {
|
|
3
|
-
VersionFromJSON
|
|
4
|
-
} from "../models/index.js";
|
|
5
|
-
export class InformationApi extends runtime.BaseAPI {
|
|
6
|
-
/**
|
|
7
|
-
* Creates request options for version without sending the request
|
|
8
|
-
*/
|
|
9
|
-
async versionRequestOpts() {
|
|
10
|
-
const queryParameters = {};
|
|
11
|
-
const headerParameters = {};
|
|
12
|
-
let urlPath = `/version`;
|
|
13
|
-
return {
|
|
14
|
-
path: urlPath,
|
|
15
|
-
method: "GET",
|
|
16
|
-
headers: headerParameters,
|
|
17
|
-
query: queryParameters
|
|
18
|
-
};
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Version Info of the MongoCamp API
|
|
22
|
-
* Version Information
|
|
23
|
-
*/
|
|
24
|
-
async versionRaw(initOverrides) {
|
|
25
|
-
const requestOptions = await this.versionRequestOpts();
|
|
26
|
-
const response = await this.request(requestOptions, initOverrides);
|
|
27
|
-
return new runtime.JSONApiResponse(response, (jsonValue) => VersionFromJSON(jsonValue));
|
|
28
|
-
}
|
|
29
|
-
/**
|
|
30
|
-
* Version Info of the MongoCamp API
|
|
31
|
-
* Version Information
|
|
32
|
-
*/
|
|
33
|
-
async version(initOverrides) {
|
|
34
|
-
const response = await this.versionRaw(initOverrides);
|
|
35
|
-
return await response.value();
|
|
36
|
-
}
|
|
37
|
-
}
|