WIP: feat(frontend): overhaul styling with warm and editorial look #12

Closed
dylan wants to merge 15 commits from feat/overhaul-frontend-design into master
2 changed files with 6 additions and 3 deletions
Showing only changes of commit 08cfbd4cbb - Show all commits

View File

@@ -58,8 +58,8 @@ public class StreamController {
Optional<Stream> stream = streamService.getActiveStream();
return stream.map(value -> ResponseEntity.ok(new APIResponse<>(SUCCESS,
"Streaming status retrieved",
new StreamResponse(true, value.getId())))).orElseGet(() -> ResponseEntity.ok(new APIResponse<>(SUCCESS,
new StreamResponse(true, value.getId(), value.getStartDate())))).orElseGet(() -> ResponseEntity.ok(new APIResponse<>(SUCCESS,
"Streaming status retrieved",
new StreamResponse(false, null))));
new StreamResponse(false, null, null))));
}
}

View File

@@ -1,7 +1,10 @@
package com.ddf.vodsystem.controllers.dto;
import java.time.Instant;
public record StreamResponse(
boolean isStreaming,
Long id
Long id,
Instant startTime
) {
}