UNPKG

@iexec/web3mail

Version:

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

37 lines (28 loc) 674 B
import { IExec } from 'iexec'; import { AddressOrENS } from './types.js'; import { GraphQLClient } from 'graphql-request'; export type ProtectedDataQuery = { id: string; name: string; }; export type GraphQLResponse = { protectedDatas: ProtectedDataQuery[]; }; export type DappAddressConsumer = { dappAddressOrENS: AddressOrENS; }; export type IpfsNodeConfigConsumer = { ipfsNode: string; }; export type IpfsGatewayConfigConsumer = { ipfsGateway: string; }; export type DappWhitelistAddressConsumer = { dappWhitelistAddress: string; }; export type IExecConsumer = { iexec: IExec; }; export type SubgraphConsumer = { graphQLClient: GraphQLClient; };