Skip to content

Commit

Permalink
Add export-data task (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
leszko authored Jun 23, 2023
1 parent f91f414 commit 8a079f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions pkg/data/task_result.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ type TaskOutput struct {
Upload *UploadTaskOutput `json:"upload,omitempty"`
Import *UploadTaskOutput `json:"import,omitempty"`
Export *ExportTaskOutput `json:"export,omitempty"`
ExportData *ExportDataTaskOutput `json:"exportData,omitempty"`
Transcode *TranscodeTaskOutput `json:"transcode,omitempty"`
TranscodeFile *TranscodeFileTaskOutput `json:"transcodeFile,omitempty"`
}
Expand Down Expand Up @@ -68,3 +69,11 @@ type IPFSExportInfo struct {
VideoFileCID string `json:"videoFileCid"`
NFTMetadataCID string `json:"nftMetadataCid,omitempty"`
}

type ExportDataTaskOutput struct {
IPFS *IPFSExportDataInfo `json:"ipfs,omitempty"`
}

type IPFSExportDataInfo struct {
CID string `json:"cid"`
}

0 comments on commit 8a079f2

Please sign in to comment.