BOD-35 Refactored email screen to use TinyMCE + added templates schema + base level email generation
This commit is contained in:
@@ -24,6 +24,7 @@ export const QUERY_BODYSHOP = gql`
|
||||
region_config
|
||||
md_responsibility_centers
|
||||
messagingservicesid
|
||||
template_header
|
||||
employees {
|
||||
id
|
||||
first_name
|
||||
|
||||
13
client/src/graphql/templates.queries.js
Normal file
13
client/src/graphql/templates.queries.js
Normal file
@@ -0,0 +1,13 @@
|
||||
import { gql } from "apollo-boost";
|
||||
|
||||
export const QUERY_TEMPLATES_BY_NAME = gql`
|
||||
query QUERY_TEMPLATES_BY_NAME($name: String!) {
|
||||
templates(where: { name: { _eq: $name } }) {
|
||||
id
|
||||
html
|
||||
name
|
||||
query
|
||||
bodyshopid
|
||||
}
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user