mirror of
https://github.com/nextcloud/server.git
synced 2026-02-03 20:41:22 -05:00
chore: fix or ignore linter issues
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
ba0615b33e
commit
752a62133a
4 changed files with 11 additions and 5 deletions
|
|
@ -3268,6 +3268,12 @@
|
|||
<code><![CDATA[listen]]></code>
|
||||
</DeprecatedMethod>
|
||||
</file>
|
||||
<file src="core/templates/publicshareauth.php">
|
||||
<DeprecatedMethod>
|
||||
<code><![CDATA[provideInitialState]]></code>
|
||||
<code><![CDATA[provideInitialState]]></code>
|
||||
</DeprecatedMethod>
|
||||
</file>
|
||||
<file src="lib/base.php">
|
||||
<InvalidArgument>
|
||||
<code><![CDATA[$restrictions]]></code>
|
||||
|
|
|
|||
|
|
@ -11,4 +11,4 @@ __webpack_nonce__ = getCSPNonce()
|
|||
|
||||
const View = Vue.extend(PublicShareAuth)
|
||||
const app = new View()
|
||||
app.$mount('#core-public-share-auth')
|
||||
app.$mount('#core-public-share-auth')
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ const defaultShareContext: ShareContext = {
|
|||
*
|
||||
* @param context The current share context (defaults to `defaultShareContext` if not provided).
|
||||
* @return The share URL.
|
||||
* @throws Error if the share context has no URL.
|
||||
* @throws {Error} if the share context has no URL.
|
||||
*/
|
||||
export function getShareUrl(context: ShareContext = defaultShareContext): string {
|
||||
if (!context.url) {
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ Cypress.env('baseUrl', url)
|
|||
|
||||
/**
|
||||
* Enable or disable a user
|
||||
* TODO: standardize in @nextcloud/e2e-test-server
|
||||
* TODO: standardize in `@nextcloud/e2e-test-server`
|
||||
*
|
||||
* @param {User} user the user to dis- / enable
|
||||
* @param {boolean} enable True if the user should be enable, false to disable
|
||||
|
|
@ -45,7 +45,7 @@ Cypress.Commands.add('enableUser', (user: User, enable = true) => {
|
|||
|
||||
/**
|
||||
* cy.uploadedFile - uploads a file from the fixtures folder
|
||||
* TODO: standardize in @nextcloud/e2e-test-server
|
||||
* TODO: standardize in `@nextcloud/e2e-test-server`
|
||||
*
|
||||
* @param {User} user the owner of the file, e.g. admin
|
||||
* @param {string} fixture the fixture file name, e.g. image1.jpg
|
||||
|
|
@ -142,7 +142,7 @@ Cypress.Commands.add('rm', (user: User, target: string) => {
|
|||
|
||||
/**
|
||||
* cy.uploadedContent - uploads a raw content
|
||||
* TODO: standardize in @nextcloud/e2e-test-server
|
||||
* TODO: standardize in `@nextcloud/e2e-test-server`
|
||||
*
|
||||
* @param {User} user the owner of the file, e.g. admin
|
||||
* @param {Blob} blob the content to upload
|
||||
|
|
|
|||
Loading…
Reference in a new issue