app-node.ts 450 B

1234567891011121314
  1. import { LayerNode } from "./layer-node"
  2. export const tags = LayerNode.tags({
  3. location: ["global"],
  4. global: [],
  5. })
  6. export type GlobalNode<A, E = never> = LayerNode.Node<A, E, (typeof tags.values)["global"]>
  7. export type LocationNode<A, E = never> = LayerNode.Node<A, E, (typeof tags.values)["location"]>
  8. export const makeGlobalNode = tags.make("global")
  9. export const makeLocationNode = tags.make("location")
  10. export * as Node from "./app-node"