From 3e62a3a2e93ca72f174be523cb12db3c4eb65f01 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Mon, 27 Nov 2023 10:55:43 +0000 Subject: [PATCH 1/3] fix: export filecoin types --- packages/w3up-client/src/types.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/packages/w3up-client/src/types.ts b/packages/w3up-client/src/types.ts index a5b846fae..30597eb55 100644 --- a/packages/w3up-client/src/types.ts +++ b/packages/w3up-client/src/types.ts @@ -80,6 +80,18 @@ export type { UploadAdd, UploadList, UploadRemove, + FilecoinOffer, + FilecoinOfferSuccess, + FilecoinOfferFailure, + FilecoinSubmit, + FilecoinSubmitSuccess, + FilecoinSubmitFailure, + FilecoinAccept, + FilecoinAcceptSuccess, + FilecoinAcceptFailure, + FilecoinInfo, + FilecoinInfoSuccess, + FilecoinInfoFailure, } from '@web3-storage/capabilities/types' export type { From 91c0c7a70ab82c79e5c62d418129f335185f7a5b Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Mon, 27 Nov 2023 11:02:52 +0000 Subject: [PATCH 2/3] fix: also plan --- packages/w3up-client/src/types.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/w3up-client/src/types.ts b/packages/w3up-client/src/types.ts index 30597eb55..79ce40df0 100644 --- a/packages/w3up-client/src/types.ts +++ b/packages/w3up-client/src/types.ts @@ -80,6 +80,9 @@ export type { UploadAdd, UploadList, UploadRemove, + PlanGet, + PlanGetSuccess, + PlanGetFailure, FilecoinOffer, FilecoinOfferSuccess, FilecoinOfferFailure, From f8b2c860e7310907f264f2b77fdb2ebfe5cbf7f8 Mon Sep 17 00:00:00 2001 From: Alan Shaw Date: Mon, 27 Nov 2023 11:44:16 +0000 Subject: [PATCH 3/3] fix: also export unified service type --- packages/w3up-client/src/types.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/w3up-client/src/types.ts b/packages/w3up-client/src/types.ts index 79ce40df0..f4204c443 100644 --- a/packages/w3up-client/src/types.ts +++ b/packages/w3up-client/src/types.ts @@ -26,6 +26,8 @@ export type { export type ProofQuery = Record> +export type Service = AccessService & UploadService & StorefrontService + export interface ServiceConf { access: ConnectionView upload: ConnectionView