@admc-go-th/admc-library 1.0.108 → 1.0.109

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.
@@ -30,4 +30,5 @@ export class authItemChild extends Model<authItemChildAttributes, authItemChildA
30
30
 
31
31
  @BelongsTo(() => authItem)
32
32
  declare authItem?: authItem;
33
+
33
34
  }
@@ -9,6 +9,7 @@ export interface mdBannerAttributes {
9
9
  keyName?: string;
10
10
  title?: string;
11
11
  description?: string;
12
+ imageCover?: string;
12
13
  fileUuid?: string;
13
14
  video?: string;
14
15
  attachments?: object;
@@ -64,6 +65,13 @@ export class mdBanner extends Model<mdBannerAttributes, mdBannerAttributes> impl
64
65
  })
65
66
  declare description?: string;
66
67
 
68
+ @Column({
69
+ field: "image_cover",
70
+ allowNull: true,
71
+ type: DataType.STRING(255)
72
+ })
73
+ declare imageCover?: string;
74
+
67
75
  @ForeignKey(() => files)
68
76
  @Column({
69
77
  field: "file_uuid",
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { a as files, f as filesAttributes } from '../../files-Cwib_51v.js';
2
+ export { a as files, f as filesAttributes } from '../../files-Dp2zDQAj.js';
@@ -69,6 +69,13 @@ __decorateClass([
69
69
  type: import_sequelize_typescript.DataType.STRING
70
70
  })
71
71
  ], mdBanner.prototype, "description", 2);
72
+ __decorateClass([
73
+ (0, import_sequelize_typescript.Column)({
74
+ field: "image_cover",
75
+ allowNull: true,
76
+ type: import_sequelize_typescript.DataType.STRING(255)
77
+ })
78
+ ], mdBanner.prototype, "imageCover", 2);
72
79
  __decorateClass([
73
80
  (0, import_sequelize_typescript.ForeignKey)(() => files),
74
81
  (0, import_sequelize_typescript.Column)({
@@ -7,7 +7,7 @@ export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as
7
7
  export { b as authItem, a as authItemAttributes, d as authItemChild, c as authItemChildAttributes, e as menu, m as menuAttributes, g as msModule, f as msModuleAttributes } from '../../authItem-DBSkCaSi.js';
8
8
  export { contactUs, contactUsAttributes } from './contactUs.js';
9
9
  export { contentGuidelinesTour, contentGuidelinesTourAttributes } from './contentGuidelinesTour.js';
10
- export { a as files, f as filesAttributes, b as mdBanner, m as mdBannerAttributes } from '../../files-Cwib_51v.js';
10
+ export { a as files, f as filesAttributes, b as mdBanner, m as mdBannerAttributes } from '../../files-Dp2zDQAj.js';
11
11
  export { helper, helperAttributes } from './helper.js';
12
12
  export { logs, logsAttributes } from './logs.js';
13
13
  export { mdCmsSingle, mdCmsSingleAttributes } from './mdCmsSingle.js';
@@ -2390,6 +2390,13 @@ __decorateClass([
2390
2390
  type: import_sequelize_typescript22.DataType.STRING
2391
2391
  })
2392
2392
  ], mdBanner.prototype, "description", 2);
2393
+ __decorateClass([
2394
+ (0, import_sequelize_typescript22.Column)({
2395
+ field: "image_cover",
2396
+ allowNull: true,
2397
+ type: import_sequelize_typescript22.DataType.STRING(255)
2398
+ })
2399
+ ], mdBanner.prototype, "imageCover", 2);
2393
2400
  __decorateClass([
2394
2401
  (0, import_sequelize_typescript22.ForeignKey)(() => files),
2395
2402
  (0, import_sequelize_typescript22.Column)({
@@ -1,2 +1,2 @@
1
1
  import 'sequelize-typescript';
2
- export { b as mdBanner, m as mdBannerAttributes } from '../../files-Cwib_51v.js';
2
+ export { b as mdBanner, m as mdBannerAttributes } from '../../files-Dp2zDQAj.js';
@@ -196,6 +196,13 @@ __decorateClass([
196
196
  type: import_sequelize_typescript2.DataType.STRING
197
197
  })
198
198
  ], mdBanner.prototype, "description", 2);
199
+ __decorateClass([
200
+ (0, import_sequelize_typescript2.Column)({
201
+ field: "image_cover",
202
+ allowNull: true,
203
+ type: import_sequelize_typescript2.DataType.STRING(255)
204
+ })
205
+ ], mdBanner.prototype, "imageCover", 2);
199
206
  __decorateClass([
200
207
  (0, import_sequelize_typescript2.ForeignKey)(() => files),
201
208
  (0, import_sequelize_typescript2.Column)({
@@ -6,6 +6,7 @@ interface mdBannerAttributes {
6
6
  keyName?: string;
7
7
  title?: string;
8
8
  description?: string;
9
+ imageCover?: string;
9
10
  fileUuid?: string;
10
11
  video?: string;
11
12
  attachments?: object;
@@ -28,6 +29,7 @@ declare class mdBanner extends Model<mdBannerAttributes, mdBannerAttributes> imp
28
29
  keyName?: string;
29
30
  title?: string;
30
31
  description?: string;
32
+ imageCover?: string;
31
33
  fileUuid?: string;
32
34
  video?: string;
33
35
  attachments?: object;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.108",
3
+ "version": "1.0.109",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",