@monorise/react 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/dist/actions/config.action.d.ts +10 -0
  2. package/dist/actions/config.action.d.ts.map +1 -0
  3. package/dist/actions/config.action.js +31 -0
  4. package/dist/actions/config.action.js.map +1 -0
  5. package/dist/actions/core.action.d.ts.map +1 -1
  6. package/dist/actions/core.action.js +2 -3
  7. package/dist/actions/core.action.js.map +1 -1
  8. package/dist/index.d.ts +388 -24
  9. package/dist/index.d.ts.map +1 -1
  10. package/dist/index.js +12 -8
  11. package/dist/index.js.map +1 -1
  12. package/dist/index.jsx +48 -0
  13. package/dist/index.jsx.map +1 -0
  14. package/dist/services/core.service.d.ts +2 -1
  15. package/dist/services/core.service.d.ts.map +1 -1
  16. package/dist/services/core.service.js +9 -10
  17. package/dist/services/core.service.js.map +1 -1
  18. package/dist/store/monorise.store.d.ts +9 -3
  19. package/dist/store/monorise.store.d.ts.map +1 -1
  20. package/dist/store/monorise.store.js +3 -11
  21. package/dist/store/monorise.store.js.map +1 -1
  22. package/index.ts +18 -4
  23. package/package.json +6 -4
  24. package/actions/app.action.ts +0 -218
  25. package/actions/auth.action.ts +0 -71
  26. package/actions/core.action.ts +0 -878
  27. package/lib/api.tsx +0 -132
  28. package/lib/config.ts +0 -36
  29. package/lib/constant.ts +0 -1
  30. package/lib/entity.ts +0 -81
  31. package/lib/utils.ts +0 -12
  32. package/services/auth.service.ts +0 -59
  33. package/services/core.service.ts +0 -416
  34. package/services/filestore.service.ts +0 -136
  35. package/store/monorise.store.ts +0 -111
  36. package/types/api.type.ts +0 -57
  37. package/types/axios.type.ts +0 -14
  38. package/types/monorise.type.ts +0 -8
@@ -1,14 +0,0 @@
1
- // types/axios.d.ts
2
- import 'axios';
3
-
4
- declare module 'axios' {
5
- export interface AxiosRequestConfig {
6
- requestKey: string;
7
- isInterruptive?: boolean;
8
- feedback?: {
9
- loading?: string | boolean;
10
- success?: ((data: any) => string) | string | boolean;
11
- failure?: string | boolean;
12
- };
13
- }
14
- }
@@ -1,8 +0,0 @@
1
- import type { CreatedEntity, Entity } from '@monorise/base';
2
-
3
- export type CommonStore<T> = {
4
- dataMap: Map<string, T>;
5
- isFirstFetched: boolean;
6
- lastKey: string;
7
- searchResults?: CreatedEntity<Entity>[];
8
- };