@admc-go-th/admc-library 1.0.39 → 1.0.41

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.
@@ -0,0 +1,83 @@
1
+ import { Model } from 'sequelize-typescript';
2
+
3
+ interface mdNewsGroupAttributes {
4
+ id?: number;
5
+ uuid?: string;
6
+ keyName?: string;
7
+ userId?: number;
8
+ name: string;
9
+ description?: string;
10
+ status?: number;
11
+ createdBy?: string;
12
+ createdDate?: Date;
13
+ updatedBy?: string;
14
+ updatedDate?: Date;
15
+ }
16
+ declare class mdNewsGroup extends Model<mdNewsGroupAttributes, mdNewsGroupAttributes> implements mdNewsGroupAttributes {
17
+ id?: number;
18
+ uuid?: string;
19
+ keyName?: string;
20
+ userId?: number;
21
+ name: string;
22
+ description?: string;
23
+ status?: number;
24
+ createdBy?: string;
25
+ createdDate?: Date;
26
+ updatedBy?: string;
27
+ updatedDate?: Date;
28
+ mdNews?: mdNews[];
29
+ }
30
+
31
+ interface mdNewsAttributes {
32
+ id?: number;
33
+ uuid: string;
34
+ keyName?: string;
35
+ groupId?: number;
36
+ userId: number;
37
+ title?: string;
38
+ description?: string;
39
+ detail?: string;
40
+ metaTitle?: string;
41
+ metaKeyword?: string;
42
+ metaDescription?: string;
43
+ imageCover?: string;
44
+ imageGallery?: object;
45
+ attachments?: object;
46
+ sort?: number;
47
+ status?: number;
48
+ hasExpire: number;
49
+ startDate?: Date;
50
+ expireDate?: Date;
51
+ createdBy?: string;
52
+ createdDate?: Date;
53
+ updatedBy?: string;
54
+ updatedDate?: Date;
55
+ }
56
+ declare class mdNews extends Model<mdNewsAttributes, mdNewsAttributes> implements mdNewsAttributes {
57
+ id?: number;
58
+ uuid: string;
59
+ keyName?: string;
60
+ groupId?: number;
61
+ userId: number;
62
+ title?: string;
63
+ description?: string;
64
+ detail?: string;
65
+ metaTitle?: string;
66
+ metaKeyword?: string;
67
+ metaDescription?: string;
68
+ imageCover?: string;
69
+ imageGallery?: object;
70
+ attachments?: object;
71
+ sort?: number;
72
+ status?: number;
73
+ hasExpire: number;
74
+ startDate?: Date;
75
+ expireDate?: Date;
76
+ createdBy?: string;
77
+ createdDate?: Date;
78
+ updatedBy?: string;
79
+ updatedDate?: Date;
80
+ mdNewsGroup?: mdNewsGroup;
81
+ }
82
+
83
+ export { mdNews as a, type mdNewsGroupAttributes as b, mdNewsGroup as c, type mdNewsAttributes as m };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@admc-go-th/admc-library",
3
- "version": "1.0.39",
3
+ "version": "1.0.41",
4
4
  "description": "",
5
5
  "main": "./index.js",
6
6
  "types": "./index.d.ts",