I am currently utilizing an admin dashboard powered by ng-admin. According to the documentation, it seems that each entity corresponds to an endpoint in the baseApiUrl. Now, I have a specific question:
Here is an example that works:
baseApiUrl:
entity: var user = nga.entity('users') (translates to => )
What I have tried so far:
baseApiUrl:
entity: var userProfiles = nga.entity('users').url('/profiles');
All I need is to create an entity that corresponds to
In this case, userProfiles can be passed as an argument to targetEntity and utilized as a reference type field.
However, it seems that userProfiles is not being recognized as an entity and I'm facing issues defining a listView containing only userProfiles. Does this indicate that an entity cannot be created when the URL has multiple levels like the one mentioned above?