Skip to content

Instantly share code, notes, and snippets.

@lancejpollard
Created April 24, 2023 02:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lancejpollard/84b178f80b157397800f6eb9eecee8da to your computer and use it in GitHub Desktop.
Save lancejpollard/84b178f80b157397800f6eb9eecee8da to your computer and use it in GitHub Desktop.
{
action: {
type: {
slug: 'insert',
},
},
filter: {
type: 'flow',
},
select: {
language: {
id: true,
slug: true,
title: {
id: true,
transcription: {
select: {
script: {
id: true,
},
gram: {
id: true,
text: true,
},
},
},
},
},
transcription: {
size: true,
select: {
script: {
id: true,
},
gram: {
id: true,
text: true,
},
},
},
pronunciation: {
size: true,
select: {
gram: {
id: true,
text: true,
},
},
},
},
effect: {
language: {
effect: {
id: {
effect: language.id,
},
},
},
transcription: [
{
action: {
type: {
slug: 'insert',
},
},
effect: {
script: {
effect: {
id: { effect: script.id },
},
},
gram: {
effect: {
text: { effect: 'foo' },
},
},
},
},
],
pronunciation: [
{
action: {
type: {
slug: 'insert',
},
},
effect: {
gram: {
effect: {
text: { effect: 'bar' },
},
},
},
},
{
action: {
type: {
slug: 'insert',
},
},
effect: {
gram: {
effect: {
text: { effect: 'bae' },
},
},
},
},
],
},
}
{
language: {
id: 'stub',
slug: 'ghotuo',
title: {
id: 'stub',
transcription: {
list: [
{
script: { id: 'stub' },
gram: { id: 'stub', text: 'Ghotuo' },
id: 'stub',
},
],
},
},
},
id: 'stub',
transcription: {
list: [
{
script: { id: 'stub' },
gram: { id: 'stub', text: 'foo' },
id: 'stub',
},
],
size: 1,
},
pronunciation: {
list: [
{ gram: { id: 'stub', text: 'bar' }, id: 'stub' },
{ gram: { id: 'stub', text: 'bae' }, id: 'stub' },
],
size: 2,
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment