@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,19 +0,0 @@
1
- interface BaseModelInit {
2
- name: string;
3
- view: Record<string, any>;
4
- actContext?: Record<string, any>;
5
- fields?: any;
6
- }
7
- declare class BaseModel {
8
- name: string;
9
- view: Record<string, any>;
10
- actContext?: Record<string, any>;
11
- fields?: any;
12
- constructor(init: BaseModelInit);
13
- private getSpecificationByFields;
14
- getTreeProps(): Record<string, any>;
15
- getTreeFields(): Record<string, any>[];
16
- getSpecification(): Record<string, any>;
17
- }
18
-
19
- export { BaseModel as B, type BaseModelInit as a };
@@ -1,19 +0,0 @@
1
- interface BaseModelInit {
2
- name: string;
3
- view: Record<string, any>;
4
- actContext?: Record<string, any>;
5
- fields?: any;
6
- }
7
- declare class BaseModel {
8
- name: string;
9
- view: Record<string, any>;
10
- actContext?: Record<string, any>;
11
- fields?: any;
12
- constructor(init: BaseModelInit);
13
- private getSpecificationByFields;
14
- getTreeProps(): Record<string, any>;
15
- getTreeFields(): Record<string, any>[];
16
- getSpecification(): Record<string, any>;
17
- }
18
-
19
- export { BaseModel as B, type BaseModelInit as a };
package/dist/models.d.mts DELETED
@@ -1,35 +0,0 @@
1
- import { B as BaseModel } from './index-C_nK1Mii.mjs';
2
- import { B as BaseModelInit } from './base-model-type-DvO53Lwi.mjs';
3
-
4
- interface CompanyData {
5
- id?: number;
6
- name?: string;
7
- [key: string]: any;
8
- }
9
- interface CompanyResponse {
10
- data: CompanyData;
11
- status: number;
12
- [key: string]: any;
13
- }
14
- declare class CompanyModel extends BaseModel {
15
- constructor(init: BaseModelInit);
16
- getCurrentCompany(): Promise<CompanyResponse>;
17
- getUserCompany(id: number): Promise<CompanyResponse>;
18
- }
19
-
20
- interface UserData {
21
- id?: number;
22
- name?: string;
23
- [key: string]: any;
24
- }
25
- interface UserResponse {
26
- data: UserData;
27
- status: number;
28
- [key: string]: any;
29
- }
30
- declare class UserModel extends BaseModel {
31
- constructor(init: BaseModelInit);
32
- getProfile(): Promise<UserResponse>;
33
- }
34
-
35
- export { BaseModel, CompanyModel, UserModel };
package/dist/models.d.ts DELETED
@@ -1,35 +0,0 @@
1
- import { B as BaseModel } from './index-C_nK1Mii.js';
2
- import { B as BaseModelInit } from './base-model-type-DvO53Lwi.js';
3
-
4
- interface CompanyData {
5
- id?: number;
6
- name?: string;
7
- [key: string]: any;
8
- }
9
- interface CompanyResponse {
10
- data: CompanyData;
11
- status: number;
12
- [key: string]: any;
13
- }
14
- declare class CompanyModel extends BaseModel {
15
- constructor(init: BaseModelInit);
16
- getCurrentCompany(): Promise<CompanyResponse>;
17
- getUserCompany(id: number): Promise<CompanyResponse>;
18
- }
19
-
20
- interface UserData {
21
- id?: number;
22
- name?: string;
23
- [key: string]: any;
24
- }
25
- interface UserResponse {
26
- data: UserData;
27
- status: number;
28
- [key: string]: any;
29
- }
30
- declare class UserModel extends BaseModel {
31
- constructor(init: BaseModelInit);
32
- getProfile(): Promise<UserResponse>;
33
- }
34
-
35
- export { BaseModel, CompanyModel, UserModel };