18 lines
774 B
TypeScript
18 lines
774 B
TypeScript
import {
|
|
createEnvironmentShellAtoms,
|
|
createEnvironmentShellSummaryAtom,
|
|
createEnvironmentSnapshotAtom,
|
|
createShellEnvironmentAtoms,
|
|
} from "@t3tools/client-runtime/state/shell";
|
|
|
|
import { environmentCatalog } from "../connection/catalog";
|
|
import { connectionAtomRuntime } from "../connection/runtime";
|
|
|
|
export const shellEnvironment = createShellEnvironmentAtoms(connectionAtomRuntime);
|
|
export const environmentShell = createEnvironmentShellAtoms(connectionAtomRuntime);
|
|
export const environmentSnapshotAtom = createEnvironmentSnapshotAtom(environmentShell.stateAtom);
|
|
export const environmentShellSummaryAtom = createEnvironmentShellSummaryAtom({
|
|
catalogValueAtom: environmentCatalog.catalogValueAtom,
|
|
shellStateValueAtom: environmentShell.stateValueAtom,
|
|
});
|