Added hour
This commit is contained in:
parent
1844260aae
commit
9814112b54
@ -8,6 +8,5 @@ vars:
|
||||
scripts:
|
||||
generate_graphql:
|
||||
type: shell
|
||||
|
||||
download:
|
||||
type: shell
|
||||
|
6
graphql.config.yml
Normal file
6
graphql.config.yml
Normal file
@ -0,0 +1,6 @@
|
||||
schema: http://127.0.0.1:3001/
|
||||
documents: 'src/lib/graphql/documents/**/*.graphql'
|
||||
extensions:
|
||||
endpoints:
|
||||
example:
|
||||
url: "http://127.0.0.1:3001/"
|
@ -3,6 +3,7 @@ query GetUpcoming {
|
||||
name
|
||||
date {
|
||||
day
|
||||
hour
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -41,7 +41,7 @@ export type QueryRoot = {
|
||||
export type GetUpcomingQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type GetUpcomingQuery = { __typename?: 'QueryRoot', getUpcoming: Array<{ __typename?: 'Event', name: string, date: { __typename?: 'EventDate', day: number } }> };
|
||||
export type GetUpcomingQuery = { __typename?: 'QueryRoot', getUpcoming: Array<{ __typename?: 'Event', name: string, date: { __typename?: 'EventDate', day: number, hour: number } }> };
|
||||
|
||||
|
||||
export const GetUpcomingDocument = gql`
|
||||
@ -50,6 +50,7 @@ export const GetUpcomingDocument = gql`
|
||||
name
|
||||
date {
|
||||
day
|
||||
hour
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user