feat(FN-3009): migrate remote settings to global scope
This merge migrates Fusion's settings architecture to a unified global scope (FN-3009), consolidating settings types, defaults, merge semantics, updater logic, and routing into a centralized system that aligns dashboard remote settings with global configuration. Secondary changes include adding the Fusion-Task-Id: FN-3009
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
import { randomBytes, timingSafeEqual } from "node:crypto";
|
||||
import type { ProjectSettings } from "@fusion/core";
|
||||
import type { GlobalSettings } from "@fusion/core";
|
||||
|
||||
export type RemoteTokenValidationStatus = "valid" | "missing" | "invalid" | "expired" | "disabled";
|
||||
export type RemoteTokenType = "persistent" | "short-lived";
|
||||
|
||||
type RemoteAccessSettings = NonNullable<ProjectSettings["remoteAccess"]>;
|
||||
type RemoteAccessSettings = NonNullable<GlobalSettings["remoteAccess"]>;
|
||||
|
||||
interface ShortLivedTokenEntry {
|
||||
expiresAtMs: number;
|
||||
|
||||
Reference in New Issue
Block a user