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

Add endpoint for inserting/updating liquidity status of a resource on a particular domain #135

Open
tcar121293 opened this issue Nov 3, 2023 · 0 comments
Assignees

Comments

@tcar121293
Copy link
Contributor

Add endpoint for inserting/updating liquidity status of a resource on a particular domain

Implementation details

add model Liquidity:

model Liquidity {
  id           String         @id @default(auto()) @map("_id") @db.ObjectId
  resource     Resource?      @relation(fields: [resourceID], references: [id])
  resourceID   String?
  domain   Domain         @relation(name: "fromDomainRelation", fields: [domainID], references: [id])
  domainID Int
}

add endpoint:
POST /liquidity/domain/:domainID/resource/:resourceID

Testing details

add e2e tests

Acceptance Criteria

@tcar121293 tcar121293 self-assigned this Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants