[FEATURE] Imports to have an index file
Description
We now have aliases for imports, for example...
import ModelA from "@models/..."
import ModelB from "@models/..."
import ModelC from "@models/..."
but we need to have a line for each imported model file.
It would be cleaner to have an index.js file in each alias import folder, so we can do...
import { ModelA, ModelB, ModelC } from "@models/..."
Screenshots
No response
Additional information
No response
It's great having you contribute to this project
Welcome to the community :nerd_face:If you would like to continue contributing to open source and would like to do it with an awesome inclusive community, you should join our Discord chat and our GitHub Organisation - we help and encourage each other to contribute to open source little and often 🤓 . Any questions let us know.
@eddiejaoude Sir can i work on this issue?
Sure, I have assigned it to you
Sure, I have assigned it to you
Thanks sir
Sure, I have assigned it to you
If you can then please elaborate this issue sir
I think we need to add a index.js file in the model directory from where we can get all the models from just using that index.js file and not using import statement for all the models.
I don't known completely i am making assumption here but importing all models to the index.js file and than exporting them all can do the job.
Again i am not sure about it so i have check first.
Hey are we looking for something like this?
import {Profile, ProfileStats, Link, LinkStats} from "@models/index";
Sure @Bharadwajshivam28, I will update the issue description (please note it is better to ask these questions before asking to have the issue assigned to you)
@Akhilbisht798 you are correct, thank you 💯
@Bharadwajshivam28 if you find this difficult then I would love to work on this please let me know :)
Sure @Bharadwajshivam28, I will update the issue description (please note it is better to ask these questions before asking to have the issue assigned to you)
@Akhilbisht798 you are correct, thank you 💯
Okay sir thanks 👍
Sure @Bharadwajshivam28, I will update the issue description (please note it is better to ask these questions before asking to have the issue assigned to you)
@Akhilbisht798 you are correct, thank you 💯
I will work on this now sir please thanks for suggesting
@Bharadwajshivam28 if you find this difficult then I would love to work on this please let me know :) Let me give it. A try 🙂
@Bharadwajshivam28 if you find this difficult then I would love to work on this please let me know :) Let me give it. A try 🙂
any update @Bharadwajshivam28
is this issue open yet
@khanahmar yes this issue is open and ready for dev as you can see by the labels, but it is already assigned
any update @Bharadwajshivam28
@MahendraBishnoi29 please be patient is has only been a few days, people have work/school etc
After 2 weeks if there is no progress we can look to re-assign the issue
alright 👍🏻
Due to lack of activity I will be unassigning this Issue.
I would like to work on this issue, please assign the issue to me @SaraJaoude
@eddiejaoude Is it the case that we need to create a new file called index.js in the models folder where we import all the schemas and export them at the same time?

I would like to work on this issue, please assign the issue to me @SaraJaoude
@Shaikh-Danish I will assign it to you
Is this issue still open? If yes i'll like to contribute!