Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C2D V2 support - Add fileObject types #1867

Open
paulo-ocean opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1870
Open

C2D V2 support - Add fileObject types #1867

paulo-ocean opened this issue Oct 24, 2024 · 0 comments · May be fixed by #1870
Assignees
Labels
Type: Bug Something isn't working

Comments

@paulo-ocean
Copy link
Contributor

paulo-ocean commented Oct 24, 2024

extend

export interface ComputeAsset {
  **fileObject: BaseFileObject**
 documentId: string
  serviceId: string
  transferTxId?: string
  userdata?: { [key: string]: any }
...

By adding fileObject

For reference check this Ocean Node PR: oceanprotocol/ocean-node#705
...
export enum EncryptMethod {
AES = 'AES',
ECIES = 'ECIES'
}

export interface BaseFileObject {
type: string
encryptedBy?: string
encryptMethod?: EncryptMethod
}

Also add support for start C2D on free compute Environments ( new route: freeCompute )

@paulo-ocean paulo-ocean added the Type: Bug Something isn't working label Oct 24, 2024
@paulo-ocean paulo-ocean self-assigned this Oct 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant