Skip to content

Commit 7a14b80

Browse files
committed
chore: feature { category, icon } in our start:templates demo
1 parent b9958a9 commit 7a14b80

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

test/fixtures/element-templates.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@
2020
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
2121
"name": "Participant Template",
2222
"id": "example.ParticipantTemplate",
23+
"category": {
24+
"id": "process-templates",
25+
"name": "Process Templates"
26+
},
27+
"icon": {
28+
"contents": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2049.363%2027.445%22%3E%3Cpath%20d%3D%22M1.818%2012.82h46.363v24.445H1.818z%22%20style%3D%22fill%3A%23fff%3Bstroke%3A%2310ad73%3Bstroke-width%3A3%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Amiter%3Bstroke-dasharray%3Anone%22%20transform%3D%22translate(-.318%20-11.32)%22%2F%3E%3Cpath%20d%3D%22m10.63%2018.247%206.684%206.684-6.684%206.683%22%20style%3D%22fill%3Anone%3Bstroke%3A%2310ad73%3Bstroke-width%3A1.7135%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%22%20transform%3D%22translate(4.551%20-11.32)%22%2F%3E%3Cpath%20d%3D%22m16.788%2017.995%206.684%206.684-6.684%206.684%22%20style%3D%22fill%3Anone%3Bstroke%3A%2310ad73%3Bstroke-width%3A1.7135%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%22%20transform%3D%22translate(4.551%20-11.32)%22%2F%3E%3Cpath%20d%3D%22m22.947%2017.975%206.683%206.684-6.683%206.683%22%20style%3D%22fill%3Anone%3Bstroke%3A%2310ad73%3Bstroke-width%3A1.7135%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%22%20transform%3D%22translate(4.551%20-11.32)%22%2F%3E%3C%2Fsvg%3E"
29+
},
2330
"appliesTo": [
2431
"bpmn:Participant"
2532
],
@@ -36,6 +43,13 @@
3643
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
3744
"name": "Start Event Template",
3845
"id": "example.StartEventTemplate",
46+
"category": {
47+
"id": "events",
48+
"name": "Events"
49+
},
50+
"icon": {
51+
"contents": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2049.388%2049.388%22%3E%3Ccircle%20cx%3D%2224.999%22%20cy%3D%2225.066%22%20r%3D%2223.233%22%20style%3D%22fill%3A%23fff%3Bstroke%3A%2310ad73%3Bstroke-width%3A2.9216%3Bstroke-linecap%3Around%3Bstroke-linejoin%3Around%3Bstroke-dasharray%3Anone%22%20transform%3D%22translate(-.306%20-.372)%22%2F%3E%3C%2Fsvg%3E"
52+
},
3953
"appliesTo": [
4054
"bpmn:StartEvent"
4155
],
@@ -69,6 +83,13 @@
6983
"$schema": "https://unpkg.com/@camunda/zeebe-element-templates-json-schema/resources/schema.json",
7084
"name": "Keywords Template",
7185
"id": "example.KeywordsTemplate",
86+
"icon": {
87+
"contents": "data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2050%2050%22%3E%3Ctext%20xml%3Aspace%3D%22preserve%22%20x%3D%223.615%22%20y%3D%2229.833%22%20style%3D%22font-style%3Anormal%3Bfont-variant%3Anormal%3Bfont-weight%3A400%3Bfont-stretch%3Anormal%3Bfont-size%3A17.6087px%3Bline-height%3A1.25%3Bfont-family%3Amonospace%3Bfill%3A%2310ad73%3Bfill-opacity%3A1%3Bstroke%3Anone%3Bstroke-width%3A.440217%3Bstroke-opacity%3A1%22%3E%3Ctspan%20x%3D%223.615%22%20y%3D%2229.833%22%20style%3D%22font-style%3Anormal%3Bfont-variant%3Anormal%3Bfont-weight%3A400%3Bfont-stretch%3Anormal%3Bfont-family%3Amonospace%3Bfill%3A%2310ad73%3Bfill-opacity%3A1%3Bstroke%3Anone%3Bstroke-width%3A.440217%3Bstroke-opacity%3A1%22%3E%23abc%3C%2Ftspan%3E%3C%2Ftext%3E%3C%2Fsvg%3E"
88+
},
89+
"category": {
90+
"id": "other-items",
91+
"name": "Other items"
92+
},
7293
"appliesTo": [
7394
"bpmn:Task"
7495
],

0 commit comments

Comments
 (0)