Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,4 @@ mkmf.log
!.elasticbeanstalk/*.global.yml
.DS_
sync-upstream.sh
vendor*
30 changes: 30 additions & 0 deletions fixtures/sample-BodyTemplate1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"type": "Display.RenderTemplate",
"template": {
"type": "BodyTemplate1",
"title": "BodyTemplate1 Display Title",
"token": "TOKEN",
"backgroundImage": {
"sources": [
{
"url": "https://example.com/background.png"
}
]
},
"textContent": {
"primaryText": {
"text": "BodyTemplate1 Primary Text",
"type": "PlainText"
},
"secondaryText": {
"text": "BodyTemplate1 Secondary Text",
"type": "PlainText"
},
"tertiaryText": {
"text": "BodyTemplate1 Tertiary Text",
"type": "PlainText"
}
},
"backButton": "HIDDEN"
}
}
42 changes: 42 additions & 0 deletions fixtures/sample-BodyTemplate2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"type": "Display.RenderTemplate",
"template": {
"type": "BodyTemplate2",
"image": {
"contentDescription": "image description",
"sources": [
{
"url": "https://example.com/image.png",
"size": "1024",
"widthPixels": "720",
"heightPixels": "480"
}
]
},
"title": "BodyTemplate2 Display Title",
"token": "TOKEN",
"backgroundImage": {
"contentDescription": "background description",
"sources": [
{
"url": "https://example.com/background.png"
}
]
},
"textContent": {
"primaryText": {
"text": "BodyTemplate2 Primary Text",
"type": "PlainText"
},
"secondaryText": {
"text": "BodyTemplate2 Secondary Text",
"type": "PlainText"
},
"tertiaryText": {
"text": "BodyTemplate2 Tertiary Text",
"type": "PlainText"
}
},
"backButton": "HIDDEN"
}
}
41 changes: 41 additions & 0 deletions fixtures/sample-BodyTemplate3.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
{
"type": "Display.RenderTemplate",
"template": {
"type": "BodyTemplate3",
"image": {
"sources": [
{
"url": "https://example.com/image.png"
}
]
},
"title": "BodyTemplate3 Display Title",
"token": "TOKEN",
"backgroundImage": {
"contentDescription": "image description",
"sources": [
{
"url": "https://example.com/background.png",
"size": "1024",
"widthPixels": "720",
"heightPixels": "480"
}
]
},
"textContent": {
"primaryText": {
"text": "BodyTemplate3 Primary Text",
"type": "PlainText"
},
"secondaryText": {
"text": "BodyTemplate3 Secondary Text",
"type": "PlainText"
},
"tertiaryText": {
"text": "BodyTemplate3 Tertiary Text",
"type": "PlainText"
}
},
"backButton": "HIDDEN"
}
}
30 changes: 30 additions & 0 deletions fixtures/sample-BodyTemplate6.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
{
"type": "Display.RenderTemplate",
"template": {
"type": "BodyTemplate6",
"title": "BodyTemplate6 Display Title",
"token": "TOKEN",
"backgroundImage": {
"sources": [
{
"url": "https://example.com/background.png"
}
]
},
"textContent": {
"primaryText": {
"text": "BodyTemplate6 Primary Text",
"type": "PlainText"
},
"secondaryText": {
"text": "BodyTemplate6 Secondary Text",
"type": "PlainText"
},
"tertiaryText": {
"text": "BodyTemplate6 Tertiary Text",
"type": "PlainText"
}
},
"backButton": "HIDDEN"
}
}
23 changes: 23 additions & 0 deletions fixtures/sample-BodyTemplate7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"type": "Display.RenderTemplate",
"template": {
"type": "BodyTemplate7",
"image": {
"sources": [
{
"url": "https://example.com/image.png"
}
]
},
"title": "BodyTemplate7 Display Title",
"token": "TOKEN",
"backgroundImage": {
"sources": [
{
"url": "https://example.com/background.png"
}
]
},
"backButton": "HIDDEN"
}
}
158 changes: 158 additions & 0 deletions fixtures/sample-ListTemplate1.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,158 @@
{
"type": "Display.RenderTemplate",
"template": {
"type": "ListTemplate1",
"title": "ListTemplate1 Display Title",
"token": "TOKEN",
"listItems": [
{
"token": "TOKEN0",
"image": {
"contentDescription": "Item Description",
"sources": [
{
"url": "https://example.com/item1.png",
"widthPixels": 88,
"heightPixels": 88,
"size": "X_SMALL"
}
]
},
"textContent": {
"primaryText": {
"text": "Primary Text 0",
"type": "PlainText"
},
"secondaryText": {
"text": "Secondary Text 0",
"type": "PlainText"
},
"tertiaryText": {
"text": "Tertiary Text 0",
"type": "PlainText"
}
}
},
{
"token": "TOKEN1",
"image": {
"contentDescription": "Item Description",
"sources": [
{
"url": "https://example.com/item1.png",
"widthPixels": 88,
"heightPixels": 88,
"size": "X_SMALL"
}
]
},
"textContent": {
"primaryText": {
"text": "Primary Text 1",
"type": "PlainText"
},
"secondaryText": {
"text": "Secondary Text 1",
"type": "PlainText"
},
"tertiaryText": {
"text": "Tertiary Text 1",
"type": "PlainText"
}
}
},
{
"token": "TOKEN2",
"image": {
"contentDescription": "Item Description",
"sources": [
{
"url": "https://example.com/item2.png",
"widthPixels": 88,
"heightPixels": 88,
"size": "X_SMALL"
}
]
},
"textContent": {
"primaryText": {
"text": "Primary Text 2",
"type": "PlainText"
},
"secondaryText": {
"text": "Secondary Text 2",
"type": "PlainText"
},
"tertiaryText": {
"text": "Tertiary Text 2",
"type": "PlainText"
}
}
},
{
"token": "TOKEN3",
"image": {
"contentDescription": "Item Description",
"sources": [
{
"url": "https://example.com/item3.png",
"widthPixels": 88,
"heightPixels": 88,
"size": "X_SMALL"
}
]
},
"textContent": {
"primaryText": {
"text": "Primary Text 3",
"type": "PlainText"
},
"secondaryText": {
"text": "Secondary Text 3",
"type": "PlainText"
},
"tertiaryText": {
"text": "Tertiary Text 3",
"type": "PlainText"
}
}
},
{
"token": "TOKEN4",
"image": {
"contentDescription": "Item Description",
"sources": [
{
"url": "https://example.com/item4.png",
"widthPixels": 88,
"heightPixels": 88,
"size": "X_SMALL"
}
]
},
"textContent": {
"primaryText": {
"text": "Primary Text 4",
"type": "PlainText"
},
"secondaryText": {
"text": "Secondary Text 4",
"type": "PlainText"
},
"tertiaryText": {
"text": "Tertiary Text 4",
"type": "PlainText"
}
}
}
],
"backgroundImage": {
"sources": [
{
"url": "https://example.com/background.png"
}
]
},
"backButton": "HIDDEN"
}
}
Loading