add contacts to icon hepler
This commit is contained in:
13
src/graphql-documents/site-config.gql.generated.ts
Normal file
13
src/graphql-documents/site-config.gql.generated.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* eslint-disable */
|
||||
/* Generated by scripts/endpoint-generate.mjs — do not edit by hand */
|
||||
import type { ExecutionResult } from "graphql";
|
||||
|
||||
import { execute } from "../graphql/execute";
|
||||
import type { SiteConfigQueryQuery, SiteConfigQueryQueryVariables } from "../graphql/graphql";
|
||||
import { siteConfigDocument } from "./site-config.gql";
|
||||
|
||||
export const siteConfigQueryQuery = {
|
||||
async execute(variables?: SiteConfigQueryQueryVariables): Promise<ExecutionResult<SiteConfigQueryQuery>> {
|
||||
return execute<SiteConfigQueryQuery, SiteConfigQueryQueryVariables>(siteConfigDocument, variables);
|
||||
},
|
||||
};
|
||||
16
src/graphql-documents/site-config.gql.ts
Normal file
16
src/graphql-documents/site-config.gql.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
import gql from 'graphql-tag'
|
||||
|
||||
export const siteConfigDocument = gql`
|
||||
query SiteConfigQuery {
|
||||
siteConfig {
|
||||
title
|
||||
description
|
||||
contacts {
|
||||
id
|
||||
type
|
||||
value
|
||||
displayValue
|
||||
}
|
||||
}
|
||||
}
|
||||
`
|
||||
Reference in New Issue
Block a user