19 lines
527 B
TypeScript
19 lines
527 B
TypeScript
import type { Session } from "../protocol.js";
|
|
|
|
/** UI 迁移期可直接使用的最小 Session fixture。 */
|
|
export const demoSession = {
|
|
server_id: "demo-server",
|
|
project_id: "demo-project",
|
|
session_id: "demo-session",
|
|
name: "演示会话",
|
|
state: "ONLINE",
|
|
hostname: "demo-host",
|
|
username: "operator",
|
|
os: "linux",
|
|
architecture: "amd64",
|
|
first_seen_at: "2026-08-03T00:00:00Z",
|
|
last_active_at: "2026-08-03T00:00:05Z",
|
|
tags: ["fixture"],
|
|
capabilities: ["session.overview"],
|
|
} as unknown as Session;
|