freeipa-webui
freeipa-webui copied to clipboard
[CL] Split the RPC API functionality into several parts/files
The Communication Layer is handled by the rpc.ts
file, where the main endpoints to use the IPA API commands are defined.
IPA API currently has more than 300 commands, so keeping them in a single file can lead to a humongous file making it difficult to maintain.
Using the RTK Query's code injection feature, it should be possible to split the endpoints into different files/APIs and inject them to the main API.