Convert the element API helpers to TypeScript
Convert the API helper functions in src/api/element.js
to TypeScript, using the request and response payloads defined in the backend API docs as a reference.
Convert the API helper functions in src/api/element.js
to TypeScript, using the request and response payloads defined in the backend API docs as a reference.