https://dev.kronoz.win/r/marzneshin.git
| 1 | 4056c66 | Dawsh | 1y ago | import { Field } from "./dynamic-field.type"; |
| 2 | 4056c66 | Dawsh | 1y ago | |
| 3 | 4056c66 | Dawsh | 1y ago | export const transformToFields = (dictionary: { |
| 4 | 4056c66 | Dawsh | 1y ago | [key: string]: string; |
| 5 | 4056c66 | Dawsh | 1y ago | }): Field[] => |
| 6 | 4056c66 | Dawsh | 1y ago | Object.entries(dictionary).map(([name, value]) => ({ name, value })); |