Skip to content

Commit 997ebe1

Browse files
Merge pull request #1829 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-9.0.0-rc.6
chore(deps-dev): bump @nextcloud/eslint-config from 9.0.0-rc.5 to 9.0.0-rc.6
2 parents 1810b95 + fd79d2e commit 997ebe1

File tree

7 files changed

+285
-298
lines changed

7 files changed

+285
-298
lines changed

js/logreader-main.mjs

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

js/logreader-main.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package-lock.json

Lines changed: 277 additions & 290 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
},
3636
"devDependencies": {
3737
"@nextcloud/browserslist-config": "^3.1.2",
38-
"@nextcloud/eslint-config": "^9.0.0-rc.5",
38+
"@nextcloud/eslint-config": "^9.0.0-rc.6",
3939
"@nextcloud/vite-config": "^2.5.2",
4040
"@pinia/testing": "^1.0.3",
4141
"@vitest/coverage-istanbul": "^4.0.14",

src/api.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* SPDX-License-Identifier: AGPL-3.0-or-later
44
*/
55

6-
import type { AxiosRequestConfig, AxiosResponse } from '@nextcloud/axios'
6+
import type { AxiosError, AxiosRequestConfig, AxiosResponse } from '@nextcloud/axios'
77
import type { IAppSettings, INextcloud22LogEntry } from './interfaces'
88

99
import axios from '@nextcloud/axios'
@@ -43,7 +43,7 @@ type ApiGetAppSettings = never
4343
* @param data Parameters for request
4444
* @param config Axios config for setting data
4545
* @return Array of fetched log entries
46-
* @throws AxiosError with HTTP status 424 if log type is not set to `file`
46+
* @throws {AxiosError} with HTTP status 424 if log type is not set to `file`
4747
*/
4848
export const getLog = (data: ApiGetLog, config: AxiosRequestConfig<ApiGetLog> = {}) => axios.get<ApiLogResult, AxiosResponse<ApiLogResult, ApiGetLog>>(generateUrl('apps/logreader/api/log'), { ...config, params: data }) as Promise<AxiosResponse<ApiLogResult>>
4949

@@ -53,7 +53,7 @@ export const getLog = (data: ApiGetLog, config: AxiosRequestConfig<ApiGetLog> =
5353
* @param data Parameters for request
5454
* @param config Axios config for setting data
5555
* @return Array of fetched log entries
56-
* @throws AxiosError with HTTP status 424 if log type is not set to `file`
56+
* @throws {AxiosError} with HTTP status 424 if log type is not set to `file`
5757
*/
5858
export const pollLog = (data: ApiPollLog, config: AxiosRequestConfig<ApiPollLog> = {}) => axios.get<ApiPollLogResult, AxiosResponse<ApiPollLogResult, ApiPollLog>>(generateUrl('apps/logreader/api/poll'), { ...config, params: data }) as Promise<AxiosResponse<ApiPollLogResult>>
5959

src/components/LogSearch.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
</template>
1515
<template #default>
1616
<NcActionInput
17-
:value="currentQuery"
17+
:model-value="currentQuery"
1818
:label="t('logreader', 'Search log entries')"
1919
:show-trailing-button="false"
2020
@submit="isOpen = false"

src/utils/exception.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ function isOldStyleException(logMessage: unknown) {
7878
* Try to parse JSON, sanitized possible unescaped parts.
7979
*
8080
* @param json The json string
81-
* @throws Error when json could not be parsed
81+
* @throws {Error} when json could not be parsed
8282
*/
8383
function tryParseJSON(json: string) {
8484
try {

0 commit comments

Comments
 (0)