Skip to content

Commit

Permalink
Fixes typo in graphql calls
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelfarrell76 committed Oct 19, 2023
1 parent e1eaad5 commit 5d47bb3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 17 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"author": "Transcend Inc.",
"name": "@transcend-io/cli",
"description": "Small package containing useful typescript utilities.",
"version": "4.110.0",
"version": "4.110.1",
"homepage": "https://github.com/transcend-io/cli",
"repository": {
"type": "git",
Expand Down
27 changes: 11 additions & 16 deletions src/graphql/gqls/prompt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,14 @@ export const PROMPTS = gql`
}
`;

export const PROMPT_TEMPLATES = gql`
query TranscendCliPromptTemplates($first: Int!, $offset: Int!) {
promptTemplates(
first: $first
// TODO: https://transcend.height.app/T-27909 - enable optimizations
// isExportCsv: true
// useMaster: false
// TODO: https://transcend.height.app/T-27909 - order by createdAt
// orderBy: [{ field: title, direction: ASC }]
offset: $offset
) {
export const PROMPT_TEMPLATES = gql`
query TranscendCliPromptTemplates($first: Int!, $offset: Int!) {
promptTemplates(first: $first, offset: $offset) {
nodes {
id
title
Expand All @@ -45,17 +42,14 @@ export const PROMPT_TEMPLATES = gql`
}
`;

export const PROMPT_PARTIALS = gql`
query TranscendCliPromptPartials($first: Int!, $offset: Int!) {
promptPartials(
first: $first
// TODO: https://transcend.height.app/T-27909 - enable optimizations
// isExportCsv: true
// useMaster: false
// TODO: https://transcend.height.app/T-27909 - order by createdAt
// orderBy: [{ field: title, direction: ASC }]
offset: $offset
) {
export const PROMPT_PARTIALS = gql`
query TranscendCliPromptPartials($first: Int!, $offset: Int!) {
promptPartials(first: $first, offset: $offset) {
nodes {
id
title
Expand All @@ -65,15 +59,16 @@ export const PROMPT_PARTIALS = gql`
}
`;

export const PROMPT_GROUPS = gql`
query TranscendCliPromptGroups($first: Int!, $offset: Int!) {
promptGroups(
first: $first
// TODO: https://transcend.height.app/T-27909 - enable optimizations
// isExportCsv: true
// useMaster: false
// TODO: https://transcend.height.app/T-27909 - order by createdAt
// orderBy: [{ field: title, direction: ASC }]
export const PROMPT_GROUPS = gql`
query TranscendCliPromptGroups($first: Int!, $offset: Int!) {
promptGroups(
first: $first
offset: $offset
) {
nodes {
Expand Down

0 comments on commit 5d47bb3

Please sign in to comment.