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.4 to 0.1.5

CHANGELOG.md

32

lib/common/OC.d.ts

@@ -15,6 +15,6 @@ /// <reference types="jquery" />

interface Dialogs {
FILEPICKER_TYPE_CHOOSE: Number;
FILEPICKER_TYPE_MOVE: Number;
FILEPICKER_TYPE_COPY: Number;
FILEPICKER_TYPE_COPY_MOVE: Number;
FILEPICKER_TYPE_CHOOSE: number;
FILEPICKER_TYPE_MOVE: number;
FILEPICKER_TYPE_COPY: number;
FILEPICKER_TYPE_COPY_MOVE: number;

@@ -27,3 +27,3 @@ filepicker(

modal?: boolean,
type?: Number,
type?: number,
path?: string): void;

@@ -36,4 +36,4 @@ }

interface L10n {
translate(app: string, text: string, vars?: Object, count?: Number, options?: TranslationOptions): string;
translatePlural(app: string, textSingular: string, textPlural: string, count: Number, vars?: Object, options?: TranslationOptions): string;
translate(app: string, text: string, vars?: object, count?: number, options?: TranslationOptions): string;
translatePlural(app: string, textSingular: string, textPlural: string, count: number, vars?: object, options?: TranslationOptions): string;
}

@@ -43,3 +43,3 @@

isHtml?: boolean,
timeout?: Number,
timeout?: number,
type?: string,

@@ -65,5 +65,5 @@ }

linkToRemote(service: string): string;
linkToOCS(service: string, version: Number): string;
linkToOCS(service: string, version: number): string;
generateUrl(url: string, params?: Object, options?: UrlOptions): string;
generateUrl(url: string, params?: object, options?: UrlOptions): string;
filePath(app: string, type: string, file: string): string;

@@ -93,3 +93,3 @@ imagePath(app: string, file: string): string;

interface humanFileSize {
(size: Number, skipSmallSizes: boolean): string;
(size: number, skipSmallSizes: boolean): string;
}

@@ -99,9 +99,9 @@

firstDay: number
dayNames: String[]
dayNamesShort: String[]
dayNamesMin: String[]
monthNames: String[]
monthNamesShort: String[]
dayNames: string[]
dayNamesShort: string[]
dayNamesMin: string[]
monthNames: string[]
monthNamesShort: string[]
}
}

@@ -8,6 +8,6 @@ declare namespace Nextcloud.v17 {

interface Dialogs {
FILEPICKER_TYPE_CHOOSE: Number;
FILEPICKER_TYPE_MOVE: Number;
FILEPICKER_TYPE_COPY: Number;
FILEPICKER_TYPE_COPY_MOVE: Number;
FILEPICKER_TYPE_CHOOSE: number;
FILEPICKER_TYPE_MOVE: number;
FILEPICKER_TYPE_COPY: number;
FILEPICKER_TYPE_COPY_MOVE: number;

@@ -20,3 +20,3 @@ filepicker(

modal?: boolean,
type?: Number,
type?: number,
path?: string,

@@ -39,5 +39,5 @@ options?: FilePickerOptions): void;

linkToRemote(service: string): string;
linkToOCS(service: string, version: Number): string;
linkToOCS(service: string, version: number): string;
generateUrl(url: string, params?: Object, options?: Nextcloud.Common.UrlOptions): string;
generateUrl(url: string, params?: object, options?: Nextcloud.Common.UrlOptions): string;
filePath(app: string, type: string, file: string): string;

@@ -44,0 +44,0 @@ imagePath(app: string, file: string): string;

{
"name": "@nextcloud/typings",
"version": "0.1.4",
"version": "0.1.5",
"description": "Nextcloud TypeScript typings",

@@ -28,4 +28,4 @@ "main": "dist/index.js",

"jest": "24.9.0",
"typescript": "3.7.2"
"typescript": "3.7.4"
}
}
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