@admc-go-th/admc-library 1.0.75 → 1.0.78

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,221 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/appBlessings.ts
29
+ var appBlessings_exports = {};
30
+ __export(appBlessings_exports, {
31
+ appBlessings: () => appBlessings
32
+ });
33
+ module.exports = __toCommonJS(appBlessings_exports);
34
+ var import_sequelize_typescript2 = require("sequelize-typescript");
35
+
36
+ // src/databases/tables/appBlessingsTransaction.ts
37
+ var import_sequelize_typescript = require("sequelize-typescript");
38
+ var appBlessingsTransaction = class extends import_sequelize_typescript.Model {
39
+ };
40
+ __decorateClass([
41
+ (0, import_sequelize_typescript.Column)({
42
+ primaryKey: true,
43
+ autoIncrement: true,
44
+ type: import_sequelize_typescript.DataType.INTEGER
45
+ })
46
+ ], appBlessingsTransaction.prototype, "id", 2);
47
+ __decorateClass([
48
+ (0, import_sequelize_typescript.ForeignKey)(() => appBlessings),
49
+ (0, import_sequelize_typescript.Column)({
50
+ field: "blessings_id",
51
+ allowNull: true,
52
+ type: import_sequelize_typescript.DataType.INTEGER
53
+ })
54
+ ], appBlessingsTransaction.prototype, "blessingsId", 2);
55
+ __decorateClass([
56
+ (0, import_sequelize_typescript.Column)({
57
+ allowNull: true,
58
+ type: import_sequelize_typescript.DataType.STRING(255)
59
+ })
60
+ ], appBlessingsTransaction.prototype, "fullname", 2);
61
+ __decorateClass([
62
+ (0, import_sequelize_typescript.Column)({
63
+ allowNull: true,
64
+ type: import_sequelize_typescript.DataType.STRING(255)
65
+ })
66
+ ], appBlessingsTransaction.prototype, "words", 2);
67
+ __decorateClass([
68
+ (0, import_sequelize_typescript.Column)({
69
+ field: "ip_address",
70
+ allowNull: true,
71
+ type: import_sequelize_typescript.DataType.STRING(30)
72
+ })
73
+ ], appBlessingsTransaction.prototype, "ipAddress", 2);
74
+ __decorateClass([
75
+ (0, import_sequelize_typescript.Column)({
76
+ allowNull: true,
77
+ type: import_sequelize_typescript.DataType.INTEGER
78
+ })
79
+ ], appBlessingsTransaction.prototype, "status", 2);
80
+ __decorateClass([
81
+ (0, import_sequelize_typescript.Column)({
82
+ field: "created_by",
83
+ allowNull: true,
84
+ type: import_sequelize_typescript.DataType.STRING(60)
85
+ })
86
+ ], appBlessingsTransaction.prototype, "createdBy", 2);
87
+ __decorateClass([
88
+ (0, import_sequelize_typescript.Column)({
89
+ field: "created_date",
90
+ allowNull: true,
91
+ type: import_sequelize_typescript.DataType.DATE
92
+ })
93
+ ], appBlessingsTransaction.prototype, "createdDate", 2);
94
+ __decorateClass([
95
+ (0, import_sequelize_typescript.Column)({
96
+ field: "updated_by",
97
+ allowNull: true,
98
+ type: import_sequelize_typescript.DataType.STRING(60)
99
+ })
100
+ ], appBlessingsTransaction.prototype, "updatedBy", 2);
101
+ __decorateClass([
102
+ (0, import_sequelize_typescript.Column)({
103
+ field: "updated_date",
104
+ allowNull: true,
105
+ type: import_sequelize_typescript.DataType.DATE
106
+ })
107
+ ], appBlessingsTransaction.prototype, "updatedDate", 2);
108
+ __decorateClass([
109
+ (0, import_sequelize_typescript.BelongsTo)(() => appBlessings)
110
+ ], appBlessingsTransaction.prototype, "appBlessing", 2);
111
+ appBlessingsTransaction = __decorateClass([
112
+ (0, import_sequelize_typescript.Table)({
113
+ tableName: "app_blessings_transaction",
114
+ timestamps: false
115
+ })
116
+ ], appBlessingsTransaction);
117
+
118
+ // src/databases/tables/appBlessings.ts
119
+ var appBlessings = class extends import_sequelize_typescript2.Model {
120
+ };
121
+ __decorateClass([
122
+ (0, import_sequelize_typescript2.Column)({
123
+ primaryKey: true,
124
+ autoIncrement: true,
125
+ type: import_sequelize_typescript2.DataType.INTEGER
126
+ })
127
+ ], appBlessings.prototype, "id", 2);
128
+ __decorateClass([
129
+ (0, import_sequelize_typescript2.Column)({
130
+ allowNull: true,
131
+ type: import_sequelize_typescript2.DataType.STRING(60)
132
+ })
133
+ ], appBlessings.prototype, "uuid", 2);
134
+ __decorateClass([
135
+ (0, import_sequelize_typescript2.Column)({
136
+ allowNull: true,
137
+ type: import_sequelize_typescript2.DataType.STRING(255)
138
+ })
139
+ ], appBlessings.prototype, "title", 2);
140
+ __decorateClass([
141
+ (0, import_sequelize_typescript2.Column)({
142
+ allowNull: true,
143
+ type: import_sequelize_typescript2.DataType.STRING
144
+ })
145
+ ], appBlessings.prototype, "detail", 2);
146
+ __decorateClass([
147
+ (0, import_sequelize_typescript2.Column)({
148
+ allowNull: true,
149
+ type: import_sequelize_typescript2.DataType.STRING
150
+ })
151
+ ], appBlessings.prototype, "words", 2);
152
+ __decorateClass([
153
+ (0, import_sequelize_typescript2.Column)({
154
+ allowNull: true,
155
+ type: import_sequelize_typescript2.DataType.INTEGER
156
+ })
157
+ ], appBlessings.prototype, "status", 2);
158
+ __decorateClass([
159
+ (0, import_sequelize_typescript2.Column)({
160
+ field: "has_expire",
161
+ allowNull: true,
162
+ type: import_sequelize_typescript2.DataType.INTEGER
163
+ })
164
+ ], appBlessings.prototype, "hasExpire", 2);
165
+ __decorateClass([
166
+ (0, import_sequelize_typescript2.Column)({
167
+ field: "start_date",
168
+ allowNull: true,
169
+ type: import_sequelize_typescript2.DataType.DATE
170
+ })
171
+ ], appBlessings.prototype, "startDate", 2);
172
+ __decorateClass([
173
+ (0, import_sequelize_typescript2.Column)({
174
+ field: "expire_date",
175
+ allowNull: true,
176
+ type: import_sequelize_typescript2.DataType.DATE
177
+ })
178
+ ], appBlessings.prototype, "expireDate", 2);
179
+ __decorateClass([
180
+ (0, import_sequelize_typescript2.Column)({
181
+ field: "created_by",
182
+ allowNull: true,
183
+ type: import_sequelize_typescript2.DataType.STRING(60)
184
+ })
185
+ ], appBlessings.prototype, "createdBy", 2);
186
+ __decorateClass([
187
+ (0, import_sequelize_typescript2.Column)({
188
+ field: "created_date",
189
+ allowNull: true,
190
+ type: import_sequelize_typescript2.DataType.DATE
191
+ })
192
+ ], appBlessings.prototype, "createdDate", 2);
193
+ __decorateClass([
194
+ (0, import_sequelize_typescript2.Column)({
195
+ field: "updated_by",
196
+ allowNull: true,
197
+ type: import_sequelize_typescript2.DataType.STRING(60)
198
+ })
199
+ ], appBlessings.prototype, "updatedBy", 2);
200
+ __decorateClass([
201
+ (0, import_sequelize_typescript2.Column)({
202
+ field: "updated_date",
203
+ allowNull: true,
204
+ type: import_sequelize_typescript2.DataType.DATE
205
+ })
206
+ ], appBlessings.prototype, "updatedDate", 2);
207
+ __decorateClass([
208
+ (0, import_sequelize_typescript2.HasMany)(() => appBlessingsTransaction, {
209
+ sourceKey: "id"
210
+ })
211
+ ], appBlessings.prototype, "appBlessingsTransactions", 2);
212
+ appBlessings = __decorateClass([
213
+ (0, import_sequelize_typescript2.Table)({
214
+ tableName: "app_blessings",
215
+ timestamps: false
216
+ })
217
+ ], appBlessings);
218
+ // Annotate the CommonJS export names for ESM import in node:
219
+ 0 && (module.exports = {
220
+ appBlessings
221
+ });
@@ -0,0 +1,2 @@
1
+ import 'sequelize-typescript';
2
+ export { d as appBlessingsTransaction, c as appBlessingsTransactionAttributes } from '../../appBlessings-peNBIrhQ.js';
@@ -0,0 +1,221 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var __decorateClass = (decorators, target, key, kind) => {
20
+ var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
21
+ for (var i = decorators.length - 1, decorator; i >= 0; i--)
22
+ if (decorator = decorators[i])
23
+ result = (kind ? decorator(target, key, result) : decorator(result)) || result;
24
+ if (kind && result) __defProp(target, key, result);
25
+ return result;
26
+ };
27
+
28
+ // src/databases/tables/appBlessingsTransaction.ts
29
+ var appBlessingsTransaction_exports = {};
30
+ __export(appBlessingsTransaction_exports, {
31
+ appBlessingsTransaction: () => appBlessingsTransaction
32
+ });
33
+ module.exports = __toCommonJS(appBlessingsTransaction_exports);
34
+ var import_sequelize_typescript2 = require("sequelize-typescript");
35
+
36
+ // src/databases/tables/appBlessings.ts
37
+ var import_sequelize_typescript = require("sequelize-typescript");
38
+ var appBlessings = class extends import_sequelize_typescript.Model {
39
+ };
40
+ __decorateClass([
41
+ (0, import_sequelize_typescript.Column)({
42
+ primaryKey: true,
43
+ autoIncrement: true,
44
+ type: import_sequelize_typescript.DataType.INTEGER
45
+ })
46
+ ], appBlessings.prototype, "id", 2);
47
+ __decorateClass([
48
+ (0, import_sequelize_typescript.Column)({
49
+ allowNull: true,
50
+ type: import_sequelize_typescript.DataType.STRING(60)
51
+ })
52
+ ], appBlessings.prototype, "uuid", 2);
53
+ __decorateClass([
54
+ (0, import_sequelize_typescript.Column)({
55
+ allowNull: true,
56
+ type: import_sequelize_typescript.DataType.STRING(255)
57
+ })
58
+ ], appBlessings.prototype, "title", 2);
59
+ __decorateClass([
60
+ (0, import_sequelize_typescript.Column)({
61
+ allowNull: true,
62
+ type: import_sequelize_typescript.DataType.STRING
63
+ })
64
+ ], appBlessings.prototype, "detail", 2);
65
+ __decorateClass([
66
+ (0, import_sequelize_typescript.Column)({
67
+ allowNull: true,
68
+ type: import_sequelize_typescript.DataType.STRING
69
+ })
70
+ ], appBlessings.prototype, "words", 2);
71
+ __decorateClass([
72
+ (0, import_sequelize_typescript.Column)({
73
+ allowNull: true,
74
+ type: import_sequelize_typescript.DataType.INTEGER
75
+ })
76
+ ], appBlessings.prototype, "status", 2);
77
+ __decorateClass([
78
+ (0, import_sequelize_typescript.Column)({
79
+ field: "has_expire",
80
+ allowNull: true,
81
+ type: import_sequelize_typescript.DataType.INTEGER
82
+ })
83
+ ], appBlessings.prototype, "hasExpire", 2);
84
+ __decorateClass([
85
+ (0, import_sequelize_typescript.Column)({
86
+ field: "start_date",
87
+ allowNull: true,
88
+ type: import_sequelize_typescript.DataType.DATE
89
+ })
90
+ ], appBlessings.prototype, "startDate", 2);
91
+ __decorateClass([
92
+ (0, import_sequelize_typescript.Column)({
93
+ field: "expire_date",
94
+ allowNull: true,
95
+ type: import_sequelize_typescript.DataType.DATE
96
+ })
97
+ ], appBlessings.prototype, "expireDate", 2);
98
+ __decorateClass([
99
+ (0, import_sequelize_typescript.Column)({
100
+ field: "created_by",
101
+ allowNull: true,
102
+ type: import_sequelize_typescript.DataType.STRING(60)
103
+ })
104
+ ], appBlessings.prototype, "createdBy", 2);
105
+ __decorateClass([
106
+ (0, import_sequelize_typescript.Column)({
107
+ field: "created_date",
108
+ allowNull: true,
109
+ type: import_sequelize_typescript.DataType.DATE
110
+ })
111
+ ], appBlessings.prototype, "createdDate", 2);
112
+ __decorateClass([
113
+ (0, import_sequelize_typescript.Column)({
114
+ field: "updated_by",
115
+ allowNull: true,
116
+ type: import_sequelize_typescript.DataType.STRING(60)
117
+ })
118
+ ], appBlessings.prototype, "updatedBy", 2);
119
+ __decorateClass([
120
+ (0, import_sequelize_typescript.Column)({
121
+ field: "updated_date",
122
+ allowNull: true,
123
+ type: import_sequelize_typescript.DataType.DATE
124
+ })
125
+ ], appBlessings.prototype, "updatedDate", 2);
126
+ __decorateClass([
127
+ (0, import_sequelize_typescript.HasMany)(() => appBlessingsTransaction, {
128
+ sourceKey: "id"
129
+ })
130
+ ], appBlessings.prototype, "appBlessingsTransactions", 2);
131
+ appBlessings = __decorateClass([
132
+ (0, import_sequelize_typescript.Table)({
133
+ tableName: "app_blessings",
134
+ timestamps: false
135
+ })
136
+ ], appBlessings);
137
+
138
+ // src/databases/tables/appBlessingsTransaction.ts
139
+ var appBlessingsTransaction = class extends import_sequelize_typescript2.Model {
140
+ };
141
+ __decorateClass([
142
+ (0, import_sequelize_typescript2.Column)({
143
+ primaryKey: true,
144
+ autoIncrement: true,
145
+ type: import_sequelize_typescript2.DataType.INTEGER
146
+ })
147
+ ], appBlessingsTransaction.prototype, "id", 2);
148
+ __decorateClass([
149
+ (0, import_sequelize_typescript2.ForeignKey)(() => appBlessings),
150
+ (0, import_sequelize_typescript2.Column)({
151
+ field: "blessings_id",
152
+ allowNull: true,
153
+ type: import_sequelize_typescript2.DataType.INTEGER
154
+ })
155
+ ], appBlessingsTransaction.prototype, "blessingsId", 2);
156
+ __decorateClass([
157
+ (0, import_sequelize_typescript2.Column)({
158
+ allowNull: true,
159
+ type: import_sequelize_typescript2.DataType.STRING(255)
160
+ })
161
+ ], appBlessingsTransaction.prototype, "fullname", 2);
162
+ __decorateClass([
163
+ (0, import_sequelize_typescript2.Column)({
164
+ allowNull: true,
165
+ type: import_sequelize_typescript2.DataType.STRING(255)
166
+ })
167
+ ], appBlessingsTransaction.prototype, "words", 2);
168
+ __decorateClass([
169
+ (0, import_sequelize_typescript2.Column)({
170
+ field: "ip_address",
171
+ allowNull: true,
172
+ type: import_sequelize_typescript2.DataType.STRING(30)
173
+ })
174
+ ], appBlessingsTransaction.prototype, "ipAddress", 2);
175
+ __decorateClass([
176
+ (0, import_sequelize_typescript2.Column)({
177
+ allowNull: true,
178
+ type: import_sequelize_typescript2.DataType.INTEGER
179
+ })
180
+ ], appBlessingsTransaction.prototype, "status", 2);
181
+ __decorateClass([
182
+ (0, import_sequelize_typescript2.Column)({
183
+ field: "created_by",
184
+ allowNull: true,
185
+ type: import_sequelize_typescript2.DataType.STRING(60)
186
+ })
187
+ ], appBlessingsTransaction.prototype, "createdBy", 2);
188
+ __decorateClass([
189
+ (0, import_sequelize_typescript2.Column)({
190
+ field: "created_date",
191
+ allowNull: true,
192
+ type: import_sequelize_typescript2.DataType.DATE
193
+ })
194
+ ], appBlessingsTransaction.prototype, "createdDate", 2);
195
+ __decorateClass([
196
+ (0, import_sequelize_typescript2.Column)({
197
+ field: "updated_by",
198
+ allowNull: true,
199
+ type: import_sequelize_typescript2.DataType.STRING(60)
200
+ })
201
+ ], appBlessingsTransaction.prototype, "updatedBy", 2);
202
+ __decorateClass([
203
+ (0, import_sequelize_typescript2.Column)({
204
+ field: "updated_date",
205
+ allowNull: true,
206
+ type: import_sequelize_typescript2.DataType.DATE
207
+ })
208
+ ], appBlessingsTransaction.prototype, "updatedDate", 2);
209
+ __decorateClass([
210
+ (0, import_sequelize_typescript2.BelongsTo)(() => appBlessings)
211
+ ], appBlessingsTransaction.prototype, "appBlessing", 2);
212
+ appBlessingsTransaction = __decorateClass([
213
+ (0, import_sequelize_typescript2.Table)({
214
+ tableName: "app_blessings_transaction",
215
+ timestamps: false
216
+ })
217
+ ], appBlessingsTransaction);
218
+ // Annotate the CommonJS export names for ESM import in node:
219
+ 0 && (module.exports = {
220
+ appBlessingsTransaction
221
+ });
@@ -1,3 +1,4 @@
1
+ export { b as appBlessings, a as appBlessingsAttributes, d as appBlessingsTransaction, c as appBlessingsTransactionAttributes } from '../../appBlessings-peNBIrhQ.js';
1
2
  export { b as authAssignment, a as authAssignmentAttributes, d as authRole, c as authRoleAttributes, f as authRoleChild, e as authRoleChildAttributes, g as mdContent, m as mdContentAttributes, i as mdContentGroup, h as mdContentGroupAttributes, k as mdQuestionnaire, j as mdQuestionnaireAttributes, l as users, u as usersAttributes, o as usersVerify, n as usersVerifyAttributes } from '../../authAssignment-CcMPKnNv.js';
2
3
  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';
3
4
  export { a as files, f as filesAttributes, b as mdBanner, m as mdBannerAttributes } from '../../files-C1bgSUjy.js';
@@ -12,6 +13,7 @@ export { a as mdEbook, m as mdEbookAttributes, c as mdEbookGroup, b as mdEbookGr
12
13
  export { a as mdFaq, m as mdFaqAttributes, c as mdFaqGroup, b as mdFaqGroupAttributes } from '../../mdFaq-1c4X_DI2.js';
13
14
  export { mdFormAdvance_1, mdFormAdvance_1Attributes } from './mdFormAdvance_1.js';
14
15
  export { mdFormAdvance_2, mdFormAdvance_2Attributes } from './mdFormAdvance_2.js';
16
+ export { a as mdInformationIndex, m as mdInformationIndexAttributes, c as mdInformationIndexGroup, b as mdInformationIndexGroupAttributes } from '../../mdInformationIndex-BoCz0Vkk.js';
15
17
  export { a as mdLink, m as mdLinkAttributes, c as mdLinkGroup, b as mdLinkGroupAttributes } from '../../mdLink-Cr23xu_o.js';
16
18
  export { a as mdNews, m as mdNewsAttributes, c as mdNewsGroup, b as mdNewsGroupAttributes } from '../../mdNews-CqZ9kQ8-.js';
17
19
  export { mdPopup, mdPopupAttributes } from './mdPopup.js';