quivr/frontend/lib/api/brain
Zineb El Bachiri 0b091bd8c9
Feat/shareable brains open link authenticated (#676)
* ♻️ use Single Responsibility Principle on brains_subscription

*  new brain subscription endpoints for invited user

* 📝 add documentation to endpoints

* 🎨 add base_frontend_url to send custom url for brain share

* ✏️ brains instead of brain in url

*  use origin in header for frontend url in subscription email

* 🚚 move and remove unused code

*  new subscription API for BE endpoints in frontend

*  new addBrain to  add a shared brain in frontend

* 🥚 new hook for brain invitations

*  new page for brain invitation

*  change frontend url to copy for brain subscription

* ✏️ call RBAC with wrapper function

* ✏️ last typos
2023-07-18 09:47:59 +02:00
..
__tests__ Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00
brain.ts Feat/shareable brains open link authenticated (#676) 2023-07-18 09:47:59 +02:00
useBrainApi.ts Shareable brain 8 (#674) 2023-07-17 15:45:18 +02:00