INPUT_OBJECT
FormConfigurationInputType
# GraphQL Schema definition
1 input FormConfigurationInputType { 5 2 # Same as callback, but invoked asynchronously. Recommended for performance 3 # reason. 4 String : 11 6 # liquid code which should evaluate to float. Delays invoking the job by specified 7 # number of minutes. Useful to invoke code at certain point in time, for example 1 8 # hour before something etc. To calculate proper number you can use time_diff 9 # filter. 10 String : 15 12 # Defines max number of retrying attempts in case of an error. Usually you do not 13 # want to change it. 14 Int : 18 16 # defines the invocaction priority, the higher the quicker timeout 17 AsyncCallbackPriority : 21 19 # ids of authorization policies which should be checked 20 ID] : [ 25 22 # liquid code to be invoked after persisting input to DB. If possible, use async 23 # callback actions instead 24 String : 31 26 # whitelist of attributes which can be persisted in the DB. On server side 27 # (callbacks, emails etc) you have access to submited values via form variable 28 # (for exapmple configuration: properties: my_var is accessible via 29 # form.properties.my_var ) 30 HashObject : 37 32 # liquid code which has to evaluate to JSON. This extends/overwrites user 33 # submitted input via form, before validation. Most useful to store in DB 34 # sensitive data which you do not want user to modify, for example 35 # context.current_user.id 36 String : 41 38 # liquid code which should evaluate to message which you want to display to user 39 # upon validation errors. Output is available via context.flash_alert 40 String : 45 42 # liquid code which should evaluate to message which you want to display to user 43 # after successful form submission. Output is available via context.flash_notice 44 String : 49 46 # liquid code to evaluate to valid form html. You have access to form_builder 47 # variable and form tag. 48 String : 51 50 HashObject : 53 52 String : 58 54 # defines where the file definition will be available after pull; should start 55 # with the module name follow by private/public scope, for example 56 # manual/public/form_configurations/my_form_configuration 57 String! : 62 59 # liquid code which should evaluate to valid path or url to which user should be 60 # redirected after successful form submission. 61 String : 64 63 String! : 68 65 # defines who can submit the form. If set to anyone, please make sure to provide 66 # authorization_policies 67 String! : 71 69 # strategy to protect against spam attacks. 70 SpamProtectionInputType : 72 }