summaryrefslogtreecommitdiff
path: root/plugins/warp/src/templates/file.json
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/warp/src/templates/file.json')
-rw-r--r--plugins/warp/src/templates/file.json21
1 files changed, 21 insertions, 0 deletions
diff --git a/plugins/warp/src/templates/file.json b/plugins/warp/src/templates/file.json
new file mode 100644
index 00000000..764d35cd
--- /dev/null
+++ b/plugins/warp/src/templates/file.json
@@ -0,0 +1,21 @@
+{
+ "title": "{{ title }}",
+ "chunks": [
+ {% for chunk in chunks %}
+ {
+ "title": "{{ chunk.title }}",
+ "target": "{{ chunk.target }}",
+ "total_item_count": {{ chunk.total_item_count }},
+ "item_view": [
+ {% for item in chunk.item_view %}
+ {
+ "guid": "{{ item.guid }}",
+ "name": "{{ item.name or 'N/A' }}",
+ "note": "{{ item.note or 'N/A' }}"
+ }{% if not loop.last %},{% endif %}
+ {% endfor %}
+ ]
+ }{% if not loop.last %},{% endif %}
+ {% endfor %}
+ ]
+} \ No newline at end of file