repos / starfx

supercharged async flow control library.
git clone https://github.com/neurosnap/starfx.git

starfx / store / slice
Eric Bower · 23 Feb 24

mod.ts

 1import { str, StrOutput } from "./str.ts";
 2import { num, NumOutput } from "./num.ts";
 3import { table, TableOutput } from "./table.ts";
 4import { any, AnyOutput } from "./any.ts";
 5import { obj, ObjOutput } from "./obj.ts";
 6import {
 7  defaultLoader,
 8  defaultLoaderItem,
 9  LoaderOutput,
10  loaders,
11} from "./loaders.ts";
12
13export const slice = {
14  str,
15  num,
16  table,
17  any,
18  obj,
19  loaders,
20  /**
21   * @deprecated Use `slice.loaders` instead
22   */
23  loader: loaders,
24};
25export { defaultLoader, defaultLoaderItem };
26export type {
27  AnyOutput,
28  LoaderOutput,
29  NumOutput,
30  ObjOutput,
31  StrOutput,
32  TableOutput,
33};