@fctc/edu-logic-lib 1.0.3 → 1.0.4

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 (55) hide show
  1. package/dist/index.d.mts +1076 -23
  2. package/dist/index.d.ts +1076 -23
  3. package/dist/index.js +4 -618
  4. package/dist/index.mjs +3 -572
  5. package/package.json +1 -1
  6. package/dist/base-model-type-DvO53Lwi.d.mts +0 -7
  7. package/dist/base-model-type-DvO53Lwi.d.ts +0 -7
  8. package/dist/config.d.mts +0 -15
  9. package/dist/config.d.ts +0 -15
  10. package/dist/config.js +0 -262
  11. package/dist/config.mjs +0 -256
  12. package/dist/constants.d.mts +0 -120
  13. package/dist/constants.d.ts +0 -120
  14. package/dist/constants.js +0 -154
  15. package/dist/constants.mjs +0 -141
  16. package/dist/context-type-D5XefoL-.d.mts +0 -8
  17. package/dist/context-type-D5XefoL-.d.ts +0 -8
  18. package/dist/environment.d.mts +0 -37
  19. package/dist/environment.d.ts +0 -37
  20. package/dist/environment.js +0 -849
  21. package/dist/environment.mjs +0 -841
  22. package/dist/hooks.d.mts +0 -218
  23. package/dist/hooks.d.ts +0 -218
  24. package/dist/hooks.js +0 -4865
  25. package/dist/hooks.mjs +0 -4814
  26. package/dist/index-C_nK1Mii.d.mts +0 -19
  27. package/dist/index-C_nK1Mii.d.ts +0 -19
  28. package/dist/models.d.mts +0 -35
  29. package/dist/models.d.ts +0 -35
  30. package/dist/models.js +0 -3225
  31. package/dist/models.mjs +0 -3217
  32. package/dist/provider.d.mts +0 -16
  33. package/dist/provider.d.ts +0 -16
  34. package/dist/provider.js +0 -3232
  35. package/dist/provider.mjs +0 -3224
  36. package/dist/services.d.mts +0 -160
  37. package/dist/services.d.ts +0 -160
  38. package/dist/services.js +0 -4045
  39. package/dist/services.mjs +0 -4032
  40. package/dist/store.d.mts +0 -505
  41. package/dist/store.d.ts +0 -505
  42. package/dist/store.js +0 -582
  43. package/dist/store.mjs +0 -519
  44. package/dist/types.d.mts +0 -12
  45. package/dist/types.d.ts +0 -12
  46. package/dist/types.js +0 -2
  47. package/dist/types.mjs +0 -1
  48. package/dist/use-get-selection-DFh6sc49.d.mts +0 -26
  49. package/dist/use-get-selection-DFh6sc49.d.ts +0 -26
  50. package/dist/utils.d.mts +0 -52
  51. package/dist/utils.d.ts +0 -52
  52. package/dist/utils.js +0 -2360
  53. package/dist/utils.mjs +0 -2344
  54. package/dist/view-type-BTzRpkT7.d.mts +0 -106
  55. 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 };