@kellanjs/actioncraft
Version:
Fluent, type-safe builder for Next.js server actions.
8 lines (7 loc) • 461 B
TypeScript
export { craft } from "./classes/craft-builder.js";
export { action } from "./classes/action-builder.js";
export { unwrap, throwable, initial, getActionId } from "./utils.js";
export { ActioncraftError, isActioncraftError } from "./classes/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";