@absolutejs/absolute 0.19.0-beta.677 → 0.19.0-beta.678

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,12 @@ type WorkspaceTuiActions = {
14
14
  restart: () => void | Promise<void>;
15
15
  shell: (command: string) => void | Promise<void>;
16
16
  };
17
+ type WorkspaceLogEntry = {
18
+ level: WorkspaceTuiLogLevel;
19
+ message: string;
20
+ source: string;
21
+ timestamp: string;
22
+ };
17
23
  export declare const createWorkspaceTui: ({ actions, services, version }: {
18
24
  actions: WorkspaceTuiActions;
19
25
  services: WorkspaceTuiService[];
@@ -22,6 +28,14 @@ export declare const createWorkspaceTui: ({ actions, services, version }: {
22
28
  addLog: (source: string, message: string, level?: WorkspaceTuiLogLevel) => void;
23
29
  clearLogs: () => void;
24
30
  dispose: () => void;
31
+ getRecentLogs: (limit?: number) => WorkspaceLogEntry[];
32
+ getServiceSnapshot: () => {
33
+ detail: string | undefined;
34
+ name: string;
35
+ status: WorkspaceTuiStatus;
36
+ target: string;
37
+ visibility: ServiceVisibility;
38
+ }[];
25
39
  setReadyDuration: (durationMs: number | null) => void;
26
40
  setServiceStatus: (name: string, status: WorkspaceTuiStatus, detail?: string) => void;
27
41
  start: () => void;
package/package.json CHANGED
@@ -302,5 +302,5 @@
302
302
  "typecheck": "bun run src/cli/index.ts typecheck --config example/absolute.config.ts"
303
303
  },
304
304
  "types": "./dist/src/index.d.ts",
305
- "version": "0.19.0-beta.677"
305
+ "version": "0.19.0-beta.678"
306
306
  }