@sfxcode/nuxt-mongocamp-server 1.0.11 → 1.1.1

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 (56) hide show
  1. package/dist/module.json +1 -1
  2. package/dist/module.mjs +1 -1
  3. package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
  4. package/dist/runtime/api/apis/ApplicationApi.d.ts +1 -1
  5. package/dist/runtime/api/apis/AuthApi.d.ts +1 -1
  6. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  7. package/dist/runtime/api/apis/CollectionApi.d.ts +1 -1
  8. package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/DocumentApi.d.ts +1 -1
  10. package/dist/runtime/api/apis/FileApi.d.ts +1 -1
  11. package/dist/runtime/api/apis/IndexApi.d.ts +1 -1
  12. package/dist/runtime/api/apis/InformationApi.d.ts +1 -1
  13. package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
  14. package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
  15. package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
  16. package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
  17. package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
  18. package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
  19. package/dist/runtime/api/models/FileInformation.d.ts +1 -1
  20. package/dist/runtime/api/models/Grant.d.ts +1 -1
  21. package/dist/runtime/api/models/IndexCreateRequest.d.ts +1 -1
  22. package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
  23. package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
  24. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
  25. package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
  26. package/dist/runtime/api/models/JobConfig.d.ts +1 -1
  27. package/dist/runtime/api/models/JobInformation.d.ts +1 -1
  28. package/dist/runtime/api/models/JsonSchema.d.ts +1 -1
  29. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
  30. package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
  31. package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
  32. package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
  33. package/dist/runtime/api/models/Login.d.ts +1 -1
  34. package/dist/runtime/api/models/LoginResult.d.ts +1 -1
  35. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +1 -1
  36. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
  37. package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
  38. package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
  39. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
  40. package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
  41. package/dist/runtime/api/models/Role.d.ts +1 -1
  42. package/dist/runtime/api/models/SchemaAnalysis.d.ts +1 -1
  43. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +1 -1
  44. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
  45. package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
  46. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
  47. package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
  48. package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
  49. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +1 -1
  50. package/dist/runtime/api/models/UserInformation.d.ts +1 -1
  51. package/dist/runtime/api/models/UserProfile.d.ts +1 -1
  52. package/dist/runtime/api/models/Version.d.ts +1 -1
  53. package/dist/runtime/api/runtime.d.ts +1 -1
  54. package/dist/runtime/composables/mongocampAuth.mjs +1 -1
  55. package/dist/runtime/composables/mongocampSearch.mjs +6 -3
  56. package/package.json +6 -6
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.0.11",
3
+ "version": "1.1.1",
4
4
  "configKey": "mongocamp",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
package/dist/module.mjs CHANGED
@@ -534,7 +534,7 @@ function createConsola(options = {}) {
534
534
  const consola = createConsola();
535
535
 
536
536
  const name = "@sfxcode/nuxt-mongocamp-server";
537
- const version = "1.0.11";
537
+ const version = "1.1.1";
538
538
 
539
539
  const module = defineNuxtModule({
540
540
  meta: {
@@ -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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
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.8
5
+ * The version of the OpenAPI document: 1.5.9
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,8 +1,8 @@
1
1
  import { computed } from "vue";
2
- import { useRuntimeConfig } from "#app";
3
2
  import { useMongocampApi } from "./mongocampApi.mjs";
4
3
  import { useMongocampStorage } from "./mongocampStorage.mjs";
5
4
  import { useMongocampUser } from "./mongocampUser.mjs";
5
+ import { useRuntimeConfig } from "#app";
6
6
  export function useMongocampAuth() {
7
7
  const config = useRuntimeConfig();
8
8
  const refreshToken = config.public.mongocamp?.refreshToken;
@@ -1,5 +1,5 @@
1
- import { useRuntimeConfig } from "#app";
2
1
  import { useMongocampApi } from "./mongocampApi.mjs";
2
+ import { useRuntimeConfig } from "#app";
3
3
  export function useMongocampSearch() {
4
4
  const { documentApi } = useMongocampApi();
5
5
  const config = useRuntimeConfig();
@@ -9,12 +9,15 @@ export function useMongocampSearch() {
9
9
  const findRequest = (collection, searchParameter = mongoFindRequest(), rows = config.public.mongocamp?.paginationSize, actualPage = 1) => {
10
10
  return { collectionName: collection, mongoFindRequest: searchParameter, rowsPerPage: rows, page: actualPage };
11
11
  };
12
+ function find(collectionName, filter, page = 1, sort = void 0, projection = void 0, rowsPerPage = config.public.mongocamp?.paginationSize) {
13
+ return documentApi.listDocuments({ collectionName, filter, sort, projection, page, rowsPerPage });
14
+ }
12
15
  function findAll(collectionName, page = 1, sort = void 0, projection = void 0, rowsPerPage = config.public.mongocamp?.paginationSize) {
13
- return documentApi.listDocuments({ collectionName, sort, projection, page, rowsPerPage });
16
+ return find(collectionName, void 0, page, sort, projection, rowsPerPage);
14
17
  }
15
18
  function findByField(collectionName, field, value, page = 1, sort = void 0, projection = void 0, rowsPerPage = config.public.mongocamp?.paginationSize) {
16
19
  const expression = `${field}: ${value}`;
17
- return documentApi.listDocuments({ collectionName, filter: expression, sort, projection, page, rowsPerPage });
20
+ return find(collectionName, expression, page, sort, projection, rowsPerPage);
18
21
  }
19
22
  return { mongoFindRequest, findRequest, findAll, findByField };
20
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.0.11",
3
+ "version": "1.1.1",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -18,19 +18,19 @@
18
18
  "failOnWarn": false
19
19
  },
20
20
  "dependencies": {
21
- "@nuxt/kit": "^3.10.1",
22
- "@vueuse/nuxt": "^10.7.2"
21
+ "@nuxt/kit": "^3.10.3",
22
+ "@vueuse/nuxt": "^10.9.0"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@iconify-json/mdi": "^1.1.64",
26
26
  "@nuxt/module-builder": "^0.5.5",
27
27
  "@nuxtjs/eslint-config-typescript": "12.1.0",
28
28
  "@openapitools/openapi-generator-cli": "^2.9.0",
29
- "@types/node": "^20.11.17",
29
+ "@types/node": "^20.11.24",
30
30
  "@unocss/nuxt": "^0.58.5",
31
31
  "defu": "^6.1.4",
32
32
  "jiti": "^1.21.0",
33
- "nuxt": "^3.10.1"
33
+ "nuxt": "^3.10.3"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "nuxi dev playground",
@@ -39,6 +39,6 @@
39
39
  "dev:start": "node playground/.output/server/index.mjs",
40
40
  "lint:show": "eslint ./src/runtime",
41
41
  "lint:fix": "eslint --fix ./src/runtime",
42
- "api-codegen": "openapi-generator-cli generate -i https://showcase.mongocamp.dev/docs/docs.yaml -g typescript-fetch -o src/runtime/api --additional-properties=typescriptThreePlus=true,supportsES6=true"
42
+ "api-codegen": "openapi-generator-cli generate -i ./openapi/docs.yaml -g typescript-fetch -o src/runtime/api --additional-properties=typescriptThreePlus=true,supportsES6=true"
43
43
  }
44
44
  }