UNPKG

@proofkit/fmdapi

Version:

FileMaker Data API client

17 lines (16 loc) • 414 B
function removeFMTableNames(obj) { const newObj = {}; for (const key in obj) { if (Object.hasOwn(obj, key)) { const originalKey = key; const value = obj[originalKey]; const mappedKey = typeof key === "string" && key.includes("::") ? key.split("::")[1] : key; newObj[mappedKey] = value; } } return newObj; } export { removeFMTableNames }; //# sourceMappingURL=utils.js.map