Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/groupfolders.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2019-01-29 16:29:53 +0300
committerRobin Appelman <robin@icewind.nl>2019-02-21 17:04:52 +0300
commitb1d1ec3368c4a5b02f8af6dfdcaa03f34dc2928f (patch)
tree06317e53953a25e03b899df736c19eb5a05d9c21
parent4ca390bf5841a88950f7b211b0da1a66fd745f8e (diff)
update nextcloud.d.ts
-rw-r--r--js/Nextcloud.d.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/js/Nextcloud.d.ts b/js/Nextcloud.d.ts
index df503a94..e138f4a2 100644
--- a/js/Nextcloud.d.ts
+++ b/js/Nextcloud.d.ts
@@ -16,7 +16,7 @@ declare namespace OC {
function confirmHtml(text: string, title: string, callback: (result: boolean) => void, modal?: boolean): void;
- function prompt(text: string, title: string, callback: (result: string) => void, modal?: boolean, name?: string, password?: boolean): void;
+ function prompt(text: string, title: string, callback: (ok: boolean, result: string) => void, modal?: boolean, name?: string, password?: boolean): void;
function filepicket(title: string, callback: (result: string | string[]) => void, multiselect?: boolean, mimetypeFilter?: string, modal?: boolean): void;
}
@@ -44,8 +44,12 @@ declare namespace OC {
function linkToOCS(service: string, version: number): string;
+ function linkToRemote(path: string): string;
+
function imagePath(app: string, file: string): string;
+ function filePath(app: string, type: string, file: string): string;
+
const PERMISSION_CREATE = 4;
const PERMISSION_READ = 1;
const PERMISSION_UPDATE = 2;