@sfxcode/nuxt-mongocamp-server 1.0.7 → 1.0.9

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 +20 -10
  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 +3 -0
  55. package/dist/types.d.mts +2 -2
  56. package/package.json +10 -10
package/dist/module.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "configKey": "mongocamp",
5
5
  "compatibility": {
6
6
  "nuxt": "^3.0.0"
package/dist/module.mjs CHANGED
@@ -1,7 +1,24 @@
1
1
  import { defineNuxtModule, createResolver, addImportsDir } from '@nuxt/kit';
2
2
 
3
+ function isPlainObject$1(value) {
4
+ if (value === null || typeof value !== "object") {
5
+ return false;
6
+ }
7
+ const prototype = Object.getPrototypeOf(value);
8
+ if (prototype !== null && prototype !== Object.prototype && Object.getPrototypeOf(prototype) !== null) {
9
+ return false;
10
+ }
11
+ if (Symbol.iterator in value) {
12
+ return false;
13
+ }
14
+ if (Symbol.toStringTag in value) {
15
+ return Object.prototype.toString.call(value) === "[object Module]";
16
+ }
17
+ return true;
18
+ }
19
+
3
20
  function _defu$1(baseObject, defaults, namespace = ".", merger) {
4
- if (!_isPlainObject(defaults)) {
21
+ if (!isPlainObject$1(defaults)) {
5
22
  return _defu$1(baseObject, {}, namespace, merger);
6
23
  }
7
24
  const object = Object.assign({}, defaults);
@@ -18,7 +35,7 @@ function _defu$1(baseObject, defaults, namespace = ".", merger) {
18
35
  }
19
36
  if (Array.isArray(value) && Array.isArray(object[key])) {
20
37
  object[key] = [...value, ...object[key]];
21
- } else if (_isPlainObject(value) && _isPlainObject(object[key])) {
38
+ } else if (isPlainObject$1(value) && isPlainObject$1(object[key])) {
22
39
  object[key] = _defu$1(
23
40
  value,
24
41
  object[key],
@@ -31,13 +48,6 @@ function _defu$1(baseObject, defaults, namespace = ".", merger) {
31
48
  }
32
49
  return object;
33
50
  }
34
- function _isPlainObject(value) {
35
- if (value === null || typeof value !== "object") {
36
- return false;
37
- }
38
- const prototype = Object.getPrototypeOf(value);
39
- return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
40
- }
41
51
  function createDefu$1(merger) {
42
52
  return (...arguments_) => (
43
53
  // eslint-disable-next-line unicorn/no-array-reduce
@@ -524,7 +534,7 @@ function createConsola(options = {}) {
524
534
  const consola = createConsola();
525
535
 
526
536
  const name = "@sfxcode/nuxt-mongocamp-server";
527
- const version = "1.0.7";
537
+ const version = "1.0.9";
528
538
 
529
539
  const module = defineNuxtModule({
530
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
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.6
5
+ * The version of the OpenAPI document: 1.5.8
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -6,6 +6,9 @@ export function useMongocampAuth() {
6
6
  const state = useMongocampStorage();
7
7
  const { authApi } = useMongocampApi();
8
8
  const user = useMongocampUser();
9
+ async function isAuthenticated() {
10
+ return await authApi.isAuthenticated();
11
+ }
9
12
  const login = async (loginId, loginPassword) => {
10
13
  logout();
11
14
  const login2 = { userId: loginId, password: loginPassword };
package/dist/types.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- import type { ModuleOptions } from './module'
2
+ import type { ModuleOptions } from './module.js'
3
3
 
4
4
 
5
5
  declare module '@nuxt/schema' {
@@ -13,4 +13,4 @@ declare module 'nuxt/schema' {
13
13
  }
14
14
 
15
15
 
16
- export type { ModuleOptions, default } from './module'
16
+ export type { ModuleOptions, default } from './module.js'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
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.8.1",
22
- "@vueuse/nuxt": "^10.6.1"
21
+ "@nuxt/kit": "^3.10.1",
22
+ "@vueuse/nuxt": "^10.7.2"
23
23
  },
24
24
  "devDependencies": {
25
- "@iconify-json/mdi": "^1.1.55",
26
- "@nuxt/module-builder": "^0.5.4",
25
+ "@iconify-json/mdi": "^1.1.64",
26
+ "@nuxt/module-builder": "^0.5.5",
27
27
  "@nuxtjs/eslint-config-typescript": "12.1.0",
28
- "@openapitools/openapi-generator-cli": "^2.7.0",
29
- "@types/node": "^20.9.2",
30
- "@unocss/nuxt": "^0.57.5",
31
- "defu": "^6.1.3",
28
+ "@openapitools/openapi-generator-cli": "^2.9.0",
29
+ "@types/node": "^20.11.17",
30
+ "@unocss/nuxt": "^0.58.5",
31
+ "defu": "^6.1.4",
32
32
  "jiti": "^1.21.0",
33
- "nuxt": "^3.8.1"
33
+ "nuxt": "^3.10.1"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "nuxi dev playground",