@fctc/interface-logic 4.5.4 → 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 (45) 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.mjs +1 -293
  9. package/dist/environment.d.mts +1 -1
  10. package/dist/environment.mjs +1 -2669
  11. package/dist/hooks.d.mts +1 -7
  12. package/dist/hooks.mjs +1 -8792
  13. package/dist/{local-storage-BPvoMGYJ.d.mts → local-storage-AbiOQTLK.d.mts} +1 -1
  14. package/dist/models.mjs +1 -120
  15. package/dist/provider.d.mts +3 -8
  16. package/dist/provider.mjs +1 -9487
  17. package/dist/services.mjs +1 -6912
  18. package/dist/utils.d.mts +33 -61
  19. package/dist/utils.mjs +1 -3030
  20. package/package.json +78 -92
  21. package/dist/base-model-type-DD8uZnDP.d.ts +0 -8
  22. package/dist/configs.d.ts +0 -12
  23. package/dist/configs.js +0 -2581
  24. package/dist/constants.d.ts +0 -235
  25. package/dist/constants.js +0 -335
  26. package/dist/environment.d.ts +0 -56
  27. package/dist/environment.js +0 -2708
  28. package/dist/hooks.d.ts +0 -828
  29. package/dist/hooks.js +0 -8949
  30. package/dist/local-storage-BPvoMGYJ.d.ts +0 -10
  31. package/dist/models.d.ts +0 -14
  32. package/dist/models.js +0 -147
  33. package/dist/provider.d.ts +0 -214
  34. package/dist/provider.js +0 -9533
  35. package/dist/services.d.ts +0 -700
  36. package/dist/services.js +0 -6959
  37. package/dist/store.d.mts +0 -382
  38. package/dist/store.d.ts +0 -382
  39. package/dist/store.js +0 -823
  40. package/dist/store.mjs +0 -717
  41. package/dist/types.d.ts +0 -19
  42. package/dist/types.js +0 -18
  43. package/dist/utils.d.ts +0 -112
  44. package/dist/utils.js +0 -3099
  45. 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 };