/** * @hidayetcanozcan/nucleus-generic-api-caller * * Type-safe generic API caller for Next.js Server Actions. * * @author Hidayet Can Özcan * @license MIT */ export { type ActionState, createNucleusApiHook, type GenericActionEntry, type StartOptions, } from "./client/hook"; export { type BaseError, createNucleusApiFactory, type FactoryResponse, type HttpMethod, } from "./server/factory"; export * from "./types"; export { handleSetCookies, parseSetCookieHeader } from "./utils/cookie"; export { generateEndpointKey, generateEndpointName, generateGenericEndpoints, generateRouteSettings, } from "./utils/endpoint"; export { toFormData } from "./utils/formdata"; export { applyForwardedHeaders, extractForwardedHeaders, } from "./utils/headers"; export { appendQueryParams } from "./utils/query"; export { capitalize, singularize, toScreamingSnakeCase, } from "./utils/string";