chore: Verzeichnis apiMockData für API-Mock-Dateien erstellt
- Struktur für API-Mock-Daten unter /apiMockData angelegt - Mock-Dateien aus Produktionsumgebung eingefügt - Verwendung nur für Entwicklungsumgebung (lokale API Tests) - Daten werden per API aus /pages/api/ geladen und ggf. verändert
This commit is contained in:
6
apiMockData/digitaleausgaengeMockData.json
Normal file
6
apiMockData/digitaleausgaengeMockData.json
Normal file
@@ -0,0 +1,6 @@
|
||||
[
|
||||
{ "id": 1, "description": "Ausgang1", "toggle": true },
|
||||
{ "id": 2, "description": "Ausgang2", "toggle": false },
|
||||
{ "id": 3, "description": "Ausgang3", "toggle": true },
|
||||
{ "id": 4, "description": "Ausgang4", "toggle": false }
|
||||
]
|
||||
Reference in New Issue
Block a user