@sfxcode/nuxt-mongocamp-server 1.5.2 → 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 (119) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/api/.openapi-generator/FILES +18 -2
  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 +21 -4
  7. package/dist/runtime/api/apis/AuthApi.js +50 -2
  8. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/CollectionApi.d.ts +26 -8
  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 +60 -13
  13. package/dist/runtime/api/apis/DocumentApi.js +136 -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/{InformationApi.d.ts → SystemApi.d.ts} +17 -3
  19. package/dist/runtime/api/apis/SystemApi.js +82 -0
  20. package/dist/runtime/api/apis/index.d.ts +1 -1
  21. package/dist/runtime/api/apis/index.js +1 -1
  22. package/dist/runtime/api/docs/AdminApi.md +2 -2
  23. package/dist/runtime/api/docs/AuthApi.md +79 -1
  24. package/dist/runtime/api/docs/ClusterInformation.md +36 -0
  25. package/dist/runtime/api/docs/ClusterMemberInformation.md +42 -0
  26. package/dist/runtime/api/docs/CollectionApi.md +86 -5
  27. package/dist/runtime/api/docs/CollectionPermission.md +40 -0
  28. package/dist/runtime/api/docs/CollectionStatus.md +1 -1
  29. package/dist/runtime/api/docs/CollectionSummary.md +50 -0
  30. package/dist/runtime/api/docs/CountResponse.md +34 -0
  31. package/dist/runtime/api/docs/DatabaseInfo.md +1 -1
  32. package/dist/runtime/api/docs/DocumentApi.md +208 -24
  33. package/dist/runtime/api/docs/FileApi.md +2 -2
  34. package/dist/runtime/api/docs/FileInformation.md +1 -1
  35. package/dist/runtime/api/docs/IndexApi.md +80 -2
  36. package/dist/runtime/api/docs/IndexUsage.md +40 -0
  37. package/dist/runtime/api/docs/InsertError.md +38 -0
  38. package/dist/runtime/api/docs/InsertResponse.md +4 -0
  39. package/dist/runtime/api/docs/JsonSchemaDefinition.md +1 -1
  40. package/dist/runtime/api/docs/JsonValueAny.md +1 -1
  41. package/dist/runtime/api/docs/MongoCampConfiguration.md +1 -1
  42. package/dist/runtime/api/docs/MongoFindRequest.md +3 -3
  43. package/dist/runtime/api/docs/MongoIndex.md +3 -3
  44. package/dist/runtime/api/docs/PipelineStage.md +1 -1
  45. package/dist/runtime/api/docs/SearchRequest.md +38 -0
  46. package/dist/runtime/api/docs/SettingsResponse.md +1 -1
  47. package/dist/runtime/api/docs/SystemApi.md +139 -0
  48. package/dist/runtime/api/docs/UpdateFileInformationRequest.md +1 -1
  49. package/dist/runtime/api/docs/UpdateRequest.md +2 -2
  50. package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
  51. package/dist/runtime/api/models/ClusterInformation.d.ts +39 -0
  52. package/dist/runtime/api/models/ClusterInformation.js +32 -0
  53. package/dist/runtime/api/models/ClusterMemberInformation.d.ts +56 -0
  54. package/dist/runtime/api/models/ClusterMemberInformation.js +38 -0
  55. package/dist/runtime/api/models/CollectionPermission.d.ts +50 -0
  56. package/dist/runtime/api/models/CollectionPermission.js +35 -0
  57. package/dist/runtime/api/models/CollectionStatus.d.ts +3 -3
  58. package/dist/runtime/api/models/CollectionSummary.d.ts +80 -0
  59. package/dist/runtime/api/models/CollectionSummary.js +50 -0
  60. package/dist/runtime/api/models/CountResponse.d.ts +32 -0
  61. package/dist/runtime/api/models/CountResponse.js +26 -0
  62. package/dist/runtime/api/models/DatabaseInfo.d.ts +3 -3
  63. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
  64. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
  65. package/dist/runtime/api/models/FileInformation.d.ts +3 -3
  66. package/dist/runtime/api/models/Grant.d.ts +1 -1
  67. package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
  68. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
  69. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
  70. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
  71. package/dist/runtime/api/models/IndexUsage.d.ts +52 -0
  72. package/dist/runtime/api/models/IndexUsage.js +35 -0
  73. package/dist/runtime/api/models/InsertError.d.ts +44 -0
  74. package/dist/runtime/api/models/InsertError.js +32 -0
  75. package/dist/runtime/api/models/InsertResponse.d.ts +14 -1
  76. package/dist/runtime/api/models/InsertResponse.js +10 -2
  77. package/dist/runtime/api/models/JobConfig.d.ts +1 -1
  78. package/dist/runtime/api/models/JobInformation.d.ts +2 -2
  79. package/dist/runtime/api/models/JobInformation.js +1 -2
  80. package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
  81. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +3 -3
  82. package/dist/runtime/api/models/JsonValueAny.d.ts +3 -3
  83. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
  84. package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
  85. package/dist/runtime/api/models/Login.d.ts +1 -1
  86. package/dist/runtime/api/models/LoginResult.d.ts +1 -1
  87. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
  88. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +3 -3
  89. package/dist/runtime/api/models/MongoFindRequest.d.ts +7 -7
  90. package/dist/runtime/api/models/MongoIndex.d.ts +7 -7
  91. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
  92. package/dist/runtime/api/models/PipelineStage.d.ts +3 -3
  93. package/dist/runtime/api/models/Role.d.ts +1 -1
  94. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
  95. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
  96. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
  97. package/dist/runtime/api/models/SearchRequest.d.ts +44 -0
  98. package/dist/runtime/api/models/SearchRequest.js +29 -0
  99. package/dist/runtime/api/models/SettingsResponse.d.ts +3 -3
  100. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +3 -3
  101. package/dist/runtime/api/models/UpdateRequest.d.ts +5 -5
  102. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
  103. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
  104. package/dist/runtime/api/models/UserInformation.d.ts +1 -1
  105. package/dist/runtime/api/models/UserProfile.d.ts +1 -1
  106. package/dist/runtime/api/models/Version.d.ts +1 -1
  107. package/dist/runtime/api/models/index.d.ts +8 -0
  108. package/dist/runtime/api/models/index.js +8 -0
  109. package/dist/runtime/api/runtime.d.ts +1 -1
  110. package/dist/runtime/composables/mongocampApi.d.ts +1 -1
  111. package/dist/runtime/composables/mongocampApiCollection.d.ts +2 -2
  112. package/dist/runtime/composables/mongocampSearch.d.ts +3 -3
  113. package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
  114. package/dist/runtime/server/composables/mongocampApi.d.ts +1 -1
  115. package/dist/runtime/server/composables/mongocampServerApi.d.ts +1 -1
  116. package/dist/runtime/utils/createMongocampApis.d.ts +2 -2
  117. package/dist/runtime/utils/createMongocampApis.js +2 -2
  118. package/package.json +14 -14
  119. package/dist/runtime/api/apis/InformationApi.js +0 -37
@@ -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.5.10
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).
@@ -47,19 +47,19 @@ export interface MongoIndex {
47
47
  namespace: string;
48
48
  /**
49
49
  *
50
- * @type {{ [key: string]: string; }}
50
+ * @type {{ [key: string]: any; }}
51
51
  * @memberof MongoIndex
52
52
  */
53
53
  keys: {
54
- [key: string]: string;
54
+ [key: string]: any;
55
55
  };
56
56
  /**
57
57
  *
58
- * @type {{ [key: string]: string; }}
58
+ * @type {{ [key: string]: any; }}
59
59
  * @memberof MongoIndex
60
60
  */
61
61
  weights: {
62
- [key: string]: string;
62
+ [key: string]: any;
63
63
  };
64
64
  /**
65
65
  *
@@ -87,11 +87,11 @@ export interface MongoIndex {
87
87
  fetched: Date;
88
88
  /**
89
89
  *
90
- * @type {{ [key: string]: string; }}
90
+ * @type {{ [key: string]: any; }}
91
91
  * @memberof MongoIndex
92
92
  */
93
93
  map: {
94
- [key: string]: string;
94
+ [key: string]: any;
95
95
  };
96
96
  }
97
97
  /**
@@ -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.5.10
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.5.10
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).
@@ -23,10 +23,10 @@ export interface PipelineStage {
23
23
  stage: string;
24
24
  /**
25
25
  *
26
- * @type {string}
26
+ * @type {any}
27
27
  * @memberof PipelineStage
28
28
  */
29
- value: string;
29
+ value: any | null;
30
30
  }
31
31
  /**
32
32
  * Check if a given object implements the PipelineStage interface.
@@ -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.5.10
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.5.10
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.5.10
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.5.10
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.5.10
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).
@@ -35,11 +35,11 @@ export interface SettingsResponse {
35
35
  ignoredPlugins?: Array<string>;
36
36
  /**
37
37
  *
38
- * @type {{ [key: string]: string; }}
38
+ * @type {{ [key: string]: any; }}
39
39
  * @memberof SettingsResponse
40
40
  */
41
41
  configurations: {
42
- [key: string]: string;
42
+ [key: string]: any;
43
43
  };
44
44
  }
45
45
  /**
@@ -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.5.10
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).
@@ -23,11 +23,11 @@ export interface UpdateFileInformationRequest {
23
23
  filename?: string;
24
24
  /**
25
25
  *
26
- * @type {{ [key: string]: string; }}
26
+ * @type {{ [key: string]: any; }}
27
27
  * @memberof UpdateFileInformationRequest
28
28
  */
29
29
  metadata?: {
30
- [key: string]: string;
30
+ [key: string]: any;
31
31
  };
32
32
  }
33
33
  /**
@@ -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.5.10
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).
@@ -17,19 +17,19 @@
17
17
  export interface UpdateRequest {
18
18
  /**
19
19
  *
20
- * @type {{ [key: string]: string; }}
20
+ * @type {{ [key: string]: any; }}
21
21
  * @memberof UpdateRequest
22
22
  */
23
23
  document: {
24
- [key: string]: string;
24
+ [key: string]: any;
25
25
  };
26
26
  /**
27
27
  *
28
- * @type {{ [key: string]: string; }}
28
+ * @type {{ [key: string]: any; }}
29
29
  * @memberof UpdateRequest
30
30
  */
31
31
  filter: {
32
- [key: string]: string;
32
+ [key: string]: any;
33
33
  };
34
34
  }
35
35
  /**
@@ -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.5.10
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.5.10
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.5.10
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.5.10
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.5.10
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,5 +1,10 @@
1
1
  export * from './BucketInformation.js';
2
+ export * from './ClusterInformation.js';
3
+ export * from './ClusterMemberInformation.js';
4
+ export * from './CollectionPermission.js';
2
5
  export * from './CollectionStatus.js';
6
+ export * from './CollectionSummary.js';
7
+ export * from './CountResponse.js';
3
8
  export * from './DatabaseInfo.js';
4
9
  export * from './DeleteResponse.js';
5
10
  export * from './ErrorDescription.js';
@@ -9,6 +14,8 @@ export * from './IndexCreateRequest.js';
9
14
  export * from './IndexCreateResponse.js';
10
15
  export * from './IndexDropResponse.js';
11
16
  export * from './IndexOptionsRequest.js';
17
+ export * from './IndexUsage.js';
18
+ export * from './InsertError.js';
12
19
  export * from './InsertResponse.js';
13
20
  export * from './JobConfig.js';
14
21
  export * from './JobInformation.js';
@@ -29,6 +36,7 @@ export * from './Role.js';
29
36
  export * from './SchemaAnalysis.js';
30
37
  export * from './SchemaAnalysisField.js';
31
38
  export * from './SchemaAnalysisFieldType.js';
39
+ export * from './SearchRequest.js';
32
40
  export * from './SettingsResponse.js';
33
41
  export * from './UpdateFileInformationRequest.js';
34
42
  export * from './UpdateRequest.js';
@@ -1,5 +1,10 @@
1
1
  export * from "./BucketInformation.js";
2
+ export * from "./ClusterInformation.js";
3
+ export * from "./ClusterMemberInformation.js";
4
+ export * from "./CollectionPermission.js";
2
5
  export * from "./CollectionStatus.js";
6
+ export * from "./CollectionSummary.js";
7
+ export * from "./CountResponse.js";
3
8
  export * from "./DatabaseInfo.js";
4
9
  export * from "./DeleteResponse.js";
5
10
  export * from "./ErrorDescription.js";
@@ -9,6 +14,8 @@ export * from "./IndexCreateRequest.js";
9
14
  export * from "./IndexCreateResponse.js";
10
15
  export * from "./IndexDropResponse.js";
11
16
  export * from "./IndexOptionsRequest.js";
17
+ export * from "./IndexUsage.js";
18
+ export * from "./InsertError.js";
12
19
  export * from "./InsertResponse.js";
13
20
  export * from "./JobConfig.js";
14
21
  export * from "./JobInformation.js";
@@ -29,6 +36,7 @@ export * from "./Role.js";
29
36
  export * from "./SchemaAnalysis.js";
30
37
  export * from "./SchemaAnalysisField.js";
31
38
  export * from "./SchemaAnalysisFieldType.js";
39
+ export * from "./SearchRequest.js";
32
40
  export * from "./SettingsResponse.js";
33
41
  export * from "./UpdateFileInformationRequest.js";
34
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.5.10
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).
@@ -8,6 +8,6 @@ export declare function useMongocampApi(): {
8
8
  documentApi: import("../api/index.js").DocumentApi;
9
9
  fileApi: import("../api/index.js").FileApi;
10
10
  indexApi: import("../api/index.js").IndexApi;
11
- informationApi: import("../api/index.js").InformationApi;
11
+ systemApi: import("../api/index.js").SystemApi;
12
12
  jobApi: import("../api/index.js").JobsApi;
13
13
  };
@@ -17,10 +17,10 @@ export declare function useMongocampApiCollection(collectionName: string): {
17
17
  [key: string]: string;
18
18
  }) => Promise<import("../api/index.js").DeleteResponse>;
19
19
  aggregate: (mongoAggregateRequest: MongoAggregateRequest, rowsPerPage?: number, page?: number) => Promise<{
20
- [key: string]: string;
20
+ [key: string]: any;
21
21
  }[]>;
22
22
  information: (includeDetails?: boolean) => Promise<import("../api/index.js").CollectionStatus>;
23
23
  schemaAnalysis: () => Promise<import("../api/index.js").SchemaAnalysis>;
24
- distinct: (field: string) => Promise<string[]>;
24
+ distinct: (field: string) => Promise<any[]>;
25
25
  clear: () => Promise<import("../api/index.js").JsonValueBoolean>;
26
26
  };
@@ -4,13 +4,13 @@ export declare function useMongocampSearch(): {
4
4
  mongoFindRequest: (filter?: object, sort?: object, projection?: object) => MongoFindRequest;
5
5
  findRequest: (collection: string, searchParameter?: MongoFindRequest, rows?: number, actualPage?: number) => FindRequest;
6
6
  find: (collectionName: string, filter: string | undefined, page?: number, sort?: string[] | undefined, projection?: string[] | undefined, rowsPerPage?: number) => Promise<{
7
- [key: string]: string;
7
+ [key: string]: any;
8
8
  }[]>;
9
9
  findAll: (collectionName: string, page?: number, sort?: string[] | undefined, projection?: string[] | undefined, rowsPerPage?: number) => Promise<{
10
- [key: string]: string;
10
+ [key: string]: any;
11
11
  }[]>;
12
12
  findByField: (collectionName: string, field: string, value: FilterFieldValue, page?: number, sort?: string[] | undefined, projection?: string[] | undefined, rowsPerPage?: number) => Promise<{
13
- [key: string]: string;
13
+ [key: string]: any;
14
14
  }[]>;
15
15
  };
16
16
  export interface PaginatedFindOptions {
@@ -3,4 +3,4 @@ export interface MongocampSession {
3
3
  token: string;
4
4
  profile: UserProfile;
5
5
  }
6
- export declare function useMongocampStorage(): import("nuxt/app").CookieRef<MongocampSession>;
6
+ export declare function useMongocampStorage(): import("#app").CookieRef<MongocampSession>;
@@ -9,6 +9,6 @@ export declare function useMongocampApi(event: H3Event, token?: string): {
9
9
  documentApi: import("../../api/index.js").DocumentApi;
10
10
  fileApi: import("../../api/index.js").FileApi;
11
11
  indexApi: import("../../api/index.js").IndexApi;
12
- informationApi: import("../../api/index.js").InformationApi;
12
+ systemApi: import("../../api/index.js").SystemApi;
13
13
  jobApi: import("../../api/index.js").JobsApi;
14
14
  };
@@ -8,6 +8,6 @@ export declare function useMongocampServerApi(url: string, key?: string, token?:
8
8
  documentApi: import("../../api/index.js").DocumentApi;
9
9
  fileApi: import("../../api/index.js").FileApi;
10
10
  indexApi: import("../../api/index.js").IndexApi;
11
- informationApi: import("../../api/index.js").InformationApi;
11
+ systemApi: import("../../api/index.js").SystemApi;
12
12
  jobApi: import("../../api/index.js").JobsApi;
13
13
  };
@@ -1,5 +1,5 @@
1
1
  import type { Configuration } from '../api/index.js';
2
- import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi, InformationApi, JobsApi } from '../api/index.js';
2
+ import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi, SystemApi, JobsApi } from '../api/index.js';
3
3
  export declare function createMongocampApis(configuration: Configuration): {
4
4
  adminApi: AdminApi;
5
5
  applicationApi: ApplicationApi;
@@ -10,6 +10,6 @@ export declare function createMongocampApis(configuration: Configuration): {
10
10
  documentApi: DocumentApi;
11
11
  fileApi: FileApi;
12
12
  indexApi: IndexApi;
13
- informationApi: InformationApi;
13
+ systemApi: SystemApi;
14
14
  jobApi: JobsApi;
15
15
  };
@@ -8,7 +8,7 @@ import {
8
8
  DocumentApi,
9
9
  FileApi,
10
10
  IndexApi,
11
- InformationApi,
11
+ SystemApi,
12
12
  JobsApi
13
13
  } from "../api/index.js";
14
14
  export function createMongocampApis(configuration) {
@@ -22,7 +22,7 @@ export function createMongocampApis(configuration) {
22
22
  documentApi: new DocumentApi(configuration),
23
23
  fileApi: new FileApi(configuration),
24
24
  indexApi: new IndexApi(configuration),
25
- informationApi: new InformationApi(configuration),
25
+ systemApi: new SystemApi(configuration),
26
26
  jobApi: new JobsApi(configuration)
27
27
  };
28
28
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.5.2",
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.5.1",
47
- "@vueuse/nuxt": "^14.4.0",
46
+ "@nuxt/kit": "^4.6.4",
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-alpha.7",
53
- "@nuxt/eslint-config": "^1.16.0",
52
+ "@nuxt/devtools": "^4.1.0",
53
+ "@nuxt/eslint-config": "^1.17.0",
54
54
  "@nuxt/module-builder": "^1.0.3",
55
- "@nuxt/schema": "^4.5.1",
56
- "@nuxt/test-utils": "^4.1.0",
57
- "@openapitools/openapi-generator-cli": "^2.40.1",
58
- "@types/node": "^26.1.2",
59
- "@unocss/nuxt": "66.7.2",
55
+ "@nuxt/schema": "^4.6.4",
56
+ "@nuxt/test-utils": "^4.3.4",
57
+ "@openapitools/openapi-generator-cli": "^2.42.0",
58
+ "@types/node": "^26.6.6",
59
+ "@unocss/nuxt": "^66.12.0",
60
60
  "changelogen": "^0.6.2",
61
- "eslint": "^10.8.0",
62
- "nuxt": "^4.5.1",
63
- "vitest": "^4.1.10"
61
+ "eslint": "^10.14.0",
62
+ "nuxt": "^4.6.4",
63
+ "vitest": "^5.1.0"
64
64
  },
65
65
  "packageManager": "pnpm@10.30.0+sha512.2b5753de015d480eeb88f5b5b61e0051f05b4301808a82ec8b840c9d2adf7748eb352c83f5c1593ca703ff1017295bc3fdd3119abb9686efc96b9fcb18200937"
66
66
  }
@@ -1,37 +0,0 @@
1
- import * as runtime from "../runtime.js";
2
- import {
3
- VersionFromJSON
4
- } from "../models/index.js";
5
- export class InformationApi extends runtime.BaseAPI {
6
- /**
7
- * Creates request options for version without sending the request
8
- */
9
- async versionRequestOpts() {
10
- const queryParameters = {};
11
- const headerParameters = {};
12
- let urlPath = `/version`;
13
- return {
14
- path: urlPath,
15
- method: "GET",
16
- headers: headerParameters,
17
- query: queryParameters
18
- };
19
- }
20
- /**
21
- * Version Info of the MongoCamp API
22
- * Version Information
23
- */
24
- async versionRaw(initOverrides) {
25
- const requestOptions = await this.versionRequestOpts();
26
- const response = await this.request(requestOptions, initOverrides);
27
- return new runtime.JSONApiResponse(response, (jsonValue) => VersionFromJSON(jsonValue));
28
- }
29
- /**
30
- * Version Info of the MongoCamp API
31
- * Version Information
32
- */
33
- async version(initOverrides) {
34
- const response = await this.versionRaw(initOverrides);
35
- return await response.value();
36
- }
37
- }