@sfxcode/nuxt-mongocamp-server 1.0.4 → 1.0.5
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.d.ts +9 -2
- package/dist/module.json +1 -1
- package/dist/module.mjs +553 -4
- package/dist/runtime/api/apis/AdminApi.d.ts +181 -0
- package/dist/runtime/api/apis/AdminApi.mjs +509 -0
- package/dist/runtime/api/apis/ApplicationApi.d.ts +65 -0
- package/dist/runtime/api/apis/ApplicationApi.mjs +164 -0
- package/dist/runtime/api/apis/AuthApi.d.ts +104 -0
- package/dist/runtime/api/apis/AuthApi.mjs +296 -0
- package/dist/runtime/api/apis/BucketApi.d.ts +67 -0
- package/dist/runtime/api/apis/BucketApi.mjs +160 -0
- package/dist/runtime/api/apis/CollectionApi.d.ts +161 -0
- package/dist/runtime/api/apis/CollectionApi.mjs +435 -0
- package/dist/runtime/api/apis/DatabaseApi.d.ts +77 -0
- package/dist/runtime/api/apis/DatabaseApi.mjs +196 -0
- package/dist/runtime/api/apis/DocumentApi.d.ts +188 -0
- package/dist/runtime/api/apis/DocumentApi.mjs +465 -0
- package/dist/runtime/api/apis/FileApi.d.ts +125 -0
- package/dist/runtime/api/apis/FileApi.mjs +355 -0
- package/dist/runtime/api/apis/IndexApi.d.ts +137 -0
- package/dist/runtime/api/apis/IndexApi.mjs +367 -0
- package/dist/runtime/api/apis/InformationApi.d.ts +28 -0
- package/dist/runtime/api/apis/InformationApi.mjs +29 -0
- package/dist/runtime/api/apis/JobsApi.d.ts +94 -0
- package/dist/runtime/api/apis/JobsApi.mjs +252 -0
- package/dist/runtime/api/apis/index.d.ts +11 -0
- package/dist/runtime/api/apis/index.mjs +11 -0
- package/dist/runtime/api/index.d.ts +3 -0
- package/dist/runtime/api/index.mjs +3 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +49 -0
- package/dist/runtime/api/models/BucketInformation.mjs +36 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +107 -0
- package/dist/runtime/api/models/CollectionStatus.mjs +63 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +57 -0
- package/dist/runtime/api/models/DatabaseInfo.mjs +39 -0
- package/dist/runtime/api/models/DeleteResponse.d.ts +37 -0
- package/dist/runtime/api/models/DeleteResponse.mjs +30 -0
- package/dist/runtime/api/models/ErrorDescription.d.ts +43 -0
- package/dist/runtime/api/models/ErrorDescription.mjs +33 -0
- package/dist/runtime/api/models/FileInformation.d.ts +63 -0
- package/dist/runtime/api/models/FileInformation.mjs +42 -0
- package/dist/runtime/api/models/Grant.d.ts +55 -0
- package/dist/runtime/api/models/Grant.mjs +39 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +40 -0
- package/dist/runtime/api/models/IndexCreateRequest.mjs +34 -0
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +31 -0
- package/dist/runtime/api/models/IndexCreateResponse.mjs +27 -0
- package/dist/runtime/api/models/IndexDropResponse.d.ts +31 -0
- package/dist/runtime/api/models/IndexDropResponse.mjs +27 -0
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +73 -0
- package/dist/runtime/api/models/IndexOptionsRequest.mjs +41 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +37 -0
- package/dist/runtime/api/models/InsertResponse.mjs +30 -0
- package/dist/runtime/api/models/JobConfig.d.ts +61 -0
- package/dist/runtime/api/models/JobConfig.mjs +42 -0
- package/dist/runtime/api/models/JobInformation.d.ts +79 -0
- package/dist/runtime/api/models/JobInformation.mjs +49 -0
- package/dist/runtime/api/models/JsonResultBoolean.d.ts +27 -0
- package/dist/runtime/api/models/JsonResultBoolean.mjs +22 -0
- package/dist/runtime/api/models/JsonResultString.d.ts +27 -0
- package/dist/runtime/api/models/JsonResultString.mjs +22 -0
- package/dist/runtime/api/models/JsonSchema.d.ts +46 -0
- package/dist/runtime/api/models/JsonSchema.mjs +38 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +59 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.mjs +39 -0
- package/dist/runtime/api/models/JsonValueAny.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueAny.mjs +27 -0
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueBoolean.mjs +27 -0
- package/dist/runtime/api/models/JsonValueString.d.ts +31 -0
- package/dist/runtime/api/models/JsonValueString.mjs +27 -0
- package/dist/runtime/api/models/Login.d.ts +37 -0
- package/dist/runtime/api/models/Login.mjs +30 -0
- package/dist/runtime/api/models/LoginResult.d.ts +44 -0
- package/dist/runtime/api/models/LoginResult.mjs +37 -0
- package/dist/runtime/api/models/Measurement.d.ts +33 -0
- package/dist/runtime/api/models/Measurement.mjs +24 -0
- package/dist/runtime/api/models/Metric.d.ts +52 -0
- package/dist/runtime/api/models/Metric.mjs +35 -0
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +38 -0
- package/dist/runtime/api/models/MongoAggregateRequest.mjs +34 -0
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +55 -0
- package/dist/runtime/api/models/MongoCampConfiguration.mjs +39 -0
- package/dist/runtime/api/models/MongoFindRequest.d.ts +49 -0
- package/dist/runtime/api/models/MongoFindRequest.mjs +33 -0
- package/dist/runtime/api/models/MongoIndex.d.ts +103 -0
- package/dist/runtime/api/models/MongoIndex.mjs +60 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +31 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.mjs +27 -0
- package/dist/runtime/api/models/PipelineStage.d.ts +37 -0
- package/dist/runtime/api/models/PipelineStage.mjs +30 -0
- package/dist/runtime/api/models/Role.d.ts +44 -0
- package/dist/runtime/api/models/Role.mjs +37 -0
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +50 -0
- package/dist/runtime/api/models/SchemaAnalysis.mjs +40 -0
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +62 -0
- package/dist/runtime/api/models/SchemaAnalysisField.mjs +45 -0
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +43 -0
- package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +33 -0
- package/dist/runtime/api/models/SettingsResponse.d.ts +51 -0
- package/dist/runtime/api/models/SettingsResponse.mjs +34 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +39 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +29 -0
- package/dist/runtime/api/models/UpdateRequest.d.ts +41 -0
- package/dist/runtime/api/models/UpdateRequest.mjs +30 -0
- package/dist/runtime/api/models/UpdateResponse.d.ts +49 -0
- package/dist/runtime/api/models/UpdateResponse.mjs +36 -0
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +38 -0
- package/dist/runtime/api/models/UpdateRoleRequest.mjs +34 -0
- package/dist/runtime/api/models/UserInformation.d.ts +49 -0
- package/dist/runtime/api/models/UserInformation.mjs +35 -0
- package/dist/runtime/api/models/UserProfile.d.ts +56 -0
- package/dist/runtime/api/models/UserProfile.mjs +41 -0
- package/dist/runtime/api/models/Version.d.ts +43 -0
- package/dist/runtime/api/models/Version.mjs +33 -0
- package/dist/runtime/api/models/index.d.ts +39 -0
- package/dist/runtime/api/models/index.mjs +39 -0
- package/dist/runtime/api/runtime.d.ts +182 -0
- package/dist/runtime/api/runtime.mjs +281 -0
- package/dist/runtime/composables/mongocampApi.d.ts +14 -0
- package/dist/runtime/composables/mongocampApi.mjs +45 -0
- package/dist/runtime/composables/mongocampAuth.d.ts +8 -0
- package/dist/runtime/composables/mongocampAuth.mjs +28 -0
- package/dist/runtime/composables/mongocampSearch.d.ts +11 -0
- package/dist/runtime/composables/mongocampSearch.mjs +20 -0
- package/dist/runtime/composables/mongocampStorage.d.ts +0 -0
- package/dist/runtime/composables/mongocampStorage.mjs +5 -0
- package/dist/runtime/composables/mongocampUrl.d.ts +1 -0
- package/dist/runtime/composables/mongocampUrl.mjs +5 -0
- package/dist/runtime/composables/mongocampUser.d.ts +3 -0
- package/dist/runtime/composables/mongocampUser.mjs +4 -0
- package/dist/types.d.ts +2 -8
- package/package.json +4 -3
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
export function instanceOfUpdateFileInformationRequest(value) {
|
|
3
|
+
let isInstance = true;
|
|
4
|
+
return isInstance;
|
|
5
|
+
}
|
|
6
|
+
export function UpdateFileInformationRequestFromJSON(json) {
|
|
7
|
+
return UpdateFileInformationRequestFromJSONTyped(json, false);
|
|
8
|
+
}
|
|
9
|
+
export function UpdateFileInformationRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
10
|
+
if (json === void 0 || json === null) {
|
|
11
|
+
return json;
|
|
12
|
+
}
|
|
13
|
+
return {
|
|
14
|
+
"filename": !exists(json, "filename") ? void 0 : json["filename"],
|
|
15
|
+
"metadata": !exists(json, "metadata") ? void 0 : json["metadata"]
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
export function UpdateFileInformationRequestToJSON(value) {
|
|
19
|
+
if (value === void 0) {
|
|
20
|
+
return void 0;
|
|
21
|
+
}
|
|
22
|
+
if (value === null) {
|
|
23
|
+
return null;
|
|
24
|
+
}
|
|
25
|
+
return {
|
|
26
|
+
"filename": value.filename,
|
|
27
|
+
"metadata": value.metadata
|
|
28
|
+
};
|
|
29
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.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 UpdateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {{ [key: string]: string; }}
|
|
21
|
+
* @memberof UpdateRequest
|
|
22
|
+
*/
|
|
23
|
+
document: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {{ [key: string]: string; }}
|
|
29
|
+
* @memberof UpdateRequest
|
|
30
|
+
*/
|
|
31
|
+
filter: {
|
|
32
|
+
[key: string]: string;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Check if a given object implements the UpdateRequest interface.
|
|
37
|
+
*/
|
|
38
|
+
export declare function instanceOfUpdateRequest(value: object): boolean;
|
|
39
|
+
export declare function UpdateRequestFromJSON(json: any): UpdateRequest;
|
|
40
|
+
export declare function UpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRequest;
|
|
41
|
+
export declare function UpdateRequestToJSON(value?: UpdateRequest | null): any;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export function instanceOfUpdateRequest(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "document" in value;
|
|
4
|
+
isInstance = isInstance && "filter" in value;
|
|
5
|
+
return isInstance;
|
|
6
|
+
}
|
|
7
|
+
export function UpdateRequestFromJSON(json) {
|
|
8
|
+
return UpdateRequestFromJSONTyped(json, false);
|
|
9
|
+
}
|
|
10
|
+
export function UpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
11
|
+
if (json === void 0 || json === null) {
|
|
12
|
+
return json;
|
|
13
|
+
}
|
|
14
|
+
return {
|
|
15
|
+
"document": json["document"],
|
|
16
|
+
"filter": json["filter"]
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
export function UpdateRequestToJSON(value) {
|
|
20
|
+
if (value === void 0) {
|
|
21
|
+
return void 0;
|
|
22
|
+
}
|
|
23
|
+
if (value === null) {
|
|
24
|
+
return null;
|
|
25
|
+
}
|
|
26
|
+
return {
|
|
27
|
+
"document": value.document,
|
|
28
|
+
"filter": value.filter
|
|
29
|
+
};
|
|
30
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.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 UpdateResponse
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateResponse {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {boolean}
|
|
21
|
+
* @memberof UpdateResponse
|
|
22
|
+
*/
|
|
23
|
+
wasAcknowledged: boolean;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof UpdateResponse
|
|
28
|
+
*/
|
|
29
|
+
upsertedIds?: Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof UpdateResponse
|
|
34
|
+
*/
|
|
35
|
+
modifiedCount: number;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof UpdateResponse
|
|
40
|
+
*/
|
|
41
|
+
matchedCount: number;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UpdateResponse interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUpdateResponse(value: object): boolean;
|
|
47
|
+
export declare function UpdateResponseFromJSON(json: any): UpdateResponse;
|
|
48
|
+
export declare function UpdateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateResponse;
|
|
49
|
+
export declare function UpdateResponseToJSON(value?: UpdateResponse | null): any;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
export function instanceOfUpdateResponse(value) {
|
|
3
|
+
let isInstance = true;
|
|
4
|
+
isInstance = isInstance && "wasAcknowledged" in value;
|
|
5
|
+
isInstance = isInstance && "modifiedCount" in value;
|
|
6
|
+
isInstance = isInstance && "matchedCount" in value;
|
|
7
|
+
return isInstance;
|
|
8
|
+
}
|
|
9
|
+
export function UpdateResponseFromJSON(json) {
|
|
10
|
+
return UpdateResponseFromJSONTyped(json, false);
|
|
11
|
+
}
|
|
12
|
+
export function UpdateResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
13
|
+
if (json === void 0 || json === null) {
|
|
14
|
+
return json;
|
|
15
|
+
}
|
|
16
|
+
return {
|
|
17
|
+
"wasAcknowledged": json["wasAcknowledged"],
|
|
18
|
+
"upsertedIds": !exists(json, "upsertedIds") ? void 0 : json["upsertedIds"],
|
|
19
|
+
"modifiedCount": json["modifiedCount"],
|
|
20
|
+
"matchedCount": json["matchedCount"]
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function UpdateResponseToJSON(value) {
|
|
24
|
+
if (value === void 0) {
|
|
25
|
+
return void 0;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
"wasAcknowledged": value.wasAcknowledged,
|
|
32
|
+
"upsertedIds": value.upsertedIds,
|
|
33
|
+
"modifiedCount": value.modifiedCount,
|
|
34
|
+
"matchedCount": value.matchedCount
|
|
35
|
+
};
|
|
36
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.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 { Grant } from './Grant';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateRoleRequest
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateRoleRequest {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {boolean}
|
|
22
|
+
* @memberof UpdateRoleRequest
|
|
23
|
+
*/
|
|
24
|
+
isAdmin: boolean;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {Array<Grant>}
|
|
28
|
+
* @memberof UpdateRoleRequest
|
|
29
|
+
*/
|
|
30
|
+
collectionGrants?: Array<Grant>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Check if a given object implements the UpdateRoleRequest interface.
|
|
34
|
+
*/
|
|
35
|
+
export declare function instanceOfUpdateRoleRequest(value: object): boolean;
|
|
36
|
+
export declare function UpdateRoleRequestFromJSON(json: any): UpdateRoleRequest;
|
|
37
|
+
export declare function UpdateRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRoleRequest;
|
|
38
|
+
export declare function UpdateRoleRequestToJSON(value?: UpdateRoleRequest | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
import {
|
|
3
|
+
GrantFromJSON,
|
|
4
|
+
GrantToJSON
|
|
5
|
+
} from "./Grant.mjs";
|
|
6
|
+
export function instanceOfUpdateRoleRequest(value) {
|
|
7
|
+
let isInstance = true;
|
|
8
|
+
isInstance = isInstance && "isAdmin" in value;
|
|
9
|
+
return isInstance;
|
|
10
|
+
}
|
|
11
|
+
export function UpdateRoleRequestFromJSON(json) {
|
|
12
|
+
return UpdateRoleRequestFromJSONTyped(json, false);
|
|
13
|
+
}
|
|
14
|
+
export function UpdateRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
+
if (json === void 0 || json === null) {
|
|
16
|
+
return json;
|
|
17
|
+
}
|
|
18
|
+
return {
|
|
19
|
+
"isAdmin": json["isAdmin"],
|
|
20
|
+
"collectionGrants": !exists(json, "collectionGrants") ? void 0 : json["collectionGrants"].map(GrantFromJSON)
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
export function UpdateRoleRequestToJSON(value) {
|
|
24
|
+
if (value === void 0) {
|
|
25
|
+
return void 0;
|
|
26
|
+
}
|
|
27
|
+
if (value === null) {
|
|
28
|
+
return null;
|
|
29
|
+
}
|
|
30
|
+
return {
|
|
31
|
+
"isAdmin": value.isAdmin,
|
|
32
|
+
"collectionGrants": value.collectionGrants === void 0 ? void 0 : value.collectionGrants.map(GrantToJSON)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.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 UserInformation
|
|
16
|
+
*/
|
|
17
|
+
export interface UserInformation {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UserInformation
|
|
22
|
+
*/
|
|
23
|
+
userId: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UserInformation
|
|
28
|
+
*/
|
|
29
|
+
password: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UserInformation
|
|
34
|
+
*/
|
|
35
|
+
apiKey?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<string>}
|
|
39
|
+
* @memberof UserInformation
|
|
40
|
+
*/
|
|
41
|
+
roles?: Array<string>;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the UserInformation interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfUserInformation(value: object): boolean;
|
|
47
|
+
export declare function UserInformationFromJSON(json: any): UserInformation;
|
|
48
|
+
export declare function UserInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInformation;
|
|
49
|
+
export declare function UserInformationToJSON(value?: UserInformation | null): any;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
export function instanceOfUserInformation(value) {
|
|
3
|
+
let isInstance = true;
|
|
4
|
+
isInstance = isInstance && "userId" in value;
|
|
5
|
+
isInstance = isInstance && "password" in value;
|
|
6
|
+
return isInstance;
|
|
7
|
+
}
|
|
8
|
+
export function UserInformationFromJSON(json) {
|
|
9
|
+
return UserInformationFromJSONTyped(json, false);
|
|
10
|
+
}
|
|
11
|
+
export function UserInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if (json === void 0 || json === null) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
"userId": json["userId"],
|
|
17
|
+
"password": json["password"],
|
|
18
|
+
"apiKey": !exists(json, "apiKey") ? void 0 : json["apiKey"],
|
|
19
|
+
"roles": !exists(json, "roles") ? void 0 : json["roles"]
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export function UserInformationToJSON(value) {
|
|
23
|
+
if (value === void 0) {
|
|
24
|
+
return void 0;
|
|
25
|
+
}
|
|
26
|
+
if (value === null) {
|
|
27
|
+
return null;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
"userId": value.userId,
|
|
31
|
+
"password": value.password,
|
|
32
|
+
"apiKey": value.apiKey,
|
|
33
|
+
"roles": value.roles
|
|
34
|
+
};
|
|
35
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.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 { Grant } from './Grant';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UserProfile
|
|
17
|
+
*/
|
|
18
|
+
export interface UserProfile {
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof UserProfile
|
|
23
|
+
*/
|
|
24
|
+
user: string;
|
|
25
|
+
/**
|
|
26
|
+
*
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof UserProfile
|
|
29
|
+
*/
|
|
30
|
+
isAdmin: boolean;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof UserProfile
|
|
35
|
+
*/
|
|
36
|
+
apiKey?: string;
|
|
37
|
+
/**
|
|
38
|
+
*
|
|
39
|
+
* @type {Array<string>}
|
|
40
|
+
* @memberof UserProfile
|
|
41
|
+
*/
|
|
42
|
+
roles?: Array<string>;
|
|
43
|
+
/**
|
|
44
|
+
*
|
|
45
|
+
* @type {Array<Grant>}
|
|
46
|
+
* @memberof UserProfile
|
|
47
|
+
*/
|
|
48
|
+
grants?: Array<Grant>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Check if a given object implements the UserProfile interface.
|
|
52
|
+
*/
|
|
53
|
+
export declare function instanceOfUserProfile(value: object): boolean;
|
|
54
|
+
export declare function UserProfileFromJSON(json: any): UserProfile;
|
|
55
|
+
export declare function UserProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserProfile;
|
|
56
|
+
export declare function UserProfileToJSON(value?: UserProfile | null): any;
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { exists } from "../runtime.mjs";
|
|
2
|
+
import {
|
|
3
|
+
GrantFromJSON,
|
|
4
|
+
GrantToJSON
|
|
5
|
+
} from "./Grant.mjs";
|
|
6
|
+
export function instanceOfUserProfile(value) {
|
|
7
|
+
let isInstance = true;
|
|
8
|
+
isInstance = isInstance && "user" in value;
|
|
9
|
+
isInstance = isInstance && "isAdmin" in value;
|
|
10
|
+
return isInstance;
|
|
11
|
+
}
|
|
12
|
+
export function UserProfileFromJSON(json) {
|
|
13
|
+
return UserProfileFromJSONTyped(json, false);
|
|
14
|
+
}
|
|
15
|
+
export function UserProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if (json === void 0 || json === null) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
"user": json["user"],
|
|
21
|
+
"isAdmin": json["isAdmin"],
|
|
22
|
+
"apiKey": !exists(json, "apiKey") ? void 0 : json["apiKey"],
|
|
23
|
+
"roles": !exists(json, "roles") ? void 0 : json["roles"],
|
|
24
|
+
"grants": !exists(json, "grants") ? void 0 : json["grants"].map(GrantFromJSON)
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export function UserProfileToJSON(value) {
|
|
28
|
+
if (value === void 0) {
|
|
29
|
+
return void 0;
|
|
30
|
+
}
|
|
31
|
+
if (value === null) {
|
|
32
|
+
return null;
|
|
33
|
+
}
|
|
34
|
+
return {
|
|
35
|
+
"user": value.user,
|
|
36
|
+
"isAdmin": value.isAdmin,
|
|
37
|
+
"apiKey": value.apiKey,
|
|
38
|
+
"roles": value.roles,
|
|
39
|
+
"grants": value.grants === void 0 ? void 0 : value.grants.map(GrantToJSON)
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* mongocamp-server
|
|
3
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.4.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 Version
|
|
16
|
+
*/
|
|
17
|
+
export interface Version {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof Version
|
|
22
|
+
*/
|
|
23
|
+
name: string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof Version
|
|
28
|
+
*/
|
|
29
|
+
version: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {Date}
|
|
33
|
+
* @memberof Version
|
|
34
|
+
*/
|
|
35
|
+
builtAt: Date;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Check if a given object implements the Version interface.
|
|
39
|
+
*/
|
|
40
|
+
export declare function instanceOfVersion(value: object): boolean;
|
|
41
|
+
export declare function VersionFromJSON(json: any): Version;
|
|
42
|
+
export declare function VersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Version;
|
|
43
|
+
export declare function VersionToJSON(value?: Version | null): any;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export function instanceOfVersion(value) {
|
|
2
|
+
let isInstance = true;
|
|
3
|
+
isInstance = isInstance && "name" in value;
|
|
4
|
+
isInstance = isInstance && "version" in value;
|
|
5
|
+
isInstance = isInstance && "builtAt" in value;
|
|
6
|
+
return isInstance;
|
|
7
|
+
}
|
|
8
|
+
export function VersionFromJSON(json) {
|
|
9
|
+
return VersionFromJSONTyped(json, false);
|
|
10
|
+
}
|
|
11
|
+
export function VersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
+
if (json === void 0 || json === null) {
|
|
13
|
+
return json;
|
|
14
|
+
}
|
|
15
|
+
return {
|
|
16
|
+
"name": json["name"],
|
|
17
|
+
"version": json["version"],
|
|
18
|
+
"builtAt": new Date(json["builtAt"])
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
export function VersionToJSON(value) {
|
|
22
|
+
if (value === void 0) {
|
|
23
|
+
return void 0;
|
|
24
|
+
}
|
|
25
|
+
if (value === null) {
|
|
26
|
+
return null;
|
|
27
|
+
}
|
|
28
|
+
return {
|
|
29
|
+
"name": value.name,
|
|
30
|
+
"version": value.version,
|
|
31
|
+
"builtAt": value.builtAt.toISOString()
|
|
32
|
+
};
|
|
33
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export * from './BucketInformation';
|
|
2
|
+
export * from './CollectionStatus';
|
|
3
|
+
export * from './DatabaseInfo';
|
|
4
|
+
export * from './DeleteResponse';
|
|
5
|
+
export * from './ErrorDescription';
|
|
6
|
+
export * from './FileInformation';
|
|
7
|
+
export * from './Grant';
|
|
8
|
+
export * from './IndexCreateRequest';
|
|
9
|
+
export * from './IndexCreateResponse';
|
|
10
|
+
export * from './IndexDropResponse';
|
|
11
|
+
export * from './IndexOptionsRequest';
|
|
12
|
+
export * from './InsertResponse';
|
|
13
|
+
export * from './JobConfig';
|
|
14
|
+
export * from './JobInformation';
|
|
15
|
+
export * from './JsonSchema';
|
|
16
|
+
export * from './JsonSchemaDefinition';
|
|
17
|
+
export * from './JsonValueAny';
|
|
18
|
+
export * from './JsonValueBoolean';
|
|
19
|
+
export * from './JsonValueString';
|
|
20
|
+
export * from './Login';
|
|
21
|
+
export * from './LoginResult';
|
|
22
|
+
export * from './MongoAggregateRequest';
|
|
23
|
+
export * from './MongoCampConfiguration';
|
|
24
|
+
export * from './MongoFindRequest';
|
|
25
|
+
export * from './MongoIndex';
|
|
26
|
+
export * from './PasswordUpdateRequest';
|
|
27
|
+
export * from './PipelineStage';
|
|
28
|
+
export * from './Role';
|
|
29
|
+
export * from './SchemaAnalysis';
|
|
30
|
+
export * from './SchemaAnalysisField';
|
|
31
|
+
export * from './SchemaAnalysisFieldType';
|
|
32
|
+
export * from './SettingsResponse';
|
|
33
|
+
export * from './UpdateFileInformationRequest';
|
|
34
|
+
export * from './UpdateRequest';
|
|
35
|
+
export * from './UpdateResponse';
|
|
36
|
+
export * from './UpdateRoleRequest';
|
|
37
|
+
export * from './UserInformation';
|
|
38
|
+
export * from './UserProfile';
|
|
39
|
+
export * from './Version';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export * from "./BucketInformation.mjs";
|
|
2
|
+
export * from "./CollectionStatus.mjs";
|
|
3
|
+
export * from "./DatabaseInfo.mjs";
|
|
4
|
+
export * from "./DeleteResponse.mjs";
|
|
5
|
+
export * from "./ErrorDescription.mjs";
|
|
6
|
+
export * from "./FileInformation.mjs";
|
|
7
|
+
export * from "./Grant.mjs";
|
|
8
|
+
export * from "./IndexCreateRequest.mjs";
|
|
9
|
+
export * from "./IndexCreateResponse.mjs";
|
|
10
|
+
export * from "./IndexDropResponse.mjs";
|
|
11
|
+
export * from "./IndexOptionsRequest.mjs";
|
|
12
|
+
export * from "./InsertResponse.mjs";
|
|
13
|
+
export * from "./JobConfig.mjs";
|
|
14
|
+
export * from "./JobInformation.mjs";
|
|
15
|
+
export * from "./JsonSchema.mjs";
|
|
16
|
+
export * from "./JsonSchemaDefinition.mjs";
|
|
17
|
+
export * from "./JsonValueAny.mjs";
|
|
18
|
+
export * from "./JsonValueBoolean.mjs";
|
|
19
|
+
export * from "./JsonValueString.mjs";
|
|
20
|
+
export * from "./Login.mjs";
|
|
21
|
+
export * from "./LoginResult.mjs";
|
|
22
|
+
export * from "./MongoAggregateRequest.mjs";
|
|
23
|
+
export * from "./MongoCampConfiguration.mjs";
|
|
24
|
+
export * from "./MongoFindRequest.mjs";
|
|
25
|
+
export * from "./MongoIndex.mjs";
|
|
26
|
+
export * from "./PasswordUpdateRequest.mjs";
|
|
27
|
+
export * from "./PipelineStage.mjs";
|
|
28
|
+
export * from "./Role.mjs";
|
|
29
|
+
export * from "./SchemaAnalysis.mjs";
|
|
30
|
+
export * from "./SchemaAnalysisField.mjs";
|
|
31
|
+
export * from "./SchemaAnalysisFieldType.mjs";
|
|
32
|
+
export * from "./SettingsResponse.mjs";
|
|
33
|
+
export * from "./UpdateFileInformationRequest.mjs";
|
|
34
|
+
export * from "./UpdateRequest.mjs";
|
|
35
|
+
export * from "./UpdateResponse.mjs";
|
|
36
|
+
export * from "./UpdateRoleRequest.mjs";
|
|
37
|
+
export * from "./UserInformation.mjs";
|
|
38
|
+
export * from "./UserProfile.mjs";
|
|
39
|
+
export * from "./Version.mjs";
|