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:
parent
3fb7de2dfb
commit
9e7f7ba7f6
2 changed files with 2 additions and 0 deletions
|
@ -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:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue