chore: update types of privacy policy and terms of use, connect to crm
This commit is contained in:
@@ -1213,9 +1213,9 @@ export type SiteConfig = {
|
||||
createdAt?: Maybe<Scalars['DateTime']['output']>;
|
||||
description?: Maybe<Scalars['String']['output']>;
|
||||
documentId: Scalars['ID']['output'];
|
||||
privacyPolicy?: Maybe<UploadFile>;
|
||||
privacyPolicy?: Maybe<Scalars['String']['output']>;
|
||||
publishedAt?: Maybe<Scalars['DateTime']['output']>;
|
||||
termsOfUse?: Maybe<UploadFile>;
|
||||
termsOfUse?: Maybe<Scalars['String']['output']>;
|
||||
title: Scalars['String']['output'];
|
||||
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
||||
};
|
||||
@@ -1230,9 +1230,9 @@ export type SiteConfigContactsArgs = {
|
||||
export type SiteConfigInput = {
|
||||
contacts?: InputMaybe<Array<InputMaybe<ComponentSharedContactInput>>>;
|
||||
description?: InputMaybe<Scalars['String']['input']>;
|
||||
privacyPolicy?: InputMaybe<Scalars['ID']['input']>;
|
||||
privacyPolicy?: InputMaybe<Scalars['String']['input']>;
|
||||
publishedAt?: InputMaybe<Scalars['DateTime']['input']>;
|
||||
termsOfUse?: InputMaybe<Scalars['ID']['input']>;
|
||||
termsOfUse?: InputMaybe<Scalars['String']['input']>;
|
||||
title?: InputMaybe<Scalars['String']['input']>;
|
||||
};
|
||||
|
||||
@@ -1627,7 +1627,17 @@ export type MenuItemsQuery = { __typename?: 'Query', categories: Array<{ __typen
|
||||
export type SiteConfigQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type SiteConfigQuery = { __typename?: 'Query', siteConfig?: { __typename?: 'SiteConfig', title: string, description?: string | null, contacts?: Array<{ __typename?: 'ComponentSharedContact', id: string, type: Enum_Componentsharedcontact_Type, value: string, displayValue?: string | null } | null> | null, privacyPolicy?: { __typename?: 'UploadFile', url: string } | null, termsOfUse?: { __typename?: 'UploadFile', url: string } | null } | null };
|
||||
export type SiteConfigQuery = { __typename?: 'Query', siteConfig?: { __typename?: 'SiteConfig', title: string, description?: string | null, contacts?: Array<{ __typename?: 'ComponentSharedContact', id: string, type: Enum_Componentsharedcontact_Type, value: string, displayValue?: string | null } | null> | null } | null };
|
||||
|
||||
export type PrivacyPolicyQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type PrivacyPolicyQuery = { __typename?: 'Query', siteConfig?: { __typename?: 'SiteConfig', title: string, privacyPolicy?: string | null } | null };
|
||||
|
||||
export type TermsOfUseQueryVariables = Exact<{ [key: string]: never; }>;
|
||||
|
||||
|
||||
export type TermsOfUseQuery = { __typename?: 'Query', siteConfig?: { __typename?: 'SiteConfig', title: string, termsOfUse?: string | null } | null };
|
||||
|
||||
export class TypedDocumentString<TResult, TVariables>
|
||||
extends String
|
||||
@@ -1789,12 +1799,22 @@ export const SiteConfigDocument = new TypedDocumentString(`
|
||||
value
|
||||
displayValue
|
||||
}
|
||||
privacyPolicy {
|
||||
url
|
||||
}
|
||||
termsOfUse {
|
||||
url
|
||||
}
|
||||
}
|
||||
}
|
||||
`) as unknown as TypedDocumentString<SiteConfigQuery, SiteConfigQueryVariables>;
|
||||
`) as unknown as TypedDocumentString<SiteConfigQuery, SiteConfigQueryVariables>;
|
||||
export const PrivacyPolicyDocument = new TypedDocumentString(`
|
||||
query PrivacyPolicy {
|
||||
siteConfig {
|
||||
title
|
||||
privacyPolicy
|
||||
}
|
||||
}
|
||||
`) as unknown as TypedDocumentString<PrivacyPolicyQuery, PrivacyPolicyQueryVariables>;
|
||||
export const TermsOfUseDocument = new TypedDocumentString(`
|
||||
query TermsOfUse {
|
||||
siteConfig {
|
||||
title
|
||||
termsOfUse
|
||||
}
|
||||
}
|
||||
`) as unknown as TypedDocumentString<TermsOfUseQuery, TermsOfUseQueryVariables>;
|
||||
Reference in New Issue
Block a user