@struktoai/mirage-core
Version:
A Unified Virtual Filesystem For AI Agents
17 lines • 4.54 kB
TypeScript
export declare const TEAM_LIST_QUERY = "query Teams($first: Int!, $after: String) {\n teams(first: $first, after: $after) {\n nodes { id key name description timezone updatedAt\n states { nodes { id name type } }\n }\n pageInfo { hasNextPage endCursor }\n }\n}";
export declare const TEAM_MEMBERS_QUERY = "query TeamMembers($teamId: String!, $first: Int!, $after: String) {\n team(id: $teamId) {\n members(first: $first, after: $after) {\n nodes { id name displayName email active admin url updatedAt }\n pageInfo { hasNextPage endCursor }\n }\n }\n}";
export declare const TEAM_ISSUES_QUERY = "query TeamIssues(\n $teamId: String!, $first: Int!, $after: String, $filter: IssueFilter\n) {\n team(id: $teamId) {\n issues(first: $first, after: $after, filter: $filter) {\n nodes {\nid identifier title description priority url createdAt updatedAt\nteam { id key name }\nstate { id name }\nproject { id name }\ncycle { id name number }\nassignee { id name email }\ncreator { id name email }\nlabels { nodes { id name } }\n}\n pageInfo { hasNextPage endCursor }\n }\n }\n}";
export declare const TEAM_PROJECTS_QUERY = "query TeamProjects($teamId: String!, $first: Int!, $after: String) {\n team(id: $teamId) {\n projects(first: $first, after: $after) {\n nodes { id name description status { type } url updatedAt lead { id } }\n pageInfo { hasNextPage endCursor }\n }\n }\n}";
export declare const TEAM_CYCLES_QUERY = "query TeamCycles($teamId: String!, $first: Int!, $after: String) {\n team(id: $teamId) {\n cycles(first: $first, after: $after) {\n nodes { id name number startsAt endsAt updatedAt }\n pageInfo { hasNextPage endCursor }\n }\n }\n}";
export declare const TEAM_LABELS_QUERY = "query TeamLabels($teamId: String!, $first: Int!, $after: String) {\n team(id: $teamId) {\n labels(first: $first, after: $after) {\n nodes { id name color }\n pageInfo { hasNextPage endCursor }\n }\n }\n}";
export declare const TEAM_DOCUMENTS_QUERY = "query TeamDocuments($teamId: ID!, $first: Int!, $after: String) {\n documents(filter: { team: { id: { eq: $teamId } } }, first: $first, after: $after) {\n nodes {\n id title content url createdAt updatedAt\n project { id name }\n creator { id name email }\n }\n pageInfo { hasNextPage endCursor }\n }\n}";
export declare const ISSUE_QUERY = "query Issue($issueId: String!) {\n issue(id: $issueId) {\nid identifier title description priority url createdAt updatedAt\nteam { id key name }\nstate { id name }\nproject { id name }\ncycle { id name number }\nassignee { id name email }\ncreator { id name email }\nlabels { nodes { id name } }\n}\n}";
export declare const ISSUE_COMMENTS_QUERY = "query IssueComments($issueId: String!, $first: Int!, $after: String) {\n issue(id: $issueId) {\n comments(first: $first, after: $after) {\n nodes {\n id body url createdAt updatedAt\n user { id name displayName email }\n }\n pageInfo { hasNextPage endCursor }\n }\n }\n}";
export declare const ISSUE_LOOKUP_QUERY = "query IssueLookup($teamKey: String!, $number: Float!) {\n issues(filter: { team: { key: { eq: $teamKey } } number: { eq: $number } }, first: 1) {\n nodes { id identifier }\n }\n}";
export declare const USER_LOOKUP_QUERY = "query UserLookup($email: String!) {\n users(filter: { email: { eq: $email } }, first: 1) {\n nodes { id email name }\n }\n}";
export declare const ISSUE_CREATE_MUTATION = "mutation IssueCreate($input: IssueCreateInput!) {\n issueCreate(input: $input) { success issue { id identifier } }\n}";
export declare const ISSUE_UPDATE_MUTATION = "mutation IssueUpdate($id: String!, $input: IssueUpdateInput!) {\n issueUpdate(id: $id, input: $input) { success issue { id identifier } }\n}";
export declare const COMMENT_CREATE_MUTATION = "mutation CommentCreate($input: CommentCreateInput!) {\n commentCreate(input: $input) { success comment { id issue { id identifier } } }\n}";
export declare const COMMENT_UPDATE_MUTATION = "mutation CommentUpdate($id: String!, $input: CommentUpdateInput!) {\n commentUpdate(id: $id, input: $input) { success comment { id issue { id identifier } } }\n}";
export declare const ISSUE_SEARCH_QUERY = "query IssueSearch($term: String!, $first: Int) {\n searchIssues(term: $term, first: $first) {\n nodes {\n id identifier title url\n state { id name }\n assignee { id displayName email }\n }\n }\n}";
//# sourceMappingURL=queries.d.ts.map