@admc-go-th/admc-library 1.0.47 → 1.0.48

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.
@@ -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)
@@ -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-KqRUUdB0.js';
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,
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as mdLink, m as mdLinkAttributes } from '../../mdLink-KqRUUdB0.js';
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-KqRUUdB0.js';
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,
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.47",
3
+ "version": "1.0.48",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",