@storagehub/api-augment 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -188,6 +188,10 @@ declare module "@polkadot/api-base/types/calls" {
188
188
  * Check if a storage request is open to volunteers.
189
189
  **/
190
190
  isStorageRequestOpenToVolunteers: AugmentedCall<ApiType, (fileKey: H256 | string | Uint8Array) => Observable<Result<bool, IsStorageRequestOpenToVolunteersError>>>;
191
+ /**
192
+ * List incomplete storage request keys with pagination.
193
+ **/
194
+ listIncompleteStorageRequestKeys: AugmentedCall<ApiType, (startAfter: Option<H256> | null | Uint8Array | H256 | string, limit: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>>;
191
195
  /**
192
196
  * Get pending storage requests for a Main Storage Provider.
193
197
  **/
@@ -218,6 +218,10 @@ declare module "@polkadot/api-base/types/calls" {
218
218
  * Check if a storage request is open to volunteers.
219
219
  **/
220
220
  isStorageRequestOpenToVolunteers: AugmentedCall<ApiType, (fileKey: H256 | string | Uint8Array) => Observable<Result<bool, IsStorageRequestOpenToVolunteersError>>>;
221
+ /**
222
+ * List incomplete storage request keys with pagination.
223
+ **/
224
+ listIncompleteStorageRequestKeys: AugmentedCall<ApiType, (startAfter: Option<H256> | null | Uint8Array | H256 | string, limit: u32 | AnyNumber | Uint8Array) => Observable<Vec<H256>>>;
221
225
  /**
222
226
  * Get pending storage requests for a Main Storage Provider.
223
227
  **/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storagehub/api-augment",
3
- "version": "0.2.7",
3
+ "version": "0.2.8",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "",
@@ -34,7 +34,7 @@
34
34
  "@polkadot/types-codec": "^16.4.7",
35
35
  "tsx": "4.20.5",
36
36
  "typescript": "^5.9.2",
37
- "@storagehub/types-bundle": "0.2.6"
37
+ "@storagehub/types-bundle": "0.2.7"
38
38
  },
39
39
  "scripts": {
40
40
  "scrape": "pnpm tsx scripts/scrapeMetadata.ts",
@@ -321,6 +321,16 @@ declare module "@polkadot/api-base/types/calls" {
321
321
  fileKey: H256 | string | Uint8Array
322
322
  ) => Observable<Result<bool, IsStorageRequestOpenToVolunteersError>>
323
323
  >;
324
+ /**
325
+ * List incomplete storage request keys with pagination.
326
+ **/
327
+ listIncompleteStorageRequestKeys: AugmentedCall<
328
+ ApiType,
329
+ (
330
+ startAfter: Option<H256> | null | Uint8Array | H256 | string,
331
+ limit: u32 | AnyNumber | Uint8Array
332
+ ) => Observable<Vec<H256>>
333
+ >;
324
334
  /**
325
335
  * Get pending storage requests for a Main Storage Provider.
326
336
  **/
@@ -415,6 +415,16 @@ declare module "@polkadot/api-base/types/calls" {
415
415
  fileKey: H256 | string | Uint8Array
416
416
  ) => Observable<Result<bool, IsStorageRequestOpenToVolunteersError>>
417
417
  >;
418
+ /**
419
+ * List incomplete storage request keys with pagination.
420
+ **/
421
+ listIncompleteStorageRequestKeys: AugmentedCall<
422
+ ApiType,
423
+ (
424
+ startAfter: Option<H256> | null | Uint8Array | H256 | string,
425
+ limit: u32 | AnyNumber | Uint8Array
426
+ ) => Observable<Vec<H256>>
427
+ >;
418
428
  /**
419
429
  * Get pending storage requests for a Main Storage Provider.
420
430
  **/