added day

This commit is contained in:
Kasper Juul Hermansen 2022-08-20 22:31:33 +02:00
parent 476816a5d9
commit 1844260aae
Signed by: kjuulh
GPG Key ID: 0F95C140730F2F23
5 changed files with 11 additions and 1 deletions

View File

@ -0,0 +1 @@
{"/home/kjuulh/git/git.front.kjuulh.io/cibus/cibus-frontend/node_modules/.pnpm/typescript@4.7.2/node_modules/typescript/lib/typescript.js":["cd9fb647fc45341dbf03b97cd97205227f0187b0",0,1701464]}

View File

@ -8,3 +8,6 @@ vars:
scripts: scripts:
generate_graphql: generate_graphql:
type: shell type: shell
download:
type: shell

View File

@ -1,5 +1,8 @@
query GetUpcoming { query GetUpcoming {
getUpcoming { getUpcoming {
name name
date {
day
}
} }
} }

View File

@ -41,13 +41,16 @@ export type QueryRoot = {
export type GetUpcomingQueryVariables = Exact<{ [key: string]: never; }>; export type GetUpcomingQueryVariables = Exact<{ [key: string]: never; }>;
export type GetUpcomingQuery = { __typename?: 'QueryRoot', getUpcoming: Array<{ __typename?: 'Event', name: string }> }; export type GetUpcomingQuery = { __typename?: 'QueryRoot', getUpcoming: Array<{ __typename?: 'Event', name: string, date: { __typename?: 'EventDate', day: number } }> };
export const GetUpcomingDocument = gql` export const GetUpcomingDocument = gql`
query GetUpcoming { query GetUpcoming {
getUpcoming { getUpcoming {
name name
date {
day
}
} }
} }
`; `;