@fctc/edu-logic-lib 1.0.3 → 1.0.5

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 (53) hide show
  1. package/dist/index.d.mts +1294 -23
  2. package/dist/index.d.ts +1294 -23
  3. package/package.json +96 -96
  4. package/dist/base-model-type-DvO53Lwi.d.mts +0 -7
  5. package/dist/base-model-type-DvO53Lwi.d.ts +0 -7
  6. package/dist/config.d.mts +0 -15
  7. package/dist/config.d.ts +0 -15
  8. package/dist/config.js +0 -262
  9. package/dist/config.mjs +0 -256
  10. package/dist/constants.d.mts +0 -120
  11. package/dist/constants.d.ts +0 -120
  12. package/dist/constants.js +0 -154
  13. package/dist/constants.mjs +0 -141
  14. package/dist/context-type-D5XefoL-.d.mts +0 -8
  15. package/dist/context-type-D5XefoL-.d.ts +0 -8
  16. package/dist/environment.d.mts +0 -37
  17. package/dist/environment.d.ts +0 -37
  18. package/dist/environment.js +0 -849
  19. package/dist/environment.mjs +0 -841
  20. package/dist/hooks.d.mts +0 -218
  21. package/dist/hooks.d.ts +0 -218
  22. package/dist/hooks.js +0 -4865
  23. package/dist/hooks.mjs +0 -4814
  24. package/dist/index-C_nK1Mii.d.mts +0 -19
  25. package/dist/index-C_nK1Mii.d.ts +0 -19
  26. package/dist/models.d.mts +0 -35
  27. package/dist/models.d.ts +0 -35
  28. package/dist/models.js +0 -3225
  29. package/dist/models.mjs +0 -3217
  30. package/dist/provider.d.mts +0 -16
  31. package/dist/provider.d.ts +0 -16
  32. package/dist/provider.js +0 -3232
  33. package/dist/provider.mjs +0 -3224
  34. package/dist/services.d.mts +0 -160
  35. package/dist/services.d.ts +0 -160
  36. package/dist/services.js +0 -4045
  37. package/dist/services.mjs +0 -4032
  38. package/dist/store.d.mts +0 -505
  39. package/dist/store.d.ts +0 -505
  40. package/dist/store.js +0 -582
  41. package/dist/store.mjs +0 -519
  42. package/dist/types.d.mts +0 -12
  43. package/dist/types.d.ts +0 -12
  44. package/dist/types.js +0 -2
  45. package/dist/types.mjs +0 -1
  46. package/dist/use-get-selection-DFh6sc49.d.mts +0 -26
  47. package/dist/use-get-selection-DFh6sc49.d.ts +0 -26
  48. package/dist/utils.d.mts +0 -52
  49. package/dist/utils.d.ts +0 -52
  50. package/dist/utils.js +0 -2360
  51. package/dist/utils.mjs +0 -2344
  52. package/dist/view-type-BTzRpkT7.d.mts +0 -106
  53. package/dist/view-type-BTzRpkT7.d.ts +0 -106
@@ -1,106 +0,0 @@
1
- interface Specification {
2
- [key: string]: any;
3
- }
4
- interface ContextApi {
5
- [key: string]: any;
6
- }
7
- interface GetAllParams {
8
- model?: string;
9
- ids?: number[];
10
- specification: Specification;
11
- domain?: any[];
12
- offset?: number;
13
- sort: any;
14
- fields: any;
15
- groupby: any;
16
- context?: ContextApi;
17
- limit?: number;
18
- }
19
- interface GetListParams {
20
- model: string;
21
- ids?: number[];
22
- specification?: Specification;
23
- domain?: any[];
24
- offset?: number;
25
- order?: string;
26
- context?: ContextApi;
27
- limit?: number;
28
- }
29
- interface GetDetailParams {
30
- ids?: number[];
31
- model?: string;
32
- specification?: Specification;
33
- context?: ContextApi;
34
- }
35
- interface SaveParams {
36
- model: string;
37
- ids?: number[] | [];
38
- data?: Record<string, any>;
39
- specification?: Specification;
40
- context?: ContextApi;
41
- }
42
- interface DeleteParams {
43
- ids?: number[];
44
- model: string;
45
- }
46
- interface OnChangeParams {
47
- ids?: number[];
48
- model: string;
49
- object?: Record<string, any>;
50
- specification: Specification;
51
- context?: ContextApi;
52
- fieldChange?: string[];
53
- }
54
- interface ViewData {
55
- models?: {
56
- [key: string]: {
57
- [key: string]: {
58
- type: string;
59
- relation?: string;
60
- };
61
- };
62
- };
63
- }
64
-
65
- interface LoginCredentialBody {
66
- email: string;
67
- password: string;
68
- path?: string;
69
- }
70
- interface ResetPasswordRequest {
71
- password: string;
72
- confirmPassword: string;
73
- }
74
- interface UpdatePasswordRequest {
75
- newPassword: string;
76
- oldPassword: string;
77
- }
78
- interface ForgotPasswordBody {
79
- data: ResetPasswordRequest;
80
- token: string | null;
81
- }
82
- interface updatePasswordBody {
83
- data: UpdatePasswordRequest;
84
- token: string | null;
85
- }
86
- interface SocialTokenBody {
87
- state: object;
88
- access_token: string;
89
- db: string;
90
- }
91
-
92
- type View = [number | boolean, string];
93
- type Option = {
94
- action_id?: number;
95
- load_filters?: boolean;
96
- toolbar?: boolean;
97
- };
98
- interface GetViewParams {
99
- model?: string;
100
- views?: View[];
101
- context?: Record<string, any>;
102
- options?: Option;
103
- aid?: number | string | null | boolean;
104
- }
105
-
106
- export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetAllParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetListParams as b, SocialTokenBody as c, Specification as d, GetViewParams as e, View as f, updatePasswordBody as u };
@@ -1,106 +0,0 @@
1
- interface Specification {
2
- [key: string]: any;
3
- }
4
- interface ContextApi {
5
- [key: string]: any;
6
- }
7
- interface GetAllParams {
8
- model?: string;
9
- ids?: number[];
10
- specification: Specification;
11
- domain?: any[];
12
- offset?: number;
13
- sort: any;
14
- fields: any;
15
- groupby: any;
16
- context?: ContextApi;
17
- limit?: number;
18
- }
19
- interface GetListParams {
20
- model: string;
21
- ids?: number[];
22
- specification?: Specification;
23
- domain?: any[];
24
- offset?: number;
25
- order?: string;
26
- context?: ContextApi;
27
- limit?: number;
28
- }
29
- interface GetDetailParams {
30
- ids?: number[];
31
- model?: string;
32
- specification?: Specification;
33
- context?: ContextApi;
34
- }
35
- interface SaveParams {
36
- model: string;
37
- ids?: number[] | [];
38
- data?: Record<string, any>;
39
- specification?: Specification;
40
- context?: ContextApi;
41
- }
42
- interface DeleteParams {
43
- ids?: number[];
44
- model: string;
45
- }
46
- interface OnChangeParams {
47
- ids?: number[];
48
- model: string;
49
- object?: Record<string, any>;
50
- specification: Specification;
51
- context?: ContextApi;
52
- fieldChange?: string[];
53
- }
54
- interface ViewData {
55
- models?: {
56
- [key: string]: {
57
- [key: string]: {
58
- type: string;
59
- relation?: string;
60
- };
61
- };
62
- };
63
- }
64
-
65
- interface LoginCredentialBody {
66
- email: string;
67
- password: string;
68
- path?: string;
69
- }
70
- interface ResetPasswordRequest {
71
- password: string;
72
- confirmPassword: string;
73
- }
74
- interface UpdatePasswordRequest {
75
- newPassword: string;
76
- oldPassword: string;
77
- }
78
- interface ForgotPasswordBody {
79
- data: ResetPasswordRequest;
80
- token: string | null;
81
- }
82
- interface updatePasswordBody {
83
- data: UpdatePasswordRequest;
84
- token: string | null;
85
- }
86
- interface SocialTokenBody {
87
- state: object;
88
- access_token: string;
89
- db: string;
90
- }
91
-
92
- type View = [number | boolean, string];
93
- type Option = {
94
- action_id?: number;
95
- load_filters?: boolean;
96
- toolbar?: boolean;
97
- };
98
- interface GetViewParams {
99
- model?: string;
100
- views?: View[];
101
- context?: Record<string, any>;
102
- options?: Option;
103
- aid?: number | string | null | boolean;
104
- }
105
-
106
- export type { ContextApi as C, DeleteParams as D, ForgotPasswordBody as F, GetAllParams as G, LoginCredentialBody as L, OnChangeParams as O, ResetPasswordRequest as R, SaveParams as S, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetListParams as b, SocialTokenBody as c, Specification as d, GetViewParams as e, View as f, updatePasswordBody as u };