Add sharing types for guests

Fixes https://github.com/nextcloud/guests/issues/4

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-04-28 09:56:57 +02:00
parent 3fb7de2dfb
commit 9e7f7ba7f6
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ OC.Share = _.extend(OC.Share || {}, {
SHARE_TYPE_EMAIL:4,
SHARE_TYPE_REMOTE:6,
SHARE_TYPE_CIRCLE:7,
SHARE_TYPE_GUEST:8,
/**
* Regular expression for splitting parts of remote share owners:

View File

@ -33,6 +33,7 @@ class Constants {
const SHARE_TYPE_CONTACT = 5; // ToDo Check if it is still in use otherwise remove it
const SHARE_TYPE_REMOTE = 6;
const SHARE_TYPE_CIRCLE = 7;
const SHARE_TYPE_GUEST = 8;
const FORMAT_NONE = -1;
const FORMAT_STATUSES = -2;