@sfxcode/nuxt-mongocamp-server 1.2.0 → 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} +101 -65
- package/dist/runtime/api/apis/ApplicationApi.d.ts +2 -2
- package/dist/runtime/api/apis/{ApplicationApi.mjs → ApplicationApi.js} +24 -15
- package/dist/runtime/api/apis/AuthApi.d.ts +2 -2
- package/dist/runtime/api/apis/{AuthApi.mjs → AuthApi.js} +21 -15
- package/dist/runtime/api/apis/BucketApi.d.ts +2 -2
- package/dist/runtime/api/apis/{BucketApi.mjs → BucketApi.js} +24 -15
- package/dist/runtime/api/apis/CollectionApi.d.ts +2 -2
- package/dist/runtime/api/apis/{CollectionApi.mjs → CollectionApi.js} +99 -66
- package/dist/runtime/api/apis/DatabaseApi.d.ts +2 -2
- package/dist/runtime/api/apis/{DatabaseApi.mjs → DatabaseApi.js} +25 -16
- package/dist/runtime/api/apis/DocumentApi.d.ts +6 -6
- package/dist/runtime/api/apis/{DocumentApi.mjs → DocumentApi.js} +153 -93
- package/dist/runtime/api/apis/FileApi.d.ts +2 -2
- package/dist/runtime/api/apis/{FileApi.mjs → FileApi.js} +121 -76
- package/dist/runtime/api/apis/IndexApi.d.ts +2 -2
- package/dist/runtime/api/apis/{IndexApi.mjs → IndexApi.js} +119 -71
- 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} +53 -29
- 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.js +32 -0
- package/dist/runtime/api/models/CollectionStatus.d.ts +3 -3
- package/dist/runtime/api/models/CollectionStatus.js +59 -0
- package/dist/runtime/api/models/DatabaseInfo.d.ts +2 -2
- package/dist/runtime/api/models/DatabaseInfo.js +35 -0
- package/dist/runtime/api/models/DeleteResponse.d.ts +1 -1
- package/dist/runtime/api/models/{DeleteResponse.mjs → DeleteResponse.js} +8 -12
- package/dist/runtime/api/models/ErrorDescription.d.ts +1 -1
- package/dist/runtime/api/models/{ErrorDescription.mjs → ErrorDescription.js} +10 -14
- package/dist/runtime/api/models/FileInformation.d.ts +2 -2
- package/dist/runtime/api/models/FileInformation.js +38 -0
- package/dist/runtime/api/models/Grant.d.ts +1 -1
- package/dist/runtime/api/models/Grant.js +35 -0
- package/dist/runtime/api/models/IndexCreateRequest.d.ts +3 -3
- package/dist/runtime/api/models/IndexCreateRequest.js +29 -0
- package/dist/runtime/api/models/IndexCreateResponse.d.ts +1 -1
- package/dist/runtime/api/models/{IndexCreateResponse.mjs → IndexCreateResponse.js} +6 -10
- package/dist/runtime/api/models/IndexDropResponse.d.ts +1 -1
- package/dist/runtime/api/models/{IndexDropResponse.mjs → IndexDropResponse.js} +6 -10
- package/dist/runtime/api/models/IndexOptionsRequest.d.ts +1 -1
- package/dist/runtime/api/models/IndexOptionsRequest.js +36 -0
- package/dist/runtime/api/models/InsertResponse.d.ts +1 -1
- package/dist/runtime/api/models/InsertResponse.js +25 -0
- package/dist/runtime/api/models/JobConfig.d.ts +1 -1
- package/dist/runtime/api/models/JobConfig.js +38 -0
- package/dist/runtime/api/models/JobInformation.d.ts +1 -1
- package/dist/runtime/api/models/JobInformation.js +44 -0
- package/dist/runtime/api/models/JsonSchema.d.ts +3 -3
- package/dist/runtime/api/models/JsonSchema.js +34 -0
- package/dist/runtime/api/models/JsonSchemaDefinition.d.ts +2 -2
- package/dist/runtime/api/models/JsonSchemaDefinition.js +34 -0
- package/dist/runtime/api/models/JsonValueAny.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueAny.mjs → JsonValueAny.js} +6 -10
- package/dist/runtime/api/models/JsonValueBoolean.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueBoolean.mjs → JsonValueBoolean.js} +6 -10
- package/dist/runtime/api/models/JsonValueString.d.ts +1 -1
- package/dist/runtime/api/models/{JsonValueString.mjs → JsonValueString.js} +6 -10
- package/dist/runtime/api/models/Login.d.ts +1 -1
- package/dist/runtime/api/models/{Login.mjs → Login.js} +8 -12
- package/dist/runtime/api/models/LoginResult.d.ts +2 -2
- package/dist/runtime/api/models/{LoginResult.mjs → LoginResult.js} +11 -15
- package/dist/runtime/api/models/MongoAggregateRequest.d.ts +2 -2
- package/dist/runtime/api/models/MongoAggregateRequest.js +29 -0
- package/dist/runtime/api/models/MongoCampConfiguration.d.ts +1 -1
- package/dist/runtime/api/models/MongoCampConfiguration.js +35 -0
- package/dist/runtime/api/models/MongoFindRequest.d.ts +4 -4
- package/dist/runtime/api/models/{MongoFindRequest.mjs → MongoFindRequest.js} +10 -14
- package/dist/runtime/api/models/MongoIndex.d.ts +4 -4
- package/dist/runtime/api/models/MongoIndex.js +55 -0
- package/dist/runtime/api/models/PasswordUpdateRequest.d.ts +1 -1
- package/dist/runtime/api/models/{PasswordUpdateRequest.mjs → PasswordUpdateRequest.js} +6 -10
- package/dist/runtime/api/models/PipelineStage.d.ts +1 -1
- package/dist/runtime/api/models/{PipelineStage.mjs → PipelineStage.js} +8 -12
- package/dist/runtime/api/models/Role.d.ts +2 -2
- package/dist/runtime/api/models/Role.js +32 -0
- package/dist/runtime/api/models/SchemaAnalysis.d.ts +2 -2
- package/dist/runtime/api/models/SchemaAnalysis.js +35 -0
- package/dist/runtime/api/models/SchemaAnalysisField.d.ts +2 -2
- package/dist/runtime/api/models/SchemaAnalysisField.js +40 -0
- package/dist/runtime/api/models/SchemaAnalysisFieldType.d.ts +1 -1
- package/dist/runtime/api/models/{SchemaAnalysisFieldType.mjs → SchemaAnalysisFieldType.js} +10 -14
- package/dist/runtime/api/models/SettingsResponse.d.ts +2 -2
- package/dist/runtime/api/models/SettingsResponse.js +29 -0
- package/dist/runtime/api/models/UpdateFileInformationRequest.d.ts +2 -2
- package/dist/runtime/api/models/UpdateFileInformationRequest.js +24 -0
- package/dist/runtime/api/models/UpdateRequest.d.ts +3 -3
- package/dist/runtime/api/models/{UpdateRequest.mjs → UpdateRequest.js} +8 -12
- package/dist/runtime/api/models/UpdateResponse.d.ts +1 -1
- package/dist/runtime/api/models/UpdateResponse.js +31 -0
- package/dist/runtime/api/models/UpdateRoleRequest.d.ts +2 -2
- package/dist/runtime/api/models/UpdateRoleRequest.js +29 -0
- package/dist/runtime/api/models/UserInformation.d.ts +1 -1
- package/dist/runtime/api/models/UserInformation.js +30 -0
- package/dist/runtime/api/models/UserProfile.d.ts +2 -2
- package/dist/runtime/api/models/UserProfile.js +36 -0
- package/dist/runtime/api/models/Version.d.ts +1 -1
- package/dist/runtime/api/models/Version.js +29 -0
- package/dist/runtime/api/models/index.d.ts +39 -39
- package/dist/runtime/api/models/index.js +39 -0
- package/dist/runtime/api/runtime.d.ts +2 -3
- package/dist/runtime/api/{runtime.mjs → runtime.js} +0 -4
- 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 -17
- package/dist/runtime/api/apis/index.mjs +0 -11
- package/dist/runtime/api/index.mjs +0 -3
- package/dist/runtime/api/models/BucketInformation.mjs +0 -36
- package/dist/runtime/api/models/CollectionStatus.mjs +0 -63
- package/dist/runtime/api/models/DatabaseInfo.mjs +0 -39
- package/dist/runtime/api/models/FileInformation.mjs +0 -42
- package/dist/runtime/api/models/Grant.mjs +0 -39
- package/dist/runtime/api/models/IndexCreateRequest.mjs +0 -34
- package/dist/runtime/api/models/IndexOptionsRequest.mjs +0 -41
- package/dist/runtime/api/models/InsertResponse.mjs +0 -30
- package/dist/runtime/api/models/JobConfig.mjs +0 -42
- package/dist/runtime/api/models/JobInformation.mjs +0 -49
- package/dist/runtime/api/models/JsonSchema.mjs +0 -38
- package/dist/runtime/api/models/JsonSchemaDefinition.mjs +0 -39
- package/dist/runtime/api/models/MongoAggregateRequest.mjs +0 -34
- package/dist/runtime/api/models/MongoCampConfiguration.mjs +0 -39
- package/dist/runtime/api/models/MongoIndex.mjs +0 -60
- package/dist/runtime/api/models/Role.mjs +0 -37
- package/dist/runtime/api/models/SchemaAnalysis.mjs +0 -40
- package/dist/runtime/api/models/SchemaAnalysisField.mjs +0 -45
- package/dist/runtime/api/models/SettingsResponse.mjs +0 -34
- package/dist/runtime/api/models/UpdateFileInformationRequest.mjs +0 -29
- package/dist/runtime/api/models/UpdateResponse.mjs +0 -36
- package/dist/runtime/api/models/UpdateRoleRequest.mjs +0 -34
- package/dist/runtime/api/models/UserInformation.mjs +0 -35
- package/dist/runtime/api/models/UserProfile.mjs +0 -41
- package/dist/runtime/api/models/Version.mjs +0 -33
- package/dist/runtime/api/models/index.mjs +0 -39
- /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,34 +0,0 @@
|
|
|
1
|
-
import { exists } from "../runtime.mjs";
|
|
2
|
-
import {
|
|
3
|
-
GrantFromJSON,
|
|
4
|
-
GrantToJSON
|
|
5
|
-
} from "./Grant.mjs";
|
|
6
|
-
export function instanceOfUpdateRoleRequest(value) {
|
|
7
|
-
let isInstance = true;
|
|
8
|
-
isInstance = isInstance && "isAdmin" in value;
|
|
9
|
-
return isInstance;
|
|
10
|
-
}
|
|
11
|
-
export function UpdateRoleRequestFromJSON(json) {
|
|
12
|
-
return UpdateRoleRequestFromJSONTyped(json, false);
|
|
13
|
-
}
|
|
14
|
-
export function UpdateRoleRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
15
|
-
if (json === void 0 || json === null) {
|
|
16
|
-
return json;
|
|
17
|
-
}
|
|
18
|
-
return {
|
|
19
|
-
"isAdmin": json["isAdmin"],
|
|
20
|
-
"collectionGrants": !exists(json, "collectionGrants") ? void 0 : json["collectionGrants"].map(GrantFromJSON)
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export function UpdateRoleRequestToJSON(value) {
|
|
24
|
-
if (value === void 0) {
|
|
25
|
-
return void 0;
|
|
26
|
-
}
|
|
27
|
-
if (value === null) {
|
|
28
|
-
return null;
|
|
29
|
-
}
|
|
30
|
-
return {
|
|
31
|
-
"isAdmin": value.isAdmin,
|
|
32
|
-
"collectionGrants": value.collectionGrants === void 0 ? void 0 : value.collectionGrants.map(GrantToJSON)
|
|
33
|
-
};
|
|
34
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { exists } from "../runtime.mjs";
|
|
2
|
-
export function instanceOfUserInformation(value) {
|
|
3
|
-
let isInstance = true;
|
|
4
|
-
isInstance = isInstance && "userId" in value;
|
|
5
|
-
isInstance = isInstance && "password" in value;
|
|
6
|
-
return isInstance;
|
|
7
|
-
}
|
|
8
|
-
export function UserInformationFromJSON(json) {
|
|
9
|
-
return UserInformationFromJSONTyped(json, false);
|
|
10
|
-
}
|
|
11
|
-
export function UserInformationFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
-
if (json === void 0 || json === null) {
|
|
13
|
-
return json;
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
"userId": json["userId"],
|
|
17
|
-
"password": json["password"],
|
|
18
|
-
"apiKey": !exists(json, "apiKey") ? void 0 : json["apiKey"],
|
|
19
|
-
"roles": !exists(json, "roles") ? void 0 : json["roles"]
|
|
20
|
-
};
|
|
21
|
-
}
|
|
22
|
-
export function UserInformationToJSON(value) {
|
|
23
|
-
if (value === void 0) {
|
|
24
|
-
return void 0;
|
|
25
|
-
}
|
|
26
|
-
if (value === null) {
|
|
27
|
-
return null;
|
|
28
|
-
}
|
|
29
|
-
return {
|
|
30
|
-
"userId": value.userId,
|
|
31
|
-
"password": value.password,
|
|
32
|
-
"apiKey": value.apiKey,
|
|
33
|
-
"roles": value.roles
|
|
34
|
-
};
|
|
35
|
-
}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { exists } from "../runtime.mjs";
|
|
2
|
-
import {
|
|
3
|
-
GrantFromJSON,
|
|
4
|
-
GrantToJSON
|
|
5
|
-
} from "./Grant.mjs";
|
|
6
|
-
export function instanceOfUserProfile(value) {
|
|
7
|
-
let isInstance = true;
|
|
8
|
-
isInstance = isInstance && "user" in value;
|
|
9
|
-
isInstance = isInstance && "isAdmin" in value;
|
|
10
|
-
return isInstance;
|
|
11
|
-
}
|
|
12
|
-
export function UserProfileFromJSON(json) {
|
|
13
|
-
return UserProfileFromJSONTyped(json, false);
|
|
14
|
-
}
|
|
15
|
-
export function UserProfileFromJSONTyped(json, ignoreDiscriminator) {
|
|
16
|
-
if (json === void 0 || json === null) {
|
|
17
|
-
return json;
|
|
18
|
-
}
|
|
19
|
-
return {
|
|
20
|
-
"user": json["user"],
|
|
21
|
-
"isAdmin": json["isAdmin"],
|
|
22
|
-
"apiKey": !exists(json, "apiKey") ? void 0 : json["apiKey"],
|
|
23
|
-
"roles": !exists(json, "roles") ? void 0 : json["roles"],
|
|
24
|
-
"grants": !exists(json, "grants") ? void 0 : json["grants"].map(GrantFromJSON)
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export function UserProfileToJSON(value) {
|
|
28
|
-
if (value === void 0) {
|
|
29
|
-
return void 0;
|
|
30
|
-
}
|
|
31
|
-
if (value === null) {
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
"user": value.user,
|
|
36
|
-
"isAdmin": value.isAdmin,
|
|
37
|
-
"apiKey": value.apiKey,
|
|
38
|
-
"roles": value.roles,
|
|
39
|
-
"grants": value.grants === void 0 ? void 0 : value.grants.map(GrantToJSON)
|
|
40
|
-
};
|
|
41
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
export function instanceOfVersion(value) {
|
|
2
|
-
let isInstance = true;
|
|
3
|
-
isInstance = isInstance && "name" in value;
|
|
4
|
-
isInstance = isInstance && "version" in value;
|
|
5
|
-
isInstance = isInstance && "builtAt" in value;
|
|
6
|
-
return isInstance;
|
|
7
|
-
}
|
|
8
|
-
export function VersionFromJSON(json) {
|
|
9
|
-
return VersionFromJSONTyped(json, false);
|
|
10
|
-
}
|
|
11
|
-
export function VersionFromJSONTyped(json, ignoreDiscriminator) {
|
|
12
|
-
if (json === void 0 || json === null) {
|
|
13
|
-
return json;
|
|
14
|
-
}
|
|
15
|
-
return {
|
|
16
|
-
"name": json["name"],
|
|
17
|
-
"version": json["version"],
|
|
18
|
-
"builtAt": new Date(json["builtAt"])
|
|
19
|
-
};
|
|
20
|
-
}
|
|
21
|
-
export function VersionToJSON(value) {
|
|
22
|
-
if (value === void 0) {
|
|
23
|
-
return void 0;
|
|
24
|
-
}
|
|
25
|
-
if (value === null) {
|
|
26
|
-
return null;
|
|
27
|
-
}
|
|
28
|
-
return {
|
|
29
|
-
"name": value.name,
|
|
30
|
-
"version": value.version,
|
|
31
|
-
"builtAt": value.builtAt.toISOString()
|
|
32
|
-
};
|
|
33
|
-
}
|
|
@@ -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
|