@sfxcode/nuxt-mongocamp-server 1.2.1 → 1.2.3
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 +1 -1
- package/dist/module.d.mts +1 -1
- package/dist/module.d.ts +1 -1
- package/dist/module.json +5 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/apis/AdminApi.d.ts +3 -3
- package/dist/runtime/api/apis/{AdminApi.mjs → AdminApi.js} +2 -2
- package/dist/runtime/api/apis/ApplicationApi.d.ts +16 -3
- package/dist/runtime/api/apis/{ApplicationApi.mjs → ApplicationApi.js} +41 -2
- package/dist/runtime/api/apis/AuthApi.d.ts +3 -3
- package/dist/runtime/api/apis/{AuthApi.mjs → AuthApi.js} +2 -2
- package/dist/runtime/api/apis/BucketApi.d.ts +3 -3
- package/dist/runtime/api/apis/{BucketApi.mjs → BucketApi.js} +2 -2
- package/dist/runtime/api/apis/CollectionApi.d.ts +6 -6
- package/dist/runtime/api/apis/{CollectionApi.mjs → CollectionApi.js} +2 -2
- package/dist/runtime/api/apis/DatabaseApi.d.ts +3 -3
- package/dist/runtime/api/apis/{DatabaseApi.mjs → DatabaseApi.js} +2 -2
- package/dist/runtime/api/apis/DocumentApi.d.ts +3 -3
- package/dist/runtime/api/apis/{DocumentApi.mjs → DocumentApi.js} +2 -2
- package/dist/runtime/api/apis/FileApi.d.ts +3 -3
- package/dist/runtime/api/apis/{FileApi.mjs → FileApi.js} +2 -2
- package/dist/runtime/api/apis/IndexApi.d.ts +3 -3
- package/dist/runtime/api/apis/{IndexApi.mjs → IndexApi.js} +2 -2
- package/dist/runtime/api/apis/InformationApi.d.ts +3 -3
- package/dist/runtime/api/apis/{InformationApi.mjs → InformationApi.js} +2 -2
- package/dist/runtime/api/apis/JobsApi.d.ts +3 -3
- package/dist/runtime/api/apis/{JobsApi.mjs → JobsApi.js} +2 -2
- package/dist/runtime/api/apis/index.d.ts +11 -11
- package/dist/runtime/api/apis/index.js +11 -0
- package/dist/runtime/api/index.d.ts +3 -3
- package/dist/runtime/api/index.js +3 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +4 -3
- package/dist/runtime/api/models/{BucketInformation.mjs → BucketInformation.js} +8 -9
- package/dist/runtime/api/models/CollectionStatus.d.ts +4 -3
- package/dist/runtime/api/models/{CollectionStatus.mjs → CollectionStatus.js} +17 -27
- package/dist/runtime/api/models/DatabaseInfo.d.ts +4 -3
- package/dist/runtime/api/models/{DatabaseInfo.mjs → DatabaseInfo.js} +9 -11
- package/dist/runtime/api/models/DeleteResponse.d.ts +4 -3
- package/dist/runtime/api/models/{DeleteResponse.mjs → DeleteResponse.js} +6 -5
- package/dist/runtime/api/models/ErrorDescription.d.ts +4 -3
- package/dist/runtime/api/models/{ErrorDescription.mjs → ErrorDescription.js} +7 -7
- package/dist/runtime/api/models/FileInformation.d.ts +4 -3
- package/dist/runtime/api/models/{FileInformation.mjs → FileInformation.js} +10 -13
- package/dist/runtime/api/models/Grant.d.ts +4 -3
- package/dist/runtime/api/models/{Grant.mjs → Grant.js} +9 -11
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +5 -4
- package/dist/runtime/api/models/{IndexCreateRequest.mjs → IndexCreateRequest.js} +6 -4
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +4 -3
- package/dist/runtime/api/models/{IndexCreateResponse.mjs → IndexCreateResponse.js} +5 -3
- package/dist/runtime/api/models/IndexDropResponse.d.ts +4 -3
- package/dist/runtime/api/models/{IndexDropResponse.mjs → IndexDropResponse.js} +5 -3
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +4 -3
- package/dist/runtime/api/models/{IndexOptionsRequest.mjs → IndexOptionsRequest.js} +4 -1
- package/dist/runtime/api/models/InsertResponse.d.ts +4 -3
- package/dist/runtime/api/models/{InsertResponse.mjs → InsertResponse.js} +5 -3
- package/dist/runtime/api/models/JobConfig.d.ts +4 -3
- package/dist/runtime/api/models/{JobConfig.mjs → JobConfig.js} +10 -13
- package/dist/runtime/api/models/JobInformation.d.ts +4 -3
- package/dist/runtime/api/models/{JobInformation.mjs → JobInformation.js} +10 -13
- package/dist/runtime/api/models/JsonSchema.d.ts +5 -4
- package/dist/runtime/api/models/JsonSchema.js +37 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +4 -3
- package/dist/runtime/api/models/{JsonSchemaDefinition.mjs → JsonSchemaDefinition.js} +8 -9
- package/dist/runtime/api/models/JsonValueAny.d.ts +4 -3
- package/dist/runtime/api/models/{JsonValueAny.mjs → JsonValueAny.js} +5 -3
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +4 -3
- package/dist/runtime/api/models/{JsonValueBoolean.mjs → JsonValueBoolean.js} +5 -3
- package/dist/runtime/api/models/JsonValueString.d.ts +4 -3
- package/dist/runtime/api/models/{JsonValueString.mjs → JsonValueString.js} +5 -3
- package/dist/runtime/api/models/Login.d.ts +4 -3
- package/dist/runtime/api/models/{Login.mjs → Login.js} +6 -5
- package/dist/runtime/api/models/LoginResult.d.ts +5 -4
- package/dist/runtime/api/models/{LoginResult.mjs → LoginResult.js} +8 -8
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +5 -4
- package/dist/runtime/api/models/{MongoAggregateRequest.mjs → MongoAggregateRequest.js} +6 -4
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +4 -3
- package/dist/runtime/api/models/{MongoCampConfiguration.mjs → MongoCampConfiguration.js} +9 -11
- package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -3
- package/dist/runtime/api/models/{MongoFindRequest.mjs → MongoFindRequest.js} +7 -7
- package/dist/runtime/api/models/MongoIndex.d.ts +4 -3
- package/dist/runtime/api/models/{MongoIndex.mjs → MongoIndex.js} +15 -23
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +4 -3
- package/dist/runtime/api/models/{PasswordUpdateRequest.mjs → PasswordUpdateRequest.js} +5 -3
- package/dist/runtime/api/models/PipelineStage.d.ts +4 -3
- package/dist/runtime/api/models/{PipelineStage.mjs → PipelineStage.js} +6 -5
- package/dist/runtime/api/models/Role.d.ts +5 -4
- package/dist/runtime/api/models/{Role.mjs → Role.js} +7 -6
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +5 -4
- package/dist/runtime/api/models/{SchemaAnalysis.mjs → SchemaAnalysis.js} +8 -8
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +5 -4
- package/dist/runtime/api/models/{SchemaAnalysisField.mjs → SchemaAnalysisField.js} +9 -10
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +4 -3
- package/dist/runtime/api/models/{SchemaAnalysisFieldType.mjs → SchemaAnalysisFieldType.js} +7 -7
- package/dist/runtime/api/models/SettingsResponse.d.ts +4 -3
- package/dist/runtime/api/models/{SettingsResponse.mjs → SettingsResponse.js} +5 -3
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +4 -3
- package/dist/runtime/api/models/{UpdateFileInformationRequest.mjs → UpdateFileInformationRequest.js} +4 -1
- package/dist/runtime/api/models/UpdateRequest.d.ts +4 -3
- package/dist/runtime/api/models/{UpdateRequest.mjs → UpdateRequest.js} +6 -5
- package/dist/runtime/api/models/UpdateResponse.d.ts +4 -3
- package/dist/runtime/api/models/{UpdateResponse.mjs → UpdateResponse.js} +7 -7
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +5 -4
- package/dist/runtime/api/models/{UpdateRoleRequest.mjs → UpdateRoleRequest.js} +6 -4
- package/dist/runtime/api/models/UserInformation.d.ts +4 -3
- package/dist/runtime/api/models/{UserInformation.mjs → UserInformation.js} +6 -5
- package/dist/runtime/api/models/UserProfile.d.ts +5 -4
- package/dist/runtime/api/models/{UserProfile.mjs → UserProfile.js} +7 -6
- package/dist/runtime/api/models/Version.d.ts +4 -3
- package/dist/runtime/api/models/{Version.mjs → Version.js} +7 -7
- package/dist/runtime/api/models/index.d.ts +39 -39
- package/dist/runtime/api/models/index.js +39 -0
- package/dist/runtime/api/runtime.d.ts +1 -1
- package/dist/runtime/composables/mongocampApi.d.ts +1 -1
- package/dist/runtime/composables/{mongocampApi.mjs → mongocampApi.js} +3 -3
- package/dist/runtime/composables/mongocampAuth.d.ts +1 -1
- package/dist/runtime/composables/{mongocampAuth.mjs → mongocampAuth.js} +3 -3
- package/dist/runtime/composables/mongocampSearch.d.ts +1 -1
- package/dist/runtime/composables/{mongocampSearch.mjs → mongocampSearch.js} +1 -1
- package/dist/runtime/composables/mongocampStorage.d.ts +5 -0
- package/dist/runtime/composables/mongocampUser.d.ts +1 -1
- package/dist/types.d.mts +1 -16
- package/dist/types.d.ts +1 -16
- package/package.json +18 -20
- package/dist/runtime/api/apis/index.mjs +0 -11
- package/dist/runtime/api/index.mjs +0 -3
- package/dist/runtime/api/models/JsonSchema.mjs +0 -32
- package/dist/runtime/api/models/index.mjs +0 -39
- /package/dist/runtime/api/{runtime.mjs → runtime.js} +0 -0
- /package/dist/runtime/composables/{mongocampStorage.mjs → mongocampStorage.js} +0 -0
- /package/dist/runtime/composables/{mongocampUrl.mjs → mongocampUrl.js} +0 -0
- /package/dist/runtime/composables/{mongocampUser.mjs → mongocampUser.js} +0 -0
package/README.md
CHANGED
package/dist/module.d.mts
CHANGED
|
@@ -6,6 +6,6 @@ interface ModuleOptions {
|
|
|
6
6
|
refreshToken: boolean;
|
|
7
7
|
tokenRefreshIntervall: number;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
|
9
|
+
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
10
10
|
|
|
11
11
|
export { type ModuleOptions, _default as default };
|
package/dist/module.d.ts
CHANGED
|
@@ -6,6 +6,6 @@ interface ModuleOptions {
|
|
|
6
6
|
refreshToken: boolean;
|
|
7
7
|
tokenRefreshIntervall: number;
|
|
8
8
|
}
|
|
9
|
-
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions>;
|
|
9
|
+
declare const _default: _nuxt_schema.NuxtModule<ModuleOptions, ModuleOptions, false>;
|
|
10
10
|
|
|
11
11
|
export { type ModuleOptions, _default as default };
|
package/dist/module.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { JsonValueBoolean, JsonValueString, PasswordUpdateRequest, Role, UpdateRoleRequest, UserInformation, UserProfile } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { JsonValueBoolean, JsonValueString, PasswordUpdateRequest, Role, UpdateRoleRequest, UserInformation, UserProfile } from '../models/index.js';
|
|
14
14
|
export interface AddRoleRequest {
|
|
15
15
|
role: Role;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
JsonValueBooleanFromJSON,
|
|
4
4
|
JsonValueStringFromJSON,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
UpdateRoleRequestToJSON,
|
|
9
9
|
UserInformationToJSON,
|
|
10
10
|
UserProfileFromJSON
|
|
11
|
-
} from "../models/index.
|
|
11
|
+
} from "../models/index.js";
|
|
12
12
|
export class AdminApi extends runtime.BaseAPI {
|
|
13
13
|
/**
|
|
14
14
|
* Add a new Role
|
|
@@ -2,18 +2,21 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { JsonValueAny, JsonValueBoolean, MongoCampConfiguration, SettingsResponse } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { JsonValueAny, JsonValueBoolean, MongoCampConfiguration, SettingsResponse } from '../models/index.js';
|
|
14
14
|
export interface GetConfigRequest {
|
|
15
15
|
configurationKey: string;
|
|
16
16
|
}
|
|
17
|
+
export interface ShutdownRequest {
|
|
18
|
+
force?: boolean;
|
|
19
|
+
}
|
|
17
20
|
export interface UpdateConfigurationRequest {
|
|
18
21
|
configurationKey: string;
|
|
19
22
|
jsonValueAny: JsonValueAny;
|
|
@@ -52,6 +55,16 @@ export declare class ApplicationApi extends runtime.BaseAPI {
|
|
|
52
55
|
* System Settings
|
|
53
56
|
*/
|
|
54
57
|
settings(initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<SettingsResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
|
|
60
|
+
* Shutdown MongoCamp
|
|
61
|
+
*/
|
|
62
|
+
shutdownRaw(requestParameters: ShutdownRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<JsonValueBoolean>>;
|
|
63
|
+
/**
|
|
64
|
+
* Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
|
|
65
|
+
* Shutdown MongoCamp
|
|
66
|
+
*/
|
|
67
|
+
shutdown(requestParameters?: ShutdownRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<JsonValueBoolean>;
|
|
55
68
|
/**
|
|
56
69
|
* Update Configuration with the value
|
|
57
70
|
* Update Configuration
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
JsonValueAnyToJSON,
|
|
4
4
|
JsonValueBooleanFromJSON,
|
|
5
5
|
MongoCampConfigurationFromJSON,
|
|
6
6
|
SettingsResponseFromJSON
|
|
7
|
-
} from "../models/index.
|
|
7
|
+
} from "../models/index.js";
|
|
8
8
|
export class ApplicationApi extends runtime.BaseAPI {
|
|
9
9
|
/**
|
|
10
10
|
* Get Configuration for key
|
|
@@ -120,6 +120,45 @@ export class ApplicationApi extends runtime.BaseAPI {
|
|
|
120
120
|
const response = await this.settingsRaw(initOverrides);
|
|
121
121
|
return await response.value();
|
|
122
122
|
}
|
|
123
|
+
/**
|
|
124
|
+
* Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
|
|
125
|
+
* Shutdown MongoCamp
|
|
126
|
+
*/
|
|
127
|
+
async shutdownRaw(requestParameters, initOverrides) {
|
|
128
|
+
const queryParameters = {};
|
|
129
|
+
if (requestParameters["force"] != null) {
|
|
130
|
+
queryParameters["force"] = requestParameters["force"];
|
|
131
|
+
}
|
|
132
|
+
const headerParameters = {};
|
|
133
|
+
if (this.configuration && (this.configuration.username !== void 0 || this.configuration.password !== void 0)) {
|
|
134
|
+
headerParameters["Authorization"] = "Basic " + btoa(this.configuration.username + ":" + this.configuration.password);
|
|
135
|
+
}
|
|
136
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
137
|
+
const token = this.configuration.accessToken;
|
|
138
|
+
const tokenString = await token("httpAuth", []);
|
|
139
|
+
if (tokenString) {
|
|
140
|
+
headerParameters["Authorization"] = `Bearer ${tokenString}`;
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
if (this.configuration && this.configuration.apiKey) {
|
|
144
|
+
headerParameters["X-AUTH-APIKEY"] = await this.configuration.apiKey("X-AUTH-APIKEY");
|
|
145
|
+
}
|
|
146
|
+
const response = await this.request({
|
|
147
|
+
path: `/system`,
|
|
148
|
+
method: "DELETE",
|
|
149
|
+
headers: headerParameters,
|
|
150
|
+
query: queryParameters
|
|
151
|
+
}, initOverrides);
|
|
152
|
+
return new runtime.JSONApiResponse(response, (jsonValue) => JsonValueBooleanFromJSON(jsonValue));
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Shutdown the running MongoCamp Application. CLI Mode will automatically restart the Application.
|
|
156
|
+
* Shutdown MongoCamp
|
|
157
|
+
*/
|
|
158
|
+
async shutdown(requestParameters = {}, initOverrides) {
|
|
159
|
+
const response = await this.shutdownRaw(requestParameters, initOverrides);
|
|
160
|
+
return await response.value();
|
|
161
|
+
}
|
|
123
162
|
/**
|
|
124
163
|
* Update Configuration with the value
|
|
125
164
|
* Update Configuration
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { JsonValueBoolean, JsonValueString, Login, LoginResult, PasswordUpdateRequest, UserProfile } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { JsonValueBoolean, JsonValueString, Login, LoginResult, PasswordUpdateRequest, UserProfile } from '../models/index.js';
|
|
14
14
|
export interface LoginRequest {
|
|
15
15
|
login: Login;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
JsonValueBooleanFromJSON,
|
|
4
4
|
JsonValueStringFromJSON,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
LoginResultFromJSON,
|
|
7
7
|
PasswordUpdateRequestToJSON,
|
|
8
8
|
UserProfileFromJSON
|
|
9
|
-
} from "../models/index.
|
|
9
|
+
} from "../models/index.js";
|
|
10
10
|
export class AuthApi extends runtime.BaseAPI {
|
|
11
11
|
/**
|
|
12
12
|
* Generate new ApiKey of logged in User
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { BucketInformation, JsonValueBoolean } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { BucketInformation, JsonValueBoolean } from '../models/index.js';
|
|
14
14
|
export interface ClearBucketRequest {
|
|
15
15
|
bucketName: string;
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
BucketInformationFromJSON,
|
|
4
4
|
JsonValueBooleanFromJSON
|
|
5
|
-
} from "../models/index.
|
|
5
|
+
} from "../models/index.js";
|
|
6
6
|
export class BucketApi extends runtime.BaseAPI {
|
|
7
7
|
/**
|
|
8
8
|
* Delete all Files in Bucket
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { CollectionStatus, JsonSchema, JsonValueBoolean, MongoAggregateRequest, SchemaAnalysis } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { CollectionStatus, JsonSchema, JsonValueBoolean, MongoAggregateRequest, SchemaAnalysis } from '../models/index.js';
|
|
14
14
|
export interface AggregateRequest {
|
|
15
15
|
collectionName: string;
|
|
16
16
|
mongoAggregateRequest: MongoAggregateRequest;
|
|
@@ -47,7 +47,7 @@ export interface GetSchemaAnalysisRequest {
|
|
|
47
47
|
sampleSize?: number;
|
|
48
48
|
deepth?: number;
|
|
49
49
|
}
|
|
50
|
-
export interface
|
|
50
|
+
export interface ListCollectionsByDatabase0Request {
|
|
51
51
|
databaseName: string;
|
|
52
52
|
}
|
|
53
53
|
/**
|
|
@@ -152,10 +152,10 @@ export declare class CollectionApi extends runtime.BaseAPI {
|
|
|
152
152
|
* List of all Collections of the given database
|
|
153
153
|
* List of Collections
|
|
154
154
|
*/
|
|
155
|
-
listCollectionsByDatabaseRaw(requestParameters:
|
|
155
|
+
listCollectionsByDatabaseRaw(requestParameters: ListCollectionsByDatabase0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Array<string>>>;
|
|
156
156
|
/**
|
|
157
157
|
* List of all Collections of the given database
|
|
158
158
|
* List of Collections
|
|
159
159
|
*/
|
|
160
|
-
listCollectionsByDatabase(requestParameters:
|
|
160
|
+
listCollectionsByDatabase(requestParameters: ListCollectionsByDatabase0Request, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Array<string>>;
|
|
161
161
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
CollectionStatusFromJSON,
|
|
4
4
|
JsonSchemaFromJSON,
|
|
5
5
|
JsonValueBooleanFromJSON,
|
|
6
6
|
MongoAggregateRequestToJSON,
|
|
7
7
|
SchemaAnalysisFromJSON
|
|
8
|
-
} from "../models/index.
|
|
8
|
+
} from "../models/index.js";
|
|
9
9
|
export class CollectionApi extends runtime.BaseAPI {
|
|
10
10
|
/**
|
|
11
11
|
* Aggregate in a given Collection
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { DatabaseInfo, JsonValueBoolean } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { DatabaseInfo, JsonValueBoolean } from '../models/index.js';
|
|
14
14
|
export interface DeleteDatabaseRequest {
|
|
15
15
|
databaseName: string;
|
|
16
16
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
DatabaseInfoFromJSON,
|
|
4
4
|
JsonValueBooleanFromJSON
|
|
5
|
-
} from "../models/index.
|
|
5
|
+
} from "../models/index.js";
|
|
6
6
|
export class DatabaseApi extends runtime.BaseAPI {
|
|
7
7
|
/**
|
|
8
8
|
* List of all Databases Infos
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { DeleteResponse, InsertResponse, MongoFindRequest, UpdateRequest, UpdateResponse } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { DeleteResponse, InsertResponse, MongoFindRequest, UpdateRequest, UpdateResponse } from '../models/index.js';
|
|
14
14
|
export interface DeleteRequest {
|
|
15
15
|
collectionName: string;
|
|
16
16
|
documentId: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
DeleteResponseFromJSON,
|
|
4
4
|
InsertResponseFromJSON,
|
|
5
5
|
MongoFindRequestToJSON,
|
|
6
6
|
UpdateRequestToJSON,
|
|
7
7
|
UpdateResponseFromJSON
|
|
8
|
-
} from "../models/index.
|
|
8
|
+
} from "../models/index.js";
|
|
9
9
|
export class DocumentApi extends runtime.BaseAPI {
|
|
10
10
|
/**
|
|
11
11
|
* Delete one Document from given Collection
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { DeleteResponse, FileInformation, InsertResponse, MongoFindRequest, UpdateFileInformationRequest, UpdateResponse } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { DeleteResponse, FileInformation, InsertResponse, MongoFindRequest, UpdateFileInformationRequest, UpdateResponse } from '../models/index.js';
|
|
14
14
|
export interface DeleteFileRequest {
|
|
15
15
|
bucketName: string;
|
|
16
16
|
fileId: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
DeleteResponseFromJSON,
|
|
4
4
|
FileInformationFromJSON,
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
MongoFindRequestToJSON,
|
|
7
7
|
UpdateFileInformationRequestToJSON,
|
|
8
8
|
UpdateResponseFromJSON
|
|
9
|
-
} from "../models/index.
|
|
9
|
+
} from "../models/index.js";
|
|
10
10
|
export class FileApi extends runtime.BaseAPI {
|
|
11
11
|
/**
|
|
12
12
|
* Delete one File from given Bucket
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { IndexCreateRequest, IndexCreateResponse, IndexDropResponse, IndexOptionsRequest, MongoIndex } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { IndexCreateRequest, IndexCreateResponse, IndexDropResponse, IndexOptionsRequest, MongoIndex } from '../models/index.js';
|
|
14
14
|
export interface CreateExpiringIndexRequest {
|
|
15
15
|
collectionName: string;
|
|
16
16
|
fieldName: string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
IndexCreateRequestToJSON,
|
|
4
4
|
IndexCreateResponseFromJSON,
|
|
5
5
|
IndexDropResponseFromJSON,
|
|
6
6
|
IndexOptionsRequestToJSON,
|
|
7
7
|
MongoIndexFromJSON
|
|
8
|
-
} from "../models/index.
|
|
8
|
+
} from "../models/index.js";
|
|
9
9
|
export class IndexApi extends runtime.BaseAPI {
|
|
10
10
|
/**
|
|
11
11
|
* Create expiring Index by Field for given Collection
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { Version } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { Version } from '../models/index.js';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
VersionFromJSON
|
|
4
|
-
} from "../models/index.
|
|
4
|
+
} from "../models/index.js";
|
|
5
5
|
export class InformationApi extends runtime.BaseAPI {
|
|
6
6
|
/**
|
|
7
7
|
* Version Info of the MongoCamp API
|
|
@@ -2,15 +2,15 @@
|
|
|
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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import * as runtime from '../runtime';
|
|
13
|
-
import type { JobConfig, JobInformation, JsonValueBoolean } from '../models/index';
|
|
12
|
+
import * as runtime from '../runtime.js';
|
|
13
|
+
import type { JobConfig, JobInformation, JsonValueBoolean } from '../models/index.js';
|
|
14
14
|
export interface DeleteJobRequest {
|
|
15
15
|
jobGroup: string;
|
|
16
16
|
jobName: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import * as runtime from "../runtime.
|
|
1
|
+
import * as runtime from "../runtime.js";
|
|
2
2
|
import {
|
|
3
3
|
JobConfigToJSON,
|
|
4
4
|
JobInformationFromJSON,
|
|
5
5
|
JsonValueBooleanFromJSON
|
|
6
|
-
} from "../models/index.
|
|
6
|
+
} from "../models/index.js";
|
|
7
7
|
export class JobsApi extends runtime.BaseAPI {
|
|
8
8
|
/**
|
|
9
9
|
* Delete Job and reload all Job Information
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './AdminApi';
|
|
2
|
-
export * from './ApplicationApi';
|
|
3
|
-
export * from './AuthApi';
|
|
4
|
-
export * from './BucketApi';
|
|
5
|
-
export * from './CollectionApi';
|
|
6
|
-
export * from './DatabaseApi';
|
|
7
|
-
export * from './DocumentApi';
|
|
8
|
-
export * from './FileApi';
|
|
9
|
-
export * from './IndexApi';
|
|
10
|
-
export * from './InformationApi';
|
|
11
|
-
export * from './JobsApi';
|
|
1
|
+
export * from './AdminApi.js';
|
|
2
|
+
export * from './ApplicationApi.js';
|
|
3
|
+
export * from './AuthApi.js';
|
|
4
|
+
export * from './BucketApi.js';
|
|
5
|
+
export * from './CollectionApi.js';
|
|
6
|
+
export * from './DatabaseApi.js';
|
|
7
|
+
export * from './DocumentApi.js';
|
|
8
|
+
export * from './FileApi.js';
|
|
9
|
+
export * from './IndexApi.js';
|
|
10
|
+
export * from './InformationApi.js';
|
|
11
|
+
export * from './JobsApi.js';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./AdminApi.js";
|
|
2
|
+
export * from "./ApplicationApi.js";
|
|
3
|
+
export * from "./AuthApi.js";
|
|
4
|
+
export * from "./BucketApi.js";
|
|
5
|
+
export * from "./CollectionApi.js";
|
|
6
|
+
export * from "./DatabaseApi.js";
|
|
7
|
+
export * from "./DocumentApi.js";
|
|
8
|
+
export * from "./FileApi.js";
|
|
9
|
+
export * from "./IndexApi.js";
|
|
10
|
+
export * from "./InformationApi.js";
|
|
11
|
+
export * from "./JobsApi.js";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './runtime';
|
|
2
|
-
export * from './apis/index';
|
|
3
|
-
export * from './models/index';
|
|
1
|
+
export * from './runtime.js';
|
|
2
|
+
export * from './apis/index.js';
|
|
3
|
+
export * from './models/index.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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -43,7 +43,8 @@ export interface BucketInformation {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the BucketInformation interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfBucketInformation(value: object):
|
|
46
|
+
export declare function instanceOfBucketInformation(value: object): value is BucketInformation;
|
|
47
47
|
export declare function BucketInformationFromJSON(json: any): BucketInformation;
|
|
48
48
|
export declare function BucketInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): BucketInformation;
|
|
49
|
-
export declare function BucketInformationToJSON(
|
|
49
|
+
export declare function BucketInformationToJSON(json: any): BucketInformation;
|
|
50
|
+
export declare function BucketInformationToJSONTyped(value?: BucketInformation | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
export function instanceOfBucketInformation(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("size" in value))
|
|
7
|
-
return false;
|
|
8
|
-
if (!("avgObjectSize" in value))
|
|
9
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("files" in value) || value["files"] === void 0) return false;
|
|
4
|
+
if (!("size" in value) || value["size"] === void 0) return false;
|
|
5
|
+
if (!("avgObjectSize" in value) || value["avgObjectSize"] === void 0) return false;
|
|
10
6
|
return true;
|
|
11
7
|
}
|
|
12
8
|
export function BucketInformationFromJSON(json) {
|
|
@@ -23,7 +19,10 @@ export function BucketInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
19
|
"avgObjectSize": json["avgObjectSize"]
|
|
24
20
|
};
|
|
25
21
|
}
|
|
26
|
-
export function BucketInformationToJSON(
|
|
22
|
+
export function BucketInformationToJSON(json) {
|
|
23
|
+
return BucketInformationToJSONTyped(json, false);
|
|
24
|
+
}
|
|
25
|
+
export function BucketInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
27
26
|
if (value == null) {
|
|
28
27
|
return value;
|
|
29
28
|
}
|
|
@@ -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.
|
|
5
|
+
* The version of the OpenAPI document: 1.5.10
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -101,7 +101,8 @@ export interface CollectionStatus {
|
|
|
101
101
|
/**
|
|
102
102
|
* Check if a given object implements the CollectionStatus interface.
|
|
103
103
|
*/
|
|
104
|
-
export declare function instanceOfCollectionStatus(value: object):
|
|
104
|
+
export declare function instanceOfCollectionStatus(value: object): value is CollectionStatus;
|
|
105
105
|
export declare function CollectionStatusFromJSON(json: any): CollectionStatus;
|
|
106
106
|
export declare function CollectionStatusFromJSONTyped(json: any, ignoreDiscriminator: boolean): CollectionStatus;
|
|
107
|
-
export declare function CollectionStatusToJSON(
|
|
107
|
+
export declare function CollectionStatusToJSON(json: any): CollectionStatus;
|
|
108
|
+
export declare function CollectionStatusToJSONTyped(value?: CollectionStatus | null, ignoreDiscriminator?: boolean): any;
|