Hierarchy

  • StorefrontService

Properties

Properties

filecoin: {
    accept: ServiceMethod<{
        can: "filecoin/accept";
        nb: Pick<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }, RequiredKeys<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }>> & Partial<Pick<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }, never>>;
        with: `did:${string}:${string}` & `did:${string}` & Phantom<{
            protocol: "did:";
        }> & `${string}:${string}`;
    }, FilecoinAcceptSuccess, FilecoinAcceptFailure>;
    info: ServiceMethod<{
        can: "filecoin/info";
        nb: Pick<{
            piece: PieceLink;
        }, "piece"> & Partial<Pick<{
            piece: PieceLink;
        }, never>>;
        with: `did:${string}:${string}` & `did:${string}` & Phantom<{
            protocol: "did:";
        }> & `${string}:${string}`;
    }, FilecoinInfoSuccess, FilecoinInfoFailure>;
    offer: ServiceMethod<{
        can: "filecoin/offer";
        nb: Pick<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }, RequiredKeys<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }>> & Partial<Pick<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }, never>>;
        with: `did:${string}:${string}` & `did:${string}` & Phantom<{
            protocol: "did:";
        }> & `${string}:${string}`;
    }, FilecoinOfferSuccess, FilecoinOfferFailure>;
    submit: ServiceMethod<{
        can: "filecoin/submit";
        nb: Pick<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }, RequiredKeys<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }>> & Partial<Pick<{
            content: Link<unknown, number, number, 0 | 1>;
            piece: PieceLink;
        }, never>>;
        with: `did:${string}:${string}` & `did:${string}` & Phantom<{
            protocol: "did:";
        }> & `${string}:${string}`;
    }, FilecoinSubmitSuccess, FilecoinSubmitFailure>;
}

Type declaration

Generated using TypeDoc