@continuous-excellence/ze-great-dashboard-aws 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/cli.js +9 -49
- package/dist/index.d.ts +0 -8
- package/dist/index.js +0 -28
- package/dist/lambda.mjs +271 -70
- package/package.json +2 -4
- package/board-config.schema.json +0 -130
- package/client/.vite/manifest.json +0 -11
- package/client/assets/index-Cuk6kga3.css +0 -1
- package/client/assets/index-k3N7vI0h.js +0 -3
- package/client/assets/index-k3N7vI0h.js.map +0 -1
- package/client/board-config.schema.json +0 -130
- package/client/index.html +0 -20
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"$id": "board-config.schema.json",
|
|
4
|
-
"title": "Ze Great Dashboard board configuration",
|
|
5
|
-
"type": "object",
|
|
6
|
-
"required": ["boards"],
|
|
7
|
-
"additionalProperties": true,
|
|
8
|
-
"properties": {
|
|
9
|
-
"sources": { "type": "object", "additionalProperties": { "$ref": "#/$defs/source" } },
|
|
10
|
-
"boards": {
|
|
11
|
-
"type": "object",
|
|
12
|
-
"minProperties": 1,
|
|
13
|
-
"additionalProperties": { "$ref": "#/$defs/board" }
|
|
14
|
-
},
|
|
15
|
-
"auth": { "$ref": "#/$defs/auth" }
|
|
16
|
-
},
|
|
17
|
-
"$defs": {
|
|
18
|
-
"duration": { "type": "string", "pattern": "^[1-9][0-9]*(?:ms|s|m|h)$" },
|
|
19
|
-
"position": {
|
|
20
|
-
"oneOf": [
|
|
21
|
-
{
|
|
22
|
-
"type": "object",
|
|
23
|
-
"required": ["x", "y", "w", "h"],
|
|
24
|
-
"properties": {
|
|
25
|
-
"x": { "type": "integer", "minimum": 0 },
|
|
26
|
-
"y": { "type": "integer", "minimum": 0 },
|
|
27
|
-
"w": { "type": "integer", "minimum": 1, "maximum": 12 },
|
|
28
|
-
"h": { "type": "integer", "minimum": 1 }
|
|
29
|
-
},
|
|
30
|
-
"additionalProperties": true
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
"type": "object",
|
|
34
|
-
"required": ["x", "y", "w", "h"],
|
|
35
|
-
"properties": {
|
|
36
|
-
"x": { "const": 0 },
|
|
37
|
-
"y": { "const": 0 },
|
|
38
|
-
"w": { "const": 0 },
|
|
39
|
-
"h": { "const": 0 }
|
|
40
|
-
},
|
|
41
|
-
"additionalProperties": true
|
|
42
|
-
}
|
|
43
|
-
]
|
|
44
|
-
},
|
|
45
|
-
"panel": {
|
|
46
|
-
"type": "object",
|
|
47
|
-
"required": ["id", "type"],
|
|
48
|
-
"additionalProperties": true,
|
|
49
|
-
"properties": {
|
|
50
|
-
"id": { "type": "string", "minLength": 1 },
|
|
51
|
-
"type": { "type": "string", "minLength": 1 },
|
|
52
|
-
"label": { "type": "string", "minLength": 1 },
|
|
53
|
-
"source": { "type": "string", "minLength": 1 },
|
|
54
|
-
"pipeline": { "oneOf": [{ "type": "string" }, { "type": "number" }] },
|
|
55
|
-
"density": { "enum": ["auto", "comfortable", "compact"] },
|
|
56
|
-
"position": { "$ref": "#/$defs/position" },
|
|
57
|
-
"refresh": { "$ref": "#/$defs/duration" },
|
|
58
|
-
"running_refresh": { "$ref": "#/$defs/duration" },
|
|
59
|
-
"running_completion_refresh": { "$ref": "#/$defs/duration" },
|
|
60
|
-
"running_completion_window": { "$ref": "#/$defs/duration" },
|
|
61
|
-
"running_animation": {
|
|
62
|
-
"enum": [
|
|
63
|
-
"radial",
|
|
64
|
-
"runway",
|
|
65
|
-
"orbit",
|
|
66
|
-
"signal-field",
|
|
67
|
-
"telemetry-bloom",
|
|
68
|
-
"release-transit",
|
|
69
|
-
"status-weather",
|
|
70
|
-
"falling-shapes",
|
|
71
|
-
"off"
|
|
72
|
-
]
|
|
73
|
-
},
|
|
74
|
-
"demo_run_duration": { "$ref": "#/$defs/duration" },
|
|
75
|
-
"demo_review_duration": { "$ref": "#/$defs/duration" },
|
|
76
|
-
"link": { "type": "string", "format": "uri" },
|
|
77
|
-
"url": { "type": "string", "format": "uri" },
|
|
78
|
-
"json_path": {
|
|
79
|
-
"type": "string",
|
|
80
|
-
"pattern": "^\\$(?:\\.[A-Za-z_][A-Za-z0-9_]*|\\[\\d+\\])*$"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"board": {
|
|
85
|
-
"type": "object",
|
|
86
|
-
"required": ["panels"],
|
|
87
|
-
"additionalProperties": true,
|
|
88
|
-
"properties": {
|
|
89
|
-
"refresh": { "$ref": "#/$defs/duration" },
|
|
90
|
-
"running_refresh": { "$ref": "#/$defs/duration" },
|
|
91
|
-
"running_completion_refresh": { "$ref": "#/$defs/duration" },
|
|
92
|
-
"running_completion_window": { "$ref": "#/$defs/duration" },
|
|
93
|
-
"panels": { "type": "array", "minItems": 1, "items": { "$ref": "#/$defs/panel" } }
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
"source": {
|
|
97
|
-
"type": "object",
|
|
98
|
-
"required": ["type"],
|
|
99
|
-
"additionalProperties": true,
|
|
100
|
-
"properties": {
|
|
101
|
-
"type": { "type": "string", "minLength": 1 },
|
|
102
|
-
"token_env": { "type": "string", "minLength": 1 },
|
|
103
|
-
"github_app": {
|
|
104
|
-
"type": "object",
|
|
105
|
-
"required": ["app_id_env", "private_key_env", "installation_id_env"],
|
|
106
|
-
"properties": {
|
|
107
|
-
"app_id_env": { "type": "string", "minLength": 1 },
|
|
108
|
-
"private_key_env": { "type": "string", "minLength": 1 },
|
|
109
|
-
"installation_id_env": { "type": "string", "minLength": 1 }
|
|
110
|
-
}
|
|
111
|
-
}
|
|
112
|
-
}
|
|
113
|
-
},
|
|
114
|
-
"auth": {
|
|
115
|
-
"type": "object",
|
|
116
|
-
"required": ["issuer"],
|
|
117
|
-
"properties": {
|
|
118
|
-
"issuer": { "type": "string", "format": "uri" },
|
|
119
|
-
"client_id": { "type": "string", "minLength": 1 },
|
|
120
|
-
"allow": {
|
|
121
|
-
"type": "object",
|
|
122
|
-
"properties": {
|
|
123
|
-
"groups": { "type": "array", "items": { "type": "string", "minLength": 1 } },
|
|
124
|
-
"subjects": { "type": "array", "items": { "type": "string", "minLength": 1 } }
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|
package/client/index.html
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en">
|
|
3
|
-
<head>
|
|
4
|
-
<!--
|
|
5
|
-
No configuration lives in this file. The server injects a window.env block as the first
|
|
6
|
-
element of <head> at request time; this template is a build artifact and stays free of
|
|
7
|
-
environment values so one build can serve any environment.
|
|
8
|
-
-->
|
|
9
|
-
<meta charset="UTF-8" />
|
|
10
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
11
|
-
<title>Trust Dashboard</title>
|
|
12
|
-
|
|
13
|
-
<script type="importmap">{"imports":{"react":"https://esm.sh/react@19.2.8","react/":"https://esm.sh/react@19.2.8/","react-dom":"https://esm.sh/react-dom@19.2.8","react-dom/":"https://esm.sh/react-dom@19.2.8/","scheduler":"https://esm.sh/scheduler@0.27.0","scheduler/":"https://esm.sh/scheduler@0.27.0/","zod":"https://esm.sh/zod@4.4.3","zod/":"https://esm.sh/zod@4.4.3/"}}</script>
|
|
14
|
-
<script type="module" crossorigin src="/__ASSET_PATH__/assets/index-k3N7vI0h.js"></script>
|
|
15
|
-
<link rel="stylesheet" crossorigin href="/__ASSET_PATH__/assets/index-Cuk6kga3.css">
|
|
16
|
-
</head>
|
|
17
|
-
<body>
|
|
18
|
-
<div id="root"></div>
|
|
19
|
-
</body>
|
|
20
|
-
</html>
|