Interface StorefrontService
Properties
filecoin
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}`; }, "/home/runner/work/w3up/w3up/packages/access-client/dist/src/types".FilecoinAcceptSuccess, "/home/runner/work/w3up/w3up/packages/access-client/dist/src/types".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}`; }, "/home/runner/work/w3up/w3up/packages/access-client/dist/src/types".FilecoinSubmitSuccess, "/home/runner/work/w3up/w3up/packages/access-client/dist/src/types".FilecoinSubmitFailure>; } Type declaration
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>