@sfxcode/nuxt-mongocamp-server 1.2.8 → 1.3.0
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/dist/module.d.mts +1 -0
- package/dist/module.json +3 -3
- package/dist/module.mjs +4 -3
- package/dist/runtime/api/.openapi-generator/FILES +50 -0
- package/dist/runtime/api/.openapi-generator/VERSION +1 -1
- package/dist/runtime/api/apis/AdminApi.js +32 -12
- package/dist/runtime/api/apis/ApplicationApi.js +12 -5
- package/dist/runtime/api/apis/AuthApi.js +16 -8
- package/dist/runtime/api/apis/BucketApi.js +11 -4
- package/dist/runtime/api/apis/CollectionApi.js +30 -10
- package/dist/runtime/api/apis/DatabaseApi.js +13 -5
- package/dist/runtime/api/apis/DocumentApi.js +34 -10
- package/dist/runtime/api/apis/FileApi.js +25 -7
- package/dist/runtime/api/apis/IndexApi.js +31 -8
- package/dist/runtime/api/apis/InformationApi.js +2 -1
- package/dist/runtime/api/apis/JobsApi.js +18 -6
- package/dist/runtime/api/docs/AdminApi.md +972 -0
- package/dist/runtime/api/docs/ApplicationApi.md +387 -0
- package/dist/runtime/api/docs/AuthApi.md +577 -0
- package/dist/runtime/api/docs/BucketApi.md +312 -0
- package/dist/runtime/api/docs/BucketInformation.md +40 -0
- package/dist/runtime/api/docs/CollectionApi.md +822 -0
- package/dist/runtime/api/docs/CollectionStatus.md +58 -0
- package/dist/runtime/api/docs/DatabaseApi.md +382 -0
- package/dist/runtime/api/docs/DatabaseInfo.md +42 -0
- package/dist/runtime/api/docs/DeleteResponse.md +36 -0
- package/dist/runtime/api/docs/DocumentApi.md +850 -0
- package/dist/runtime/api/docs/ErrorDescription.md +38 -0
- package/dist/runtime/api/docs/FileApi.md +606 -0
- package/dist/runtime/api/docs/FileInformation.md +44 -0
- package/dist/runtime/api/docs/Grant.md +42 -0
- package/dist/runtime/api/docs/IndexApi.md +682 -0
- package/dist/runtime/api/docs/IndexCreateRequest.md +36 -0
- package/dist/runtime/api/docs/IndexCreateResponse.md +34 -0
- package/dist/runtime/api/docs/IndexDropResponse.md +34 -0
- package/dist/runtime/api/docs/IndexOptionsRequest.md +48 -0
- package/dist/runtime/api/docs/InformationApi.md +69 -0
- package/dist/runtime/api/docs/InsertResponse.md +36 -0
- package/dist/runtime/api/docs/JobConfig.md +44 -0
- package/dist/runtime/api/docs/JobInformation.md +50 -0
- package/dist/runtime/api/docs/JobsApi.md +474 -0
- package/dist/runtime/api/docs/JsonSchema.md +38 -0
- package/dist/runtime/api/docs/JsonSchemaDefinition.md +42 -0
- package/dist/runtime/api/docs/JsonValueAny.md +34 -0
- package/dist/runtime/api/docs/JsonValueBoolean.md +34 -0
- package/dist/runtime/api/docs/JsonValueString.md +34 -0
- package/dist/runtime/api/docs/Login.md +36 -0
- package/dist/runtime/api/docs/LoginResult.md +38 -0
- package/dist/runtime/api/docs/MongoAggregateRequest.md +36 -0
- package/dist/runtime/api/docs/MongoCampConfiguration.md +42 -0
- package/dist/runtime/api/docs/MongoFindRequest.md +38 -0
- package/dist/runtime/api/docs/MongoIndex.md +56 -0
- package/dist/runtime/api/docs/PasswordUpdateRequest.md +34 -0
- package/dist/runtime/api/docs/PipelineStage.md +36 -0
- package/dist/runtime/api/docs/Role.md +38 -0
- package/dist/runtime/api/docs/SchemaAnalysis.md +40 -0
- package/dist/runtime/api/docs/SchemaAnalysisField.md +44 -0
- package/dist/runtime/api/docs/SchemaAnalysisFieldType.md +38 -0
- package/dist/runtime/api/docs/SettingsResponse.md +40 -0
- package/dist/runtime/api/docs/UpdateFileInformationRequest.md +36 -0
- package/dist/runtime/api/docs/UpdateRequest.md +36 -0
- package/dist/runtime/api/docs/UpdateResponse.md +40 -0
- package/dist/runtime/api/docs/UpdateRoleRequest.md +36 -0
- package/dist/runtime/api/docs/UserInformation.md +40 -0
- package/dist/runtime/api/docs/UserProfile.md +42 -0
- package/dist/runtime/api/docs/Version.md +38 -0
- package/dist/runtime/api/models/JobInformation.js +2 -2
- package/dist/runtime/composables/mongocampAuth.d.ts +3 -3
- package/dist/types.d.mts +2 -0
- package/package.json +16 -16
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
|
|
2
|
+
# UserProfile
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`user` | string
|
|
10
|
+
`isAdmin` | boolean
|
|
11
|
+
`apiKey` | string
|
|
12
|
+
`roles` | Array<string>
|
|
13
|
+
`grants` | [Array<Grant>](Grant.md)
|
|
14
|
+
|
|
15
|
+
## Example
|
|
16
|
+
|
|
17
|
+
```typescript
|
|
18
|
+
import type { UserProfile } from ''
|
|
19
|
+
|
|
20
|
+
// TODO: Update the object below with actual values
|
|
21
|
+
const example = {
|
|
22
|
+
"user": null,
|
|
23
|
+
"isAdmin": null,
|
|
24
|
+
"apiKey": null,
|
|
25
|
+
"roles": null,
|
|
26
|
+
"grants": null,
|
|
27
|
+
} satisfies UserProfile
|
|
28
|
+
|
|
29
|
+
console.log(example)
|
|
30
|
+
|
|
31
|
+
// Convert the instance to a JSON string
|
|
32
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
33
|
+
console.log(exampleJSON)
|
|
34
|
+
|
|
35
|
+
// Parse the JSON string back to an object
|
|
36
|
+
const exampleParsed = JSON.parse(exampleJSON) as UserProfile
|
|
37
|
+
console.log(exampleParsed)
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
41
|
+
|
|
42
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
|
|
2
|
+
# Version
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
Name | Type
|
|
8
|
+
------------ | -------------
|
|
9
|
+
`name` | string
|
|
10
|
+
`version` | string
|
|
11
|
+
`builtAt` | Date
|
|
12
|
+
|
|
13
|
+
## Example
|
|
14
|
+
|
|
15
|
+
```typescript
|
|
16
|
+
import type { Version } from ''
|
|
17
|
+
|
|
18
|
+
// TODO: Update the object below with actual values
|
|
19
|
+
const example = {
|
|
20
|
+
"name": null,
|
|
21
|
+
"version": null,
|
|
22
|
+
"builtAt": null,
|
|
23
|
+
} satisfies Version
|
|
24
|
+
|
|
25
|
+
console.log(example)
|
|
26
|
+
|
|
27
|
+
// Convert the instance to a JSON string
|
|
28
|
+
const exampleJSON: string = JSON.stringify(example)
|
|
29
|
+
console.log(exampleJSON)
|
|
30
|
+
|
|
31
|
+
// Parse the JSON string back to an object
|
|
32
|
+
const exampleParsed = JSON.parse(exampleJSON) as Version
|
|
33
|
+
console.log(exampleParsed)
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
[[Back to top]](#) [[Back to API list]](../README.md#api-endpoints) [[Back to Model list]](../README.md#models) [[Back to README]](../README.md)
|
|
37
|
+
|
|
38
|
+
|
|
@@ -40,8 +40,8 @@ export function JobInformationToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
40
40
|
"description": value["description"],
|
|
41
41
|
"cronExpression": value["cronExpression"],
|
|
42
42
|
"priority": value["priority"],
|
|
43
|
-
"lastScheduledFireTime": value["lastScheduledFireTime"] == null ?
|
|
44
|
-
"nextScheduledFireTime": value["nextScheduledFireTime"] == null ?
|
|
43
|
+
"lastScheduledFireTime": value["lastScheduledFireTime"] == null ? value["lastScheduledFireTime"] : value["lastScheduledFireTime"].toISOString(),
|
|
44
|
+
"nextScheduledFireTime": value["nextScheduledFireTime"] == null ? value["nextScheduledFireTime"] : value["nextScheduledFireTime"].toISOString(),
|
|
45
45
|
"scheduleInformation": value["scheduleInformation"]
|
|
46
46
|
};
|
|
47
47
|
}
|
|
@@ -3,7 +3,7 @@ export declare function useMongocampAuth(): {
|
|
|
3
3
|
login: (loginId: string, loginPassword: string) => Promise<UserProfile>;
|
|
4
4
|
logout: () => void;
|
|
5
5
|
isAuthenticated: () => Promise<import("../api/index.js").JsonValueBoolean>;
|
|
6
|
-
isLoggedIn: import("
|
|
7
|
-
userRoles: import("
|
|
8
|
-
userGrants: import("
|
|
6
|
+
isLoggedIn: import("vue").ComputedRef<boolean>;
|
|
7
|
+
userRoles: import("vue").ComputedRef<string[]>;
|
|
8
|
+
userGrants: import("vue").ComputedRef<import("../api/index.js").Grant[]>;
|
|
9
9
|
};
|
package/dist/types.d.mts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sfxcode/nuxt-mongocamp-server",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.3.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"dev": "nuxi dev playground",
|
|
29
29
|
"dev:build": "nuxi build playground",
|
|
30
30
|
"dev:prepare": "nuxt-module-build build --stub && nuxt-module-build prepare && nuxi prepare playground",
|
|
31
|
-
"release": "npm run lint && npm run test && npm run prepack && changelogen --release --
|
|
31
|
+
"release": "npm run lint && npm run test && npm run prepack && changelogen --release --minor && npm publish --access public && git push --follow-tags",
|
|
32
32
|
"lint": "eslint .",
|
|
33
33
|
"lint:fix": "eslint --fix .",
|
|
34
34
|
"test": "vitest run",
|
|
@@ -39,22 +39,22 @@
|
|
|
39
39
|
"api-codegen": "openapi-generator-cli generate -i ./openapi/docs.yaml -g typescript-fetch -o src/runtime/api --additional-properties=typescriptThreePlus=true,supportsES6=true"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@nuxt/kit": "^3.
|
|
43
|
-
"@vueuse/nuxt": "^
|
|
42
|
+
"@nuxt/kit": "^4.3.1",
|
|
43
|
+
"@vueuse/nuxt": "^14.2.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@nuxt/devtools": "^2.
|
|
47
|
-
"@nuxt/eslint-config": "^1.
|
|
48
|
-
"@nuxt/module-builder": "^1.0.
|
|
49
|
-
"@nuxt/schema": "^3.
|
|
50
|
-
"@nuxt/test-utils": "^
|
|
51
|
-
"@openapitools/openapi-generator-cli": "^2.
|
|
52
|
-
"@types/node": "^
|
|
53
|
-
"@unocss/nuxt": "66.
|
|
46
|
+
"@nuxt/devtools": "^3.2.1",
|
|
47
|
+
"@nuxt/eslint-config": "^1.15.1",
|
|
48
|
+
"@nuxt/module-builder": "^1.0.2",
|
|
49
|
+
"@nuxt/schema": "^4.3.1",
|
|
50
|
+
"@nuxt/test-utils": "^4.0.0",
|
|
51
|
+
"@openapitools/openapi-generator-cli": "^2.29.0",
|
|
52
|
+
"@types/node": "^25.3.0",
|
|
53
|
+
"@unocss/nuxt": "66.6.0",
|
|
54
54
|
"changelogen": "^0.6.2",
|
|
55
|
-
"eslint": "^
|
|
56
|
-
"nuxt": "^3.
|
|
57
|
-
"vitest": "^
|
|
55
|
+
"eslint": "^10.0.0",
|
|
56
|
+
"nuxt": "^4.3.1",
|
|
57
|
+
"vitest": "^4.0.18"
|
|
58
58
|
},
|
|
59
|
-
"packageManager": "pnpm@10.
|
|
59
|
+
"packageManager": "pnpm@10.30.0+sha512.2b5753de015d480eeb88f5b5b61e0051f05b4301808a82ec8b840c9d2adf7748eb352c83f5c1593ca703ff1017295bc3fdd3119abb9686efc96b9fcb18200937"
|
|
60
60
|
}
|