[WEB-3482] refactor: platform components and mobx stores (#6713)

* improvement: platform componenents and mobx stores

* minor improvements
This commit is contained in:
Prateek Shourya 2025-03-06 15:47:46 +05:30 committed by GitHub
parent 4958be7898
commit 6d216f2607
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
50 changed files with 375 additions and 102 deletions

View file

@ -40,3 +40,4 @@ export * from "./epics";
export * from "./charts";
export * from "./home";
export * from "./stickies";
export * from "./utils";

5
packages/types/src/utils.d.ts vendored Normal file
View file

@ -0,0 +1,5 @@
export type PartialDeep<K> = {
[attr in keyof K]?: K[attr] extends object ? PartialDeep<K[attr]> : K[attr];
};
export type CompleteOrEmpty<T> = T | Record<string, never>;