@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
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
IndexOptionsRequestFromJSON,
|
|
3
3
|
IndexOptionsRequestToJSON
|
|
4
|
-
} from "./IndexOptionsRequest.
|
|
4
|
+
} from "./IndexOptionsRequest.js";
|
|
5
5
|
export function instanceOfIndexCreateRequest(value) {
|
|
6
|
-
if (!("keys" in value))
|
|
7
|
-
return false;
|
|
6
|
+
if (!("keys" in value) || value["keys"] === void 0) return false;
|
|
8
7
|
return true;
|
|
9
8
|
}
|
|
10
9
|
export function IndexCreateRequestFromJSON(json) {
|
|
@@ -25,7 +25,7 @@ export interface IndexCreateResponse {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the IndexCreateResponse interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfIndexCreateResponse(value: object):
|
|
28
|
+
export declare function instanceOfIndexCreateResponse(value: object): value is IndexCreateResponse;
|
|
29
29
|
export declare function IndexCreateResponseFromJSON(json: any): IndexCreateResponse;
|
|
30
30
|
export declare function IndexCreateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexCreateResponse;
|
|
31
31
|
export declare function IndexCreateResponseToJSON(value?: IndexCreateResponse | null): any;
|
|
@@ -25,7 +25,7 @@ export interface IndexDropResponse {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the IndexDropResponse interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfIndexDropResponse(value: object):
|
|
28
|
+
export declare function instanceOfIndexDropResponse(value: object): value is IndexDropResponse;
|
|
29
29
|
export declare function IndexDropResponseFromJSON(json: any): IndexDropResponse;
|
|
30
30
|
export declare function IndexDropResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexDropResponse;
|
|
31
31
|
export declare function IndexDropResponseToJSON(value?: IndexDropResponse | null): any;
|
|
@@ -67,7 +67,7 @@ export interface IndexOptionsRequest {
|
|
|
67
67
|
/**
|
|
68
68
|
* Check if a given object implements the IndexOptionsRequest interface.
|
|
69
69
|
*/
|
|
70
|
-
export declare function instanceOfIndexOptionsRequest(value: object):
|
|
70
|
+
export declare function instanceOfIndexOptionsRequest(value: object): value is IndexOptionsRequest;
|
|
71
71
|
export declare function IndexOptionsRequestFromJSON(json: any): IndexOptionsRequest;
|
|
72
72
|
export declare function IndexOptionsRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IndexOptionsRequest;
|
|
73
73
|
export declare function IndexOptionsRequestToJSON(value?: IndexOptionsRequest | null): any;
|
|
@@ -31,7 +31,7 @@ export interface InsertResponse {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the InsertResponse interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfInsertResponse(value: object):
|
|
34
|
+
export declare function instanceOfInsertResponse(value: object): value is InsertResponse;
|
|
35
35
|
export declare function InsertResponseFromJSON(json: any): InsertResponse;
|
|
36
36
|
export declare function InsertResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): InsertResponse;
|
|
37
37
|
export declare function InsertResponseToJSON(value?: InsertResponse | null): any;
|
|
@@ -55,7 +55,7 @@ export interface JobConfig {
|
|
|
55
55
|
/**
|
|
56
56
|
* Check if a given object implements the JobConfig interface.
|
|
57
57
|
*/
|
|
58
|
-
export declare function instanceOfJobConfig(value: object):
|
|
58
|
+
export declare function instanceOfJobConfig(value: object): value is JobConfig;
|
|
59
59
|
export declare function JobConfigFromJSON(json: any): JobConfig;
|
|
60
60
|
export declare function JobConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobConfig;
|
|
61
61
|
export declare function JobConfigToJSON(value?: JobConfig | null): any;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export function instanceOfJobConfig(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("cronExpression" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("group" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("priority" in value))
|
|
13
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("className" in value) || value["className"] === void 0) return false;
|
|
4
|
+
if (!("description" in value) || value["description"] === void 0) return false;
|
|
5
|
+
if (!("cronExpression" in value) || value["cronExpression"] === void 0) return false;
|
|
6
|
+
if (!("group" in value) || value["group"] === void 0) return false;
|
|
7
|
+
if (!("priority" in value) || value["priority"] === void 0) return false;
|
|
14
8
|
return true;
|
|
15
9
|
}
|
|
16
10
|
export function JobConfigFromJSON(json) {
|
|
@@ -73,7 +73,7 @@ export interface JobInformation {
|
|
|
73
73
|
/**
|
|
74
74
|
* Check if a given object implements the JobInformation interface.
|
|
75
75
|
*/
|
|
76
|
-
export declare function instanceOfJobInformation(value: object):
|
|
76
|
+
export declare function instanceOfJobInformation(value: object): value is JobInformation;
|
|
77
77
|
export declare function JobInformationFromJSON(json: any): JobInformation;
|
|
78
78
|
export declare function JobInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobInformation;
|
|
79
79
|
export declare function JobInformationToJSON(value?: JobInformation | null): any;
|
|
@@ -1,16 +1,10 @@
|
|
|
1
1
|
export function instanceOfJobInformation(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("description" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("cronExpression" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("priority" in value))
|
|
13
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("group" in value) || value["group"] === void 0) return false;
|
|
4
|
+
if (!("jobClassName" in value) || value["jobClassName"] === void 0) return false;
|
|
5
|
+
if (!("description" in value) || value["description"] === void 0) return false;
|
|
6
|
+
if (!("cronExpression" in value) || value["cronExpression"] === void 0) return false;
|
|
7
|
+
if (!("priority" in value) || value["priority"] === void 0) return false;
|
|
14
8
|
return true;
|
|
15
9
|
}
|
|
16
10
|
export function JobInformationFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { JsonSchemaDefinition } from './JsonSchemaDefinition';
|
|
12
|
+
import type { JsonSchemaDefinition } from './JsonSchemaDefinition.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -40,7 +40,7 @@ export interface JsonSchema {
|
|
|
40
40
|
/**
|
|
41
41
|
* Check if a given object implements the JsonSchema interface.
|
|
42
42
|
*/
|
|
43
|
-
export declare function instanceOfJsonSchema(value: object):
|
|
43
|
+
export declare function instanceOfJsonSchema(value: object): value is JsonSchema;
|
|
44
44
|
export declare function JsonSchemaFromJSON(json: any): JsonSchema;
|
|
45
45
|
export declare function JsonSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchema;
|
|
46
46
|
export declare function JsonSchemaToJSON(value?: JsonSchema | null): any;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { mapValues } from "../runtime.js";
|
|
2
|
+
import {
|
|
3
|
+
JsonSchemaDefinitionFromJSON,
|
|
4
|
+
JsonSchemaDefinitionToJSON
|
|
5
|
+
} from "./JsonSchemaDefinition.js";
|
|
6
|
+
export function instanceOfJsonSchema(value) {
|
|
7
|
+
if (!("$schema" in value) || value["$schema"] === void 0) return false;
|
|
8
|
+
if (!("$ref" in value) || value["$ref"] === void 0) return false;
|
|
9
|
+
if (!("definitions" in value) || value["definitions"] === void 0) return false;
|
|
10
|
+
return true;
|
|
11
|
+
}
|
|
12
|
+
export function JsonSchemaFromJSON(json) {
|
|
13
|
+
return JsonSchemaFromJSONTyped(json, false);
|
|
14
|
+
}
|
|
15
|
+
export function JsonSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
+
if (json == null) {
|
|
17
|
+
return json;
|
|
18
|
+
}
|
|
19
|
+
return {
|
|
20
|
+
"$schema": json["$schema"],
|
|
21
|
+
"$ref": json["$ref"],
|
|
22
|
+
"definitions": mapValues(json["definitions"], JsonSchemaDefinitionFromJSON)
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
export function JsonSchemaToJSON(value) {
|
|
26
|
+
if (value == null) {
|
|
27
|
+
return value;
|
|
28
|
+
}
|
|
29
|
+
return {
|
|
30
|
+
"$schema": value["$schema"],
|
|
31
|
+
"$ref": value["$ref"],
|
|
32
|
+
"definitions": mapValues(value["definitions"], JsonSchemaDefinitionToJSON)
|
|
33
|
+
};
|
|
34
|
+
}
|
|
@@ -53,7 +53,7 @@ export interface JsonSchemaDefinition {
|
|
|
53
53
|
/**
|
|
54
54
|
* Check if a given object implements the JsonSchemaDefinition interface.
|
|
55
55
|
*/
|
|
56
|
-
export declare function instanceOfJsonSchemaDefinition(value: object):
|
|
56
|
+
export declare function instanceOfJsonSchemaDefinition(value: object): value is JsonSchemaDefinition;
|
|
57
57
|
export declare function JsonSchemaDefinitionFromJSON(json: any): JsonSchemaDefinition;
|
|
58
58
|
export declare function JsonSchemaDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchemaDefinition;
|
|
59
59
|
export declare function JsonSchemaDefinitionToJSON(value?: JsonSchemaDefinition | null): any;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
export function instanceOfJsonSchemaDefinition(value) {
|
|
2
|
-
if (!("type" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("additionalProperties" in value))
|
|
7
|
-
return false;
|
|
8
|
-
if (!("properties" in value))
|
|
9
|
-
return false;
|
|
2
|
+
if (!("type" in value) || value["type"] === void 0) return false;
|
|
3
|
+
if (!("title" in value) || value["title"] === void 0) return false;
|
|
4
|
+
if (!("additionalProperties" in value) || value["additionalProperties"] === void 0) return false;
|
|
5
|
+
if (!("properties" in value) || value["properties"] === void 0) return false;
|
|
10
6
|
return true;
|
|
11
7
|
}
|
|
12
8
|
export function JsonSchemaDefinitionFromJSON(json) {
|
|
@@ -25,7 +25,7 @@ export interface JsonValueAny {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the JsonValueAny interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfJsonValueAny(value: object):
|
|
28
|
+
export declare function instanceOfJsonValueAny(value: object): value is JsonValueAny;
|
|
29
29
|
export declare function JsonValueAnyFromJSON(json: any): JsonValueAny;
|
|
30
30
|
export declare function JsonValueAnyFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueAny;
|
|
31
31
|
export declare function JsonValueAnyToJSON(value?: JsonValueAny | null): any;
|
|
@@ -25,7 +25,7 @@ export interface JsonValueBoolean {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the JsonValueBoolean interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfJsonValueBoolean(value: object):
|
|
28
|
+
export declare function instanceOfJsonValueBoolean(value: object): value is JsonValueBoolean;
|
|
29
29
|
export declare function JsonValueBooleanFromJSON(json: any): JsonValueBoolean;
|
|
30
30
|
export declare function JsonValueBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueBoolean;
|
|
31
31
|
export declare function JsonValueBooleanToJSON(value?: JsonValueBoolean | null): any;
|
|
@@ -25,7 +25,7 @@ export interface JsonValueString {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the JsonValueString interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfJsonValueString(value: object):
|
|
28
|
+
export declare function instanceOfJsonValueString(value: object): value is JsonValueString;
|
|
29
29
|
export declare function JsonValueStringFromJSON(json: any): JsonValueString;
|
|
30
30
|
export declare function JsonValueStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueString;
|
|
31
31
|
export declare function JsonValueStringToJSON(value?: JsonValueString | null): any;
|
|
@@ -31,7 +31,7 @@ export interface Login {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the Login interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfLogin(value: object):
|
|
34
|
+
export declare function instanceOfLogin(value: object): value is Login;
|
|
35
35
|
export declare function LoginFromJSON(json: any): Login;
|
|
36
36
|
export declare function LoginFromJSONTyped(json: any, ignoreDiscriminator: boolean): Login;
|
|
37
37
|
export declare function LoginToJSON(value?: Login | null): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfLogin(value) {
|
|
2
|
-
if (!("userId" in value))
|
|
3
|
-
|
|
4
|
-
if (!("password" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("userId" in value) || value["userId"] === void 0) return false;
|
|
3
|
+
if (!("password" in value) || value["password"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function LoginFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { UserProfile } from './UserProfile';
|
|
12
|
+
import type { UserProfile } from './UserProfile.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -38,7 +38,7 @@ export interface LoginResult {
|
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the LoginResult interface.
|
|
40
40
|
*/
|
|
41
|
-
export declare function instanceOfLoginResult(value: object):
|
|
41
|
+
export declare function instanceOfLoginResult(value: object): value is LoginResult;
|
|
42
42
|
export declare function LoginResultFromJSON(json: any): LoginResult;
|
|
43
43
|
export declare function LoginResultFromJSONTyped(json: any, ignoreDiscriminator: boolean): LoginResult;
|
|
44
44
|
export declare function LoginResultToJSON(value?: LoginResult | null): any;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
UserProfileFromJSON,
|
|
3
3
|
UserProfileToJSON
|
|
4
|
-
} from "./UserProfile.
|
|
4
|
+
} from "./UserProfile.js";
|
|
5
5
|
export function instanceOfLoginResult(value) {
|
|
6
|
-
if (!("authToken" in value))
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
return false;
|
|
10
|
-
if (!("expirationDate" in value))
|
|
11
|
-
return false;
|
|
6
|
+
if (!("authToken" in value) || value["authToken"] === void 0) return false;
|
|
7
|
+
if (!("userProfile" in value) || value["userProfile"] === void 0) return false;
|
|
8
|
+
if (!("expirationDate" in value) || value["expirationDate"] === void 0) return false;
|
|
12
9
|
return true;
|
|
13
10
|
}
|
|
14
11
|
export function LoginResultFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { PipelineStage } from './PipelineStage';
|
|
12
|
+
import type { PipelineStage } from './PipelineStage.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -32,7 +32,7 @@ export interface MongoAggregateRequest {
|
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the MongoAggregateRequest interface.
|
|
34
34
|
*/
|
|
35
|
-
export declare function instanceOfMongoAggregateRequest(value: object):
|
|
35
|
+
export declare function instanceOfMongoAggregateRequest(value: object): value is MongoAggregateRequest;
|
|
36
36
|
export declare function MongoAggregateRequestFromJSON(json: any): MongoAggregateRequest;
|
|
37
37
|
export declare function MongoAggregateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoAggregateRequest;
|
|
38
38
|
export declare function MongoAggregateRequestToJSON(value?: MongoAggregateRequest | null): any;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PipelineStageFromJSON,
|
|
3
3
|
PipelineStageToJSON
|
|
4
|
-
} from "./PipelineStage.
|
|
4
|
+
} from "./PipelineStage.js";
|
|
5
5
|
export function instanceOfMongoAggregateRequest(value) {
|
|
6
|
-
if (!("allowDiskUse" in value))
|
|
7
|
-
return false;
|
|
6
|
+
if (!("allowDiskUse" in value) || value["allowDiskUse"] === void 0) return false;
|
|
8
7
|
return true;
|
|
9
8
|
}
|
|
10
9
|
export function MongoAggregateRequestFromJSON(json) {
|
|
@@ -49,7 +49,7 @@ export interface MongoCampConfiguration {
|
|
|
49
49
|
/**
|
|
50
50
|
* Check if a given object implements the MongoCampConfiguration interface.
|
|
51
51
|
*/
|
|
52
|
-
export declare function instanceOfMongoCampConfiguration(value: object):
|
|
52
|
+
export declare function instanceOfMongoCampConfiguration(value: object): value is MongoCampConfiguration;
|
|
53
53
|
export declare function MongoCampConfigurationFromJSON(json: any): MongoCampConfiguration;
|
|
54
54
|
export declare function MongoCampConfigurationFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoCampConfiguration;
|
|
55
55
|
export declare function MongoCampConfigurationToJSON(value?: MongoCampConfiguration | null): any;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
export function instanceOfMongoCampConfiguration(value) {
|
|
2
|
-
if (!("key" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
return false;
|
|
8
|
-
if (!("comment" in value))
|
|
9
|
-
return false;
|
|
10
|
-
if (!("needsRestartForActivation" in value))
|
|
11
|
-
return false;
|
|
2
|
+
if (!("key" in value) || value["key"] === void 0) return false;
|
|
3
|
+
if (!("value" in value) || value["value"] === void 0) return false;
|
|
4
|
+
if (!("configType" in value) || value["configType"] === void 0) return false;
|
|
5
|
+
if (!("comment" in value) || value["comment"] === void 0) return false;
|
|
6
|
+
if (!("needsRestartForActivation" in value) || value["needsRestartForActivation"] === void 0) return false;
|
|
12
7
|
return true;
|
|
13
8
|
}
|
|
14
9
|
export function MongoCampConfigurationFromJSON(json) {
|
|
@@ -43,7 +43,7 @@ export interface MongoFindRequest {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the MongoFindRequest interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfMongoFindRequest(value: object):
|
|
46
|
+
export declare function instanceOfMongoFindRequest(value: object): value is MongoFindRequest;
|
|
47
47
|
export declare function MongoFindRequestFromJSON(json: any): MongoFindRequest;
|
|
48
48
|
export declare function MongoFindRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoFindRequest;
|
|
49
49
|
export declare function MongoFindRequestToJSON(value?: MongoFindRequest | null): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfMongoFindRequest(value) {
|
|
2
|
-
if (!("filter" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("projection" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("filter" in value) || value["filter"] === void 0) return false;
|
|
3
|
+
if (!("sort" in value) || value["sort"] === void 0) return false;
|
|
4
|
+
if (!("projection" in value) || value["projection"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function MongoFindRequestFromJSON(json) {
|
|
@@ -97,7 +97,7 @@ export interface MongoIndex {
|
|
|
97
97
|
/**
|
|
98
98
|
* Check if a given object implements the MongoIndex interface.
|
|
99
99
|
*/
|
|
100
|
-
export declare function instanceOfMongoIndex(value: object):
|
|
100
|
+
export declare function instanceOfMongoIndex(value: object): value is MongoIndex;
|
|
101
101
|
export declare function MongoIndexFromJSON(json: any): MongoIndex;
|
|
102
102
|
export declare function MongoIndexFromJSONTyped(json: any, ignoreDiscriminator: boolean): MongoIndex;
|
|
103
103
|
export declare function MongoIndexToJSON(value?: MongoIndex | null): any;
|
|
@@ -1,26 +1,15 @@
|
|
|
1
1
|
export function instanceOfMongoIndex(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
|
|
6
|
-
if (!("
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
|
|
10
|
-
if (!("
|
|
11
|
-
|
|
12
|
-
if (!("
|
|
13
|
-
return false;
|
|
14
|
-
if (!("expire" in value))
|
|
15
|
-
return false;
|
|
16
|
-
if (!("expireAfterSeconds" in value))
|
|
17
|
-
return false;
|
|
18
|
-
if (!("text" in value))
|
|
19
|
-
return false;
|
|
20
|
-
if (!("fetched" in value))
|
|
21
|
-
return false;
|
|
22
|
-
if (!("map" in value))
|
|
23
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("unique" in value) || value["unique"] === void 0) return false;
|
|
4
|
+
if (!("version" in value) || value["version"] === void 0) return false;
|
|
5
|
+
if (!("namespace" in value) || value["namespace"] === void 0) return false;
|
|
6
|
+
if (!("keys" in value) || value["keys"] === void 0) return false;
|
|
7
|
+
if (!("weights" in value) || value["weights"] === void 0) return false;
|
|
8
|
+
if (!("expire" in value) || value["expire"] === void 0) return false;
|
|
9
|
+
if (!("expireAfterSeconds" in value) || value["expireAfterSeconds"] === void 0) return false;
|
|
10
|
+
if (!("text" in value) || value["text"] === void 0) return false;
|
|
11
|
+
if (!("fetched" in value) || value["fetched"] === void 0) return false;
|
|
12
|
+
if (!("map" in value) || value["map"] === void 0) return false;
|
|
24
13
|
return true;
|
|
25
14
|
}
|
|
26
15
|
export function MongoIndexFromJSON(json) {
|
|
@@ -25,7 +25,7 @@ export interface PasswordUpdateRequest {
|
|
|
25
25
|
/**
|
|
26
26
|
* Check if a given object implements the PasswordUpdateRequest interface.
|
|
27
27
|
*/
|
|
28
|
-
export declare function instanceOfPasswordUpdateRequest(value: object):
|
|
28
|
+
export declare function instanceOfPasswordUpdateRequest(value: object): value is PasswordUpdateRequest;
|
|
29
29
|
export declare function PasswordUpdateRequestFromJSON(json: any): PasswordUpdateRequest;
|
|
30
30
|
export declare function PasswordUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordUpdateRequest;
|
|
31
31
|
export declare function PasswordUpdateRequestToJSON(value?: PasswordUpdateRequest | null): any;
|
|
@@ -31,7 +31,7 @@ export interface PipelineStage {
|
|
|
31
31
|
/**
|
|
32
32
|
* Check if a given object implements the PipelineStage interface.
|
|
33
33
|
*/
|
|
34
|
-
export declare function instanceOfPipelineStage(value: object):
|
|
34
|
+
export declare function instanceOfPipelineStage(value: object): value is PipelineStage;
|
|
35
35
|
export declare function PipelineStageFromJSON(json: any): PipelineStage;
|
|
36
36
|
export declare function PipelineStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineStage;
|
|
37
37
|
export declare function PipelineStageToJSON(value?: PipelineStage | null): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfPipelineStage(value) {
|
|
2
|
-
if (!("stage" in value))
|
|
3
|
-
|
|
4
|
-
if (!("value" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("stage" in value) || value["stage"] === void 0) return false;
|
|
3
|
+
if (!("value" in value) || value["value"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function PipelineStageFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Grant } from './Grant';
|
|
12
|
+
import type { Grant } from './Grant.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -38,7 +38,7 @@ export interface Role {
|
|
|
38
38
|
/**
|
|
39
39
|
* Check if a given object implements the Role interface.
|
|
40
40
|
*/
|
|
41
|
-
export declare function instanceOfRole(value: object):
|
|
41
|
+
export declare function instanceOfRole(value: object): value is Role;
|
|
42
42
|
export declare function RoleFromJSON(json: any): Role;
|
|
43
43
|
export declare function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role;
|
|
44
44
|
export declare function RoleToJSON(value?: Role | null): any;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GrantFromJSON,
|
|
3
3
|
GrantToJSON
|
|
4
|
-
} from "./Grant.
|
|
4
|
+
} from "./Grant.js";
|
|
5
5
|
export function instanceOfRole(value) {
|
|
6
|
-
if (!("name" in value))
|
|
7
|
-
|
|
8
|
-
if (!("isAdmin" in value))
|
|
9
|
-
return false;
|
|
6
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
7
|
+
if (!("isAdmin" in value) || value["isAdmin"] === void 0) return false;
|
|
10
8
|
return true;
|
|
11
9
|
}
|
|
12
10
|
export function RoleFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SchemaAnalysisField } from './SchemaAnalysisField';
|
|
12
|
+
import type { SchemaAnalysisField } from './SchemaAnalysisField.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -44,7 +44,7 @@ export interface SchemaAnalysis {
|
|
|
44
44
|
/**
|
|
45
45
|
* Check if a given object implements the SchemaAnalysis interface.
|
|
46
46
|
*/
|
|
47
|
-
export declare function instanceOfSchemaAnalysis(value: object):
|
|
47
|
+
export declare function instanceOfSchemaAnalysis(value: object): value is SchemaAnalysis;
|
|
48
48
|
export declare function SchemaAnalysisFromJSON(json: any): SchemaAnalysis;
|
|
49
49
|
export declare function SchemaAnalysisFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysis;
|
|
50
50
|
export declare function SchemaAnalysisToJSON(value?: SchemaAnalysis | null): any;
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SchemaAnalysisFieldFromJSON,
|
|
3
3
|
SchemaAnalysisFieldToJSON
|
|
4
|
-
} from "./SchemaAnalysisField.
|
|
4
|
+
} from "./SchemaAnalysisField.js";
|
|
5
5
|
export function instanceOfSchemaAnalysis(value) {
|
|
6
|
-
if (!("count" in value))
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
return false;
|
|
10
|
-
if (!("percentageOfAnalysed" in value))
|
|
11
|
-
return false;
|
|
6
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
7
|
+
if (!("sample" in value) || value["sample"] === void 0) return false;
|
|
8
|
+
if (!("percentageOfAnalysed" in value) || value["percentageOfAnalysed"] === void 0) return false;
|
|
12
9
|
return true;
|
|
13
10
|
}
|
|
14
11
|
export function SchemaAnalysisFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType';
|
|
12
|
+
import type { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -56,7 +56,7 @@ export interface SchemaAnalysisField {
|
|
|
56
56
|
/**
|
|
57
57
|
* Check if a given object implements the SchemaAnalysisField interface.
|
|
58
58
|
*/
|
|
59
|
-
export declare function instanceOfSchemaAnalysisField(value: object):
|
|
59
|
+
export declare function instanceOfSchemaAnalysisField(value: object): value is SchemaAnalysisField;
|
|
60
60
|
export declare function SchemaAnalysisFieldFromJSON(json: any): SchemaAnalysisField;
|
|
61
61
|
export declare function SchemaAnalysisFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisField;
|
|
62
62
|
export declare function SchemaAnalysisFieldToJSON(value?: SchemaAnalysisField | null): any;
|