durable-actors-observer 0.7.9 → 0.7.10

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.
@@ -0,0 +1,4 @@
1
+ import type { ActorInventory } from "./client.js";
2
+ export declare function ConnectionInventoryNotice({ inventory }: {
3
+ inventory?: ActorInventory;
4
+ }): import("react").JSX.Element | null;
@@ -23,7 +23,7 @@ interface Placed {
23
23
  export declare function SocketTimeline({ sessions, start, end, endLabel, selected, onSelect }: SocketTimelineProps): import("react").JSX.Element;
24
24
  export declare function packLanes(sessions: SocketSession[], start: number, end: number): Lane[];
25
25
  export declare function timelineTicks(start: number, end: number): number[];
26
- export declare function statusLabel(status: SocketSession["status"]): "Open" | "Closed" | "Lost";
26
+ export declare function statusLabel(status: SocketSession["status"]): "Open" | "Closed" | "Unknown" | "Lost";
27
27
  export declare function durationLabel(session: SocketSession, now: number): string;
28
28
  export declare function shortId(id: string): string;
29
29
  export {};
package/dist/client.d.ts CHANGED
@@ -18,6 +18,7 @@ interface ActorConnection {
18
18
  metadata: unknown;
19
19
  }
20
20
  interface ActorInventory {
21
+ connectionsComplete: boolean;
21
22
  actors: {
22
23
  actorName: string;
23
24
  live: number;
@@ -1,7 +1,7 @@
1
1
  import * as React from "react";
2
2
  import { type VariantProps } from "class-variance-authority";
3
3
  declare const buttonVariants: (props?: ({
4
- variant?: "default" | "link" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
4
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "ghost" | null | undefined;
5
5
  size?: "default" | "sm" | "lg" | "icon" | "icon-sm" | "icon-lg" | null | undefined;
6
6
  } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
7
  declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {