UNPKG

@iexec/dataprotector

Version:

This product enables users to confidentially store data–such as mail address, documents, personal information ...

48 lines (47 loc) 2.58 kB
import { IExec } from 'iexec'; export declare const isValidProvider: (iexec: IExec) => Promise<void>; export declare const throwIfMissing: () => never; export declare const isEnsTest: (value: string) => boolean; export declare const booleanSchema: () => import("yup").BooleanSchema<boolean, import("yup").AnyObject, undefined, "">; export declare const stringSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">; export declare const urlSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">; export declare const taskIdSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">; export declare const addressSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">; export declare const addressOrEnsSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">; export declare const positiveIntegerStringSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">; export declare const positiveNumberSchema: () => import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">; export declare const numberBetweenSchema: (min: number, max: number) => import("yup").NumberSchema<number, import("yup").AnyObject, undefined, "">; export declare const positiveStrictIntegerStringSchema: () => import("yup").StringSchema<string, import("yup").AnyObject, undefined, "">; export declare const grantedAccessSchema: () => import("yup").ObjectSchema<{ dataset: string; datasetprice: string; volume: string; tag: string; apprestrict: string; workerpoolrestrict: string; requesterrestrict: string; salt: string; sign: string; remainingAccess: number; }, import("yup").AnyObject, any, "d">; export declare const bulkRequestSchema: () => import("yup").ObjectSchema<{ app: string; appmaxprice: string; workerpool: string; workerpoolmaxprice: string; dataset: string; datasetmaxprice: "0"; params: string; requester: string; beneficiary: string; callback: string; category: string; volume: string; tag: string; trust: string; salt: string; sign: string; }, import("yup").AnyObject, any, "d">; export declare const urlArraySchema: () => import("yup").ArraySchema<string[], import("yup").AnyObject, "", "">; export declare const secretsSchema: () => import("yup").ObjectSchema<{}, import("yup").AnyObject, {}, "">; export declare const validateOnStatusUpdateCallback: <T>(value?: unknown) => T;