New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dromo-uploader-react

Package Overview
Dependencies
Maintainers
1
Versions
84
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dromo-uploader-react - npm Package Compare versions

Comparing version

to
1.2.30

22

dist/interfaces.d.ts
declare type MaybeAsync<T> = T | Promise<T>;
export interface IConnectionMethods {
init: (licenseKey: string, fields: IDeveloperField[], settings: IDeveloperSettings, user: IUser, appHost?: string) => void;
setNumRegisteredColHooks: (numColHooks: number) => void;
setNumRegisteredRowHooks: (numRowHooks: number) => void;
setNumRegisteredRowDeleteHooks: (numRowDeleteHooks: number) => void;
addField: (field: IDeveloperField, position?: IPositionSpec) => void;
updateInfoMessages: (messages: IMessagesForCell[]) => void;
}
export declare type IPublicConnectionMethods = Pick<IConnectionMethods, "addField" | "updateInfoMessages">;
export declare type IDeveloperFieldType = "string" | "checkbox" | "select" | "number" | "date" | "datetime" | "time" | "email";

@@ -131,2 +140,6 @@ export interface IDeveloperField {

};
helpText?: {
textColor?: string;
backgroundColor?: string;
};
stepperBar?: {

@@ -237,5 +250,5 @@ completeColor?: string;

type: keyof typeof EStepHook;
callback: (uploader: any, data: IUploadStepData | IReviewStepData | IReviewStepPostHooksData) => MaybeAsync<void>;
callback: (uploader: IPublicConnectionMethods, data: IUploadStepData | IReviewStepData | IReviewStepPostHooksData) => MaybeAsync<void>;
}
export declare type IBeforeFinishCallback = (data: Record<string, any>[], metadata: IResultMetadata, instance: any) => MaybeAsync<IBeforeFinishOutput>;
export declare type IBeforeFinishCallback = (data: Record<string, any>[], metadata: IResultMetadata, instance: IPublicConnectionMethods) => MaybeAsync<IBeforeFinishOutput>;
export declare type IBeforeFinishOutput = void | {

@@ -255,2 +268,7 @@ cancel: true;

}
export declare type IPositionSpec = {
before: string;
} | {
after: string;
};
export {};

2

package.json
{
"name": "dromo-uploader-react",
"version": "1.2.29",
"version": "1.2.30",
"description": "Easy to use data (CSV, TSV, Excel) importer",

@@ -5,0 +5,0 @@ "author": "ankitgoyal100",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet