@admc-go-th/admc-library 1.0.47 → 1.0.49
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/databases/schema/mdLink.ts +8 -0
- package/databases/schema/mdPopup.ts +7 -0
- package/databases/tables/index.d.ts +1 -1
- package/databases/tables/index.js +13 -0
- package/databases/tables/mdLink.d.ts +1 -1
- package/databases/tables/mdLink.js +7 -0
- package/databases/tables/mdLinkGroup.d.ts +1 -1
- package/databases/tables/mdLinkGroup.js +7 -0
- package/databases/tables/mdPopup.d.ts +2 -0
- package/databases/tables/mdPopup.js +6 -0
- package/{mdLink-KqRUUdB0.d.ts → mdLink-Crdo8YgF.d.ts} +2 -0
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@ export interface mdLinkAttributes {
|
|
|
8
8
|
uuid: string;
|
|
9
9
|
keyName?: string;
|
|
10
10
|
groupId?: number;
|
|
11
|
+
userId?: number;
|
|
11
12
|
title?: string;
|
|
12
13
|
url?: string;
|
|
13
14
|
target?: string;
|
|
@@ -55,6 +56,13 @@ export class mdLink extends Model<mdLinkAttributes, mdLinkAttributes> implements
|
|
|
55
56
|
})
|
|
56
57
|
declare groupId?: number;
|
|
57
58
|
|
|
59
|
+
@Column({
|
|
60
|
+
field: "user_id",
|
|
61
|
+
allowNull: true,
|
|
62
|
+
type: DataType.INTEGER
|
|
63
|
+
})
|
|
64
|
+
declare userId?: number;
|
|
65
|
+
|
|
58
66
|
@Column({
|
|
59
67
|
allowNull: true,
|
|
60
68
|
type: DataType.STRING(255)
|
|
@@ -11,6 +11,7 @@ export interface mdPopupAttributes {
|
|
|
11
11
|
description?: string;
|
|
12
12
|
detail?: string;
|
|
13
13
|
imageCover?: string;
|
|
14
|
+
url?: string;
|
|
14
15
|
sort?: number;
|
|
15
16
|
status?: number;
|
|
16
17
|
hasExpire: number;
|
|
@@ -78,6 +79,12 @@ export class mdPopup extends Model<mdPopupAttributes, mdPopupAttributes> impleme
|
|
|
78
79
|
})
|
|
79
80
|
declare imageCover?: string;
|
|
80
81
|
|
|
82
|
+
@Column({
|
|
83
|
+
allowNull: true,
|
|
84
|
+
type: DataType.STRING(255)
|
|
85
|
+
})
|
|
86
|
+
declare url?: string;
|
|
87
|
+
|
|
81
88
|
@Column({
|
|
82
89
|
allowNull: true,
|
|
83
90
|
type: DataType.INTEGER
|
|
@@ -6,7 +6,7 @@ export { mdDocumentPdf, mdDocumentPdfAttributes } from './mdDocumentPdf.js';
|
|
|
6
6
|
export { mdDownload, mdDownloadAttributes } from './mdDownload.js';
|
|
7
7
|
export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGroupAttributes } from '../../mdEbook-C-qae2zR.js';
|
|
8
8
|
export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-1c4X_DI2.js';
|
|
9
|
-
export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-
|
|
9
|
+
export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-Crdo8YgF.js';
|
|
10
10
|
export { a as mdNews, m as mdNewsAttributes, c as mdNewsGroup, b as mdNewsGroupAttributes } from '../../mdNews-CYzk8W_D.js';
|
|
11
11
|
export { mdPopup, mdPopupAttributes } from './mdPopup.js';
|
|
12
12
|
export { mdSetting, mdSettingAttributes } from './mdSetting.js';
|
|
@@ -2430,6 +2430,13 @@ __decorateClass([
|
|
|
2430
2430
|
type: import_sequelize_typescript23.DataType.INTEGER
|
|
2431
2431
|
})
|
|
2432
2432
|
], mdLink.prototype, "groupId", 2);
|
|
2433
|
+
__decorateClass([
|
|
2434
|
+
(0, import_sequelize_typescript23.Column)({
|
|
2435
|
+
field: "user_id",
|
|
2436
|
+
allowNull: true,
|
|
2437
|
+
type: import_sequelize_typescript23.DataType.INTEGER
|
|
2438
|
+
})
|
|
2439
|
+
], mdLink.prototype, "userId", 2);
|
|
2433
2440
|
__decorateClass([
|
|
2434
2441
|
(0, import_sequelize_typescript23.Column)({
|
|
2435
2442
|
allowNull: true,
|
|
@@ -2830,6 +2837,12 @@ __decorateClass([
|
|
|
2830
2837
|
type: import_sequelize_typescript26.DataType.STRING(60)
|
|
2831
2838
|
})
|
|
2832
2839
|
], mdPopup.prototype, "imageCover", 2);
|
|
2840
|
+
__decorateClass([
|
|
2841
|
+
(0, import_sequelize_typescript26.Column)({
|
|
2842
|
+
allowNull: true,
|
|
2843
|
+
type: import_sequelize_typescript26.DataType.STRING(255)
|
|
2844
|
+
})
|
|
2845
|
+
], mdPopup.prototype, "url", 2);
|
|
2833
2846
|
__decorateClass([
|
|
2834
2847
|
(0, import_sequelize_typescript26.Column)({
|
|
2835
2848
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { a as mdLink, m as mdLinkAttributes } from '../../mdLink-
|
|
2
|
+
export { a as mdLink, m as mdLinkAttributes } from '../../mdLink-Crdo8YgF.js';
|
|
@@ -151,6 +151,13 @@ __decorateClass([
|
|
|
151
151
|
type: import_sequelize_typescript2.DataType.INTEGER
|
|
152
152
|
})
|
|
153
153
|
], mdLink.prototype, "groupId", 2);
|
|
154
|
+
__decorateClass([
|
|
155
|
+
(0, import_sequelize_typescript2.Column)({
|
|
156
|
+
field: "user_id",
|
|
157
|
+
allowNull: true,
|
|
158
|
+
type: import_sequelize_typescript2.DataType.INTEGER
|
|
159
|
+
})
|
|
160
|
+
], mdLink.prototype, "userId", 2);
|
|
154
161
|
__decorateClass([
|
|
155
162
|
(0, import_sequelize_typescript2.Column)({
|
|
156
163
|
allowNull: true,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export { c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-
|
|
2
|
+
export { c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-Crdo8YgF.js';
|
|
@@ -64,6 +64,13 @@ __decorateClass([
|
|
|
64
64
|
type: import_sequelize_typescript.DataType.INTEGER
|
|
65
65
|
})
|
|
66
66
|
], mdLink.prototype, "groupId", 2);
|
|
67
|
+
__decorateClass([
|
|
68
|
+
(0, import_sequelize_typescript.Column)({
|
|
69
|
+
field: "user_id",
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
72
|
+
})
|
|
73
|
+
], mdLink.prototype, "userId", 2);
|
|
67
74
|
__decorateClass([
|
|
68
75
|
(0, import_sequelize_typescript.Column)({
|
|
69
76
|
allowNull: true,
|
|
@@ -9,6 +9,7 @@ interface mdPopupAttributes {
|
|
|
9
9
|
description?: string;
|
|
10
10
|
detail?: string;
|
|
11
11
|
imageCover?: string;
|
|
12
|
+
url?: string;
|
|
12
13
|
sort?: number;
|
|
13
14
|
status?: number;
|
|
14
15
|
hasExpire: number;
|
|
@@ -28,6 +29,7 @@ declare class mdPopup extends Model<mdPopupAttributes, mdPopupAttributes> implem
|
|
|
28
29
|
description?: string;
|
|
29
30
|
detail?: string;
|
|
30
31
|
imageCover?: string;
|
|
32
|
+
url?: string;
|
|
31
33
|
sort?: number;
|
|
32
34
|
status?: number;
|
|
33
35
|
hasExpire: number;
|
|
@@ -84,6 +84,12 @@ __decorateClass([
|
|
|
84
84
|
type: import_sequelize_typescript.DataType.STRING(60)
|
|
85
85
|
})
|
|
86
86
|
], mdPopup.prototype, "imageCover", 2);
|
|
87
|
+
__decorateClass([
|
|
88
|
+
(0, import_sequelize_typescript.Column)({
|
|
89
|
+
allowNull: true,
|
|
90
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
91
|
+
})
|
|
92
|
+
], mdPopup.prototype, "url", 2);
|
|
87
93
|
__decorateClass([
|
|
88
94
|
(0, import_sequelize_typescript.Column)({
|
|
89
95
|
allowNull: true,
|
|
@@ -33,6 +33,7 @@ interface mdLinkAttributes {
|
|
|
33
33
|
uuid: string;
|
|
34
34
|
keyName?: string;
|
|
35
35
|
groupId?: number;
|
|
36
|
+
userId?: number;
|
|
36
37
|
title?: string;
|
|
37
38
|
url?: string;
|
|
38
39
|
target?: string;
|
|
@@ -51,6 +52,7 @@ declare class mdLink extends Model<mdLinkAttributes, mdLinkAttributes> implement
|
|
|
51
52
|
uuid: string;
|
|
52
53
|
keyName?: string;
|
|
53
54
|
groupId?: number;
|
|
55
|
+
userId?: number;
|
|
54
56
|
title?: string;
|
|
55
57
|
url?: string;
|
|
56
58
|
target?: string;
|