Skip to content

Commit

Permalink
feat(hasura): update query ip launchpad
Browse files Browse the repository at this point in the history
  • Loading branch information
harisato committed Sep 9, 2024
1 parent e85a0dd commit b11b786
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions hasura/metadata/query_collections.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1514,6 +1514,13 @@
updated_at
}
}
- name: User - Delete ip launchpad
query: |
mutation delete_ip_launchpad ($id: Int!) {
delete_ip_launchpad(where: {id:{_eq:$id},status:{_eq:"DRAFT"}}) {
affected_rows
}
}
- name: Public - IP Launchpad by id
query: |
query ip_launchpad ($id: Int!) {
Expand Down Expand Up @@ -1542,6 +1549,8 @@
created_at
updated_at
tx_hash
license_info
ip_asset_id
license {
ip_asset_id
license_id
Expand All @@ -1552,10 +1561,3 @@
}
}
}
- name: User - Delete ip launchpad
query: |
mutation delete_ip_launchpad ($id: Int!) {
delete_ip_launchpad(where: {id:{_eq:$id},status:{_eq:"DRAFT"}}) {
affected_rows
}
}

0 comments on commit b11b786

Please sign in to comment.