@sfxcode/nuxt-mongocamp-server 1.6.3 → 1.7.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 (87) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/api/.openapi-generator/FILES +12 -0
  4. package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
  5. package/dist/runtime/api/apis/ApplicationApi.d.ts +1 -1
  6. package/dist/runtime/api/apis/AuthApi.d.ts +19 -2
  7. package/dist/runtime/api/apis/AuthApi.js +48 -0
  8. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/CollectionApi.d.ts +22 -4
  10. package/dist/runtime/api/apis/CollectionApi.js +53 -2
  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 +130 -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/AuthApi.md +78 -0
  20. package/dist/runtime/api/docs/CollectionApi.md +83 -2
  21. package/dist/runtime/api/docs/CollectionPermission.md +40 -0
  22. package/dist/runtime/api/docs/CollectionSummary.md +50 -0
  23. package/dist/runtime/api/docs/CountResponse.md +34 -0
  24. package/dist/runtime/api/docs/DocumentApi.md +183 -5
  25. package/dist/runtime/api/docs/IndexApi.md +78 -0
  26. package/dist/runtime/api/docs/IndexUsage.md +40 -0
  27. package/dist/runtime/api/docs/InsertError.md +38 -0
  28. package/dist/runtime/api/docs/InsertResponse.md +4 -0
  29. package/dist/runtime/api/docs/SearchRequest.md +38 -0
  30. package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
  31. package/dist/runtime/api/models/ClusterInformation.d.ts +1 -1
  32. package/dist/runtime/api/models/ClusterMemberInformation.d.ts +1 -1
  33. package/dist/runtime/api/models/CollectionPermission.d.ts +50 -0
  34. package/dist/runtime/api/models/CollectionPermission.js +35 -0
  35. package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
  36. package/dist/runtime/api/models/CollectionSummary.d.ts +80 -0
  37. package/dist/runtime/api/models/CollectionSummary.js +50 -0
  38. package/dist/runtime/api/models/CountResponse.d.ts +32 -0
  39. package/dist/runtime/api/models/CountResponse.js +26 -0
  40. package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
  41. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
  42. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
  43. package/dist/runtime/api/models/FileInformation.d.ts +1 -1
  44. package/dist/runtime/api/models/Grant.d.ts +1 -1
  45. package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
  46. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
  47. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
  48. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
  49. package/dist/runtime/api/models/IndexUsage.d.ts +52 -0
  50. package/dist/runtime/api/models/IndexUsage.js +35 -0
  51. package/dist/runtime/api/models/InsertError.d.ts +44 -0
  52. package/dist/runtime/api/models/InsertError.js +32 -0
  53. package/dist/runtime/api/models/InsertResponse.d.ts +14 -1
  54. package/dist/runtime/api/models/InsertResponse.js +10 -2
  55. package/dist/runtime/api/models/JobConfig.d.ts +1 -1
  56. package/dist/runtime/api/models/JobInformation.d.ts +1 -1
  57. package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
  58. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
  59. package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
  60. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
  61. package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
  62. package/dist/runtime/api/models/Login.d.ts +1 -1
  63. package/dist/runtime/api/models/LoginResult.d.ts +1 -1
  64. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
  65. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
  66. package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
  67. package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
  68. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
  69. package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
  70. package/dist/runtime/api/models/Role.d.ts +1 -1
  71. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
  72. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
  73. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
  74. package/dist/runtime/api/models/SearchRequest.d.ts +44 -0
  75. package/dist/runtime/api/models/SearchRequest.js +29 -0
  76. package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
  77. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
  78. package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
  79. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
  80. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
  81. package/dist/runtime/api/models/UserInformation.d.ts +1 -1
  82. package/dist/runtime/api/models/UserProfile.d.ts +1 -1
  83. package/dist/runtime/api/models/Version.d.ts +1 -1
  84. package/dist/runtime/api/models/index.d.ts +6 -0
  85. package/dist/runtime/api/models/index.js +6 -0
  86. package/dist/runtime/api/runtime.d.ts +1 -1
  87. package/package.json +7 -7
@@ -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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -0,0 +1,44 @@
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.7.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 SearchRequest
16
+ */
17
+ export interface SearchRequest {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof SearchRequest
22
+ */
23
+ filter?: string;
24
+ /**
25
+ *
26
+ * @type {Array<string>}
27
+ * @memberof SearchRequest
28
+ */
29
+ sort?: Array<string>;
30
+ /**
31
+ *
32
+ * @type {Array<string>}
33
+ * @memberof SearchRequest
34
+ */
35
+ projection?: Array<string>;
36
+ }
37
+ /**
38
+ * Check if a given object implements the SearchRequest interface.
39
+ */
40
+ export declare function instanceOfSearchRequest(value: object): value is SearchRequest;
41
+ export declare function SearchRequestFromJSON(json: any): SearchRequest;
42
+ export declare function SearchRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SearchRequest;
43
+ export declare function SearchRequestToJSON(json: any): SearchRequest;
44
+ export declare function SearchRequestToJSONTyped(value?: SearchRequest | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,29 @@
1
+ export function instanceOfSearchRequest(value) {
2
+ return true;
3
+ }
4
+ export function SearchRequestFromJSON(json) {
5
+ return SearchRequestFromJSONTyped(json, false);
6
+ }
7
+ export function SearchRequestFromJSONTyped(json, ignoreDiscriminator) {
8
+ if (json == null) {
9
+ return json;
10
+ }
11
+ return {
12
+ "filter": json["filter"] == null ? void 0 : json["filter"],
13
+ "sort": json["sort"] == null ? void 0 : json["sort"],
14
+ "projection": json["projection"] == null ? void 0 : json["projection"]
15
+ };
16
+ }
17
+ export function SearchRequestToJSON(json) {
18
+ return SearchRequestToJSONTyped(json, false);
19
+ }
20
+ export function SearchRequestToJSONTyped(value, ignoreDiscriminator = false) {
21
+ if (value == null) {
22
+ return value;
23
+ }
24
+ return {
25
+ "filter": value["filter"],
26
+ "sort": value["sort"],
27
+ "projection": value["projection"]
28
+ };
29
+ }
@@ -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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3
5
+ * The version of the OpenAPI document: 1.7.1
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,7 +1,10 @@
1
1
  export * from './BucketInformation.js';
2
2
  export * from './ClusterInformation.js';
3
3
  export * from './ClusterMemberInformation.js';
4
+ export * from './CollectionPermission.js';
4
5
  export * from './CollectionStatus.js';
6
+ export * from './CollectionSummary.js';
7
+ export * from './CountResponse.js';
5
8
  export * from './DatabaseInfo.js';
6
9
  export * from './DeleteResponse.js';
7
10
  export * from './ErrorDescription.js';
@@ -11,6 +14,8 @@ export * from './IndexCreateRequest.js';
11
14
  export * from './IndexCreateResponse.js';
12
15
  export * from './IndexDropResponse.js';
13
16
  export * from './IndexOptionsRequest.js';
17
+ export * from './IndexUsage.js';
18
+ export * from './InsertError.js';
14
19
  export * from './InsertResponse.js';
15
20
  export * from './JobConfig.js';
16
21
  export * from './JobInformation.js';
@@ -31,6 +36,7 @@ export * from './Role.js';
31
36
  export * from './SchemaAnalysis.js';
32
37
  export * from './SchemaAnalysisField.js';
33
38
  export * from './SchemaAnalysisFieldType.js';
39
+ export * from './SearchRequest.js';
34
40
  export * from './SettingsResponse.js';
35
41
  export * from './UpdateFileInformationRequest.js';
36
42
  export * from './UpdateRequest.js';
@@ -1,7 +1,10 @@
1
1
  export * from "./BucketInformation.js";
2
2
  export * from "./ClusterInformation.js";
3
3
  export * from "./ClusterMemberInformation.js";
4
+ export * from "./CollectionPermission.js";
4
5
  export * from "./CollectionStatus.js";
6
+ export * from "./CollectionSummary.js";
7
+ export * from "./CountResponse.js";
5
8
  export * from "./DatabaseInfo.js";
6
9
  export * from "./DeleteResponse.js";
7
10
  export * from "./ErrorDescription.js";
@@ -11,6 +14,8 @@ export * from "./IndexCreateRequest.js";
11
14
  export * from "./IndexCreateResponse.js";
12
15
  export * from "./IndexDropResponse.js";
13
16
  export * from "./IndexOptionsRequest.js";
17
+ export * from "./IndexUsage.js";
18
+ export * from "./InsertError.js";
14
19
  export * from "./InsertResponse.js";
15
20
  export * from "./JobConfig.js";
16
21
  export * from "./JobInformation.js";
@@ -31,6 +36,7 @@ export * from "./Role.js";
31
36
  export * from "./SchemaAnalysis.js";
32
37
  export * from "./SchemaAnalysisField.js";
33
38
  export * from "./SchemaAnalysisFieldType.js";
39
+ export * from "./SearchRequest.js";
34
40
  export * from "./SettingsResponse.js";
35
41
  export * from "./UpdateFileInformationRequest.js";
36
42
  export * from "./UpdateRequest.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.6.3
5
+ * The version of the OpenAPI document: 1.7.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.6.3",
3
+ "version": "1.7.0",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -32,7 +32,7 @@
32
32
  "dev": "nuxi dev playground",
33
33
  "dev:build": "nuxi build playground",
34
34
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
35
- "release": "npm run lint && npm run test && npm run prepack && changelogen --patch --release && npm publish --access public && git push --follow-tags",
35
+ "release": "npm run lint && npm run test && npm run prepack && changelogen --minor --release && npm publish --access public && git push --follow-tags",
36
36
  "lint": "eslint .",
37
37
  "lint:fix": "eslint --fix .",
38
38
  "test": "vitest run",
@@ -43,24 +43,24 @@
43
43
  "api-codegen": "openapi-generator-cli generate -i ./openapi/docs.yaml -g typescript-fetch -o src/runtime/api --additional-properties=typescriptThreePlus=true,supportsES6=true"
44
44
  },
45
45
  "dependencies": {
46
- "@nuxt/kit": "^4.6.3",
46
+ "@nuxt/kit": "^4.6.4",
47
47
  "@vueuse/nuxt": "^15.0.0",
48
48
  "consola": "^3.4.2",
49
49
  "defu": "^6.1.7"
50
50
  },
51
51
  "devDependencies": {
52
- "@nuxt/devtools": "^4.0.0",
52
+ "@nuxt/devtools": "^4.1.0",
53
53
  "@nuxt/eslint-config": "^1.17.0",
54
54
  "@nuxt/module-builder": "^1.0.3",
55
- "@nuxt/schema": "^4.6.3",
55
+ "@nuxt/schema": "^4.6.4",
56
56
  "@nuxt/test-utils": "^4.3.4",
57
57
  "@openapitools/openapi-generator-cli": "^2.42.0",
58
58
  "@types/node": "^26.6.6",
59
59
  "@unocss/nuxt": "^66.12.0",
60
60
  "changelogen": "^0.6.2",
61
61
  "eslint": "^10.14.0",
62
- "nuxt": "^4.6.3",
63
- "vitest": "^5.0.5"
62
+ "nuxt": "^4.6.4",
63
+ "vitest": "^5.1.0"
64
64
  },
65
65
  "packageManager": "pnpm@10.30.0+sha512.2b5753de015d480eeb88f5b5b61e0051f05b4301808a82ec8b840c9d2adf7748eb352c83f5c1593ca703ff1017295bc3fdd3119abb9686efc96b9fcb18200937"
66
66
  }