@trpc/next
Version:
17 lines (16 loc) • 487 B
JavaScript
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