| object_type |
String |
Will always be datastore_item |
| is_valid |
Boolean |
True if this references a published javascript |
| guid |
String |
The unique identifier for this javascript |
| value |
String |
Contains the same value as guid |
| name |
text |
The name of the javascript which, when combined together with the path, uniquely identifies the javscript on this site |
| path |
String |
The path, exluding filename, of this javascript used for organizational and reference purposes |
| script |
code |
The source code for the script |
| url |
String |
The full public URL for this javascript in the CDN |
| parse_liquid |
Boolean |
When true, indicates that this javascript should be parsed and rendered using liquid markup before being stored in the CDN for future reference |
| pre_includes |
javascripts |
Additional javascript objects to bundle together and output before the current script |
| post_includes |
javascripts |
Additional javascript objects to bundle together and output after the current script |
| minify |
Boolean |
When true, specifies that the current script should automatically be minified before being output |
| script_compiled |
String |
The final result of bundling, compiling, and minifying this javascript object |
| field_id |
String |
The identifier for this field |
| label |
String |
The label for this field |
| output |
String |
Adds the javascript to the document head, similar to calling {% add_javascript %} with it |