UNPKG

@trpc/next

Version:

The tRPC Next.js library

17 lines (16 loc) 487 B
import "@trpc/server/unstable-core-do-not-import"; import "@trpc/client"; //#region src/app-dir/shared.ts /** * @internal */ function generateCacheTag(procedurePath, input) { return input ? `${procedurePath}?input=${JSON.stringify(input)}` : procedurePath; } function isFormData(value) { if (typeof FormData === "undefined") return false; return value instanceof FormData; } //#endregion export { isFormData as n, generateCacheTag as t }; //# sourceMappingURL=shared-DJ-gGeuI.mjs.map