-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8a636b8
commit aad8c04
Showing
13 changed files
with
91 additions
and
23 deletions.
There are no files selected for viewing
Binary file removed
BIN
-142 KB
.yarn/cache/@blockfrost-openapi-npm-0.1.67-188356f956-464cfa9ae4.zip
Binary file not shown.
Binary file added
BIN
+144 KB
.yarn/cache/@blockfrost-openapi-npm-0.1.7-beta.0-0b53a4ead2-2384e78a74.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+13.7 KB
.yarn/cache/package-json-from-dist-npm-1.0.1-4631a88465-58ee9538f2.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,10 @@ | ||
type State = 'queued' | 'pinned' | 'unpinned' | 'failed' | 'gc'; | ||
import { paths } from '@blockfrost/openapi'; | ||
|
||
export type AddResponse = { | ||
name: string; | ||
ipfs_hash: string; | ||
size: number; | ||
}; | ||
export type PinResponse = | ||
paths['/ipfs/pin/add/{IPFS_path}']['post']['responses']['200']['content']['application/json']; | ||
|
||
export type PinResponse = { | ||
ipfs_hash: string; | ||
state: State; | ||
}; | ||
export type AddResponse = | ||
paths['/ipfs/add']['post']['responses']['200']['content']['application/json']; | ||
|
||
export type ListResponse = { | ||
time_created: number; | ||
time_pinned: number; | ||
ipfs_hash: string; | ||
size: string; | ||
state: State; | ||
}; | ||
export type ListResponse = | ||
paths['/ipfs/pin/list']['get']['responses']['200']['content']['application/json']; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters