Skip to content

Commit 48870a2

Browse files
author
Gérard Collin
committed
Merge branch 'workflow' into upgrade
# Conflicts: # common/config/rush/pnpm-lock.yaml
2 parents 698d77c + 5964543 commit 48870a2

87 files changed

Lines changed: 2416 additions & 412 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

apps/xt-host/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"xt-plugin-default": "workspace:^",
2727
"xt-type": "workspace:^",
2828
"xt-store": "workspace:^",
29+
"dc-workflow": "workspace:^",
2930
"rxjs": "^7.8.2",
3031
"tslib": "^2.8.1",
3132
"es-module-shims": "^2.8.0",

apps/xt-host/projects/host/public/assets/projects/Agenda.json

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,27 @@
3232
"sharing": {
3333
"with": "Dont-code users"
3434
}
35+
},
36+
"workflows": {
37+
"Agenda": {
38+
"entity": "Agenda",
39+
"workflow": "list-detail",
40+
"data": {
41+
"sort": {
42+
"Day": "ascending"
43+
}
44+
},
45+
"display": {
46+
"fields": {
47+
"Day": "current-and-after"
48+
}
49+
},
50+
"selection": {
51+
"fields": {
52+
"Day": "after-closest"
53+
}
54+
}
55+
}
3556
}
3657
}
3758
}

apps/xt-host/projects/host/public/assets/projects/Coffee Beans Evaluation.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,17 @@
4949
"sharing": {
5050
"with": "Dont-code users"
5151
}
52+
},
53+
"workflows": {
54+
"Coffees": {
55+
"entity": "Coffee Evaluation",
56+
"workflow": "list-detail",
57+
"data": {
58+
"sort": {
59+
"name": "ascending"
60+
}
61+
}
62+
}
5263
}
5364
}
5465
}
Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
{
2+
"name": "Electric cars",
3+
"template": false,
4+
"description": "Comparing Electric cars to buy",
5+
"imgUrl": "https://dont-code.net/assets/images/apps/voiture-electrique.jpg",
6+
"content": {
7+
"creation": {
8+
"type": "Application",
9+
"name": "Electric Cars",
10+
"entities": {
11+
"a": {
12+
"from": "",
13+
"name": "Car",
14+
"fields": {
15+
"aa": {
16+
"name": "Name",
17+
"type": "string"
18+
},
19+
"ab": {
20+
"name": "Brand",
21+
"reference": {
22+
"toType": "Car Brand",
23+
"field": "Name",
24+
"type": "MANY-TO-ONE"
25+
}
26+
},
27+
"ac": {
28+
"name": "Type",
29+
"reference": {
30+
"toType": "Car Type",
31+
"field": "Name",
32+
"type": "MANY-TO-ONE"
33+
}
34+
},
35+
"ad": {
36+
"name": "Picture",
37+
"type": "image"
38+
},
39+
"ae": {
40+
"name": "Range",
41+
"reference": {
42+
"toType": "Car Range",
43+
"field": "Name",
44+
"type": "MANY-TO-ONE"
45+
}
46+
},
47+
"af": {
48+
"name": "Charge 20->80",
49+
"reference": {
50+
"toType": "Charge Duration Range",
51+
"field": "Name",
52+
"type": "MANY-TO-ONE"
53+
}
54+
},
55+
"ag": {
56+
"name": "Charge Platform",
57+
"reference": {
58+
"toType": "Charge Capacity Type",
59+
"field": "Name",
60+
"type": "MANY-TO-ONE"
61+
}
62+
},
63+
"aj": {
64+
"name": "Drive Assistance",
65+
"reference": {
66+
"toType": "Assistance Type",
67+
"field": "Name",
68+
"type": "MANY-TO-ONE"
69+
}
70+
},
71+
"ak": {
72+
"name": "Infotainment",
73+
"reference": {
74+
"toType": "Infotainment Type",
75+
"field": "Name",
76+
"type": "MANY-TO-ONE"
77+
}
78+
},
79+
"al": {
80+
"name": "Price",
81+
"reference": {
82+
"toType": "Price Range",
83+
"field": "Name",
84+
"type": "MANY-TO-ONE"
85+
}
86+
},
87+
"am": {
88+
"name": "Comfort",
89+
"reference": {
90+
"toType": "Comfort Category",
91+
"field": "Name",
92+
"type": "MANY-TO-ONE"
93+
}
94+
}
95+
}
96+
},
97+
"b": {
98+
"name": "Car Brand",
99+
"fields": {
100+
"ba": {
101+
"name": "Name",
102+
"type": "string"
103+
}
104+
}
105+
},
106+
"c": {
107+
"name": "Car Type",
108+
"fields": {
109+
"ca": {
110+
"name": "Name",
111+
"type": "string"
112+
}
113+
}
114+
},
115+
"d": {
116+
"name": "Car Range",
117+
"fields": {
118+
"ba": {
119+
"name": "Name",
120+
"type": "string"
121+
}
122+
}
123+
},
124+
"e": {
125+
"name": "Charge Duration Range",
126+
"fields": {
127+
"ea": {
128+
"name": "Name",
129+
"type": "string"
130+
}
131+
}
132+
},
133+
"f": {
134+
"name": "Charge Capacity Type",
135+
"fields": {
136+
"fa": {
137+
"name": "Name",
138+
"type": "string"
139+
},
140+
"fb": {
141+
"name": "AC Max",
142+
"type": "number"
143+
},
144+
"fc": {
145+
"name": "DC Max",
146+
"type": "number"
147+
},
148+
"fd": {
149+
"name": "Volts",
150+
"type": "number"
151+
}
152+
}
153+
},
154+
"i": {
155+
"name": "Assistance Type",
156+
"fields": {
157+
"ia": {
158+
"name": "Name",
159+
"type": "string"
160+
}
161+
}
162+
},
163+
"j": {
164+
"name": "Infotainment Type",
165+
"fields": {
166+
"fa": {
167+
"name": "Name",
168+
"type": "string"
169+
}
170+
}
171+
},
172+
"k": {
173+
"name": "Price Range",
174+
"fields": {
175+
"ka": {
176+
"name": "Name",
177+
"type": "string"
178+
}
179+
}
180+
},
181+
"l": {
182+
"name": "Comfort Category",
183+
"fields": {
184+
"la": {
185+
"name": "Name",
186+
"type": "string"
187+
}
188+
}
189+
}
190+
},
191+
"sharing": {
192+
"with": "Dont-code users"
193+
}
194+
}
195+
}
196+
}
Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
{
2+
"name": "Mexican Food Restaurant Tracker",
3+
"description": "An application to track visits to Mexican restaurants, including price and ratings.",
4+
"content": {
5+
"creation": {
6+
"entities": [
7+
{
8+
"name": "Restaurant",
9+
"fields": [
10+
{
11+
"reference": null,
12+
"name": "name",
13+
"type": "string"
14+
},
15+
{
16+
"reference": null,
17+
"name": "location",
18+
"type": "string"
19+
},
20+
{
21+
"reference": null,
22+
"name": "cuisineType",
23+
"type": "string"
24+
}
25+
]
26+
},
27+
{
28+
"name": "Visit",
29+
"fields": [
30+
{
31+
"reference": null,
32+
"name": "date",
33+
"type": "date"
34+
},
35+
{
36+
"reference": null,
37+
"name": "totalPrice",
38+
"type": "eur-amount"
39+
},
40+
{
41+
"reference": null,
42+
"name": "rating",
43+
"type": "rating"
44+
},
45+
{
46+
"reference": {
47+
"toType": "Restaurant",
48+
"field": "name",
49+
"referenceType": "ManyToOne"
50+
},
51+
"name": "restaurant",
52+
"type": "Restaurant"
53+
},
54+
{
55+
"reference": null,
56+
"name": "notes",
57+
"type": "string"
58+
}
59+
]
60+
}
61+
],
62+
"name": "MexicanFoodRestaurantTracker",
63+
"type": "application",
64+
"sharing": {
65+
"with": "Dont-code users"
66+
}
67+
}
68+
}
69+
}

0 commit comments

Comments
 (0)