Skip to content

Commit

Permalink
filter on get[Graph/Agent/Model]BlobEntries (#8)
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Terblanche <[email protected]>
  • Loading branch information
Affie and Affie authored Feb 3, 2025
1 parent 342861f commit 1a77757
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions blobentries.toml
Original file line number Diff line number Diff line change
Expand Up @@ -107,29 +107,29 @@ query listModelBlobEntries($id: ID!) {
"""

QUERY_GET_FG_BLOBENTRIES = """
query getGraphBlobEntries($id: ID!) {
query getGraphBlobEntries($id: ID!, $entrywhere: BlobEntryWhere = {}) {
factorgraphs(where: { id: $id }) {
blobEntries {
blobEntries (where: $entrywhere) {
...FRAGMENT_BLOBENTRY
}
}
}
"""

QUERY_GET_AGENT_BLOBENTRIES = """
query getAgentBlobEntries($id: ID!) {
query getAgentBlobEntries($id: ID!, $entrywhere: BlobEntryWhere = {}) {
agents(where: { id: $id }) {
blobEntries {
blobEntries (where: $entrywhere) {
...FRAGMENT_BLOBENTRY
}
}
}
"""

QUERY_GET_MODEL_BLOBENTRIES = """
query getModelBlobEntries($id: ID!) {
query getModelBlobEntries($id: ID!, $entrywhere: BlobEntryWhere = {}) {
models(where: { id: $id }) {
blobEntries {
blobEntries (where: $entrywhere) {
...FRAGMENT_BLOBENTRY
}
}
Expand Down

0 comments on commit 1a77757

Please sign in to comment.