Open History to see the last commit
1import type { ProviderDriverKind, ProviderInstanceId, ServerProvider } from "@t3tools/contracts";
2import type * as Stream from "effect/Stream";
3import type { ManagedServerProvider } from "@t3tools/provider-core/server/snapshot";
4
5export type ProviderSnapshotSource = {
6 readonly instanceId: ProviderInstanceId;
7 readonly driverKind: ProviderDriverKind;
8 readonly getSnapshot: ManagedServerProvider["getSnapshot"];
9 readonly refresh: ManagedServerProvider["refresh"];
10 readonly streamChanges: Stream.Stream<ServerProvider>;
11};