@sfxcode/nuxt-mongocamp-server 1.0.2 → 1.0.4

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.
Files changed (133) hide show
  1. package/dist/module.d.ts +2 -9
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +4 -553
  4. package/dist/types.d.ts +8 -2
  5. package/package.json +8 -8
  6. package/dist/runtime/api/apis/AdminApi.d.ts +0 -181
  7. package/dist/runtime/api/apis/AdminApi.mjs +0 -509
  8. package/dist/runtime/api/apis/ApplicationApi.d.ts +0 -65
  9. package/dist/runtime/api/apis/ApplicationApi.mjs +0 -164
  10. package/dist/runtime/api/apis/AuthApi.d.ts +0 -104
  11. package/dist/runtime/api/apis/AuthApi.mjs +0 -296
  12. package/dist/runtime/api/apis/BucketApi.d.ts +0 -67
  13. package/dist/runtime/api/apis/BucketApi.mjs +0 -160
  14. package/dist/runtime/api/apis/CollectionApi.d.ts +0 -161
  15. package/dist/runtime/api/apis/CollectionApi.mjs +0 -435
  16. package/dist/runtime/api/apis/DatabaseApi.d.ts +0 -77
  17. package/dist/runtime/api/apis/DatabaseApi.mjs +0 -196
  18. package/dist/runtime/api/apis/DocumentApi.d.ts +0 -188
  19. package/dist/runtime/api/apis/DocumentApi.mjs +0 -465
  20. package/dist/runtime/api/apis/FileApi.d.ts +0 -125
  21. package/dist/runtime/api/apis/FileApi.mjs +0 -355
  22. package/dist/runtime/api/apis/IndexApi.d.ts +0 -137
  23. package/dist/runtime/api/apis/IndexApi.mjs +0 -367
  24. package/dist/runtime/api/apis/InformationApi.d.ts +0 -28
  25. package/dist/runtime/api/apis/InformationApi.mjs +0 -29
  26. package/dist/runtime/api/apis/JobsApi.d.ts +0 -94
  27. package/dist/runtime/api/apis/JobsApi.mjs +0 -252
  28. package/dist/runtime/api/apis/index.d.ts +0 -11
  29. package/dist/runtime/api/apis/index.mjs +0 -11
  30. package/dist/runtime/api/index.d.ts +0 -3
  31. package/dist/runtime/api/index.mjs +0 -3
  32. package/dist/runtime/api/models/BucketInformation.d.ts +0 -49
  33. package/dist/runtime/api/models/BucketInformation.mjs +0 -36
  34. package/dist/runtime/api/models/CollectionStatus.d.ts +0 -107
  35. package/dist/runtime/api/models/CollectionStatus.mjs +0 -63
  36. package/dist/runtime/api/models/DatabaseInfo.d.ts +0 -57
  37. package/dist/runtime/api/models/DatabaseInfo.mjs +0 -39
  38. package/dist/runtime/api/models/DeleteResponse.d.ts +0 -37
  39. package/dist/runtime/api/models/DeleteResponse.mjs +0 -30
  40. package/dist/runtime/api/models/ErrorDescription.d.ts +0 -43
  41. package/dist/runtime/api/models/ErrorDescription.mjs +0 -33
  42. package/dist/runtime/api/models/FileInformation.d.ts +0 -63
  43. package/dist/runtime/api/models/FileInformation.mjs +0 -42
  44. package/dist/runtime/api/models/Grant.d.ts +0 -55
  45. package/dist/runtime/api/models/Grant.mjs +0 -39
  46. package/dist/runtime/api/models/IndexCreateRequest.d.ts +0 -40
  47. package/dist/runtime/api/models/IndexCreateRequest.mjs +0 -34
  48. package/dist/runtime/api/models/IndexCreateResponse.d.ts +0 -31
  49. package/dist/runtime/api/models/IndexCreateResponse.mjs +0 -27
  50. package/dist/runtime/api/models/IndexDropResponse.d.ts +0 -31
  51. package/dist/runtime/api/models/IndexDropResponse.mjs +0 -27
  52. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +0 -73
  53. package/dist/runtime/api/models/IndexOptionsRequest.mjs +0 -41
  54. package/dist/runtime/api/models/InsertResponse.d.ts +0 -37
  55. package/dist/runtime/api/models/InsertResponse.mjs +0 -30
  56. package/dist/runtime/api/models/JobConfig.d.ts +0 -61
  57. package/dist/runtime/api/models/JobConfig.mjs +0 -42
  58. package/dist/runtime/api/models/JobInformation.d.ts +0 -79
  59. package/dist/runtime/api/models/JobInformation.mjs +0 -49
  60. package/dist/runtime/api/models/JsonResultBoolean.d.ts +0 -27
  61. package/dist/runtime/api/models/JsonResultBoolean.mjs +0 -22
  62. package/dist/runtime/api/models/JsonResultString.d.ts +0 -27
  63. package/dist/runtime/api/models/JsonResultString.mjs +0 -22
  64. package/dist/runtime/api/models/JsonSchema.d.ts +0 -46
  65. package/dist/runtime/api/models/JsonSchema.mjs +0 -38
  66. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +0 -59
  67. package/dist/runtime/api/models/JsonSchemaDefinition.mjs +0 -39
  68. package/dist/runtime/api/models/JsonValueAny.d.ts +0 -31
  69. package/dist/runtime/api/models/JsonValueAny.mjs +0 -27
  70. package/dist/runtime/api/models/JsonValueBoolean.d.ts +0 -31
  71. package/dist/runtime/api/models/JsonValueBoolean.mjs +0 -27
  72. package/dist/runtime/api/models/JsonValueString.d.ts +0 -31
  73. package/dist/runtime/api/models/JsonValueString.mjs +0 -27
  74. package/dist/runtime/api/models/Login.d.ts +0 -37
  75. package/dist/runtime/api/models/Login.mjs +0 -30
  76. package/dist/runtime/api/models/LoginResult.d.ts +0 -44
  77. package/dist/runtime/api/models/LoginResult.mjs +0 -37
  78. package/dist/runtime/api/models/Measurement.d.ts +0 -33
  79. package/dist/runtime/api/models/Measurement.mjs +0 -24
  80. package/dist/runtime/api/models/Metric.d.ts +0 -52
  81. package/dist/runtime/api/models/Metric.mjs +0 -35
  82. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +0 -38
  83. package/dist/runtime/api/models/MongoAggregateRequest.mjs +0 -34
  84. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +0 -55
  85. package/dist/runtime/api/models/MongoCampConfiguration.mjs +0 -39
  86. package/dist/runtime/api/models/MongoFindRequest.d.ts +0 -49
  87. package/dist/runtime/api/models/MongoFindRequest.mjs +0 -33
  88. package/dist/runtime/api/models/MongoIndex.d.ts +0 -103
  89. package/dist/runtime/api/models/MongoIndex.mjs +0 -60
  90. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +0 -31
  91. package/dist/runtime/api/models/PasswordUpdateRequest.mjs +0 -27
  92. package/dist/runtime/api/models/PipelineStage.d.ts +0 -37
  93. package/dist/runtime/api/models/PipelineStage.mjs +0 -30
  94. package/dist/runtime/api/models/Role.d.ts +0 -44
  95. package/dist/runtime/api/models/Role.mjs +0 -37
  96. package/dist/runtime/api/models/SchemaAnalysis.d.ts +0 -50
  97. package/dist/runtime/api/models/SchemaAnalysis.mjs +0 -40
  98. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +0 -62
  99. package/dist/runtime/api/models/SchemaAnalysisField.mjs +0 -45
  100. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +0 -43
  101. package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +0 -33
  102. package/dist/runtime/api/models/SettingsResponse.d.ts +0 -51
  103. package/dist/runtime/api/models/SettingsResponse.mjs +0 -34
  104. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +0 -39
  105. package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +0 -29
  106. package/dist/runtime/api/models/UpdateRequest.d.ts +0 -41
  107. package/dist/runtime/api/models/UpdateRequest.mjs +0 -30
  108. package/dist/runtime/api/models/UpdateResponse.d.ts +0 -49
  109. package/dist/runtime/api/models/UpdateResponse.mjs +0 -36
  110. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +0 -38
  111. package/dist/runtime/api/models/UpdateRoleRequest.mjs +0 -34
  112. package/dist/runtime/api/models/UserInformation.d.ts +0 -49
  113. package/dist/runtime/api/models/UserInformation.mjs +0 -35
  114. package/dist/runtime/api/models/UserProfile.d.ts +0 -56
  115. package/dist/runtime/api/models/UserProfile.mjs +0 -41
  116. package/dist/runtime/api/models/Version.d.ts +0 -43
  117. package/dist/runtime/api/models/Version.mjs +0 -33
  118. package/dist/runtime/api/models/index.d.ts +0 -39
  119. package/dist/runtime/api/models/index.mjs +0 -39
  120. package/dist/runtime/api/runtime.d.ts +0 -182
  121. package/dist/runtime/api/runtime.mjs +0 -281
  122. package/dist/runtime/composables/mongocampApi.d.ts +0 -14
  123. package/dist/runtime/composables/mongocampApi.mjs +0 -45
  124. package/dist/runtime/composables/mongocampAuth.d.ts +0 -8
  125. package/dist/runtime/composables/mongocampAuth.mjs +0 -28
  126. package/dist/runtime/composables/mongocampSearch.d.ts +0 -11
  127. package/dist/runtime/composables/mongocampSearch.mjs +0 -20
  128. package/dist/runtime/composables/mongocampStorage.d.ts +0 -0
  129. package/dist/runtime/composables/mongocampStorage.mjs +0 -5
  130. package/dist/runtime/composables/mongocampUrl.d.ts +0 -1
  131. package/dist/runtime/composables/mongocampUrl.mjs +0 -5
  132. package/dist/runtime/composables/mongocampUser.d.ts +0 -3
  133. package/dist/runtime/composables/mongocampUser.mjs +0 -4
@@ -1,61 +0,0 @@
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 JobConfig
16
- */
17
- export interface JobConfig {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof JobConfig
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof JobConfig
28
- */
29
- className: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof JobConfig
34
- */
35
- description: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof JobConfig
40
- */
41
- cronExpression: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof JobConfig
46
- */
47
- group: string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof JobConfig
52
- */
53
- priority: number;
54
- }
55
- /**
56
- * Check if a given object implements the JobConfig interface.
57
- */
58
- export declare function instanceOfJobConfig(value: object): boolean;
59
- export declare function JobConfigFromJSON(json: any): JobConfig;
60
- export declare function JobConfigFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobConfig;
61
- export declare function JobConfigToJSON(value?: JobConfig | null): any;
@@ -1,42 +0,0 @@
1
- export function instanceOfJobConfig(value) {
2
- let isInstance = true;
3
- isInstance = isInstance && "name" in value;
4
- isInstance = isInstance && "className" in value;
5
- isInstance = isInstance && "description" in value;
6
- isInstance = isInstance && "cronExpression" in value;
7
- isInstance = isInstance && "group" in value;
8
- isInstance = isInstance && "priority" in value;
9
- return isInstance;
10
- }
11
- export function JobConfigFromJSON(json) {
12
- return JobConfigFromJSONTyped(json, false);
13
- }
14
- export function JobConfigFromJSONTyped(json, ignoreDiscriminator) {
15
- if (json === void 0 || json === null) {
16
- return json;
17
- }
18
- return {
19
- "name": json["name"],
20
- "className": json["className"],
21
- "description": json["description"],
22
- "cronExpression": json["cronExpression"],
23
- "group": json["group"],
24
- "priority": json["priority"]
25
- };
26
- }
27
- export function JobConfigToJSON(value) {
28
- if (value === void 0) {
29
- return void 0;
30
- }
31
- if (value === null) {
32
- return null;
33
- }
34
- return {
35
- "name": value.name,
36
- "className": value.className,
37
- "description": value.description,
38
- "cronExpression": value.cronExpression,
39
- "group": value.group,
40
- "priority": value.priority
41
- };
42
- }
@@ -1,79 +0,0 @@
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 JobInformation
16
- */
17
- export interface JobInformation {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof JobInformation
22
- */
23
- name: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof JobInformation
28
- */
29
- group: string;
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof JobInformation
34
- */
35
- jobClassName: string;
36
- /**
37
- *
38
- * @type {string}
39
- * @memberof JobInformation
40
- */
41
- description: string;
42
- /**
43
- *
44
- * @type {string}
45
- * @memberof JobInformation
46
- */
47
- cronExpression: string;
48
- /**
49
- *
50
- * @type {number}
51
- * @memberof JobInformation
52
- */
53
- priority: number;
54
- /**
55
- *
56
- * @type {Date}
57
- * @memberof JobInformation
58
- */
59
- lastScheduledFireTime?: Date;
60
- /**
61
- *
62
- * @type {Date}
63
- * @memberof JobInformation
64
- */
65
- nextScheduledFireTime?: Date;
66
- /**
67
- *
68
- * @type {string}
69
- * @memberof JobInformation
70
- */
71
- scheduleInformation?: string;
72
- }
73
- /**
74
- * Check if a given object implements the JobInformation interface.
75
- */
76
- export declare function instanceOfJobInformation(value: object): boolean;
77
- export declare function JobInformationFromJSON(json: any): JobInformation;
78
- export declare function JobInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): JobInformation;
79
- export declare function JobInformationToJSON(value?: JobInformation | null): any;
@@ -1,49 +0,0 @@
1
- import { exists } from "../runtime.mjs";
2
- export function instanceOfJobInformation(value) {
3
- let isInstance = true;
4
- isInstance = isInstance && "name" in value;
5
- isInstance = isInstance && "group" in value;
6
- isInstance = isInstance && "jobClassName" in value;
7
- isInstance = isInstance && "description" in value;
8
- isInstance = isInstance && "cronExpression" in value;
9
- isInstance = isInstance && "priority" in value;
10
- return isInstance;
11
- }
12
- export function JobInformationFromJSON(json) {
13
- return JobInformationFromJSONTyped(json, false);
14
- }
15
- export function JobInformationFromJSONTyped(json, ignoreDiscriminator) {
16
- if (json === void 0 || json === null) {
17
- return json;
18
- }
19
- return {
20
- "name": json["name"],
21
- "group": json["group"],
22
- "jobClassName": json["jobClassName"],
23
- "description": json["description"],
24
- "cronExpression": json["cronExpression"],
25
- "priority": json["priority"],
26
- "lastScheduledFireTime": !exists(json, "lastScheduledFireTime") ? void 0 : new Date(json["lastScheduledFireTime"]),
27
- "nextScheduledFireTime": !exists(json, "nextScheduledFireTime") ? void 0 : new Date(json["nextScheduledFireTime"]),
28
- "scheduleInformation": !exists(json, "scheduleInformation") ? void 0 : json["scheduleInformation"]
29
- };
30
- }
31
- export function JobInformationToJSON(value) {
32
- if (value === void 0) {
33
- return void 0;
34
- }
35
- if (value === null) {
36
- return null;
37
- }
38
- return {
39
- "name": value.name,
40
- "group": value.group,
41
- "jobClassName": value.jobClassName,
42
- "description": value.description,
43
- "cronExpression": value.cronExpression,
44
- "priority": value.priority,
45
- "lastScheduledFireTime": value.lastScheduledFireTime === void 0 ? void 0 : value.lastScheduledFireTime.toISOString(),
46
- "nextScheduledFireTime": value.nextScheduledFireTime === void 0 ? void 0 : value.nextScheduledFireTime.toISOString(),
47
- "scheduleInformation": value.scheduleInformation
48
- };
49
- }
@@ -1,27 +0,0 @@
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.2.0
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 JsonResultBoolean
16
- */
17
- export interface JsonResultBoolean {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof JsonResultBoolean
22
- */
23
- value: boolean;
24
- }
25
- export declare function JsonResultBooleanFromJSON(json: any): JsonResultBoolean;
26
- export declare function JsonResultBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonResultBoolean;
27
- export declare function JsonResultBooleanToJSON(value?: JsonResultBoolean | null): any;
@@ -1,22 +0,0 @@
1
- export function JsonResultBooleanFromJSON(json) {
2
- return JsonResultBooleanFromJSONTyped(json, false);
3
- }
4
- export function JsonResultBooleanFromJSONTyped(json, ignoreDiscriminator) {
5
- if (json === void 0 || json === null) {
6
- return json;
7
- }
8
- return {
9
- "value": json["value"]
10
- };
11
- }
12
- export function JsonResultBooleanToJSON(value) {
13
- if (value === void 0) {
14
- return void 0;
15
- }
16
- if (value === null) {
17
- return null;
18
- }
19
- return {
20
- "value": value.value
21
- };
22
- }
@@ -1,27 +0,0 @@
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.2.0
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 JsonResultString
16
- */
17
- export interface JsonResultString {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof JsonResultString
22
- */
23
- value: string;
24
- }
25
- export declare function JsonResultStringFromJSON(json: any): JsonResultString;
26
- export declare function JsonResultStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonResultString;
27
- export declare function JsonResultStringToJSON(value?: JsonResultString | null): any;
@@ -1,22 +0,0 @@
1
- export function JsonResultStringFromJSON(json) {
2
- return JsonResultStringFromJSONTyped(json, false);
3
- }
4
- export function JsonResultStringFromJSONTyped(json, ignoreDiscriminator) {
5
- if (json === void 0 || json === null) {
6
- return json;
7
- }
8
- return {
9
- "value": json["value"]
10
- };
11
- }
12
- export function JsonResultStringToJSON(value) {
13
- if (value === void 0) {
14
- return void 0;
15
- }
16
- if (value === null) {
17
- return null;
18
- }
19
- return {
20
- "value": value.value
21
- };
22
- }
@@ -1,46 +0,0 @@
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 { JsonSchemaDefinition } from './JsonSchemaDefinition';
13
- /**
14
- *
15
- * @export
16
- * @interface JsonSchema
17
- */
18
- export interface JsonSchema {
19
- /**
20
- *
21
- * @type {string}
22
- * @memberof JsonSchema
23
- */
24
- $schema: string;
25
- /**
26
- *
27
- * @type {string}
28
- * @memberof JsonSchema
29
- */
30
- $ref: string;
31
- /**
32
- *
33
- * @type {{ [key: string]: JsonSchemaDefinition; }}
34
- * @memberof JsonSchema
35
- */
36
- definitions: {
37
- [key: string]: JsonSchemaDefinition;
38
- };
39
- }
40
- /**
41
- * Check if a given object implements the JsonSchema interface.
42
- */
43
- export declare function instanceOfJsonSchema(value: object): boolean;
44
- export declare function JsonSchemaFromJSON(json: any): JsonSchema;
45
- export declare function JsonSchemaFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchema;
46
- export declare function JsonSchemaToJSON(value?: JsonSchema | null): any;
@@ -1,38 +0,0 @@
1
- import { mapValues } from "../runtime.mjs";
2
- import {
3
- JsonSchemaDefinitionFromJSON,
4
- JsonSchemaDefinitionToJSON
5
- } from "./JsonSchemaDefinition.mjs";
6
- export function instanceOfJsonSchema(value) {
7
- let isInstance = true;
8
- isInstance = isInstance && "$schema" in value;
9
- isInstance = isInstance && "$ref" in value;
10
- isInstance = isInstance && "definitions" in value;
11
- return isInstance;
12
- }
13
- export function JsonSchemaFromJSON(json) {
14
- return JsonSchemaFromJSONTyped(json, false);
15
- }
16
- export function JsonSchemaFromJSONTyped(json, ignoreDiscriminator) {
17
- if (json === void 0 || json === null) {
18
- return json;
19
- }
20
- return {
21
- "$schema": json["$schema"],
22
- "$ref": json["$ref"],
23
- "definitions": mapValues(json["definitions"], JsonSchemaDefinitionFromJSON)
24
- };
25
- }
26
- export function JsonSchemaToJSON(value) {
27
- if (value === void 0) {
28
- return void 0;
29
- }
30
- if (value === null) {
31
- return null;
32
- }
33
- return {
34
- "$schema": value.$schema,
35
- "$ref": value.$ref,
36
- "definitions": mapValues(value.definitions, JsonSchemaDefinitionToJSON)
37
- };
38
- }
@@ -1,59 +0,0 @@
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 JsonSchemaDefinition
16
- */
17
- export interface JsonSchemaDefinition {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof JsonSchemaDefinition
22
- */
23
- type: string;
24
- /**
25
- *
26
- * @type {string}
27
- * @memberof JsonSchemaDefinition
28
- */
29
- title: string;
30
- /**
31
- *
32
- * @type {boolean}
33
- * @memberof JsonSchemaDefinition
34
- */
35
- additionalProperties: boolean;
36
- /**
37
- *
38
- * @type {Array<string>}
39
- * @memberof JsonSchemaDefinition
40
- */
41
- required?: Array<string>;
42
- /**
43
- *
44
- * @type {{ [key: string]: { [key: string]: string; }; }}
45
- * @memberof JsonSchemaDefinition
46
- */
47
- properties: {
48
- [key: string]: {
49
- [key: string]: string;
50
- };
51
- };
52
- }
53
- /**
54
- * Check if a given object implements the JsonSchemaDefinition interface.
55
- */
56
- export declare function instanceOfJsonSchemaDefinition(value: object): boolean;
57
- export declare function JsonSchemaDefinitionFromJSON(json: any): JsonSchemaDefinition;
58
- export declare function JsonSchemaDefinitionFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonSchemaDefinition;
59
- export declare function JsonSchemaDefinitionToJSON(value?: JsonSchemaDefinition | null): any;
@@ -1,39 +0,0 @@
1
- import { exists } from "../runtime.mjs";
2
- export function instanceOfJsonSchemaDefinition(value) {
3
- let isInstance = true;
4
- isInstance = isInstance && "type" in value;
5
- isInstance = isInstance && "title" in value;
6
- isInstance = isInstance && "additionalProperties" in value;
7
- isInstance = isInstance && "properties" in value;
8
- return isInstance;
9
- }
10
- export function JsonSchemaDefinitionFromJSON(json) {
11
- return JsonSchemaDefinitionFromJSONTyped(json, false);
12
- }
13
- export function JsonSchemaDefinitionFromJSONTyped(json, ignoreDiscriminator) {
14
- if (json === void 0 || json === null) {
15
- return json;
16
- }
17
- return {
18
- "type": json["type"],
19
- "title": json["title"],
20
- "additionalProperties": json["additionalProperties"],
21
- "required": !exists(json, "required") ? void 0 : json["required"],
22
- "properties": json["properties"]
23
- };
24
- }
25
- export function JsonSchemaDefinitionToJSON(value) {
26
- if (value === void 0) {
27
- return void 0;
28
- }
29
- if (value === null) {
30
- return null;
31
- }
32
- return {
33
- "type": value.type,
34
- "title": value.title,
35
- "additionalProperties": value.additionalProperties,
36
- "required": value.required,
37
- "properties": value.properties
38
- };
39
- }
@@ -1,31 +0,0 @@
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 JsonValueAny
16
- */
17
- export interface JsonValueAny {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof JsonValueAny
22
- */
23
- value: string;
24
- }
25
- /**
26
- * Check if a given object implements the JsonValueAny interface.
27
- */
28
- export declare function instanceOfJsonValueAny(value: object): boolean;
29
- export declare function JsonValueAnyFromJSON(json: any): JsonValueAny;
30
- export declare function JsonValueAnyFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueAny;
31
- export declare function JsonValueAnyToJSON(value?: JsonValueAny | null): any;
@@ -1,27 +0,0 @@
1
- export function instanceOfJsonValueAny(value) {
2
- let isInstance = true;
3
- isInstance = isInstance && "value" in value;
4
- return isInstance;
5
- }
6
- export function JsonValueAnyFromJSON(json) {
7
- return JsonValueAnyFromJSONTyped(json, false);
8
- }
9
- export function JsonValueAnyFromJSONTyped(json, ignoreDiscriminator) {
10
- if (json === void 0 || json === null) {
11
- return json;
12
- }
13
- return {
14
- "value": json["value"]
15
- };
16
- }
17
- export function JsonValueAnyToJSON(value) {
18
- if (value === void 0) {
19
- return void 0;
20
- }
21
- if (value === null) {
22
- return null;
23
- }
24
- return {
25
- "value": value.value
26
- };
27
- }
@@ -1,31 +0,0 @@
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 JsonValueBoolean
16
- */
17
- export interface JsonValueBoolean {
18
- /**
19
- *
20
- * @type {boolean}
21
- * @memberof JsonValueBoolean
22
- */
23
- value: boolean;
24
- }
25
- /**
26
- * Check if a given object implements the JsonValueBoolean interface.
27
- */
28
- export declare function instanceOfJsonValueBoolean(value: object): boolean;
29
- export declare function JsonValueBooleanFromJSON(json: any): JsonValueBoolean;
30
- export declare function JsonValueBooleanFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueBoolean;
31
- export declare function JsonValueBooleanToJSON(value?: JsonValueBoolean | null): any;
@@ -1,27 +0,0 @@
1
- export function instanceOfJsonValueBoolean(value) {
2
- let isInstance = true;
3
- isInstance = isInstance && "value" in value;
4
- return isInstance;
5
- }
6
- export function JsonValueBooleanFromJSON(json) {
7
- return JsonValueBooleanFromJSONTyped(json, false);
8
- }
9
- export function JsonValueBooleanFromJSONTyped(json, ignoreDiscriminator) {
10
- if (json === void 0 || json === null) {
11
- return json;
12
- }
13
- return {
14
- "value": json["value"]
15
- };
16
- }
17
- export function JsonValueBooleanToJSON(value) {
18
- if (value === void 0) {
19
- return void 0;
20
- }
21
- if (value === null) {
22
- return null;
23
- }
24
- return {
25
- "value": value.value
26
- };
27
- }
@@ -1,31 +0,0 @@
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 JsonValueString
16
- */
17
- export interface JsonValueString {
18
- /**
19
- *
20
- * @type {string}
21
- * @memberof JsonValueString
22
- */
23
- value: string;
24
- }
25
- /**
26
- * Check if a given object implements the JsonValueString interface.
27
- */
28
- export declare function instanceOfJsonValueString(value: object): boolean;
29
- export declare function JsonValueStringFromJSON(json: any): JsonValueString;
30
- export declare function JsonValueStringFromJSONTyped(json: any, ignoreDiscriminator: boolean): JsonValueString;
31
- export declare function JsonValueStringToJSON(value?: JsonValueString | null): any;