@nextcloud/typings
Advanced tools
Comparing version 0.1.3 to 0.1.4
declare namespace Nextcloud.v17 { | ||
interface OC extends Nextcloud.Common.OC { | ||
interface FilePickerOptions { | ||
allowDirectoryChooser: boolean | ||
} | ||
interface Dialogs { | ||
FILEPICKER_TYPE_CHOOSE: Number; | ||
FILEPICKER_TYPE_MOVE: Number; | ||
FILEPICKER_TYPE_COPY: Number; | ||
FILEPICKER_TYPE_COPY_MOVE: Number; | ||
filepicker( | ||
title: string, | ||
callback: Function, | ||
multiselect?: boolean, | ||
mimeTypeFilter?: Array<string>, | ||
modal?: boolean, | ||
type?: Number, | ||
path?: string, | ||
options?: FilePickerOptions): void; | ||
} | ||
interface OC { | ||
appswebroots: any | ||
config: any | ||
coreApps: any | ||
requestToken: string | ||
getCurrentUser(): Nextcloud.Common.CurrentUser; | ||
getRootPath(): string; | ||
linkTo(app: string, file: string): string; | ||
linkToRemoteBase(service: string): string; | ||
linkToRemote(service: string): string; | ||
linkToOCS(service: string, version: Number): string; | ||
generateUrl(url: string, params?: Object, options?: Nextcloud.Common.UrlOptions): string; | ||
filePath(app: string, type: string, file: string): string; | ||
imagePath(app: string, file: string): string; | ||
encodePath(path: string): string; | ||
getLocale(): string; | ||
getLanguage(): string; | ||
getCanonicalLocale(): string; | ||
dialogs: Dialogs; | ||
L10N: Nextcloud.Common.L10n; | ||
Notifications: Nextcloud.Common.Notifications; | ||
webroot: string | ||
} | ||
interface OCP extends Nextcloud.Common.OCP { | ||
@@ -8,0 +56,0 @@ |
@@ -5,3 +5,3 @@ /// <reference types="jquery" /> | ||
interface OC extends Nextcloud.Common.OC { | ||
interface OC extends Nextcloud.v17.OC { | ||
@@ -8,0 +8,0 @@ } |
{ | ||
"name": "@nextcloud/typings", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "Nextcloud TypeScript typings", | ||
@@ -28,4 +28,4 @@ "main": "dist/index.js", | ||
"jest": "24.9.0", | ||
"typescript": "3.6.3" | ||
"typescript": "3.7.2" | ||
} | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42429
178