Added upload options (encryption/compression) for head nodes #140
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Type
enhancement
Description
FileUploadOptions
to support encryption and compression during file uploads.PRDescriptionHeader.CHANGES_WALKTHROUGH
builders.ts
Add file upload options to IPLD builders
packages/auto-drive/src/ipld/builders.ts
fileUploadOptions
parameter toroot
andsingle
functions.FileUploadOptions
from metadata.chunker.ts
Integrate upload options into chunker processing
packages/auto-drive/src/ipld/chunker.ts
ChunkerOptions
type with upload options.functions.
ChunkerOptions
.nodes.ts
Support upload options in IPLD node creation
packages/auto-drive/src/ipld/nodes.ts
uploadOptions
parameter to various node creation functions.FileUploadOptions
from metadata.file.ts
Include upload options in offchain file metadata
packages/auto-drive/src/metadata/offchain/file.ts
uploadOptions
toOffchainFileMetadata
.fileMetadata
function to includeuploadOptions
.folder.ts
Add upload options to offchain folder metadata
packages/auto-drive/src/metadata/offchain/folder.ts
uploadOptions
toOffchainFolderMetadata
.folderMetadata
function to includeuploadOptions
.OnchainMetadata.ts
Define and handle file upload options in metadata
packages/auto-drive/src/metadata/onchain/protobuf/OnchainMetadata.ts
FileUploadOptions
,CompressionOptions
, andEncryptionOptions
interfaces.
OnchainMetadata.proto
Extend protobuf schema with file upload options
packages/auto-drive/src/metadata/onchain/protobuf/OnchainMetadata.proto
FileUploadOptions
message with compression and encryptionoptions.
CompressionAlgorithm
andEncryptionAlgorithm
enums.