@fctc/interface-logic 4.5.3 → 4.5.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 (46) hide show
  1. package/dist/chunk-BWSA2O6Z.mjs +1 -0
  2. package/dist/chunk-CI6PEZ77.mjs +1 -0
  3. package/dist/chunk-KPELPP6F.mjs +1 -0
  4. package/dist/chunk-LCUY2BJU.mjs +1 -0
  5. package/dist/chunk-TKG5NQ2J.mjs +2 -0
  6. package/dist/chunk-Y65DQP66.mjs +5 -0
  7. package/dist/configs.mjs +1 -2544
  8. package/dist/constants.d.mts +1 -1
  9. package/dist/constants.mjs +1 -293
  10. package/dist/environment.d.mts +1 -1
  11. package/dist/environment.mjs +1 -2669
  12. package/dist/hooks.d.mts +1 -7
  13. package/dist/hooks.mjs +1 -8786
  14. package/dist/{local-storage-BPvoMGYJ.d.mts → local-storage-AbiOQTLK.d.mts} +1 -1
  15. package/dist/models.mjs +1 -120
  16. package/dist/provider.d.mts +3 -8
  17. package/dist/provider.mjs +1 -9481
  18. package/dist/services.mjs +1 -6906
  19. package/dist/utils.d.mts +33 -61
  20. package/dist/utils.mjs +1 -3030
  21. package/package.json +78 -92
  22. package/dist/base-model-type-DD8uZnDP.d.ts +0 -8
  23. package/dist/configs.d.ts +0 -12
  24. package/dist/configs.js +0 -2581
  25. package/dist/constants.d.ts +0 -235
  26. package/dist/constants.js +0 -335
  27. package/dist/environment.d.ts +0 -56
  28. package/dist/environment.js +0 -2708
  29. package/dist/hooks.d.ts +0 -828
  30. package/dist/hooks.js +0 -8943
  31. package/dist/local-storage-BPvoMGYJ.d.ts +0 -10
  32. package/dist/models.d.ts +0 -14
  33. package/dist/models.js +0 -147
  34. package/dist/provider.d.ts +0 -214
  35. package/dist/provider.js +0 -9527
  36. package/dist/services.d.ts +0 -700
  37. package/dist/services.js +0 -6953
  38. package/dist/store.d.mts +0 -382
  39. package/dist/store.d.ts +0 -382
  40. package/dist/store.js +0 -823
  41. package/dist/store.mjs +0 -717
  42. package/dist/types.d.ts +0 -19
  43. package/dist/types.js +0 -18
  44. package/dist/utils.d.ts +0 -112
  45. package/dist/utils.js +0 -3099
  46. package/dist/view-type-CfcWWR0w.d.ts +0 -137
@@ -1,137 +0,0 @@
1
- interface LoginCredentialBody {
2
- email: string;
3
- password: string;
4
- path?: string;
5
- service?: string;
6
- }
7
- interface ResetPasswordRequest {
8
- password: string;
9
- confirmPassword: string;
10
- }
11
- interface UpdatePasswordRequest {
12
- newPassword: string;
13
- oldPassword: string;
14
- }
15
- interface ForgotPasswordBody {
16
- data: ResetPasswordRequest;
17
- token: string | null;
18
- }
19
- interface updatePasswordBody {
20
- data: UpdatePasswordRequest;
21
- token: string | null;
22
- }
23
- interface SocialTokenBody {
24
- state: object;
25
- access_token: string;
26
- db: string;
27
- }
28
-
29
- interface Specification {
30
- [key: string]: any;
31
- }
32
- interface ContextApi {
33
- [key: string]: any;
34
- }
35
- interface GetAllParams {
36
- model?: string;
37
- ids?: number[];
38
- specification: Specification;
39
- domain?: any[];
40
- offset?: number;
41
- sort: any;
42
- fields: any;
43
- groupby: any;
44
- context?: ContextApi;
45
- limit?: number;
46
- }
47
- interface GetListParams {
48
- model: string;
49
- ids?: number[];
50
- specification?: Specification;
51
- domain?: any[];
52
- offset?: number;
53
- order?: string;
54
- context?: ContextApi;
55
- limit?: number;
56
- }
57
- interface GetDetailParams {
58
- ids?: number[];
59
- model?: string;
60
- specification?: Specification;
61
- context?: ContextApi;
62
- service?: string;
63
- xNode?: string;
64
- }
65
- interface SaveParams {
66
- model: string;
67
- ids?: number[] | [];
68
- data?: Record<string, any>;
69
- specification?: Specification;
70
- context?: ContextApi;
71
- path?: string;
72
- service?: string;
73
- xNode?: string;
74
- }
75
- interface DeleteParams {
76
- ids?: number[];
77
- model: string;
78
- service?: string;
79
- }
80
- interface OnChangeParams {
81
- ids?: number[];
82
- model: string;
83
- object?: Record<string, any>;
84
- specification: Specification;
85
- context?: ContextApi;
86
- fieldChange?: string[];
87
- service?: string;
88
- xNode?: string;
89
- }
90
- interface ViewData {
91
- models?: {
92
- [key: string]: {
93
- [key: string]: {
94
- type: string;
95
- relation?: string;
96
- };
97
- };
98
- };
99
- }
100
- type GetSelectionType = {
101
- domain: any;
102
- context: any;
103
- model: string;
104
- specification?: any;
105
- };
106
- interface TThreadData {
107
- thread_id?: number;
108
- thread_model?: string;
109
- limit?: number;
110
- request_list?: string[];
111
- with_context?: Record<string, any>;
112
- }
113
- interface GetExternalTab {
114
- method?: string;
115
- context?: ContextApi;
116
- service?: string;
117
- xNode?: string;
118
- }
119
-
120
- type View = [number | boolean, string];
121
- type Option = {
122
- action_id?: number;
123
- load_filters?: boolean;
124
- toolbar?: boolean;
125
- };
126
- interface GetViewParams {
127
- model?: string;
128
- views?: View[];
129
- context?: Record<string, any>;
130
- options?: Option;
131
- aid?: number | string | null | boolean;
132
- service?: string;
133
- xNode?: string;
134
- searchParams?: Record<string, string | number | boolean>;
135
- }
136
-
137
- 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, TThreadData as T, UpdatePasswordRequest as U, ViewData as V, GetDetailParams as a, GetListParams as b, GetSelectionType as c, SocialTokenBody as d, Specification as e, GetViewParams as f, View as g, GetExternalTab as h, updatePasswordBody as u };