Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@nextcloud/typings

Package Overview
Dependencies
Maintainers
4
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nextcloud/typings - npm Package Compare versions

Comparing version 0.1.3 to 0.1.4

50

lib/v17/OC.d.ts
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 @@

2

lib/v18/OC.d.ts

@@ -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"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc