Skip to content

Commit 7bf5aea

Browse files
committed
feat: set last_updated automatically
1 parent 8a45965 commit 7bf5aea

8 files changed

+47
-20
lines changed

.tina/__generated__/_schema.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.tina/__generated__/config.prebuild.jsx

+8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.tina/config.js

+8
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ const schema = defineSchema({
2929
name: "service",
3030
path: "content/service",
3131
format: "yaml",
32+
ui: {
33+
beforeSubmit: async ({form, cms, values}) => {
34+
return {
35+
...values,
36+
last_updated: new Date().toISOString(),
37+
}
38+
},
39+
},
3240
fields: [
3341
{
3442
name: "name",
+4
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
name: Betriebsplattform
22
description: ''
33
criticality: medium
4+
strategy_reference: |
5+
Projekt im Tagesgeschäft
46
operations: external
57
has_sla: false
68
lifecycle:
79
- state: idea
810
date: 2022-12-31T23:00:00.000Z
11+
additional_information: ''
12+
last_updated: 2024-04-07T12:18:29.670Z

content/service/Cudesch-digital.yaml

+5
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
name: Cudesch digital
2+
description: ''
3+
strategy_reference: |
4+
Projekt 1.5.4 cudesch digital
25
has_sla: false
36
lifecycle:
47
- state: planned
58
date: 2022-12-31T23:00:00.000Z
9+
additional_information: ''
10+
last_updated: 2024-04-07T12:20:10.740Z

content/service/Cudeschin.yaml

+5-4
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,19 @@ description: |
44
criticality: medium
55
strategy_reference: |
66
abgeschlossen
7+
product_owner: content/party/Kodack.yaml
78
development: internal
89
links:
910
- url: 'https://cudeschin.pbs.ch/'
1011
label: Cudeschin App
1112
- url: 'https://github.com/scout-ch/cudeschin'
1213
label: Github
13-
has_sla: false
14-
product_owner: content/party/Kodack.yaml
15-
additional_information: ''
1614
involved_parties:
1715
- party: content/party/AKom.yaml
1816
description: Betreuung
17+
has_sla: false
1918
lifecycle:
2019
- state: in_production
21-
date: 2019-06-01T23:00:00.000Z
20+
date: 2019-06-01T23:00:00.000Z
21+
additional_information: ''
22+
last_updated: 2024-04-07T12:21:02.855Z

content/service/HealthCheck.yaml

+15-15
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
11
name: HealthCheck
2-
product_owner: ''
2+
description: >
3+
Der HealthCheck ist ein Werkzeug, mit dem die Abteilungsleitenden und deren
4+
Betreuungsnetzwerk die «Gesundheit» ihrer Abteilung analysieren können
5+
criticality: medium
6+
strategy_reference: |
7+
Projekt 1.2.3 HealthCheck: Trends, Kartenerweiterung und Aggregation
8+
development: external
9+
operations: external
10+
links:
11+
- url: 'https://hc.scout.ch'
12+
label: App production
313
involved_parties:
414
- party: content/party/BKom.yaml
515
description: Betreuung
616
has_sla: true
7-
description: >
8-
Der HealthCheck ist ein Werkzeug, mit dem die Abteilungsleitenden und deren
9-
Betreuungsnetzwerk die «Gesundheit» ihrer Abteilung analysieren können
10-
strategy_reference: ''
1117
relations:
1218
- service: content/service/MiData.yaml
1319
description: oauth
1420
relation_criticality: critically_depends_on
15-
links:
16-
- url: 'https://hc.scout.ch'
17-
label: App production
18-
last_updated: 2023-11-17T23:00:00.000Z
21+
lifecycle:
22+
- state: in_production
23+
date: 2023-09-14T22:00:00.000Z
1924
tech_stack:
2025
- stack_component: content/tech_stack/Symfony.yaml
2126
- stack_component: content/tech_stack/Docker.yaml
2227
- stack_component: content/tech_stack/Angular.yaml
23-
lifecycle:
24-
- state: in_production
25-
date: 2023-09-14T22:00:00.000Z
2628
additional_information: ''
27-
criticality: medium
28-
development: external
29-
operations: external
29+
last_updated: 2024-04-07T12:22:32.116Z

content/service/Hering.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,4 @@ lifecycle:
3232
- state: idea
3333
date: 2021-08-31T22:00:00.000Z
3434
additional_information: ''
35+
last_updated: 2024-04-07T12:17:43.379Z

0 commit comments

Comments
 (0)