@sfxcode/nuxt-mongocamp-server 1.2.1 → 1.2.2
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.json +5 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/apis/AdminApi.d.ts +2 -2
- package/dist/runtime/api/apis/{AdminApi.mjs → AdminApi.js} +2 -2
- package/dist/runtime/api/apis/ApplicationApi.d.ts +2 -2
- package/dist/runtime/api/apis/{ApplicationApi.mjs → ApplicationApi.js} +2 -2
- package/dist/runtime/api/apis/AuthApi.d.ts +2 -2
- package/dist/runtime/api/apis/{AuthApi.mjs → AuthApi.js} +2 -2
- package/dist/runtime/api/apis/BucketApi.d.ts +2 -2
- package/dist/runtime/api/apis/{BucketApi.mjs → BucketApi.js} +2 -2
- package/dist/runtime/api/apis/CollectionApi.d.ts +2 -2
- package/dist/runtime/api/apis/{CollectionApi.mjs → CollectionApi.js} +2 -2
- package/dist/runtime/api/apis/DatabaseApi.d.ts +2 -2
- package/dist/runtime/api/apis/{DatabaseApi.mjs → DatabaseApi.js} +2 -2
- package/dist/runtime/api/apis/DocumentApi.d.ts +2 -2
- package/dist/runtime/api/apis/{DocumentApi.mjs → DocumentApi.js} +2 -2
- package/dist/runtime/api/apis/FileApi.d.ts +2 -2
- package/dist/runtime/api/apis/{FileApi.mjs → FileApi.js} +2 -2
- package/dist/runtime/api/apis/IndexApi.d.ts +2 -2
- package/dist/runtime/api/apis/{IndexApi.mjs → IndexApi.js} +2 -2
- package/dist/runtime/api/apis/InformationApi.d.ts +2 -2
- package/dist/runtime/api/apis/{InformationApi.mjs → InformationApi.js} +2 -2
- package/dist/runtime/api/apis/JobsApi.d.ts +2 -2
- 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 +1 -1
- package/dist/runtime/api/models/{BucketInformation.mjs → BucketInformation.js} +4 -8
- package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
- package/dist/runtime/api/models/{CollectionStatus.mjs → CollectionStatus.js} +13 -26
- package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
- package/dist/runtime/api/models/{DatabaseInfo.mjs → DatabaseInfo.js} +5 -10
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
- package/dist/runtime/api/models/{DeleteResponse.mjs → DeleteResponse.js} +2 -4
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
- package/dist/runtime/api/models/{ErrorDescription.mjs → ErrorDescription.js} +3 -6
- package/dist/runtime/api/models/FileInformation.d.ts +1 -1
- package/dist/runtime/api/models/{FileInformation.mjs → FileInformation.js} +6 -12
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/{Grant.mjs → Grant.js} +5 -10
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +2 -2
- package/dist/runtime/api/models/{IndexCreateRequest.mjs → IndexCreateRequest.js} +2 -3
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
- package/dist/runtime/api/models/{IndexCreateResponse.mjs → IndexCreateResponse.js} +1 -2
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
- package/dist/runtime/api/models/{IndexDropResponse.mjs → IndexDropResponse.js} +1 -2
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
- package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
- package/dist/runtime/api/models/{InsertResponse.mjs → InsertResponse.js} +1 -2
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/{JobConfig.mjs → JobConfig.js} +6 -12
- package/dist/runtime/api/models/JobInformation.d.ts +1 -1
- package/dist/runtime/api/models/{JobInformation.mjs → JobInformation.js} +6 -12
- package/dist/runtime/api/models/JsonSchema.d.ts +2 -2
- package/dist/runtime/api/models/JsonSchema.js +34 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
- package/dist/runtime/api/models/{JsonSchemaDefinition.mjs → JsonSchemaDefinition.js} +4 -8
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueAny.mjs → JsonValueAny.js} +1 -2
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueBoolean.mjs → JsonValueBoolean.js} +1 -2
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueString.mjs → JsonValueString.js} +1 -2
- package/dist/runtime/api/models/Login.d.ts +1 -1
- package/dist/runtime/api/models/{Login.mjs → Login.js} +2 -4
- package/dist/runtime/api/models/LoginResult.d.ts +2 -2
- package/dist/runtime/api/models/{LoginResult.mjs → LoginResult.js} +4 -7
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +2 -2
- package/dist/runtime/api/models/{MongoAggregateRequest.mjs → MongoAggregateRequest.js} +2 -3
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
- package/dist/runtime/api/models/{MongoCampConfiguration.mjs → MongoCampConfiguration.js} +5 -10
- package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
- package/dist/runtime/api/models/{MongoFindRequest.mjs → MongoFindRequest.js} +3 -6
- package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
- package/dist/runtime/api/models/{MongoIndex.mjs → MongoIndex.js} +11 -22
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/{PasswordUpdateRequest.mjs → PasswordUpdateRequest.js} +1 -2
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
- package/dist/runtime/api/models/{PipelineStage.mjs → PipelineStage.js} +2 -4
- package/dist/runtime/api/models/Role.d.ts +2 -2
- package/dist/runtime/api/models/{Role.mjs → Role.js} +3 -5
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +2 -2
- package/dist/runtime/api/models/{SchemaAnalysis.mjs → SchemaAnalysis.js} +4 -7
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +2 -2
- package/dist/runtime/api/models/{SchemaAnalysisField.mjs → SchemaAnalysisField.js} +5 -9
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
- package/dist/runtime/api/models/{SchemaAnalysisFieldType.mjs → SchemaAnalysisFieldType.js} +3 -6
- package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
- package/dist/runtime/api/models/{SettingsResponse.mjs → SettingsResponse.js} +1 -2
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/{UpdateRequest.mjs → UpdateRequest.js} +2 -4
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
- package/dist/runtime/api/models/{UpdateResponse.mjs → UpdateResponse.js} +3 -6
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +2 -2
- package/dist/runtime/api/models/{UpdateRoleRequest.mjs → UpdateRoleRequest.js} +2 -3
- package/dist/runtime/api/models/UserInformation.d.ts +1 -1
- package/dist/runtime/api/models/{UserInformation.mjs → UserInformation.js} +2 -4
- package/dist/runtime/api/models/UserProfile.d.ts +2 -2
- package/dist/runtime/api/models/{UserProfile.mjs → UserProfile.js} +3 -5
- package/dist/runtime/api/models/Version.d.ts +1 -1
- package/dist/runtime/api/models/{Version.mjs → Version.js} +3 -6
- package/dist/runtime/api/models/index.d.ts +39 -39
- package/dist/runtime/api/models/index.js +39 -0
- 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 -18
- 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/models/{IndexOptionsRequest.mjs → IndexOptionsRequest.js} +0 -0
- /package/dist/runtime/api/models/{UpdateFileInformationRequest.mjs → UpdateFileInformationRequest.js} +0 -0
- /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.json
CHANGED
package/dist/module.mjs
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
}
|
|
@@ -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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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;
|
|
@@ -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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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
|
|
@@ -9,8 +9,8 @@
|
|
|
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';
|
|
@@ -43,7 +43,7 @@ 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
49
|
export declare function BucketInformationToJSON(value?: BucketInformation | null): 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) {
|
|
@@ -101,7 +101,7 @@ 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
107
|
export declare function CollectionStatusToJSON(value?: CollectionStatus | null): any;
|
|
@@ -1,30 +1,17 @@
|
|
|
1
1
|
export function instanceOfCollectionStatus(value) {
|
|
2
|
-
if (!("ns" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
|
|
10
|
-
if (!("
|
|
11
|
-
|
|
12
|
-
if (!("
|
|
13
|
-
|
|
14
|
-
if (!("
|
|
15
|
-
return false;
|
|
16
|
-
if (!("nindexes" in value))
|
|
17
|
-
return false;
|
|
18
|
-
if (!("indexSizes" in value))
|
|
19
|
-
return false;
|
|
20
|
-
if (!("totalIndexSize" in value))
|
|
21
|
-
return false;
|
|
22
|
-
if (!("ok" in value))
|
|
23
|
-
return false;
|
|
24
|
-
if (!("fetched" in value))
|
|
25
|
-
return false;
|
|
26
|
-
if (!("map" in value))
|
|
27
|
-
return false;
|
|
2
|
+
if (!("ns" in value) || value["ns"] === void 0) return false;
|
|
3
|
+
if (!("collectionType" in value) || value["collectionType"] === void 0) return false;
|
|
4
|
+
if (!("scaleFactor" in value) || value["scaleFactor"] === void 0) return false;
|
|
5
|
+
if (!("size" in value) || value["size"] === void 0) return false;
|
|
6
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
7
|
+
if (!("storageSize" in value) || value["storageSize"] === void 0) return false;
|
|
8
|
+
if (!("avgObjSize" in value) || value["avgObjSize"] === void 0) return false;
|
|
9
|
+
if (!("nindexes" in value) || value["nindexes"] === void 0) return false;
|
|
10
|
+
if (!("indexSizes" in value) || value["indexSizes"] === void 0) return false;
|
|
11
|
+
if (!("totalIndexSize" in value) || value["totalIndexSize"] === void 0) return false;
|
|
12
|
+
if (!("ok" in value) || value["ok"] === void 0) return false;
|
|
13
|
+
if (!("fetched" in value) || value["fetched"] === void 0) return false;
|
|
14
|
+
if (!("map" in value) || value["map"] === void 0) return false;
|
|
28
15
|
return true;
|
|
29
16
|
}
|
|
30
17
|
export function CollectionStatusFromJSON(json) {
|
|
@@ -51,7 +51,7 @@ export interface DatabaseInfo {
|
|
|
51
51
|
/**
|
|
52
52
|
* Check if a given object implements the DatabaseInfo interface.
|
|
53
53
|
*/
|
|
54
|
-
export declare function instanceOfDatabaseInfo(value: object):
|
|
54
|
+
export declare function instanceOfDatabaseInfo(value: object): value is DatabaseInfo;
|
|
55
55
|
export declare function DatabaseInfoFromJSON(json: any): DatabaseInfo;
|
|
56
56
|
export declare function DatabaseInfoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DatabaseInfo;
|
|
57
57
|
export declare function DatabaseInfoToJSON(value?: DatabaseInfo | null): any;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export function instanceOfDatabaseInfo(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
return false;
|
|
8
|
-
if (!("fetched" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("map" in value))
|
|
11
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("sizeOnDisk" in value) || value["sizeOnDisk"] === void 0) return false;
|
|
4
|
+
if (!("empty" in value) || value["empty"] === void 0) return false;
|
|
5
|
+
if (!("fetched" in value) || value["fetched"] === void 0) return false;
|
|
6
|
+
if (!("map" in value) || value["map"] === void 0) return false;
|
|
12
7
|
return true;
|
|
13
8
|
}
|
|
14
9
|
export function DatabaseInfoFromJSON(json) {
|
|
@@ -31,7 +31,7 @@ export interface DeleteResponse {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the DeleteResponse interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfDeleteResponse(value: object):
|
|
34
|
+
export declare function instanceOfDeleteResponse(value: object): value is DeleteResponse;
|
|
35
35
|
export declare function DeleteResponseFromJSON(json: any): DeleteResponse;
|
|
36
36
|
export declare function DeleteResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): DeleteResponse;
|
|
37
37
|
export declare function DeleteResponseToJSON(value?: DeleteResponse | null): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfDeleteResponse(value) {
|
|
2
|
-
if (!("wasAcknowledged" in value))
|
|
3
|
-
|
|
4
|
-
if (!("deletedCount" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("wasAcknowledged" in value) || value["wasAcknowledged"] === void 0) return false;
|
|
3
|
+
if (!("deletedCount" in value) || value["deletedCount"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function DeleteResponseFromJSON(json) {
|
|
@@ -37,7 +37,7 @@ export interface ErrorDescription {
|
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the ErrorDescription interface.
|
|
39
39
|
*/
|
|
40
|
-
export declare function instanceOfErrorDescription(value: object):
|
|
40
|
+
export declare function instanceOfErrorDescription(value: object): value is ErrorDescription;
|
|
41
41
|
export declare function ErrorDescriptionFromJSON(json: any): ErrorDescription;
|
|
42
42
|
export declare function ErrorDescriptionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ErrorDescription;
|
|
43
43
|
export declare function ErrorDescriptionToJSON(value?: ErrorDescription | null): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfErrorDescription(value) {
|
|
2
|
-
if (!("code" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("additionalInfo" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("code" in value) || value["code"] === void 0) return false;
|
|
3
|
+
if (!("msg" in value) || value["msg"] === void 0) return false;
|
|
4
|
+
if (!("additionalInfo" in value) || value["additionalInfo"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function ErrorDescriptionFromJSON(json) {
|
|
@@ -57,7 +57,7 @@ export interface FileInformation {
|
|
|
57
57
|
/**
|
|
58
58
|
* Check if a given object implements the FileInformation interface.
|
|
59
59
|
*/
|
|
60
|
-
export declare function instanceOfFileInformation(value: object):
|
|
60
|
+
export declare function instanceOfFileInformation(value: object): value is FileInformation;
|
|
61
61
|
export declare function FileInformationFromJSON(json: any): FileInformation;
|
|
62
62
|
export declare function FileInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): FileInformation;
|
|
63
63
|
export declare function FileInformationToJSON(value?: FileInformation | null): any;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export function instanceOfFileInformation(value) {
|
|
2
|
-
if (!("id" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("chunkSize" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("uploadDate" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("metadata" in value))
|
|
13
|
-
return false;
|
|
2
|
+
if (!("id" in value) || value["id"] === void 0) return false;
|
|
3
|
+
if (!("filename" in value) || value["filename"] === void 0) return false;
|
|
4
|
+
if (!("length" in value) || value["length"] === void 0) return false;
|
|
5
|
+
if (!("chunkSize" in value) || value["chunkSize"] === void 0) return false;
|
|
6
|
+
if (!("uploadDate" in value) || value["uploadDate"] === void 0) return false;
|
|
7
|
+
if (!("metadata" in value) || value["metadata"] === void 0) return false;
|
|
14
8
|
return true;
|
|
15
9
|
}
|
|
16
10
|
export function FileInformationFromJSON(json) {
|
|
@@ -49,7 +49,7 @@ export interface Grant {
|
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the Grant interface.
|
|
51
51
|
*/
|
|
52
|
-
export declare function instanceOfGrant(value: object):
|
|
52
|
+
export declare function instanceOfGrant(value: object): value is Grant;
|
|
53
53
|
export declare function GrantFromJSON(json: any): Grant;
|
|
54
54
|
export declare function GrantFromJSONTyped(json: any, ignoreDiscriminator: boolean): Grant;
|
|
55
55
|
export declare function GrantToJSON(value?: Grant | null): any;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export function instanceOfGrant(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
return false;
|
|
8
|
-
if (!("administrate" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("grantType" in value))
|
|
11
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("read" in value) || value["read"] === void 0) return false;
|
|
4
|
+
if (!("write" in value) || value["write"] === void 0) return false;
|
|
5
|
+
if (!("administrate" in value) || value["administrate"] === void 0) return false;
|
|
6
|
+
if (!("grantType" in value) || value["grantType"] === void 0) return false;
|
|
12
7
|
return true;
|
|
13
8
|
}
|
|
14
9
|
export function GrantFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { IndexOptionsRequest } from './IndexOptionsRequest';
|
|
12
|
+
import type { IndexOptionsRequest } from './IndexOptionsRequest.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -34,7 +34,7 @@ export interface IndexCreateRequest {
|
|
|
34
34
|
/**
|
|
35
35
|
* Check if a given object implements the IndexCreateRequest interface.
|
|
36
36
|
*/
|
|
37
|
-
export declare function instanceOfIndexCreateRequest(value: object):
|
|
37
|
+
export declare function instanceOfIndexCreateRequest(value: object): value is IndexCreateRequest;
|
|
38
38
|
export declare function IndexCreateRequestFromJSON(json: any): IndexCreateRequest;
|
|
39
39
|
export declare function IndexCreateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateRequest;
|
|
40
40
|
export declare function IndexCreateRequestToJSON(value?: IndexCreateRequest | null): any;
|