Skip to content

Commit

Permalink
Merge pull request #259 from nextcloud-libraries/fix/oc-constants
Browse files Browse the repository at this point in the history
fix: Add missing `OC` constant types
  • Loading branch information
susnux authored Jun 25, 2024
2 parents c9f9179 + 1c6f151 commit fd57975
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion lib/v16/OC.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,17 @@
declare namespace Nextcloud.v16 {

interface OC extends Nextcloud.Common.OC {

coreApps: string[]
menuSpeed: number
TAG_FAVORITE: string

PERMISSION_NONE: 0
PERMISSION_READ: 1
PERMISSION_UPDATE: 2
PERMISSION_CREATE: 4
PERMISSION_DELETE: 8
PERMISSION_SHARE: 16
PERMISSION_ALL: 31
}

interface OCP extends Nextcloud.Common.OCP {
Expand Down

0 comments on commit fd57975

Please sign in to comment.