@sfxcode/nuxt-mongocamp-server 1.7.0 → 1.8.0

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 (103) hide show
  1. package/README.md +8 -0
  2. package/dist/module.json +1 -1
  3. package/dist/module.mjs +1 -1
  4. package/dist/runtime/api/.openapi-generator/FILES +18 -0
  5. package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
  6. package/dist/runtime/api/apis/ApplicationApi.d.ts +1 -1
  7. package/dist/runtime/api/apis/AuthApi.d.ts +1 -1
  8. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/CollectionApi.d.ts +58 -2
  10. package/dist/runtime/api/apis/CollectionApi.js +183 -0
  11. package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
  12. package/dist/runtime/api/apis/DocumentApi.d.ts +47 -2
  13. package/dist/runtime/api/apis/DocumentApi.js +145 -0
  14. package/dist/runtime/api/apis/FileApi.d.ts +1 -1
  15. package/dist/runtime/api/apis/IndexApi.d.ts +19 -2
  16. package/dist/runtime/api/apis/IndexApi.js +52 -0
  17. package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
  18. package/dist/runtime/api/apis/SystemApi.d.ts +1 -1
  19. package/dist/runtime/api/docs/CollectionApi.md +253 -1
  20. package/dist/runtime/api/docs/CopyRequest.md +40 -0
  21. package/dist/runtime/api/docs/CopyResponse.md +38 -0
  22. package/dist/runtime/api/docs/DocumentApi.md +196 -5
  23. package/dist/runtime/api/docs/FieldInfo.md +36 -0
  24. package/dist/runtime/api/docs/FieldTypeCount.md +36 -0
  25. package/dist/runtime/api/docs/ImportResponse.md +42 -0
  26. package/dist/runtime/api/docs/IndexApi.md +78 -0
  27. package/dist/runtime/api/docs/IndexCreateRequest.md +2 -0
  28. package/dist/runtime/api/docs/IndexInfo.md +54 -0
  29. package/dist/runtime/api/docs/IndexKey.md +36 -0
  30. package/dist/runtime/api/docs/IndexOptionsRequest.md +10 -0
  31. package/dist/runtime/api/docs/RenameRequest.md +36 -0
  32. package/dist/runtime/api/docs/RenameResponse.md +34 -0
  33. package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
  34. package/dist/runtime/api/models/ClusterInformation.d.ts +1 -1
  35. package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -1
  36. package/dist/runtime/api/models/CollectionPermission.d.ts +1 -1
  37. package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
  38. package/dist/runtime/api/models/CollectionSummary.d.ts +1 -1
  39. package/dist/runtime/api/models/CopyRequest.d.ts +50 -0
  40. package/dist/runtime/api/models/CopyRequest.js +32 -0
  41. package/dist/runtime/api/models/CopyResponse.d.ts +44 -0
  42. package/dist/runtime/api/models/CopyResponse.js +32 -0
  43. package/dist/runtime/api/models/CountResponse.d.ts +1 -1
  44. package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
  45. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
  46. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
  47. package/dist/runtime/api/models/FieldInfo.d.ts +39 -0
  48. package/dist/runtime/api/models/FieldInfo.js +32 -0
  49. package/dist/runtime/api/models/FieldTypeCount.d.ts +38 -0
  50. package/dist/runtime/api/models/FieldTypeCount.js +29 -0
  51. package/dist/runtime/api/models/FileInformation.d.ts +1 -1
  52. package/dist/runtime/api/models/Grant.d.ts +1 -1
  53. package/dist/runtime/api/models/ImportResponse.d.ts +57 -0
  54. package/dist/runtime/api/models/ImportResponse.js +41 -0
  55. package/dist/runtime/api/models/IndexCreateRequest.d.ts +9 -2
  56. package/dist/runtime/api/models/IndexCreateRequest.js +9 -4
  57. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
  58. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
  59. package/dist/runtime/api/models/IndexInfo.d.ts +99 -0
  60. package/dist/runtime/api/models/IndexInfo.js +54 -0
  61. package/dist/runtime/api/models/IndexKey.d.ts +38 -0
  62. package/dist/runtime/api/models/IndexKey.js +29 -0
  63. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +37 -1
  64. package/dist/runtime/api/models/IndexOptionsRequest.js +12 -2
  65. package/dist/runtime/api/models/IndexUsage.d.ts +1 -1
  66. package/dist/runtime/api/models/InsertError.d.ts +1 -1
  67. package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
  68. package/dist/runtime/api/models/JobConfig.d.ts +1 -1
  69. package/dist/runtime/api/models/JobInformation.d.ts +1 -1
  70. package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
  71. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
  72. package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
  73. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
  74. package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
  75. package/dist/runtime/api/models/Login.d.ts +1 -1
  76. package/dist/runtime/api/models/LoginResult.d.ts +1 -1
  77. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
  78. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
  79. package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
  80. package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
  81. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
  82. package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
  83. package/dist/runtime/api/models/RenameRequest.d.ts +38 -0
  84. package/dist/runtime/api/models/RenameRequest.js +28 -0
  85. package/dist/runtime/api/models/RenameResponse.d.ts +32 -0
  86. package/dist/runtime/api/models/RenameResponse.js +26 -0
  87. package/dist/runtime/api/models/Role.d.ts +1 -1
  88. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
  89. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
  90. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
  91. package/dist/runtime/api/models/SearchRequest.d.ts +1 -1
  92. package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
  93. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
  94. package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
  95. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
  96. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
  97. package/dist/runtime/api/models/UserInformation.d.ts +1 -1
  98. package/dist/runtime/api/models/UserProfile.d.ts +1 -1
  99. package/dist/runtime/api/models/Version.d.ts +1 -1
  100. package/dist/runtime/api/models/index.d.ts +9 -0
  101. package/dist/runtime/api/models/index.js +9 -0
  102. package/dist/runtime/api/runtime.d.ts +1 -1
  103. package/package.json +2 -2
@@ -0,0 +1,32 @@
1
+ /**
2
+ * mongocamp-library
3
+ * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
+ *
5
+ * The version of the OpenAPI document: 1.8.1
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 RenameResponse
16
+ */
17
+ export interface RenameResponse {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof RenameResponse
22
+ */
23
+ name: string;
24
+ }
25
+ /**
26
+ * Check if a given object implements the RenameResponse interface.
27
+ */
28
+ export declare function instanceOfRenameResponse(value: object): value is RenameResponse;
29
+ export declare function RenameResponseFromJSON(json: any): RenameResponse;
30
+ export declare function RenameResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): RenameResponse;
31
+ export declare function RenameResponseToJSON(json: any): RenameResponse;
32
+ export declare function RenameResponseToJSONTyped(value?: RenameResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,26 @@
1
+ export function instanceOfRenameResponse(value) {
2
+ if (!("name" in value) || value["name"] === void 0) return false;
3
+ return true;
4
+ }
5
+ export function RenameResponseFromJSON(json) {
6
+ return RenameResponseFromJSONTyped(json, false);
7
+ }
8
+ export function RenameResponseFromJSONTyped(json, ignoreDiscriminator) {
9
+ if (json == null) {
10
+ return json;
11
+ }
12
+ return {
13
+ "name": json["name"]
14
+ };
15
+ }
16
+ export function RenameResponseToJSON(json) {
17
+ return RenameResponseToJSONTyped(json, false);
18
+ }
19
+ export function RenameResponseToJSONTyped(value, ignoreDiscriminator = false) {
20
+ if (value == null) {
21
+ return value;
22
+ }
23
+ return {
24
+ "name": value["name"]
25
+ };
26
+ }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -4,15 +4,22 @@ export * from './ClusterMemberInformation.js';
4
4
  export * from './CollectionPermission.js';
5
5
  export * from './CollectionStatus.js';
6
6
  export * from './CollectionSummary.js';
7
+ export * from './CopyRequest.js';
8
+ export * from './CopyResponse.js';
7
9
  export * from './CountResponse.js';
8
10
  export * from './DatabaseInfo.js';
9
11
  export * from './DeleteResponse.js';
10
12
  export * from './ErrorDescription.js';
13
+ export * from './FieldInfo.js';
14
+ export * from './FieldTypeCount.js';
11
15
  export * from './FileInformation.js';
12
16
  export * from './Grant.js';
17
+ export * from './ImportResponse.js';
13
18
  export * from './IndexCreateRequest.js';
14
19
  export * from './IndexCreateResponse.js';
15
20
  export * from './IndexDropResponse.js';
21
+ export * from './IndexInfo.js';
22
+ export * from './IndexKey.js';
16
23
  export * from './IndexOptionsRequest.js';
17
24
  export * from './IndexUsage.js';
18
25
  export * from './InsertError.js';
@@ -32,6 +39,8 @@ export * from './MongoFindRequest.js';
32
39
  export * from './MongoIndex.js';
33
40
  export * from './PasswordUpdateRequest.js';
34
41
  export * from './PipelineStage.js';
42
+ export * from './RenameRequest.js';
43
+ export * from './RenameResponse.js';
35
44
  export * from './Role.js';
36
45
  export * from './SchemaAnalysis.js';
37
46
  export * from './SchemaAnalysisField.js';
@@ -4,15 +4,22 @@ export * from "./ClusterMemberInformation.js";
4
4
  export * from "./CollectionPermission.js";
5
5
  export * from "./CollectionStatus.js";
6
6
  export * from "./CollectionSummary.js";
7
+ export * from "./CopyRequest.js";
8
+ export * from "./CopyResponse.js";
7
9
  export * from "./CountResponse.js";
8
10
  export * from "./DatabaseInfo.js";
9
11
  export * from "./DeleteResponse.js";
10
12
  export * from "./ErrorDescription.js";
13
+ export * from "./FieldInfo.js";
14
+ export * from "./FieldTypeCount.js";
11
15
  export * from "./FileInformation.js";
12
16
  export * from "./Grant.js";
17
+ export * from "./ImportResponse.js";
13
18
  export * from "./IndexCreateRequest.js";
14
19
  export * from "./IndexCreateResponse.js";
15
20
  export * from "./IndexDropResponse.js";
21
+ export * from "./IndexInfo.js";
22
+ export * from "./IndexKey.js";
16
23
  export * from "./IndexOptionsRequest.js";
17
24
  export * from "./IndexUsage.js";
18
25
  export * from "./InsertError.js";
@@ -32,6 +39,8 @@ export * from "./MongoFindRequest.js";
32
39
  export * from "./MongoIndex.js";
33
40
  export * from "./PasswordUpdateRequest.js";
34
41
  export * from "./PipelineStage.js";
42
+ export * from "./RenameRequest.js";
43
+ export * from "./RenameResponse.js";
35
44
  export * from "./Role.js";
36
45
  export * from "./SchemaAnalysis.js";
37
46
  export * from "./SchemaAnalysisField.js";
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.7.1
5
+ * The version of the OpenAPI document: 1.8.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.7.0",
3
+ "version": "1.8.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -53,7 +53,7 @@
53
53
  "@nuxt/eslint-config": "^1.17.0",
54
54
  "@nuxt/module-builder": "^1.0.3",
55
55
  "@nuxt/schema": "^4.6.4",
56
- "@nuxt/test-utils": "^4.3.4",
56
+ "@nuxt/test-utils": "^4.4.0",
57
57
  "@openapitools/openapi-generator-cli": "^2.42.0",
58
58
  "@types/node": "^26.6.6",
59
59
  "@unocss/nuxt": "^66.12.0",