Add native NixOS deployment and UI-managed provider credentials
This commit is contained in:
+3
-1
@@ -76,6 +76,7 @@ export interface State {
|
||||
data: Dataset;
|
||||
revision: string;
|
||||
callback_url: string;
|
||||
banking_app_id: string;
|
||||
connections: Connection[];
|
||||
status: {
|
||||
sync_error: string;
|
||||
@@ -192,7 +193,8 @@ export function normalizeState(state: State): State {
|
||||
!state.settings ||
|
||||
!("sessions" in state) ||
|
||||
!("connections" in state) ||
|
||||
typeof state.callback_url !== "string"
|
||||
typeof state.callback_url !== "string" ||
|
||||
typeof state.banking_app_id !== "string"
|
||||
)
|
||||
throw new Error("The server returned an incompatible state response.");
|
||||
for (const key of [
|
||||
|
||||
Reference in New Issue
Block a user