mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-27 13:53:09 +00:00
39 lines
776 B
JavaScript
39 lines
776 B
JavaScript
const { SNIPPET_TYPE, FIELD_TYPE } = require('../../../shared/naturalcrit/codeEditor/helpers/widget-elements/constants');
|
|
|
|
module.exports = [{
|
|
name : 'monster',
|
|
type : SNIPPET_TYPE.BLOCK,
|
|
fields : [{
|
|
name : 'frame',
|
|
type : FIELD_TYPE.CHECKBOX
|
|
}, {
|
|
name : 'wide',
|
|
type : FIELD_TYPE.CHECKBOX
|
|
}]
|
|
}, {
|
|
name : 'classTable',
|
|
type : SNIPPET_TYPE.BLOCK,
|
|
fields : [{
|
|
name : 'frame',
|
|
type : FIELD_TYPE.CHECKBOX
|
|
}, {
|
|
name : 'decoration',
|
|
type : FIELD_TYPE.CHECKBOX
|
|
}, {
|
|
name : 'wide',
|
|
type : FIELD_TYPE.CHECKBOX
|
|
}]
|
|
}, {
|
|
name : 'image',
|
|
type : SNIPPET_TYPE.INJECTOR,
|
|
fields : []
|
|
}, {
|
|
name : 'artist',
|
|
type : SNIPPET_TYPE.BLOCK,
|
|
fields : [{
|
|
name : 'top',
|
|
type : FIELD_TYPE.TEXT,
|
|
increment : 5,
|
|
hints : true
|
|
}]
|
|
}]; |