Skip to content

Commit

Permalink
[design-studio] Add deep structure for testing deep reverts
Browse files Browse the repository at this point in the history
  • Loading branch information
rexxars committed Oct 6, 2020
1 parent cb3bfd8 commit 0753290
Showing 1 changed file with 36 additions and 1 deletion.
37 changes: 36 additions & 1 deletion packages/design-studio/schemas/allInputs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -338,6 +338,38 @@ const urlExample = {
title: 'URL example'
}

const veryDeepStructure = {
name: 'deep',
title: 'Deep',
type: 'object',
fields: [
{
name: 'deeper',
type: 'object',
fields: [
{
name: 'evenDeeper',
type: 'object',
fields: [
{
name: 'deepest',
type: 'author'
}
]
},
{
name: 'evenDeeperSibling',
type: 'image'
}
]
},
{
name: 'deeperSibling',
type: 'string'
}
]
}

export default {
type: 'document',
name: 'allInputs',
Expand Down Expand Up @@ -404,6 +436,9 @@ export default {
textExample,

// url,
urlExample
urlExample,

// very deep structure
veryDeepStructure
]
}

0 comments on commit 0753290

Please sign in to comment.