@kellanjs/actioncraft
Version:
Fluent, type-safe builder for Next.js server actions.
7 lines (6 loc) • 377 B
TypeScript
export { create, initial } from "./actioncraft.js";
export { unwrap, throwable } from "./utils.js";
export { ActionCraftError, isActionCraftError } from "./error.js";
export type { Result, Ok, Err } from "./types/result.js";
export { isOk, isErr, ok, err } from "./types/result.js";
export type { InferInput, InferResult, InferData, InferErrors, } from "./types/inference.js";