Merged in feat/BOOK-591-jotform (pull request #3350)
Feat/BOOK-591 jotform * feat(BOOK-591): create jotform * feat(BOOK-591): jotform * feat(BOOK-591): jotform * fix(BOOK-591): add embedhandler * feat(BOOK-591): refactor jotform * feat(BOOK-591): remove inline styles * feat(BOOK-591): remove typename * feat(BOOK-591): add jotformembedhandler Approved-by: Erik Tiekstra
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { Jotform, JotformRef } from "../Jotform.graphql"
|
||||
export const Jotform_ContentPage = gql`
|
||||
fragment Jotform_ContentPage on ContentPageBlocksJotform {
|
||||
__typename
|
||||
jotform {
|
||||
formConnection {
|
||||
edges {
|
||||
node {
|
||||
...Jotform
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${Jotform}
|
||||
`
|
||||
|
||||
export const Jotform_ContentPageRefs = gql`
|
||||
fragment Jotform_ContentPageRefs on ContentPageBlocksJotform {
|
||||
__typename
|
||||
jotform {
|
||||
formConnection {
|
||||
edges {
|
||||
node {
|
||||
...JotformRef
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
${JotformRef}
|
||||
`
|
||||
18
packages/trpc/lib/graphql/Fragments/Jotform.graphql.ts
Normal file
18
packages/trpc/lib/graphql/Fragments/Jotform.graphql.ts
Normal file
@@ -0,0 +1,18 @@
|
||||
import { gql } from "graphql-tag"
|
||||
|
||||
import { System } from "./System.graphql"
|
||||
|
||||
export const Jotform = gql`
|
||||
fragment Jotform on Jotform {
|
||||
form_id
|
||||
}
|
||||
`
|
||||
|
||||
export const JotformRef = gql`
|
||||
fragment JotformRef on Jotform {
|
||||
system {
|
||||
...System
|
||||
}
|
||||
}
|
||||
${System}
|
||||
`
|
||||
Reference in New Issue
Block a user