@sfxcode/nuxt-mongocamp-server 1.2.2 → 1.2.3

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 (101) hide show
  1. package/dist/module.d.mts +1 -1
  2. package/dist/module.d.ts +1 -1
  3. package/dist/module.json +2 -2
  4. package/dist/module.mjs +1 -1
  5. package/dist/runtime/api/apis/AdminApi.d.ts +1 -1
  6. package/dist/runtime/api/apis/ApplicationApi.d.ts +14 -1
  7. package/dist/runtime/api/apis/ApplicationApi.js +39 -0
  8. package/dist/runtime/api/apis/AuthApi.d.ts +1 -1
  9. package/dist/runtime/api/apis/BucketApi.d.ts +1 -1
  10. package/dist/runtime/api/apis/CollectionApi.d.ts +4 -4
  11. package/dist/runtime/api/apis/DatabaseApi.d.ts +1 -1
  12. package/dist/runtime/api/apis/DocumentApi.d.ts +1 -1
  13. package/dist/runtime/api/apis/FileApi.d.ts +1 -1
  14. package/dist/runtime/api/apis/IndexApi.d.ts +1 -1
  15. package/dist/runtime/api/apis/InformationApi.d.ts +1 -1
  16. package/dist/runtime/api/apis/JobsApi.d.ts +1 -1
  17. package/dist/runtime/api/models/BucketInformation.d.ts +3 -2
  18. package/dist/runtime/api/models/BucketInformation.js +4 -1
  19. package/dist/runtime/api/models/CollectionStatus.d.ts +3 -2
  20. package/dist/runtime/api/models/CollectionStatus.js +4 -1
  21. package/dist/runtime/api/models/DatabaseInfo.d.ts +3 -2
  22. package/dist/runtime/api/models/DatabaseInfo.js +4 -1
  23. package/dist/runtime/api/models/DeleteResponse.d.ts +3 -2
  24. package/dist/runtime/api/models/DeleteResponse.js +4 -1
  25. package/dist/runtime/api/models/ErrorDescription.d.ts +3 -2
  26. package/dist/runtime/api/models/ErrorDescription.js +4 -1
  27. package/dist/runtime/api/models/FileInformation.d.ts +3 -2
  28. package/dist/runtime/api/models/FileInformation.js +4 -1
  29. package/dist/runtime/api/models/Grant.d.ts +3 -2
  30. package/dist/runtime/api/models/Grant.js +4 -1
  31. package/dist/runtime/api/models/IndexCreateRequest.d.ts +3 -2
  32. package/dist/runtime/api/models/IndexCreateRequest.js +4 -1
  33. package/dist/runtime/api/models/IndexCreateResponse.d.ts +3 -2
  34. package/dist/runtime/api/models/IndexCreateResponse.js +4 -1
  35. package/dist/runtime/api/models/IndexDropResponse.d.ts +3 -2
  36. package/dist/runtime/api/models/IndexDropResponse.js +4 -1
  37. package/dist/runtime/api/models/IndexOptionsRequest.d.ts +3 -2
  38. package/dist/runtime/api/models/IndexOptionsRequest.js +4 -1
  39. package/dist/runtime/api/models/InsertResponse.d.ts +3 -2
  40. package/dist/runtime/api/models/InsertResponse.js +4 -1
  41. package/dist/runtime/api/models/JobConfig.d.ts +3 -2
  42. package/dist/runtime/api/models/JobConfig.js +4 -1
  43. package/dist/runtime/api/models/JobInformation.d.ts +3 -2
  44. package/dist/runtime/api/models/JobInformation.js +4 -1
  45. package/dist/runtime/api/models/JsonSchema.d.ts +3 -2
  46. package/dist/runtime/api/models/JsonSchema.js +4 -1
  47. package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +3 -2
  48. package/dist/runtime/api/models/JsonSchemaDefinition.js +4 -1
  49. package/dist/runtime/api/models/JsonValueAny.d.ts +3 -2
  50. package/dist/runtime/api/models/JsonValueAny.js +4 -1
  51. package/dist/runtime/api/models/JsonValueBoolean.d.ts +3 -2
  52. package/dist/runtime/api/models/JsonValueBoolean.js +4 -1
  53. package/dist/runtime/api/models/JsonValueString.d.ts +3 -2
  54. package/dist/runtime/api/models/JsonValueString.js +4 -1
  55. package/dist/runtime/api/models/Login.d.ts +3 -2
  56. package/dist/runtime/api/models/Login.js +4 -1
  57. package/dist/runtime/api/models/LoginResult.d.ts +3 -2
  58. package/dist/runtime/api/models/LoginResult.js +4 -1
  59. package/dist/runtime/api/models/MongoAggregateRequest.d.ts +3 -2
  60. package/dist/runtime/api/models/MongoAggregateRequest.js +4 -1
  61. package/dist/runtime/api/models/MongoCampConfiguration.d.ts +3 -2
  62. package/dist/runtime/api/models/MongoCampConfiguration.js +4 -1
  63. package/dist/runtime/api/models/MongoFindRequest.d.ts +3 -2
  64. package/dist/runtime/api/models/MongoFindRequest.js +4 -1
  65. package/dist/runtime/api/models/MongoIndex.d.ts +3 -2
  66. package/dist/runtime/api/models/MongoIndex.js +4 -1
  67. package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +3 -2
  68. package/dist/runtime/api/models/PasswordUpdateRequest.js +4 -1
  69. package/dist/runtime/api/models/PipelineStage.d.ts +3 -2
  70. package/dist/runtime/api/models/PipelineStage.js +4 -1
  71. package/dist/runtime/api/models/Role.d.ts +3 -2
  72. package/dist/runtime/api/models/Role.js +4 -1
  73. package/dist/runtime/api/models/SchemaAnalysis.d.ts +3 -2
  74. package/dist/runtime/api/models/SchemaAnalysis.js +4 -1
  75. package/dist/runtime/api/models/SchemaAnalysisField.d.ts +3 -2
  76. package/dist/runtime/api/models/SchemaAnalysisField.js +4 -1
  77. package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +3 -2
  78. package/dist/runtime/api/models/SchemaAnalysisFieldType.js +4 -1
  79. package/dist/runtime/api/models/SettingsResponse.d.ts +3 -2
  80. package/dist/runtime/api/models/SettingsResponse.js +4 -1
  81. package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +3 -2
  82. package/dist/runtime/api/models/UpdateFileInformationRequest.js +4 -1
  83. package/dist/runtime/api/models/UpdateRequest.d.ts +3 -2
  84. package/dist/runtime/api/models/UpdateRequest.js +4 -1
  85. package/dist/runtime/api/models/UpdateResponse.d.ts +3 -2
  86. package/dist/runtime/api/models/UpdateResponse.js +4 -1
  87. package/dist/runtime/api/models/UpdateRoleRequest.d.ts +3 -2
  88. package/dist/runtime/api/models/UpdateRoleRequest.js +4 -1
  89. package/dist/runtime/api/models/UserInformation.d.ts +3 -2
  90. package/dist/runtime/api/models/UserInformation.js +4 -1
  91. package/dist/runtime/api/models/UserProfile.d.ts +3 -2
  92. package/dist/runtime/api/models/UserProfile.js +4 -1
  93. package/dist/runtime/api/models/Version.d.ts +3 -2
  94. package/dist/runtime/api/models/Version.js +4 -1
  95. package/dist/runtime/api/runtime.d.ts +1 -1
  96. package/dist/runtime/composables/mongocampApi.d.ts +1 -1
  97. package/dist/runtime/composables/mongocampAuth.d.ts +1 -1
  98. package/dist/runtime/composables/mongocampSearch.d.ts +1 -1
  99. package/dist/runtime/composables/mongocampStorage.d.ts +1 -1
  100. package/dist/runtime/composables/mongocampUser.d.ts +1 -1
  101. package/package.json +14 -16
@@ -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.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,4 +46,5 @@ export interface UpdateResponse {
46
46
  export declare function instanceOfUpdateResponse(value: object): value is UpdateResponse;
47
47
  export declare function UpdateResponseFromJSON(json: any): UpdateResponse;
48
48
  export declare function UpdateResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateResponse;
49
- export declare function UpdateResponseToJSON(value?: UpdateResponse | null): any;
49
+ export declare function UpdateResponseToJSON(json: any): UpdateResponse;
50
+ export declare function UpdateResponseToJSONTyped(value?: UpdateResponse | null, ignoreDiscriminator?: boolean): any;
@@ -18,7 +18,10 @@ export function UpdateResponseFromJSONTyped(json, ignoreDiscriminator) {
18
18
  "matchedCount": json["matchedCount"]
19
19
  };
20
20
  }
21
- export function UpdateResponseToJSON(value) {
21
+ export function UpdateResponseToJSON(json) {
22
+ return UpdateResponseToJSONTyped(json, false);
23
+ }
24
+ export function UpdateResponseToJSONTyped(value, ignoreDiscriminator = false) {
22
25
  if (value == null) {
23
26
  return value;
24
27
  }
@@ -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.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -35,4 +35,5 @@ export interface UpdateRoleRequest {
35
35
  export declare function instanceOfUpdateRoleRequest(value: object): value is UpdateRoleRequest;
36
36
  export declare function UpdateRoleRequestFromJSON(json: any): UpdateRoleRequest;
37
37
  export declare function UpdateRoleRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRoleRequest;
38
- export declare function UpdateRoleRequestToJSON(value?: UpdateRoleRequest | null): any;
38
+ export declare function UpdateRoleRequestToJSON(json: any): UpdateRoleRequest;
39
+ export declare function UpdateRoleRequestToJSONTyped(value?: UpdateRoleRequest | null, ignoreDiscriminator?: boolean): any;
@@ -18,7 +18,10 @@ export function UpdateRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
18
18
  "collectionGrants": json["collectionGrants"] == null ? void 0 : json["collectionGrants"].map(GrantFromJSON)
19
19
  };
20
20
  }
21
- export function UpdateRoleRequestToJSON(value) {
21
+ export function UpdateRoleRequestToJSON(json) {
22
+ return UpdateRoleRequestToJSONTyped(json, false);
23
+ }
24
+ export function UpdateRoleRequestToJSONTyped(value, ignoreDiscriminator = false) {
22
25
  if (value == null) {
23
26
  return value;
24
27
  }
@@ -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.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -46,4 +46,5 @@ export interface UserInformation {
46
46
  export declare function instanceOfUserInformation(value: object): value is UserInformation;
47
47
  export declare function UserInformationFromJSON(json: any): UserInformation;
48
48
  export declare function UserInformationFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInformation;
49
- export declare function UserInformationToJSON(value?: UserInformation | null): any;
49
+ export declare function UserInformationToJSON(json: any): UserInformation;
50
+ export declare function UserInformationToJSONTyped(value?: UserInformation | null, ignoreDiscriminator?: boolean): any;
@@ -17,7 +17,10 @@ export function UserInformationFromJSONTyped(json, ignoreDiscriminator) {
17
17
  "roles": json["roles"] == null ? void 0 : json["roles"]
18
18
  };
19
19
  }
20
- export function UserInformationToJSON(value) {
20
+ export function UserInformationToJSON(json) {
21
+ return UserInformationToJSONTyped(json, false);
22
+ }
23
+ export function UserInformationToJSONTyped(value, ignoreDiscriminator = false) {
21
24
  if (value == null) {
22
25
  return value;
23
26
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -53,4 +53,5 @@ export interface UserProfile {
53
53
  export declare function instanceOfUserProfile(value: object): value is UserProfile;
54
54
  export declare function UserProfileFromJSON(json: any): UserProfile;
55
55
  export declare function UserProfileFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserProfile;
56
- export declare function UserProfileToJSON(value?: UserProfile | null): any;
56
+ export declare function UserProfileToJSON(json: any): UserProfile;
57
+ export declare function UserProfileToJSONTyped(value?: UserProfile | null, ignoreDiscriminator?: boolean): any;
@@ -22,7 +22,10 @@ export function UserProfileFromJSONTyped(json, ignoreDiscriminator) {
22
22
  "grants": json["grants"] == null ? void 0 : json["grants"].map(GrantFromJSON)
23
23
  };
24
24
  }
25
- export function UserProfileToJSON(value) {
25
+ export function UserProfileToJSON(json) {
26
+ return UserProfileToJSONTyped(json, false);
27
+ }
28
+ export function UserProfileToJSONTyped(value, ignoreDiscriminator = false) {
26
29
  if (value == null) {
27
30
  return value;
28
31
  }
@@ -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.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -40,4 +40,5 @@ export interface Version {
40
40
  export declare function instanceOfVersion(value: object): value is Version;
41
41
  export declare function VersionFromJSON(json: any): Version;
42
42
  export declare function VersionFromJSONTyped(json: any, ignoreDiscriminator: boolean): Version;
43
- export declare function VersionToJSON(value?: Version | null): any;
43
+ export declare function VersionToJSON(json: any): Version;
44
+ export declare function VersionToJSONTyped(value?: Version | null, ignoreDiscriminator?: boolean): any;
@@ -17,7 +17,10 @@ export function VersionFromJSONTyped(json, ignoreDiscriminator) {
17
17
  "builtAt": new Date(json["builtAt"])
18
18
  };
19
19
  }
20
- export function VersionToJSON(value) {
20
+ export function VersionToJSON(json) {
21
+ return VersionToJSONTyped(json, false);
22
+ }
23
+ export function VersionToJSONTyped(value, ignoreDiscriminator = false) {
21
24
  if (value == null) {
22
25
  return value;
23
26
  }
@@ -2,7 +2,7 @@
2
2
  * mongocamp-library
3
3
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
4
4
  *
5
- * The version of the OpenAPI document: 1.5.9
5
+ * The version of the OpenAPI document: 1.5.10
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -1,4 +1,4 @@
1
- import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi, InformationApi, JobsApi } from '../api.js';
1
+ import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi, InformationApi, JobsApi } from '../api/index.js';
2
2
  export declare function useMongocampApi(): {
3
3
  adminApi: AdminApi;
4
4
  applicationApi: ApplicationApi;
@@ -1,4 +1,4 @@
1
- import type { UserProfile } from '../api.js';
1
+ import type { UserProfile } from '../api/index.js';
2
2
  export declare function useMongocampAuth(): {
3
3
  login: (loginId: string, loginPassword: string) => Promise<UserProfile>;
4
4
  logout: () => void;
@@ -1,4 +1,4 @@
1
- import type { FindRequest, MongoFindRequest } from '../api.js';
1
+ import type { FindRequest, MongoFindRequest } from '../api/index.js';
2
2
  export declare function useMongocampSearch(): {
3
3
  mongoFindRequest: (filter?: object, sort?: object, projection?: object) => MongoFindRequest;
4
4
  findRequest: (collection: string, searchParameter?: MongoFindRequest, rows?: number, actualPage?: number) => FindRequest;
@@ -1,4 +1,4 @@
1
- import type { UserProfile } from '../api.js';
1
+ import type { UserProfile } from '../api/index.js';
2
2
  export declare function useMongocampStorage(): import("@vueuse/shared").RemovableRef<{
3
3
  token: string;
4
4
  profile: UserProfile;
@@ -1,3 +1,3 @@
1
1
  import type { Ref } from 'vue';
2
- import type { UserProfile } from '../api.js';
2
+ import type { UserProfile } from '../api/index.js';
3
3
  export declare function useMongocampUser(): Ref<UserProfile>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sfxcode/nuxt-mongocamp-server",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -24,6 +24,7 @@
24
24
  "dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
25
25
  "release": "npm run lint && npm run test && npm run prepack && changelogen --release --patch && npm publish --access public && git push --follow-tags",
26
26
  "lint": "eslint .",
27
+ "lint:fix": "eslint --fix .",
27
28
  "test": "vitest run",
28
29
  "test:watch": "vitest watch",
29
30
  "test:coverage": "vitest run --coverage",
@@ -32,24 +33,21 @@
32
33
  "api-codegen": "openapi-generator-cli generate -i ./openapi/docs.yaml -g typescript-fetch -o src/runtime/api --additional-properties=typescriptThreePlus=true,supportsES6=true"
33
34
  },
34
35
  "dependencies": {
35
- "@nuxt/kit": "^3.12.4",
36
- "@vueuse/nuxt": "^10.11.0"
36
+ "@nuxt/kit": "^3.13.2",
37
+ "@vueuse/nuxt": "^10.11.1"
37
38
  },
38
39
  "devDependencies": {
39
- "@iconify-json/bx": "^1.1.10",
40
- "@nuxt/devtools": "^1.3.9",
40
+ "@nuxt/devtools": "^1.5.2",
41
41
  "@nuxt/eslint-config": "^0.4.0",
42
- "@nuxt/module-builder": "^0.8.1",
43
- "@nuxt/schema": "^3.12.4",
44
- "@nuxt/test-utils": "^3.14.0",
45
- "@openapitools/openapi-generator-cli": "^2.13.4",
46
- "@types/node": "^22.1.0",
42
+ "@nuxt/module-builder": "^0.8.4",
43
+ "@nuxt/schema": "^3.13.2",
44
+ "@nuxt/test-utils": "^3.14.3",
45
+ "@openapitools/openapi-generator-cli": "^2.14.0",
46
+ "@types/node": "^22.7.5",
47
47
  "@unocss/nuxt": "^0.61.9",
48
- "changelogen": "^0.5.5",
49
- "eslint": "^9.8.0",
50
- "nuxt": "^3.12.4",
51
- "nuxt-primevue": "^3.0.0",
52
- "primeicons": "^7.0.0",
53
- "vitest": "^2.0.5"
48
+ "changelogen": "^0.5.7",
49
+ "eslint": "^9.12.0",
50
+ "nuxt": "^3.13.2",
51
+ "vitest": "^2.1.2"
54
52
  }
55
53
  }