test-entity-library-asm 2.8.17 → 2.9.0
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.
- package/dist/CustomRepository.d.ts +9 -10
- package/dist/CustomRepository.js +20 -669
- package/dist/filters/DiscountsCodeCompanyInformation.d.ts +6 -0
- package/dist/filters/DiscountsCodeCompanyInformation.js +212 -0
- package/dist/filters/DiscountsCodeUserInformation.d.ts +6 -0
- package/dist/filters/DiscountsCodeUserInformation.js +234 -0
- package/dist/filters/LocalsCompanyInformation.d.ts +1 -1
- package/dist/filters/LocalsCompanyInformation.js +4 -1
- package/dist/filters/VerifyLocalsInformation.d.ts +6 -0
- package/dist/filters/VerifyLocalsInformation.js +193 -0
- package/dist/interfaces.d.ts +6 -2
- package/package.json +1 -1
- package/src/CustomRepository.ts +17 -818
- package/src/filters/DiscountsCodeCompanyInformation.ts +216 -0
- package/src/filters/DiscountsCodeUserInformation.ts +251 -0
- package/src/filters/LocalsCompanyInformation.ts +4 -1
- package/src/filters/VerifyLocalsInformation.ts +219 -0
- package/src/interfaces.ts +42 -37
package/src/interfaces.ts
CHANGED
|
@@ -1,61 +1,66 @@
|
|
|
1
|
-
import { DataSource } from
|
|
1
|
+
import { DataSource } from "typeorm";
|
|
2
2
|
|
|
3
3
|
export interface IShowEntity {
|
|
4
|
-
entityName: string
|
|
5
|
-
connection: DataSource
|
|
4
|
+
entityName: string;
|
|
5
|
+
connection: DataSource;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
export interface IDataBaseSource {
|
|
9
|
-
type?: IType
|
|
10
|
-
host: string
|
|
11
|
-
port: number
|
|
12
|
-
username: string
|
|
13
|
-
password: string
|
|
14
|
-
database: string
|
|
15
|
-
synchronize: boolean
|
|
16
|
-
entitiesRoute?: string
|
|
9
|
+
type?: IType;
|
|
10
|
+
host: string;
|
|
11
|
+
port: number;
|
|
12
|
+
username: string;
|
|
13
|
+
password: string;
|
|
14
|
+
database: string;
|
|
15
|
+
synchronize: boolean;
|
|
16
|
+
entitiesRoute?: string;
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
export interface IBasicLazyEvent {
|
|
20
20
|
lazyEvent: {
|
|
21
|
-
first: number
|
|
22
|
-
rows: number
|
|
23
|
-
page: number
|
|
24
|
-
sortField: any
|
|
25
|
-
sortOrder: any
|
|
26
|
-
filters: any
|
|
27
|
-
}
|
|
21
|
+
first: number;
|
|
22
|
+
rows: number;
|
|
23
|
+
page: number;
|
|
24
|
+
sortField: any;
|
|
25
|
+
sortOrder: any;
|
|
26
|
+
filters: any;
|
|
27
|
+
};
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
export interface IBasicCompany extends IBasicLazyEvent {
|
|
31
|
-
status: number | null
|
|
32
|
-
company: number | null
|
|
33
|
-
visible?: number | null
|
|
34
|
-
owner?: number | null
|
|
31
|
+
status: number | null;
|
|
32
|
+
company: number | null;
|
|
33
|
+
visible?: number | null;
|
|
34
|
+
owner?: number | null;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
export interface IPropsQueryVerifyLocals extends IPropsQueryVerifyLocal {
|
|
38
|
+
partner: number | null;
|
|
39
|
+
assigned_master: number | null;
|
|
35
40
|
}
|
|
36
41
|
|
|
37
42
|
export interface IPropsQueryVerifyLocal {
|
|
38
|
-
status: number
|
|
43
|
+
status: number;
|
|
39
44
|
lazyEvent: {
|
|
40
|
-
first: number
|
|
41
|
-
rows: number
|
|
42
|
-
page: number
|
|
43
|
-
sortField: any
|
|
44
|
-
sortOrder: any
|
|
45
|
-
filters: any
|
|
46
|
-
}
|
|
45
|
+
first: number;
|
|
46
|
+
rows: number;
|
|
47
|
+
page: number;
|
|
48
|
+
sortField: any;
|
|
49
|
+
sortOrder: any;
|
|
50
|
+
filters: any;
|
|
51
|
+
};
|
|
47
52
|
}
|
|
48
53
|
|
|
49
54
|
export interface IPropsDiscountUserOrCompany extends IBasicLazyEvent {
|
|
50
|
-
company: number | null
|
|
51
|
-
status: number | null
|
|
55
|
+
company: number | null;
|
|
56
|
+
status: number | null;
|
|
52
57
|
}
|
|
53
58
|
|
|
54
59
|
export interface IPropsContactDetails {
|
|
55
|
-
phone: string
|
|
56
|
-
email: string
|
|
57
|
-
new_phone: string
|
|
58
|
-
new_email: string
|
|
60
|
+
phone: string;
|
|
61
|
+
email: string;
|
|
62
|
+
new_phone: string;
|
|
63
|
+
new_email: string;
|
|
59
64
|
}
|
|
60
65
|
|
|
61
|
-
export type IType =
|
|
66
|
+
export type IType = "mysql" | "mariadb";
|