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

@drovp/types

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@drovp/types - npm Package Compare versions

Comparing version 4.4.1 to 4.5.0

37

index.d.ts

@@ -360,2 +360,18 @@ /**

interface CommonModals {
alert(data: ModalData): Promise<void>;
confirm(data: ModalData): Promise<ModalResult<boolean>>;
prompt(
data: ModalData,
stringOptions?: Omit<OptionString, 'title' | 'description' | 'type' | 'name'>
): Promise<ModalResult<string>>;
promptOptions<T extends OptionsData | undefined = undefined>(
data: ModalData,
schema: OptionsSchema<T>
): Promise<ModalResult<T>>;
showOpenDialog(options: OpenDialogOptions): Promise<OpenDialogReturnValue>;
showSaveDialog(options: SaveDialogOptions): Promise<SaveDialogReturnValue>;
openModalWindow<T = unknown>(options: string | OpenWindowOptions, payload: unknown): Promise<T>;
}
export interface LoadUtils {

@@ -365,3 +381,3 @@ dataPath: string;

export interface InstallUtils {
export type InstallUtils = CommonModals & {
dataPath: string;

@@ -380,3 +396,3 @@ tmpPath: string;

log: (...args: any[]) => void;
}
};

@@ -421,20 +437,7 @@ export interface Progress {

export interface PreparatorUtils {
export type PreparatorUtils = CommonModals & {
modifiers: string;
action: 'drop' | 'paste';
title(value: string | undefined | null): void;
alert(data: ModalData): Promise<void>;
confirm(data: ModalData): Promise<ModalResult<boolean>>;
prompt(
data: ModalData,
stringOptions?: Omit<OptionString, 'title' | 'description' | 'type' | 'name'>
): Promise<ModalResult<string>>;
promptOptions<T extends OptionsData | undefined = undefined>(
data: ModalData,
schema: OptionsSchema<T>
): Promise<ModalResult<T>>;
showOpenDialog(options: OpenDialogOptions): Promise<OpenDialogReturnValue>;
showSaveDialog(options: SaveDialogOptions): Promise<SaveDialogReturnValue>;
openModalWindow<T = unknown>(options: string | OpenWindowOptions, payload: unknown): Promise<T>;
}
};

@@ -441,0 +444,0 @@ interface ModalData {

{
"name": "@drovp/types",
"version": "4.4.1",
"version": "4.5.0",
"description": "Drovp plugin API definitions",

@@ -5,0 +5,0 @@ "keywords": [

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