@sfxcode/nuxt-mongocamp-server 1.2.1 → 1.2.2
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.
- package/README.md +1 -1
- package/dist/module.json +5 -1
- package/dist/module.mjs +1 -1
- package/dist/runtime/api/apis/AdminApi.d.ts +2 -2
- package/dist/runtime/api/apis/{AdminApi.mjs → AdminApi.js} +2 -2
- package/dist/runtime/api/apis/ApplicationApi.d.ts +2 -2
- package/dist/runtime/api/apis/{ApplicationApi.mjs → ApplicationApi.js} +2 -2
- package/dist/runtime/api/apis/AuthApi.d.ts +2 -2
- package/dist/runtime/api/apis/{AuthApi.mjs → AuthApi.js} +2 -2
- package/dist/runtime/api/apis/BucketApi.d.ts +2 -2
- package/dist/runtime/api/apis/{BucketApi.mjs → BucketApi.js} +2 -2
- package/dist/runtime/api/apis/CollectionApi.d.ts +2 -2
- package/dist/runtime/api/apis/{CollectionApi.mjs → CollectionApi.js} +2 -2
- package/dist/runtime/api/apis/DatabaseApi.d.ts +2 -2
- package/dist/runtime/api/apis/{DatabaseApi.mjs → DatabaseApi.js} +2 -2
- package/dist/runtime/api/apis/DocumentApi.d.ts +2 -2
- package/dist/runtime/api/apis/{DocumentApi.mjs → DocumentApi.js} +2 -2
- package/dist/runtime/api/apis/FileApi.d.ts +2 -2
- package/dist/runtime/api/apis/{FileApi.mjs → FileApi.js} +2 -2
- package/dist/runtime/api/apis/IndexApi.d.ts +2 -2
- package/dist/runtime/api/apis/{IndexApi.mjs → IndexApi.js} +2 -2
- package/dist/runtime/api/apis/InformationApi.d.ts +2 -2
- package/dist/runtime/api/apis/{InformationApi.mjs → InformationApi.js} +2 -2
- package/dist/runtime/api/apis/JobsApi.d.ts +2 -2
- package/dist/runtime/api/apis/{JobsApi.mjs → JobsApi.js} +2 -2
- package/dist/runtime/api/apis/index.d.ts +11 -11
- package/dist/runtime/api/apis/index.js +11 -0
- package/dist/runtime/api/index.d.ts +3 -3
- package/dist/runtime/api/index.js +3 -0
- package/dist/runtime/api/models/BucketInformation.d.ts +1 -1
- package/dist/runtime/api/models/{BucketInformation.mjs → BucketInformation.js} +4 -8
- package/dist/runtime/api/models/CollectionStatus.d.ts +1 -1
- package/dist/runtime/api/models/{CollectionStatus.mjs → CollectionStatus.js} +13 -26
- package/dist/runtime/api/models/DatabaseInfo.d.ts +1 -1
- package/dist/runtime/api/models/{DatabaseInfo.mjs → DatabaseInfo.js} +5 -10
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
- package/dist/runtime/api/models/{DeleteResponse.mjs → DeleteResponse.js} +2 -4
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
- package/dist/runtime/api/models/{ErrorDescription.mjs → ErrorDescription.js} +3 -6
- package/dist/runtime/api/models/FileInformation.d.ts +1 -1
- package/dist/runtime/api/models/{FileInformation.mjs → FileInformation.js} +6 -12
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/{Grant.mjs → Grant.js} +5 -10
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +2 -2
- package/dist/runtime/api/models/{IndexCreateRequest.mjs → IndexCreateRequest.js} +2 -3
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
- package/dist/runtime/api/models/{IndexCreateResponse.mjs → IndexCreateResponse.js} +1 -2
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
- package/dist/runtime/api/models/{IndexDropResponse.mjs → IndexDropResponse.js} +1 -2
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
- package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
- package/dist/runtime/api/models/{InsertResponse.mjs → InsertResponse.js} +1 -2
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/{JobConfig.mjs → JobConfig.js} +6 -12
- package/dist/runtime/api/models/JobInformation.d.ts +1 -1
- package/dist/runtime/api/models/{JobInformation.mjs → JobInformation.js} +6 -12
- package/dist/runtime/api/models/JsonSchema.d.ts +2 -2
- package/dist/runtime/api/models/JsonSchema.js +34 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +1 -1
- package/dist/runtime/api/models/{JsonSchemaDefinition.mjs → JsonSchemaDefinition.js} +4 -8
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueAny.mjs → JsonValueAny.js} +1 -2
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueBoolean.mjs → JsonValueBoolean.js} +1 -2
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueString.mjs → JsonValueString.js} +1 -2
- package/dist/runtime/api/models/Login.d.ts +1 -1
- package/dist/runtime/api/models/{Login.mjs → Login.js} +2 -4
- package/dist/runtime/api/models/LoginResult.d.ts +2 -2
- package/dist/runtime/api/models/{LoginResult.mjs → LoginResult.js} +4 -7
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +2 -2
- package/dist/runtime/api/models/{MongoAggregateRequest.mjs → MongoAggregateRequest.js} +2 -3
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
- package/dist/runtime/api/models/{MongoCampConfiguration.mjs → MongoCampConfiguration.js} +5 -10
- package/dist/runtime/api/models/MongoFindRequest.d.ts +1 -1
- package/dist/runtime/api/models/{MongoFindRequest.mjs → MongoFindRequest.js} +3 -6
- package/dist/runtime/api/models/MongoIndex.d.ts +1 -1
- package/dist/runtime/api/models/{MongoIndex.mjs → MongoIndex.js} +11 -22
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/{PasswordUpdateRequest.mjs → PasswordUpdateRequest.js} +1 -2
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
- package/dist/runtime/api/models/{PipelineStage.mjs → PipelineStage.js} +2 -4
- package/dist/runtime/api/models/Role.d.ts +2 -2
- package/dist/runtime/api/models/{Role.mjs → Role.js} +3 -5
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +2 -2
- package/dist/runtime/api/models/{SchemaAnalysis.mjs → SchemaAnalysis.js} +4 -7
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +2 -2
- package/dist/runtime/api/models/{SchemaAnalysisField.mjs → SchemaAnalysisField.js} +5 -9
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
- package/dist/runtime/api/models/{SchemaAnalysisFieldType.mjs → SchemaAnalysisFieldType.js} +3 -6
- package/dist/runtime/api/models/SettingsResponse.d.ts +1 -1
- package/dist/runtime/api/models/{SettingsResponse.mjs → SettingsResponse.js} +1 -2
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +1 -1
- package/dist/runtime/api/models/UpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/{UpdateRequest.mjs → UpdateRequest.js} +2 -4
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
- package/dist/runtime/api/models/{UpdateResponse.mjs → UpdateResponse.js} +3 -6
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +2 -2
- package/dist/runtime/api/models/{UpdateRoleRequest.mjs → UpdateRoleRequest.js} +2 -3
- package/dist/runtime/api/models/UserInformation.d.ts +1 -1
- package/dist/runtime/api/models/{UserInformation.mjs → UserInformation.js} +2 -4
- package/dist/runtime/api/models/UserProfile.d.ts +2 -2
- package/dist/runtime/api/models/{UserProfile.mjs → UserProfile.js} +3 -5
- package/dist/runtime/api/models/Version.d.ts +1 -1
- package/dist/runtime/api/models/{Version.mjs → Version.js} +3 -6
- package/dist/runtime/api/models/index.d.ts +39 -39
- package/dist/runtime/api/models/index.js +39 -0
- package/dist/runtime/composables/mongocampApi.d.ts +1 -1
- package/dist/runtime/composables/{mongocampApi.mjs → mongocampApi.js} +3 -3
- package/dist/runtime/composables/mongocampAuth.d.ts +1 -1
- package/dist/runtime/composables/{mongocampAuth.mjs → mongocampAuth.js} +3 -3
- package/dist/runtime/composables/mongocampSearch.d.ts +1 -1
- package/dist/runtime/composables/{mongocampSearch.mjs → mongocampSearch.js} +1 -1
- package/dist/runtime/composables/mongocampStorage.d.ts +5 -0
- package/dist/runtime/composables/mongocampUser.d.ts +1 -1
- package/dist/types.d.mts +1 -16
- package/dist/types.d.ts +1 -16
- package/package.json +18 -18
- package/dist/runtime/api/apis/index.mjs +0 -11
- package/dist/runtime/api/index.mjs +0 -3
- package/dist/runtime/api/models/JsonSchema.mjs +0 -32
- package/dist/runtime/api/models/index.mjs +0 -39
- /package/dist/runtime/api/models/{IndexOptionsRequest.mjs → IndexOptionsRequest.js} +0 -0
- /package/dist/runtime/api/models/{UpdateFileInformationRequest.mjs → UpdateFileInformationRequest.js} +0 -0
- /package/dist/runtime/api/{runtime.mjs → runtime.js} +0 -0
- /package/dist/runtime/composables/{mongocampStorage.mjs → mongocampStorage.js} +0 -0
- /package/dist/runtime/composables/{mongocampUrl.mjs → mongocampUrl.js} +0 -0
- /package/dist/runtime/composables/{mongocampUser.mjs → mongocampUser.js} +0 -0
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SchemaAnalysisFieldTypeFromJSON,
|
|
3
3
|
SchemaAnalysisFieldTypeToJSON
|
|
4
|
-
} from "./SchemaAnalysisFieldType.
|
|
4
|
+
} from "./SchemaAnalysisFieldType.js";
|
|
5
5
|
export function instanceOfSchemaAnalysisField(value) {
|
|
6
|
-
if (!("name" in value))
|
|
7
|
-
|
|
8
|
-
if (!("
|
|
9
|
-
|
|
10
|
-
if (!("count" in value))
|
|
11
|
-
return false;
|
|
12
|
-
if (!("percentageOfParent" in value))
|
|
13
|
-
return false;
|
|
6
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
7
|
+
if (!("fullName" in value) || value["fullName"] === void 0) return false;
|
|
8
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
9
|
+
if (!("percentageOfParent" in value) || value["percentageOfParent"] === void 0) return false;
|
|
14
10
|
return true;
|
|
15
11
|
}
|
|
16
12
|
export function SchemaAnalysisFieldFromJSON(json) {
|
|
@@ -37,7 +37,7 @@ export interface SchemaAnalysisFieldType {
|
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the SchemaAnalysisFieldType interface.
|
|
39
39
|
*/
|
|
40
|
-
export declare function instanceOfSchemaAnalysisFieldType(value: object):
|
|
40
|
+
export declare function instanceOfSchemaAnalysisFieldType(value: object): value is SchemaAnalysisFieldType;
|
|
41
41
|
export declare function SchemaAnalysisFieldTypeFromJSON(json: any): SchemaAnalysisFieldType;
|
|
42
42
|
export declare function SchemaAnalysisFieldTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): SchemaAnalysisFieldType;
|
|
43
43
|
export declare function SchemaAnalysisFieldTypeToJSON(value?: SchemaAnalysisFieldType | null): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfSchemaAnalysisFieldType(value) {
|
|
2
|
-
if (!("fieldType" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("percentageOfParent" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("fieldType" in value) || value["fieldType"] === void 0) return false;
|
|
3
|
+
if (!("count" in value) || value["count"] === void 0) return false;
|
|
4
|
+
if (!("percentageOfParent" in value) || value["percentageOfParent"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function SchemaAnalysisFieldTypeFromJSON(json) {
|
|
@@ -45,7 +45,7 @@ export interface SettingsResponse {
|
|
|
45
45
|
/**
|
|
46
46
|
* Check if a given object implements the SettingsResponse interface.
|
|
47
47
|
*/
|
|
48
|
-
export declare function instanceOfSettingsResponse(value: object):
|
|
48
|
+
export declare function instanceOfSettingsResponse(value: object): value is SettingsResponse;
|
|
49
49
|
export declare function SettingsResponseFromJSON(json: any): SettingsResponse;
|
|
50
50
|
export declare function SettingsResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsResponse;
|
|
51
51
|
export declare function SettingsResponseToJSON(value?: SettingsResponse | null): any;
|
|
@@ -33,7 +33,7 @@ export interface UpdateFileInformationRequest {
|
|
|
33
33
|
/**
|
|
34
34
|
* Check if a given object implements the UpdateFileInformationRequest interface.
|
|
35
35
|
*/
|
|
36
|
-
export declare function instanceOfUpdateFileInformationRequest(value: object):
|
|
36
|
+
export declare function instanceOfUpdateFileInformationRequest(value: object): value is UpdateFileInformationRequest;
|
|
37
37
|
export declare function UpdateFileInformationRequestFromJSON(json: any): UpdateFileInformationRequest;
|
|
38
38
|
export declare function UpdateFileInformationRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateFileInformationRequest;
|
|
39
39
|
export declare function UpdateFileInformationRequestToJSON(value?: UpdateFileInformationRequest | null): any;
|
|
@@ -35,7 +35,7 @@ export interface UpdateRequest {
|
|
|
35
35
|
/**
|
|
36
36
|
* Check if a given object implements the UpdateRequest interface.
|
|
37
37
|
*/
|
|
38
|
-
export declare function instanceOfUpdateRequest(value: object):
|
|
38
|
+
export declare function instanceOfUpdateRequest(value: object): value is UpdateRequest;
|
|
39
39
|
export declare function UpdateRequestFromJSON(json: any): UpdateRequest;
|
|
40
40
|
export declare function UpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): UpdateRequest;
|
|
41
41
|
export declare function UpdateRequestToJSON(value?: UpdateRequest | null): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfUpdateRequest(value) {
|
|
2
|
-
if (!("document" in value))
|
|
3
|
-
|
|
4
|
-
if (!("filter" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("document" in value) || value["document"] === void 0) return false;
|
|
3
|
+
if (!("filter" in value) || value["filter"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function UpdateRequestFromJSON(json) {
|
|
@@ -43,7 +43,7 @@ export interface UpdateResponse {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the UpdateResponse interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfUpdateResponse(value: object):
|
|
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
49
|
export declare function UpdateResponseToJSON(value?: UpdateResponse | null): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfUpdateResponse(value) {
|
|
2
|
-
if (!("wasAcknowledged" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("matchedCount" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("wasAcknowledged" in value) || value["wasAcknowledged"] === void 0) return false;
|
|
3
|
+
if (!("modifiedCount" in value) || value["modifiedCount"] === void 0) return false;
|
|
4
|
+
if (!("matchedCount" in value) || value["matchedCount"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function UpdateResponseFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Grant } from './Grant';
|
|
12
|
+
import type { Grant } from './Grant.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -32,7 +32,7 @@ export interface UpdateRoleRequest {
|
|
|
32
32
|
/**
|
|
33
33
|
* Check if a given object implements the UpdateRoleRequest interface.
|
|
34
34
|
*/
|
|
35
|
-
export declare function instanceOfUpdateRoleRequest(value: object):
|
|
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
38
|
export declare function UpdateRoleRequestToJSON(value?: UpdateRoleRequest | null): any;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GrantFromJSON,
|
|
3
3
|
GrantToJSON
|
|
4
|
-
} from "./Grant.
|
|
4
|
+
} from "./Grant.js";
|
|
5
5
|
export function instanceOfUpdateRoleRequest(value) {
|
|
6
|
-
if (!("isAdmin" in value))
|
|
7
|
-
return false;
|
|
6
|
+
if (!("isAdmin" in value) || value["isAdmin"] === void 0) return false;
|
|
8
7
|
return true;
|
|
9
8
|
}
|
|
10
9
|
export function UpdateRoleRequestFromJSON(json) {
|
|
@@ -43,7 +43,7 @@ export interface UserInformation {
|
|
|
43
43
|
/**
|
|
44
44
|
* Check if a given object implements the UserInformation interface.
|
|
45
45
|
*/
|
|
46
|
-
export declare function instanceOfUserInformation(value: object):
|
|
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
49
|
export declare function UserInformationToJSON(value?: UserInformation | null): any;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
export function instanceOfUserInformation(value) {
|
|
2
|
-
if (!("userId" in value))
|
|
3
|
-
|
|
4
|
-
if (!("password" in value))
|
|
5
|
-
return false;
|
|
2
|
+
if (!("userId" in value) || value["userId"] === void 0) return false;
|
|
3
|
+
if (!("password" in value) || value["password"] === void 0) return false;
|
|
6
4
|
return true;
|
|
7
5
|
}
|
|
8
6
|
export function UserInformationFromJSON(json) {
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type { Grant } from './Grant';
|
|
12
|
+
import type { Grant } from './Grant.js';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -50,7 +50,7 @@ export interface UserProfile {
|
|
|
50
50
|
/**
|
|
51
51
|
* Check if a given object implements the UserProfile interface.
|
|
52
52
|
*/
|
|
53
|
-
export declare function instanceOfUserProfile(value: object):
|
|
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
56
|
export declare function UserProfileToJSON(value?: UserProfile | null): any;
|
|
@@ -1,12 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
GrantFromJSON,
|
|
3
3
|
GrantToJSON
|
|
4
|
-
} from "./Grant.
|
|
4
|
+
} from "./Grant.js";
|
|
5
5
|
export function instanceOfUserProfile(value) {
|
|
6
|
-
if (!("user" in value))
|
|
7
|
-
|
|
8
|
-
if (!("isAdmin" in value))
|
|
9
|
-
return false;
|
|
6
|
+
if (!("user" in value) || value["user"] === void 0) return false;
|
|
7
|
+
if (!("isAdmin" in value) || value["isAdmin"] === void 0) return false;
|
|
10
8
|
return true;
|
|
11
9
|
}
|
|
12
10
|
export function UserProfileFromJSON(json) {
|
|
@@ -37,7 +37,7 @@ export interface Version {
|
|
|
37
37
|
/**
|
|
38
38
|
* Check if a given object implements the Version interface.
|
|
39
39
|
*/
|
|
40
|
-
export declare function instanceOfVersion(value: object):
|
|
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
43
|
export declare function VersionToJSON(value?: Version | null): any;
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
export function instanceOfVersion(value) {
|
|
2
|
-
if (!("name" in value))
|
|
3
|
-
|
|
4
|
-
if (!("
|
|
5
|
-
return false;
|
|
6
|
-
if (!("builtAt" in value))
|
|
7
|
-
return false;
|
|
2
|
+
if (!("name" in value) || value["name"] === void 0) return false;
|
|
3
|
+
if (!("version" in value) || value["version"] === void 0) return false;
|
|
4
|
+
if (!("builtAt" in value) || value["builtAt"] === void 0) return false;
|
|
8
5
|
return true;
|
|
9
6
|
}
|
|
10
7
|
export function VersionFromJSON(json) {
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
export * from './BucketInformation';
|
|
2
|
-
export * from './CollectionStatus';
|
|
3
|
-
export * from './DatabaseInfo';
|
|
4
|
-
export * from './DeleteResponse';
|
|
5
|
-
export * from './ErrorDescription';
|
|
6
|
-
export * from './FileInformation';
|
|
7
|
-
export * from './Grant';
|
|
8
|
-
export * from './IndexCreateRequest';
|
|
9
|
-
export * from './IndexCreateResponse';
|
|
10
|
-
export * from './IndexDropResponse';
|
|
11
|
-
export * from './IndexOptionsRequest';
|
|
12
|
-
export * from './InsertResponse';
|
|
13
|
-
export * from './JobConfig';
|
|
14
|
-
export * from './JobInformation';
|
|
15
|
-
export * from './JsonSchema';
|
|
16
|
-
export * from './JsonSchemaDefinition';
|
|
17
|
-
export * from './JsonValueAny';
|
|
18
|
-
export * from './JsonValueBoolean';
|
|
19
|
-
export * from './JsonValueString';
|
|
20
|
-
export * from './Login';
|
|
21
|
-
export * from './LoginResult';
|
|
22
|
-
export * from './MongoAggregateRequest';
|
|
23
|
-
export * from './MongoCampConfiguration';
|
|
24
|
-
export * from './MongoFindRequest';
|
|
25
|
-
export * from './MongoIndex';
|
|
26
|
-
export * from './PasswordUpdateRequest';
|
|
27
|
-
export * from './PipelineStage';
|
|
28
|
-
export * from './Role';
|
|
29
|
-
export * from './SchemaAnalysis';
|
|
30
|
-
export * from './SchemaAnalysisField';
|
|
31
|
-
export * from './SchemaAnalysisFieldType';
|
|
32
|
-
export * from './SettingsResponse';
|
|
33
|
-
export * from './UpdateFileInformationRequest';
|
|
34
|
-
export * from './UpdateRequest';
|
|
35
|
-
export * from './UpdateResponse';
|
|
36
|
-
export * from './UpdateRoleRequest';
|
|
37
|
-
export * from './UserInformation';
|
|
38
|
-
export * from './UserProfile';
|
|
39
|
-
export * from './Version';
|
|
1
|
+
export * from './BucketInformation.js';
|
|
2
|
+
export * from './CollectionStatus.js';
|
|
3
|
+
export * from './DatabaseInfo.js';
|
|
4
|
+
export * from './DeleteResponse.js';
|
|
5
|
+
export * from './ErrorDescription.js';
|
|
6
|
+
export * from './FileInformation.js';
|
|
7
|
+
export * from './Grant.js';
|
|
8
|
+
export * from './IndexCreateRequest.js';
|
|
9
|
+
export * from './IndexCreateResponse.js';
|
|
10
|
+
export * from './IndexDropResponse.js';
|
|
11
|
+
export * from './IndexOptionsRequest.js';
|
|
12
|
+
export * from './InsertResponse.js';
|
|
13
|
+
export * from './JobConfig.js';
|
|
14
|
+
export * from './JobInformation.js';
|
|
15
|
+
export * from './JsonSchema.js';
|
|
16
|
+
export * from './JsonSchemaDefinition.js';
|
|
17
|
+
export * from './JsonValueAny.js';
|
|
18
|
+
export * from './JsonValueBoolean.js';
|
|
19
|
+
export * from './JsonValueString.js';
|
|
20
|
+
export * from './Login.js';
|
|
21
|
+
export * from './LoginResult.js';
|
|
22
|
+
export * from './MongoAggregateRequest.js';
|
|
23
|
+
export * from './MongoCampConfiguration.js';
|
|
24
|
+
export * from './MongoFindRequest.js';
|
|
25
|
+
export * from './MongoIndex.js';
|
|
26
|
+
export * from './PasswordUpdateRequest.js';
|
|
27
|
+
export * from './PipelineStage.js';
|
|
28
|
+
export * from './Role.js';
|
|
29
|
+
export * from './SchemaAnalysis.js';
|
|
30
|
+
export * from './SchemaAnalysisField.js';
|
|
31
|
+
export * from './SchemaAnalysisFieldType.js';
|
|
32
|
+
export * from './SettingsResponse.js';
|
|
33
|
+
export * from './UpdateFileInformationRequest.js';
|
|
34
|
+
export * from './UpdateRequest.js';
|
|
35
|
+
export * from './UpdateResponse.js';
|
|
36
|
+
export * from './UpdateRoleRequest.js';
|
|
37
|
+
export * from './UserInformation.js';
|
|
38
|
+
export * from './UserProfile.js';
|
|
39
|
+
export * from './Version.js';
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export * from "./BucketInformation.js";
|
|
2
|
+
export * from "./CollectionStatus.js";
|
|
3
|
+
export * from "./DatabaseInfo.js";
|
|
4
|
+
export * from "./DeleteResponse.js";
|
|
5
|
+
export * from "./ErrorDescription.js";
|
|
6
|
+
export * from "./FileInformation.js";
|
|
7
|
+
export * from "./Grant.js";
|
|
8
|
+
export * from "./IndexCreateRequest.js";
|
|
9
|
+
export * from "./IndexCreateResponse.js";
|
|
10
|
+
export * from "./IndexDropResponse.js";
|
|
11
|
+
export * from "./IndexOptionsRequest.js";
|
|
12
|
+
export * from "./InsertResponse.js";
|
|
13
|
+
export * from "./JobConfig.js";
|
|
14
|
+
export * from "./JobInformation.js";
|
|
15
|
+
export * from "./JsonSchema.js";
|
|
16
|
+
export * from "./JsonSchemaDefinition.js";
|
|
17
|
+
export * from "./JsonValueAny.js";
|
|
18
|
+
export * from "./JsonValueBoolean.js";
|
|
19
|
+
export * from "./JsonValueString.js";
|
|
20
|
+
export * from "./Login.js";
|
|
21
|
+
export * from "./LoginResult.js";
|
|
22
|
+
export * from "./MongoAggregateRequest.js";
|
|
23
|
+
export * from "./MongoCampConfiguration.js";
|
|
24
|
+
export * from "./MongoFindRequest.js";
|
|
25
|
+
export * from "./MongoIndex.js";
|
|
26
|
+
export * from "./PasswordUpdateRequest.js";
|
|
27
|
+
export * from "./PipelineStage.js";
|
|
28
|
+
export * from "./Role.js";
|
|
29
|
+
export * from "./SchemaAnalysis.js";
|
|
30
|
+
export * from "./SchemaAnalysisField.js";
|
|
31
|
+
export * from "./SchemaAnalysisFieldType.js";
|
|
32
|
+
export * from "./SettingsResponse.js";
|
|
33
|
+
export * from "./UpdateFileInformationRequest.js";
|
|
34
|
+
export * from "./UpdateRequest.js";
|
|
35
|
+
export * from "./UpdateResponse.js";
|
|
36
|
+
export * from "./UpdateRoleRequest.js";
|
|
37
|
+
export * from "./UserInformation.js";
|
|
38
|
+
export * from "./UserProfile.js";
|
|
39
|
+
export * from "./Version.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi, InformationApi, JobsApi } from '../api';
|
|
1
|
+
import { AdminApi, ApplicationApi, AuthApi, BucketApi, CollectionApi, DatabaseApi, DocumentApi, FileApi, IndexApi, InformationApi, JobsApi } from '../api.js';
|
|
2
2
|
export declare function useMongocampApi(): {
|
|
3
3
|
adminApi: AdminApi;
|
|
4
4
|
applicationApi: ApplicationApi;
|
|
@@ -11,9 +11,9 @@ import {
|
|
|
11
11
|
IndexApi,
|
|
12
12
|
InformationApi,
|
|
13
13
|
JobsApi
|
|
14
|
-
} from "../api/index.
|
|
15
|
-
import { useMongocampUrl } from "./mongocampUrl.
|
|
16
|
-
import { useMongocampStorage } from "./mongocampStorage.
|
|
14
|
+
} from "../api/index.js";
|
|
15
|
+
import { useMongocampUrl } from "./mongocampUrl.js";
|
|
16
|
+
import { useMongocampStorage } from "./mongocampStorage.js";
|
|
17
17
|
export function useMongocampApi() {
|
|
18
18
|
const url = useMongocampUrl();
|
|
19
19
|
const token = useMongocampStorage();
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { computed } from "vue";
|
|
2
2
|
import { consola } from "consola";
|
|
3
|
-
import { useMongocampApi } from "./mongocampApi.
|
|
4
|
-
import { useMongocampStorage } from "./mongocampStorage.
|
|
5
|
-
import { useMongocampUser } from "./mongocampUser.
|
|
3
|
+
import { useMongocampApi } from "./mongocampApi.js";
|
|
4
|
+
import { useMongocampStorage } from "./mongocampStorage.js";
|
|
5
|
+
import { useMongocampUser } from "./mongocampUser.js";
|
|
6
6
|
import { useRuntimeConfig } from "#app";
|
|
7
7
|
export function useMongocampAuth() {
|
|
8
8
|
const config = useRuntimeConfig();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { FindRequest, MongoFindRequest } from '../api';
|
|
1
|
+
import type { FindRequest, MongoFindRequest } from '../api.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,5 +1,5 @@
|
|
|
1
|
+
import { useMongocampApi } from "./mongocampApi.js";
|
|
1
2
|
import { useRuntimeConfig } from "#app";
|
|
2
|
-
import { useMongocampApi } from "./mongocampApi.mjs";
|
|
3
3
|
export function useMongocampSearch() {
|
|
4
4
|
const { documentApi } = useMongocampApi();
|
|
5
5
|
const config = useRuntimeConfig();
|
package/dist/types.d.mts
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ModuleOptions } from './module.js'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
|
-
interface NuxtConfig { ['mongocamp']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['mongocamp']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['mongocamp']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['mongocamp']?: ModuleOptions }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export type { ModuleOptions, default } from './module.js'
|
|
1
|
+
export { type ModuleOptions, default } from './module.js'
|
package/dist/types.d.ts
CHANGED
|
@@ -1,16 +1 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ModuleOptions } from './module'
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
declare module '@nuxt/schema' {
|
|
6
|
-
interface NuxtConfig { ['mongocamp']?: Partial<ModuleOptions> }
|
|
7
|
-
interface NuxtOptions { ['mongocamp']?: ModuleOptions }
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
declare module 'nuxt/schema' {
|
|
11
|
-
interface NuxtConfig { ['mongocamp']?: Partial<ModuleOptions> }
|
|
12
|
-
interface NuxtOptions { ['mongocamp']?: ModuleOptions }
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
export type { ModuleOptions, default } from './module'
|
|
1
|
+
export { type ModuleOptions, default } from './module'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/nuxt-mongocamp-server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
"dev": "nuxi dev playground",
|
|
23
23
|
"dev:build": "nuxi build playground",
|
|
24
24
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
25
|
-
"release": "npm run lint && npm run test && npm run prepack && changelogen --release && npm publish --access public && git push --follow-tags",
|
|
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
27
|
"test": "vitest run",
|
|
28
28
|
"test:watch": "vitest watch",
|
|
@@ -32,24 +32,24 @@
|
|
|
32
32
|
"api-codegen": "openapi-generator-cli generate -i ./openapi/docs.yaml -g typescript-fetch -o src/runtime/api --additional-properties=typescriptThreePlus=true,supportsES6=true"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@nuxt/kit": "^3.
|
|
36
|
-
"@vueuse/nuxt": "^10.
|
|
35
|
+
"@nuxt/kit": "^3.12.4",
|
|
36
|
+
"@vueuse/nuxt": "^10.11.0"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@iconify-json/bx": "^1.1.10",
|
|
40
|
-
"@nuxt/devtools": "^1.
|
|
41
|
-
"@nuxt/eslint-config": "^0.
|
|
42
|
-
"@nuxt/module-builder": "^0.
|
|
43
|
-
"@nuxt/schema": "^3.
|
|
44
|
-
"@nuxt/test-utils": "^3.
|
|
45
|
-
"@
|
|
46
|
-
"@
|
|
40
|
+
"@nuxt/devtools": "^1.3.9",
|
|
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",
|
|
47
|
+
"@unocss/nuxt": "^0.61.9",
|
|
47
48
|
"changelogen": "^0.5.5",
|
|
48
|
-
"eslint": "^8.
|
|
49
|
-
"nuxt": "^3.
|
|
50
|
-
"nuxt-primevue": "^0.
|
|
51
|
-
"primeicons": "^
|
|
52
|
-
"vitest": "^
|
|
53
|
-
"@openapitools/openapi-generator-cli": "^2.9.0"
|
|
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"
|
|
54
54
|
}
|
|
55
|
-
}
|
|
55
|
+
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export * from "./AdminApi.mjs";
|
|
2
|
-
export * from "./ApplicationApi.mjs";
|
|
3
|
-
export * from "./AuthApi.mjs";
|
|
4
|
-
export * from "./BucketApi.mjs";
|
|
5
|
-
export * from "./CollectionApi.mjs";
|
|
6
|
-
export * from "./DatabaseApi.mjs";
|
|
7
|
-
export * from "./DocumentApi.mjs";
|
|
8
|
-
export * from "./FileApi.mjs";
|
|
9
|
-
export * from "./IndexApi.mjs";
|
|
10
|
-
export * from "./InformationApi.mjs";
|
|
11
|
-
export * from "./JobsApi.mjs";
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export function instanceOfJsonSchema(value) {
|
|
2
|
-
if (!("$schema" in value))
|
|
3
|
-
return false;
|
|
4
|
-
if (!("$ref" in value))
|
|
5
|
-
return false;
|
|
6
|
-
if (!("definitions" in value))
|
|
7
|
-
return false;
|
|
8
|
-
return true;
|
|
9
|
-
}
|
|
10
|
-
export function JsonSchemaFromJSON(json) {
|
|
11
|
-
return JsonSchemaFromJSONTyped(json, false);
|
|
12
|
-
}
|
|
13
|
-
export function JsonSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
14
|
-
if (json == null) {
|
|
15
|
-
return json;
|
|
16
|
-
}
|
|
17
|
-
return {
|
|
18
|
-
"$schema": json["$schema"],
|
|
19
|
-
"$ref": json["$ref"],
|
|
20
|
-
"definitions": json["definitions"]
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export function JsonSchemaToJSON(value) {
|
|
24
|
-
if (value == null) {
|
|
25
|
-
return value;
|
|
26
|
-
}
|
|
27
|
-
return {
|
|
28
|
-
"$schema": value["$schema"],
|
|
29
|
-
"$ref": value["$ref"],
|
|
30
|
-
"definitions": value["definitions"]
|
|
31
|
-
};
|
|
32
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export * from "./BucketInformation.mjs";
|
|
2
|
-
export * from "./CollectionStatus.mjs";
|
|
3
|
-
export * from "./DatabaseInfo.mjs";
|
|
4
|
-
export * from "./DeleteResponse.mjs";
|
|
5
|
-
export * from "./ErrorDescription.mjs";
|
|
6
|
-
export * from "./FileInformation.mjs";
|
|
7
|
-
export * from "./Grant.mjs";
|
|
8
|
-
export * from "./IndexCreateRequest.mjs";
|
|
9
|
-
export * from "./IndexCreateResponse.mjs";
|
|
10
|
-
export * from "./IndexDropResponse.mjs";
|
|
11
|
-
export * from "./IndexOptionsRequest.mjs";
|
|
12
|
-
export * from "./InsertResponse.mjs";
|
|
13
|
-
export * from "./JobConfig.mjs";
|
|
14
|
-
export * from "./JobInformation.mjs";
|
|
15
|
-
export * from "./JsonSchema.mjs";
|
|
16
|
-
export * from "./JsonSchemaDefinition.mjs";
|
|
17
|
-
export * from "./JsonValueAny.mjs";
|
|
18
|
-
export * from "./JsonValueBoolean.mjs";
|
|
19
|
-
export * from "./JsonValueString.mjs";
|
|
20
|
-
export * from "./Login.mjs";
|
|
21
|
-
export * from "./LoginResult.mjs";
|
|
22
|
-
export * from "./MongoAggregateRequest.mjs";
|
|
23
|
-
export * from "./MongoCampConfiguration.mjs";
|
|
24
|
-
export * from "./MongoFindRequest.mjs";
|
|
25
|
-
export * from "./MongoIndex.mjs";
|
|
26
|
-
export * from "./PasswordUpdateRequest.mjs";
|
|
27
|
-
export * from "./PipelineStage.mjs";
|
|
28
|
-
export * from "./Role.mjs";
|
|
29
|
-
export * from "./SchemaAnalysis.mjs";
|
|
30
|
-
export * from "./SchemaAnalysisField.mjs";
|
|
31
|
-
export * from "./SchemaAnalysisFieldType.mjs";
|
|
32
|
-
export * from "./SettingsResponse.mjs";
|
|
33
|
-
export * from "./UpdateFileInformationRequest.mjs";
|
|
34
|
-
export * from "./UpdateRequest.mjs";
|
|
35
|
-
export * from "./UpdateResponse.mjs";
|
|
36
|
-
export * from "./UpdateRoleRequest.mjs";
|
|
37
|
-
export * from "./UserInformation.mjs";
|
|
38
|
-
export * from "./UserProfile.mjs";
|
|
39
|
-
export * from "./Version.mjs";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|