Closed SlyRock closed 2 weeks ago
Hey @SlyRock, cool! That's really useful :D Congrats!
One more comment from my side: Unfortunately, we don't use typescript everywhere right now but we have a types file: https://github.com/assemblee-virtuelle/semapps/blob/88b68ce38c76c3b9e2998a12e84483a92140858a/src/frontend/packages/semantic-data-provider/src/dataProvider/types.ts#L95-L99
Could you add the method signature here as well? :)
refreshConfig: () => Promise<Configuration>; // This is missing as well but that's not your fault, haha
uploadFile: (rawFile: File, config: Configuration) => Promise<string | null>;
Hey @SlyRock, cool! That's really useful :D Congrats!
One more comment from my side: Unfortunately, we don't use typescript everywhere right now but we have a types file:
Could you add the method signature here as well? :)
refreshConfig: () => Promise<Configuration>; // This is missing as well but that's not your fault, haha uploadFile: (rawFile: File, config: Configuration) => Promise<string | null>;
Hey Laurin, Thanks for being thankful ^^
I'm adding the signatures right now :)
PS : very happy to join you guys on this and even more so that my first PR is deemed useful ^^
As seen with @srosset81 I exposed the uploadFile method on the semantic-data-provider package