@sfxcode/nuxt-mongocamp-server 1.0.4 → 1.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/module.d.ts +9 -2
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +553 -4
  4. package/dist/runtime/api/apis/AdminApi.d.ts +181 -0
  5. package/dist/runtime/api/apis/AdminApi.mjs +509 -0
  6. package/dist/runtime/api/apis/ApplicationApi.d.ts +65 -0
  7. package/dist/runtime/api/apis/ApplicationApi.mjs +164 -0
  8. package/dist/runtime/api/apis/AuthApi.d.ts +104 -0
  9. package/dist/runtime/api/apis/AuthApi.mjs +296 -0
  10. package/dist/runtime/api/apis/BucketApi.d.ts +67 -0
  11. package/dist/runtime/api/apis/BucketApi.mjs +160 -0
  12. package/dist/runtime/api/apis/CollectionApi.d.ts +161 -0
  13. package/dist/runtime/api/apis/CollectionApi.mjs +435 -0
  14. package/dist/runtime/api/apis/DatabaseApi.d.ts +77 -0
  15. package/dist/runtime/api/apis/DatabaseApi.mjs +196 -0
  16. package/dist/runtime/api/apis/DocumentApi.d.ts +188 -0
  17. package/dist/runtime/api/apis/DocumentApi.mjs +465 -0
  18. package/dist/runtime/api/apis/FileApi.d.ts +125 -0
  19. package/dist/runtime/api/apis/FileApi.mjs +355 -0
  20. package/dist/runtime/api/apis/IndexApi.d.ts +137 -0
  21. package/dist/runtime/api/apis/IndexApi.mjs +367 -0
  22. package/dist/runtime/api/apis/InformationApi.d.ts +28 -0
  23. package/dist/runtime/api/apis/InformationApi.mjs +29 -0
  24. package/dist/runtime/api/apis/JobsApi.d.ts +94 -0
  25. package/dist/runtime/api/apis/JobsApi.mjs +252 -0
  26. package/dist/runtime/api/apis/index.d.ts +11 -0
  27. package/dist/runtime/api/apis/index.mjs +11 -0
  28. package/dist/runtime/api/index.d.ts +3 -0
  29. package/dist/runtime/api/index.mjs +3 -0
  30. package/dist/runtime/api/models/BucketInformation.d.ts +49 -0
  31. package/dist/runtime/api/models/BucketInformation.mjs +36 -0
  32. package/dist/runtime/api/models/CollectionStatus.d.ts +107 -0
  33. package/dist/runtime/api/models/CollectionStatus.mjs +63 -0
  34. package/dist/runtime/api/models/DatabaseInfo.d.ts +57 -0
  35. package/dist/runtime/api/models/DatabaseInfo.mjs +39 -0
  36. package/dist/runtime/api/models/DeleteResponse.d.ts +37 -0
  37. package/dist/runtime/api/models/DeleteResponse.mjs +30 -0
  38. package/dist/runtime/api/models/ErrorDescription.d.ts +43 -0
  39. package/dist/runtime/api/models/ErrorDescription.mjs +33 -0
  40. package/dist/runtime/api/models/FileInformation.d.ts +63 -0
  41. package/dist/runtime/api/models/FileInformation.mjs +42 -0
  42. package/dist/runtime/api/models/Grant.d.ts +55 -0
  43. package/dist/runtime/api/models/Grant.mjs +39 -0
  44. package/dist/runtime/api/models/IndexCreateRequest.d.ts +40 -0
  45. package/dist/runtime/api/models/IndexCreateRequest.mjs +34 -0
  46. package/dist/runtime/api/models/IndexCreateResponse.d.ts +31 -0
  47. package/dist/runtime/api/models/IndexCreateResponse.mjs +27 -0
  48. package/dist/runtime/api/models/IndexDropResponse.d.ts +31 -0
  49. package/dist/runtime/api/models/IndexDropResponse.mjs +27 -0
  50. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +73 -0
  51. package/dist/runtime/api/models/IndexOptionsRequest.mjs +41 -0
  52. package/dist/runtime/api/models/InsertResponse.d.ts +37 -0
  53. package/dist/runtime/api/models/InsertResponse.mjs +30 -0
  54. package/dist/runtime/api/models/JobConfig.d.ts +61 -0
  55. package/dist/runtime/api/models/JobConfig.mjs +42 -0
  56. package/dist/runtime/api/models/JobInformation.d.ts +79 -0
  57. package/dist/runtime/api/models/JobInformation.mjs +49 -0
  58. package/dist/runtime/api/models/JsonResultBoolean.d.ts +27 -0
  59. package/dist/runtime/api/models/JsonResultBoolean.mjs +22 -0
  60. package/dist/runtime/api/models/JsonResultString.d.ts +27 -0
  61. package/dist/runtime/api/models/JsonResultString.mjs +22 -0
  62. package/dist/runtime/api/models/JsonSchema.d.ts +46 -0
  63. package/dist/runtime/api/models/JsonSchema.mjs +38 -0
  64. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +59 -0
  65. package/dist/runtime/api/models/JsonSchemaDefinition.mjs +39 -0
  66. package/dist/runtime/api/models/JsonValueAny.d.ts +31 -0
  67. package/dist/runtime/api/models/JsonValueAny.mjs +27 -0
  68. package/dist/runtime/api/models/JsonValueBoolean.d.ts +31 -0
  69. package/dist/runtime/api/models/JsonValueBoolean.mjs +27 -0
  70. package/dist/runtime/api/models/JsonValueString.d.ts +31 -0
  71. package/dist/runtime/api/models/JsonValueString.mjs +27 -0
  72. package/dist/runtime/api/models/Login.d.ts +37 -0
  73. package/dist/runtime/api/models/Login.mjs +30 -0
  74. package/dist/runtime/api/models/LoginResult.d.ts +44 -0
  75. package/dist/runtime/api/models/LoginResult.mjs +37 -0
  76. package/dist/runtime/api/models/Measurement.d.ts +33 -0
  77. package/dist/runtime/api/models/Measurement.mjs +24 -0
  78. package/dist/runtime/api/models/Metric.d.ts +52 -0
  79. package/dist/runtime/api/models/Metric.mjs +35 -0
  80. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +38 -0
  81. package/dist/runtime/api/models/MongoAggregateRequest.mjs +34 -0
  82. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +55 -0
  83. package/dist/runtime/api/models/MongoCampConfiguration.mjs +39 -0
  84. package/dist/runtime/api/models/MongoFindRequest.d.ts +49 -0
  85. package/dist/runtime/api/models/MongoFindRequest.mjs +33 -0
  86. package/dist/runtime/api/models/MongoIndex.d.ts +103 -0
  87. package/dist/runtime/api/models/MongoIndex.mjs +60 -0
  88. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +31 -0
  89. package/dist/runtime/api/models/PasswordUpdateRequest.mjs +27 -0
  90. package/dist/runtime/api/models/PipelineStage.d.ts +37 -0
  91. package/dist/runtime/api/models/PipelineStage.mjs +30 -0
  92. package/dist/runtime/api/models/Role.d.ts +44 -0
  93. package/dist/runtime/api/models/Role.mjs +37 -0
  94. package/dist/runtime/api/models/SchemaAnalysis.d.ts +50 -0
  95. package/dist/runtime/api/models/SchemaAnalysis.mjs +40 -0
  96. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +62 -0
  97. package/dist/runtime/api/models/SchemaAnalysisField.mjs +45 -0
  98. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +43 -0
  99. package/dist/runtime/api/models/SchemaAnalysisFieldType.mjs +33 -0
  100. package/dist/runtime/api/models/SettingsResponse.d.ts +51 -0
  101. package/dist/runtime/api/models/SettingsResponse.mjs +34 -0
  102. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +39 -0
  103. package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +29 -0
  104. package/dist/runtime/api/models/UpdateRequest.d.ts +41 -0
  105. package/dist/runtime/api/models/UpdateRequest.mjs +30 -0
  106. package/dist/runtime/api/models/UpdateResponse.d.ts +49 -0
  107. package/dist/runtime/api/models/UpdateResponse.mjs +36 -0
  108. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +38 -0
  109. package/dist/runtime/api/models/UpdateRoleRequest.mjs +34 -0
  110. package/dist/runtime/api/models/UserInformation.d.ts +49 -0
  111. package/dist/runtime/api/models/UserInformation.mjs +35 -0
  112. package/dist/runtime/api/models/UserProfile.d.ts +56 -0
  113. package/dist/runtime/api/models/UserProfile.mjs +41 -0
  114. package/dist/runtime/api/models/Version.d.ts +43 -0
  115. package/dist/runtime/api/models/Version.mjs +33 -0
  116. package/dist/runtime/api/models/index.d.ts +39 -0
  117. package/dist/runtime/api/models/index.mjs +39 -0
  118. package/dist/runtime/api/runtime.d.ts +182 -0
  119. package/dist/runtime/api/runtime.mjs +281 -0
  120. package/dist/runtime/composables/mongocampApi.d.ts +14 -0
  121. package/dist/runtime/composables/mongocampApi.mjs +45 -0
  122. package/dist/runtime/composables/mongocampAuth.d.ts +8 -0
  123. package/dist/runtime/composables/mongocampAuth.mjs +28 -0
  124. package/dist/runtime/composables/mongocampSearch.d.ts +11 -0
  125. package/dist/runtime/composables/mongocampSearch.mjs +20 -0
  126. package/dist/runtime/composables/mongocampStorage.d.ts +0 -0
  127. package/dist/runtime/composables/mongocampStorage.mjs +5 -0
  128. package/dist/runtime/composables/mongocampUrl.d.ts +1 -0
  129. package/dist/runtime/composables/mongocampUrl.mjs +5 -0
  130. package/dist/runtime/composables/mongocampUser.d.ts +3 -0
  131. package/dist/runtime/composables/mongocampUser.mjs +4 -0
  132. package/dist/types.d.ts +2 -8
  133. package/package.json +4 -3
@@ -0,0 +1,60 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function instanceOfMongoIndex(value) {
3
+ let isInstance = true;
4
+ isInstance = isInstance && "name" in value;
5
+ isInstance = isInstance && "unique" in value;
6
+ isInstance = isInstance && "version" in value;
7
+ isInstance = isInstance && "namespace" in value;
8
+ isInstance = isInstance && "keys" in value;
9
+ isInstance = isInstance && "weights" in value;
10
+ isInstance = isInstance && "expire" in value;
11
+ isInstance = isInstance && "expireAfterSeconds" in value;
12
+ isInstance = isInstance && "text" in value;
13
+ isInstance = isInstance && "fetched" in value;
14
+ isInstance = isInstance && "map" in value;
15
+ return isInstance;
16
+ }
17
+ export function MongoIndexFromJSON(json) {
18
+ return MongoIndexFromJSONTyped(json, false);
19
+ }
20
+ export function MongoIndexFromJSONTyped(json, ignoreDiscriminator) {
21
+ if (json === void 0 || json === null) {
22
+ return json;
23
+ }
24
+ return {
25
+ "name": json["name"],
26
+ "fields": !exists(json, "fields") ? void 0 : json["fields"],
27
+ "unique": json["unique"],
28
+ "version": json["version"],
29
+ "namespace": json["namespace"],
30
+ "keys": json["keys"],
31
+ "weights": json["weights"],
32
+ "expire": json["expire"],
33
+ "expireAfterSeconds": json["expireAfterSeconds"],
34
+ "text": json["text"],
35
+ "fetched": new Date(json["fetched"]),
36
+ "map": json["map"]
37
+ };
38
+ }
39
+ export function MongoIndexToJSON(value) {
40
+ if (value === void 0) {
41
+ return void 0;
42
+ }
43
+ if (value === null) {
44
+ return null;
45
+ }
46
+ return {
47
+ "name": value.name,
48
+ "fields": value.fields,
49
+ "unique": value.unique,
50
+ "version": value.version,
51
+ "namespace": value.namespace,
52
+ "keys": value.keys,
53
+ "weights": value.weights,
54
+ "expire": value.expire,
55
+ "expireAfterSeconds": value.expireAfterSeconds,
56
+ "text": value.text,
57
+ "fetched": value.fetched.toISOString(),
58
+ "map": value.map
59
+ };
60
+ }
@@ -0,0 +1,31 @@
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 PasswordUpdateRequest
16
+ */
17
+ export interface PasswordUpdateRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PasswordUpdateRequest
22
+ */
23
+ password: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the PasswordUpdateRequest interface.
27
+ */
28
+ export declare function instanceOfPasswordUpdateRequest(value: object): boolean;
29
+ export declare function PasswordUpdateRequestFromJSON(json: any): PasswordUpdateRequest;
30
+ export declare function PasswordUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): PasswordUpdateRequest;
31
+ export declare function PasswordUpdateRequestToJSON(value?: PasswordUpdateRequest | null): any;
@@ -0,0 +1,27 @@
1
+ export function instanceOfPasswordUpdateRequest(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "password" in value;
4
+ return isInstance;
5
+ }
6
+ export function PasswordUpdateRequestFromJSON(json) {
7
+ return PasswordUpdateRequestFromJSONTyped(json, false);
8
+ }
9
+ export function PasswordUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
10
+ if (json === void 0 || json === null) {
11
+ return json;
12
+ }
13
+ return {
14
+ "password": json["password"]
15
+ };
16
+ }
17
+ export function PasswordUpdateRequestToJSON(value) {
18
+ if (value === void 0) {
19
+ return void 0;
20
+ }
21
+ if (value === null) {
22
+ return null;
23
+ }
24
+ return {
25
+ "password": value.password
26
+ };
27
+ }
@@ -0,0 +1,37 @@
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 PipelineStage
16
+ */
17
+ export interface PipelineStage {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof PipelineStage
22
+ */
23
+ stage: string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PipelineStage
28
+ */
29
+ value: string;
30
+ }
31
+ /**
32
+ * Check if a given object implements the PipelineStage interface.
33
+ */
34
+ export declare function instanceOfPipelineStage(value: object): boolean;
35
+ export declare function PipelineStageFromJSON(json: any): PipelineStage;
36
+ export declare function PipelineStageFromJSONTyped(json: any, ignoreDiscriminator: boolean): PipelineStage;
37
+ export declare function PipelineStageToJSON(value?: PipelineStage | null): any;
@@ -0,0 +1,30 @@
1
+ export function instanceOfPipelineStage(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "stage" in value;
4
+ isInstance = isInstance && "value" in value;
5
+ return isInstance;
6
+ }
7
+ export function PipelineStageFromJSON(json) {
8
+ return PipelineStageFromJSONTyped(json, false);
9
+ }
10
+ export function PipelineStageFromJSONTyped(json, ignoreDiscriminator) {
11
+ if (json === void 0 || json === null) {
12
+ return json;
13
+ }
14
+ return {
15
+ "stage": json["stage"],
16
+ "value": json["value"]
17
+ };
18
+ }
19
+ export function PipelineStageToJSON(value) {
20
+ if (value === void 0) {
21
+ return void 0;
22
+ }
23
+ if (value === null) {
24
+ return null;
25
+ }
26
+ return {
27
+ "stage": value.stage,
28
+ "value": value.value
29
+ };
30
+ }
@@ -0,0 +1,44 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.4.2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { Grant } from './Grant';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface Role
17
+ */
18
+ export interface Role {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof Role
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {boolean}
28
+ * @memberof Role
29
+ */
30
+ isAdmin: boolean;
31
+ /**
32
+ *
33
+ * @type {Array<Grant>}
34
+ * @memberof Role
35
+ */
36
+ collectionGrants?: Array<Grant>;
37
+ }
38
+ /**
39
+ * Check if a given object implements the Role interface.
40
+ */
41
+ export declare function instanceOfRole(value: object): boolean;
42
+ export declare function RoleFromJSON(json: any): Role;
43
+ export declare function RoleFromJSONTyped(json: any, ignoreDiscriminator: boolean): Role;
44
+ export declare function RoleToJSON(value?: Role | null): any;
@@ -0,0 +1,37 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ GrantFromJSON,
4
+ GrantToJSON
5
+ } from "./Grant.mjs";
6
+ export function instanceOfRole(value) {
7
+ let isInstance = true;
8
+ isInstance = isInstance && "name" in value;
9
+ isInstance = isInstance && "isAdmin" in value;
10
+ return isInstance;
11
+ }
12
+ export function RoleFromJSON(json) {
13
+ return RoleFromJSONTyped(json, false);
14
+ }
15
+ export function RoleFromJSONTyped(json, ignoreDiscriminator) {
16
+ if (json === void 0 || json === null) {
17
+ return json;
18
+ }
19
+ return {
20
+ "name": json["name"],
21
+ "isAdmin": json["isAdmin"],
22
+ "collectionGrants": !exists(json, "collectionGrants") ? void 0 : json["collectionGrants"].map(GrantFromJSON)
23
+ };
24
+ }
25
+ export function RoleToJSON(value) {
26
+ if (value === void 0) {
27
+ return void 0;
28
+ }
29
+ if (value === null) {
30
+ return null;
31
+ }
32
+ return {
33
+ "name": value.name,
34
+ "isAdmin": value.isAdmin,
35
+ "collectionGrants": value.collectionGrants === void 0 ? void 0 : value.collectionGrants.map(GrantToJSON)
36
+ };
37
+ }
@@ -0,0 +1,50 @@
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 { SchemaAnalysisField } from './SchemaAnalysisField';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SchemaAnalysis
17
+ */
18
+ export interface SchemaAnalysis {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof SchemaAnalysis
23
+ */
24
+ count: number;
25
+ /**
26
+ *
27
+ * @type {number}
28
+ * @memberof SchemaAnalysis
29
+ */
30
+ sample: number;
31
+ /**
32
+ *
33
+ * @type {number}
34
+ * @memberof SchemaAnalysis
35
+ */
36
+ percentageOfAnalysed: number;
37
+ /**
38
+ *
39
+ * @type {Array<SchemaAnalysisField>}
40
+ * @memberof SchemaAnalysis
41
+ */
42
+ fields?: Array<SchemaAnalysisField>;
43
+ }
44
+ /**
45
+ * Check if a given object implements the SchemaAnalysis interface.
46
+ */
47
+ export declare function instanceOfSchemaAnalysis(value: object): boolean;
48
+ export declare function SchemaAnalysisFromJSON(json: any): SchemaAnalysis;
49
+ export declare function SchemaAnalysisFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysis;
50
+ export declare function SchemaAnalysisToJSON(value?: SchemaAnalysis | null): any;
@@ -0,0 +1,40 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ SchemaAnalysisFieldFromJSON,
4
+ SchemaAnalysisFieldToJSON
5
+ } from "./SchemaAnalysisField.mjs";
6
+ export function instanceOfSchemaAnalysis(value) {
7
+ let isInstance = true;
8
+ isInstance = isInstance && "count" in value;
9
+ isInstance = isInstance && "sample" in value;
10
+ isInstance = isInstance && "percentageOfAnalysed" in value;
11
+ return isInstance;
12
+ }
13
+ export function SchemaAnalysisFromJSON(json) {
14
+ return SchemaAnalysisFromJSONTyped(json, false);
15
+ }
16
+ export function SchemaAnalysisFromJSONTyped(json, ignoreDiscriminator) {
17
+ if (json === void 0 || json === null) {
18
+ return json;
19
+ }
20
+ return {
21
+ "count": json["count"],
22
+ "sample": json["sample"],
23
+ "percentageOfAnalysed": json["percentageOfAnalysed"],
24
+ "fields": !exists(json, "fields") ? void 0 : json["fields"].map(SchemaAnalysisFieldFromJSON)
25
+ };
26
+ }
27
+ export function SchemaAnalysisToJSON(value) {
28
+ if (value === void 0) {
29
+ return void 0;
30
+ }
31
+ if (value === null) {
32
+ return null;
33
+ }
34
+ return {
35
+ "count": value.count,
36
+ "sample": value.sample,
37
+ "percentageOfAnalysed": value.percentageOfAnalysed,
38
+ "fields": value.fields === void 0 ? void 0 : value.fields.map(SchemaAnalysisFieldToJSON)
39
+ };
40
+ }
@@ -0,0 +1,62 @@
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 { SchemaAnalysisFieldType } from './SchemaAnalysisFieldType';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface SchemaAnalysisField
17
+ */
18
+ export interface SchemaAnalysisField {
19
+ /**
20
+ *
21
+ * @type {string}
22
+ * @memberof SchemaAnalysisField
23
+ */
24
+ name: string;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof SchemaAnalysisField
29
+ */
30
+ fullName: string;
31
+ /**
32
+ *
33
+ * @type {Array<SchemaAnalysisFieldType>}
34
+ * @memberof SchemaAnalysisField
35
+ */
36
+ fieldTypes?: Array<SchemaAnalysisFieldType>;
37
+ /**
38
+ *
39
+ * @type {number}
40
+ * @memberof SchemaAnalysisField
41
+ */
42
+ count: number;
43
+ /**
44
+ *
45
+ * @type {number}
46
+ * @memberof SchemaAnalysisField
47
+ */
48
+ percentageOfParent: number;
49
+ /**
50
+ *
51
+ * @type {Array<SchemaAnalysisField>}
52
+ * @memberof SchemaAnalysisField
53
+ */
54
+ subFields?: Array<SchemaAnalysisField>;
55
+ }
56
+ /**
57
+ * Check if a given object implements the SchemaAnalysisField interface.
58
+ */
59
+ export declare function instanceOfSchemaAnalysisField(value: object): boolean;
60
+ export declare function SchemaAnalysisFieldFromJSON(json: any): SchemaAnalysisField;
61
+ export declare function SchemaAnalysisFieldFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisField;
62
+ export declare function SchemaAnalysisFieldToJSON(value?: SchemaAnalysisField | null): any;
@@ -0,0 +1,45 @@
1
+ import { exists } from "../runtime.mjs";
2
+ import {
3
+ SchemaAnalysisFieldTypeFromJSON,
4
+ SchemaAnalysisFieldTypeToJSON
5
+ } from "./SchemaAnalysisFieldType.mjs";
6
+ export function instanceOfSchemaAnalysisField(value) {
7
+ let isInstance = true;
8
+ isInstance = isInstance && "name" in value;
9
+ isInstance = isInstance && "fullName" in value;
10
+ isInstance = isInstance && "count" in value;
11
+ isInstance = isInstance && "percentageOfParent" in value;
12
+ return isInstance;
13
+ }
14
+ export function SchemaAnalysisFieldFromJSON(json) {
15
+ return SchemaAnalysisFieldFromJSONTyped(json, false);
16
+ }
17
+ export function SchemaAnalysisFieldFromJSONTyped(json, ignoreDiscriminator) {
18
+ if (json === void 0 || json === null) {
19
+ return json;
20
+ }
21
+ return {
22
+ "name": json["name"],
23
+ "fullName": json["fullName"],
24
+ "fieldTypes": !exists(json, "fieldTypes") ? void 0 : json["fieldTypes"].map(SchemaAnalysisFieldTypeFromJSON),
25
+ "count": json["count"],
26
+ "percentageOfParent": json["percentageOfParent"],
27
+ "subFields": !exists(json, "subFields") ? void 0 : json["subFields"].map(SchemaAnalysisFieldFromJSON)
28
+ };
29
+ }
30
+ export function SchemaAnalysisFieldToJSON(value) {
31
+ if (value === void 0) {
32
+ return void 0;
33
+ }
34
+ if (value === null) {
35
+ return null;
36
+ }
37
+ return {
38
+ "name": value.name,
39
+ "fullName": value.fullName,
40
+ "fieldTypes": value.fieldTypes === void 0 ? void 0 : value.fieldTypes.map(SchemaAnalysisFieldTypeToJSON),
41
+ "count": value.count,
42
+ "percentageOfParent": value.percentageOfParent,
43
+ "subFields": value.subFields === void 0 ? void 0 : value.subFields.map(SchemaAnalysisFieldToJSON)
44
+ };
45
+ }
@@ -0,0 +1,43 @@
1
+ /**
2
+ * mongocamp-server
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.4.2
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface SchemaAnalysisFieldType
16
+ */
17
+ export interface SchemaAnalysisFieldType {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SchemaAnalysisFieldType
22
+ */
23
+ fieldType: string;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof SchemaAnalysisFieldType
28
+ */
29
+ count: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof SchemaAnalysisFieldType
34
+ */
35
+ percentageOfParent: number;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SchemaAnalysisFieldType interface.
39
+ */
40
+ export declare function instanceOfSchemaAnalysisFieldType(value: object): boolean;
41
+ export declare function SchemaAnalysisFieldTypeFromJSON(json: any): SchemaAnalysisFieldType;
42
+ export declare function SchemaAnalysisFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisFieldType;
43
+ export declare function SchemaAnalysisFieldTypeToJSON(value?: SchemaAnalysisFieldType | null): any;
@@ -0,0 +1,33 @@
1
+ export function instanceOfSchemaAnalysisFieldType(value) {
2
+ let isInstance = true;
3
+ isInstance = isInstance && "fieldType" in value;
4
+ isInstance = isInstance && "count" in value;
5
+ isInstance = isInstance && "percentageOfParent" in value;
6
+ return isInstance;
7
+ }
8
+ export function SchemaAnalysisFieldTypeFromJSON(json) {
9
+ return SchemaAnalysisFieldTypeFromJSONTyped(json, false);
10
+ }
11
+ export function SchemaAnalysisFieldTypeFromJSONTyped(json, ignoreDiscriminator) {
12
+ if (json === void 0 || json === null) {
13
+ return json;
14
+ }
15
+ return {
16
+ "fieldType": json["fieldType"],
17
+ "count": json["count"],
18
+ "percentageOfParent": json["percentageOfParent"]
19
+ };
20
+ }
21
+ export function SchemaAnalysisFieldTypeToJSON(value) {
22
+ if (value === void 0) {
23
+ return void 0;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ "fieldType": value.fieldType,
30
+ "count": value.count,
31
+ "percentageOfParent": value.percentageOfParent
32
+ };
33
+ }
@@ -0,0 +1,51 @@
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 SettingsResponse
16
+ */
17
+ export interface SettingsResponse {
18
+ /**
19
+ *
20
+ * @type {Array<string>}
21
+ * @memberof SettingsResponse
22
+ */
23
+ routesPlugins?: Array<string>;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof SettingsResponse
28
+ */
29
+ filePlugins?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof SettingsResponse
34
+ */
35
+ ignoredPlugins?: Array<string>;
36
+ /**
37
+ *
38
+ * @type {{ [key: string]: string; }}
39
+ * @memberof SettingsResponse
40
+ */
41
+ configurations: {
42
+ [key: string]: string;
43
+ };
44
+ }
45
+ /**
46
+ * Check if a given object implements the SettingsResponse interface.
47
+ */
48
+ export declare function instanceOfSettingsResponse(value: object): boolean;
49
+ export declare function SettingsResponseFromJSON(json: any): SettingsResponse;
50
+ export declare function SettingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsResponse;
51
+ export declare function SettingsResponseToJSON(value?: SettingsResponse | null): any;
@@ -0,0 +1,34 @@
1
+ import { exists } from "../runtime.mjs";
2
+ export function instanceOfSettingsResponse(value) {
3
+ let isInstance = true;
4
+ isInstance = isInstance && "configurations" in value;
5
+ return isInstance;
6
+ }
7
+ export function SettingsResponseFromJSON(json) {
8
+ return SettingsResponseFromJSONTyped(json, false);
9
+ }
10
+ export function SettingsResponseFromJSONTyped(json, ignoreDiscriminator) {
11
+ if (json === void 0 || json === null) {
12
+ return json;
13
+ }
14
+ return {
15
+ "routesPlugins": !exists(json, "routesPlugins") ? void 0 : json["routesPlugins"],
16
+ "filePlugins": !exists(json, "filePlugins") ? void 0 : json["filePlugins"],
17
+ "ignoredPlugins": !exists(json, "ignoredPlugins") ? void 0 : json["ignoredPlugins"],
18
+ "configurations": json["configurations"]
19
+ };
20
+ }
21
+ export function SettingsResponseToJSON(value) {
22
+ if (value === void 0) {
23
+ return void 0;
24
+ }
25
+ if (value === null) {
26
+ return null;
27
+ }
28
+ return {
29
+ "routesPlugins": value.routesPlugins,
30
+ "filePlugins": value.filePlugins,
31
+ "ignoredPlugins": value.ignoredPlugins,
32
+ "configurations": value.configurations
33
+ };
34
+ }
@@ -0,0 +1,39 @@
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 UpdateFileInformationRequest
16
+ */
17
+ export interface UpdateFileInformationRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof UpdateFileInformationRequest
22
+ */
23
+ filename?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: string; }}
27
+ * @memberof UpdateFileInformationRequest
28
+ */
29
+ metadata?: {
30
+ [key: string]: string;
31
+ };
32
+ }
33
+ /**
34
+ * Check if a given object implements the UpdateFileInformationRequest interface.
35
+ */
36
+ export declare function instanceOfUpdateFileInformationRequest(value: object): boolean;
37
+ export declare function UpdateFileInformationRequestFromJSON(json: any): UpdateFileInformationRequest;
38
+ export declare function UpdateFileInformationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFileInformationRequest;
39
+ export declare function UpdateFileInformationRequestToJSON(value?: UpdateFileInformationRequest | null): any;