@admc-go-th/admc-library 1.0.135 → 1.0.137
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/appScoreType.ts +82 -0
- package/databases/schema/index.ts +3 -0
- package/databases/schema/msConsultCaseSection.ts +82 -0
- package/databases/schema/msConsultCaseType.ts +82 -0
- package/databases/tables/appScoreType.d.ts +26 -0
- package/databases/tables/appScoreType.js +105 -0
- package/databases/tables/index.d.ts +3 -0
- package/databases/tables/index.js +2542 -2326
- package/databases/tables/msConsultCaseSection.d.ts +26 -0
- package/databases/tables/msConsultCaseSection.js +105 -0
- package/databases/tables/msConsultCaseType.d.ts +26 -0
- package/databases/tables/msConsultCaseType.js +105 -0
- package/package.json +1 -1
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface appScoreTypeAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
detail?: string;
|
|
9
|
+
color?: string;
|
|
10
|
+
status?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Table({
|
|
18
|
+
tableName: "app_score_type",
|
|
19
|
+
timestamps: false
|
|
20
|
+
})
|
|
21
|
+
export class appScoreType extends Model<appScoreTypeAttributes, appScoreTypeAttributes> implements appScoreTypeAttributes {
|
|
22
|
+
|
|
23
|
+
@Column({
|
|
24
|
+
primaryKey: true,
|
|
25
|
+
autoIncrement: true,
|
|
26
|
+
type: DataType.INTEGER
|
|
27
|
+
})
|
|
28
|
+
declare id?: number;
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
allowNull: true,
|
|
32
|
+
type: DataType.STRING(255)
|
|
33
|
+
})
|
|
34
|
+
declare name?: string;
|
|
35
|
+
|
|
36
|
+
@Column({
|
|
37
|
+
allowNull: true,
|
|
38
|
+
type: DataType.STRING
|
|
39
|
+
})
|
|
40
|
+
declare detail?: string;
|
|
41
|
+
|
|
42
|
+
@Column({
|
|
43
|
+
allowNull: true,
|
|
44
|
+
type: DataType.STRING(10)
|
|
45
|
+
})
|
|
46
|
+
declare color?: string;
|
|
47
|
+
|
|
48
|
+
@Column({
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: DataType.INTEGER
|
|
51
|
+
})
|
|
52
|
+
declare status?: number;
|
|
53
|
+
|
|
54
|
+
@Column({
|
|
55
|
+
field: "created_by",
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.STRING(60)
|
|
58
|
+
})
|
|
59
|
+
declare createdBy?: string;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
field: "created_date",
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: DataType.DATE
|
|
65
|
+
})
|
|
66
|
+
declare createdDate?: Date;
|
|
67
|
+
|
|
68
|
+
@Column({
|
|
69
|
+
field: "updated_by",
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: DataType.STRING(60)
|
|
72
|
+
})
|
|
73
|
+
declare updatedBy?: string;
|
|
74
|
+
|
|
75
|
+
@Column({
|
|
76
|
+
field: "updated_date",
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: DataType.DATE
|
|
79
|
+
})
|
|
80
|
+
declare updatedDate?: Date;
|
|
81
|
+
|
|
82
|
+
}
|
|
@@ -8,6 +8,7 @@ export * from "./appReportCorruptionTransaction";
|
|
|
8
8
|
export * from "./appScore";
|
|
9
9
|
export * from "./appScoreData";
|
|
10
10
|
export * from "./appScorePerson";
|
|
11
|
+
export * from "./appScoreType";
|
|
11
12
|
export * from "./authAssignment";
|
|
12
13
|
export * from "./authItem";
|
|
13
14
|
export * from "./authItemChild";
|
|
@@ -52,6 +53,8 @@ export * from "./mdWords";
|
|
|
52
53
|
export * from "./member";
|
|
53
54
|
export * from "./menu";
|
|
54
55
|
export * from "./msConsultCase";
|
|
56
|
+
export * from "./msConsultCaseSection";
|
|
57
|
+
export * from "./msConsultCaseType";
|
|
55
58
|
export * from "./msConsultChannels";
|
|
56
59
|
export * from "./msConsultInstructions";
|
|
57
60
|
export * from "./msConsultService";
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msConsultCaseSectionAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
detail?: string;
|
|
9
|
+
sort?: number;
|
|
10
|
+
status?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Table({
|
|
18
|
+
tableName: "ms_consult_case_section",
|
|
19
|
+
timestamps: false
|
|
20
|
+
})
|
|
21
|
+
export class msConsultCaseSection extends Model<msConsultCaseSectionAttributes, msConsultCaseSectionAttributes> implements msConsultCaseSectionAttributes {
|
|
22
|
+
|
|
23
|
+
@Column({
|
|
24
|
+
primaryKey: true,
|
|
25
|
+
autoIncrement: true,
|
|
26
|
+
type: DataType.INTEGER
|
|
27
|
+
})
|
|
28
|
+
declare id?: number;
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
allowNull: true,
|
|
32
|
+
type: DataType.STRING(255)
|
|
33
|
+
})
|
|
34
|
+
declare name?: string;
|
|
35
|
+
|
|
36
|
+
@Column({
|
|
37
|
+
allowNull: true,
|
|
38
|
+
type: DataType.STRING
|
|
39
|
+
})
|
|
40
|
+
declare detail?: string;
|
|
41
|
+
|
|
42
|
+
@Column({
|
|
43
|
+
allowNull: true,
|
|
44
|
+
type: DataType.INTEGER
|
|
45
|
+
})
|
|
46
|
+
declare sort?: number;
|
|
47
|
+
|
|
48
|
+
@Column({
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: DataType.INTEGER
|
|
51
|
+
})
|
|
52
|
+
declare status?: number;
|
|
53
|
+
|
|
54
|
+
@Column({
|
|
55
|
+
field: "created_by",
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.STRING(60)
|
|
58
|
+
})
|
|
59
|
+
declare createdBy?: string;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
field: "created_date",
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: DataType.DATE
|
|
65
|
+
})
|
|
66
|
+
declare createdDate?: Date;
|
|
67
|
+
|
|
68
|
+
@Column({
|
|
69
|
+
field: "updated_by",
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: DataType.STRING(60)
|
|
72
|
+
})
|
|
73
|
+
declare updatedBy?: string;
|
|
74
|
+
|
|
75
|
+
@Column({
|
|
76
|
+
field: "updated_date",
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: DataType.DATE
|
|
79
|
+
})
|
|
80
|
+
declare updatedDate?: Date;
|
|
81
|
+
|
|
82
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Model, Table, Column, DataType, Index, Sequelize, ForeignKey
|
|
3
|
+
} from "sequelize-typescript";
|
|
4
|
+
|
|
5
|
+
export interface msConsultCaseTypeAttributes {
|
|
6
|
+
id?: number;
|
|
7
|
+
name?: string;
|
|
8
|
+
detail?: string;
|
|
9
|
+
sort?: number;
|
|
10
|
+
status?: number;
|
|
11
|
+
createdBy?: string;
|
|
12
|
+
createdDate?: Date;
|
|
13
|
+
updatedBy?: string;
|
|
14
|
+
updatedDate?: Date;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@Table({
|
|
18
|
+
tableName: "ms_consult_case_type",
|
|
19
|
+
timestamps: false
|
|
20
|
+
})
|
|
21
|
+
export class msConsultCaseType extends Model<msConsultCaseTypeAttributes, msConsultCaseTypeAttributes> implements msConsultCaseTypeAttributes {
|
|
22
|
+
|
|
23
|
+
@Column({
|
|
24
|
+
primaryKey: true,
|
|
25
|
+
autoIncrement: true,
|
|
26
|
+
type: DataType.INTEGER
|
|
27
|
+
})
|
|
28
|
+
declare id?: number;
|
|
29
|
+
|
|
30
|
+
@Column({
|
|
31
|
+
allowNull: true,
|
|
32
|
+
type: DataType.STRING(255)
|
|
33
|
+
})
|
|
34
|
+
declare name?: string;
|
|
35
|
+
|
|
36
|
+
@Column({
|
|
37
|
+
allowNull: true,
|
|
38
|
+
type: DataType.STRING
|
|
39
|
+
})
|
|
40
|
+
declare detail?: string;
|
|
41
|
+
|
|
42
|
+
@Column({
|
|
43
|
+
allowNull: true,
|
|
44
|
+
type: DataType.INTEGER
|
|
45
|
+
})
|
|
46
|
+
declare sort?: number;
|
|
47
|
+
|
|
48
|
+
@Column({
|
|
49
|
+
allowNull: true,
|
|
50
|
+
type: DataType.INTEGER
|
|
51
|
+
})
|
|
52
|
+
declare status?: number;
|
|
53
|
+
|
|
54
|
+
@Column({
|
|
55
|
+
field: "created_by",
|
|
56
|
+
allowNull: true,
|
|
57
|
+
type: DataType.STRING(60)
|
|
58
|
+
})
|
|
59
|
+
declare createdBy?: string;
|
|
60
|
+
|
|
61
|
+
@Column({
|
|
62
|
+
field: "created_date",
|
|
63
|
+
allowNull: true,
|
|
64
|
+
type: DataType.DATE
|
|
65
|
+
})
|
|
66
|
+
declare createdDate?: Date;
|
|
67
|
+
|
|
68
|
+
@Column({
|
|
69
|
+
field: "updated_by",
|
|
70
|
+
allowNull: true,
|
|
71
|
+
type: DataType.STRING(60)
|
|
72
|
+
})
|
|
73
|
+
declare updatedBy?: string;
|
|
74
|
+
|
|
75
|
+
@Column({
|
|
76
|
+
field: "updated_date",
|
|
77
|
+
allowNull: true,
|
|
78
|
+
type: DataType.DATE
|
|
79
|
+
})
|
|
80
|
+
declare updatedDate?: Date;
|
|
81
|
+
|
|
82
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { Model } from 'sequelize-typescript';
|
|
2
|
+
|
|
3
|
+
interface appScoreTypeAttributes {
|
|
4
|
+
id?: number;
|
|
5
|
+
name?: string;
|
|
6
|
+
detail?: string;
|
|
7
|
+
color?: string;
|
|
8
|
+
status?: number;
|
|
9
|
+
createdBy?: string;
|
|
10
|
+
createdDate?: Date;
|
|
11
|
+
updatedBy?: string;
|
|
12
|
+
updatedDate?: Date;
|
|
13
|
+
}
|
|
14
|
+
declare class appScoreType extends Model<appScoreTypeAttributes, appScoreTypeAttributes> implements appScoreTypeAttributes {
|
|
15
|
+
id?: number;
|
|
16
|
+
name?: string;
|
|
17
|
+
detail?: string;
|
|
18
|
+
color?: string;
|
|
19
|
+
status?: number;
|
|
20
|
+
createdBy?: string;
|
|
21
|
+
createdDate?: Date;
|
|
22
|
+
updatedBy?: string;
|
|
23
|
+
updatedDate?: Date;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export { appScoreType, type appScoreTypeAttributes };
|
|
@@ -0,0 +1,105 @@
|
|
|
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/appScoreType.ts
|
|
29
|
+
var appScoreType_exports = {};
|
|
30
|
+
__export(appScoreType_exports, {
|
|
31
|
+
appScoreType: () => appScoreType
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(appScoreType_exports);
|
|
34
|
+
var import_sequelize_typescript = require("sequelize-typescript");
|
|
35
|
+
var appScoreType = class extends import_sequelize_typescript.Model {
|
|
36
|
+
};
|
|
37
|
+
__decorateClass([
|
|
38
|
+
(0, import_sequelize_typescript.Column)({
|
|
39
|
+
primaryKey: true,
|
|
40
|
+
autoIncrement: true,
|
|
41
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
42
|
+
})
|
|
43
|
+
], appScoreType.prototype, "id", 2);
|
|
44
|
+
__decorateClass([
|
|
45
|
+
(0, import_sequelize_typescript.Column)({
|
|
46
|
+
allowNull: true,
|
|
47
|
+
type: import_sequelize_typescript.DataType.STRING(255)
|
|
48
|
+
})
|
|
49
|
+
], appScoreType.prototype, "name", 2);
|
|
50
|
+
__decorateClass([
|
|
51
|
+
(0, import_sequelize_typescript.Column)({
|
|
52
|
+
allowNull: true,
|
|
53
|
+
type: import_sequelize_typescript.DataType.STRING
|
|
54
|
+
})
|
|
55
|
+
], appScoreType.prototype, "detail", 2);
|
|
56
|
+
__decorateClass([
|
|
57
|
+
(0, import_sequelize_typescript.Column)({
|
|
58
|
+
allowNull: true,
|
|
59
|
+
type: import_sequelize_typescript.DataType.STRING(10)
|
|
60
|
+
})
|
|
61
|
+
], appScoreType.prototype, "color", 2);
|
|
62
|
+
__decorateClass([
|
|
63
|
+
(0, import_sequelize_typescript.Column)({
|
|
64
|
+
allowNull: true,
|
|
65
|
+
type: import_sequelize_typescript.DataType.INTEGER
|
|
66
|
+
})
|
|
67
|
+
], appScoreType.prototype, "status", 2);
|
|
68
|
+
__decorateClass([
|
|
69
|
+
(0, import_sequelize_typescript.Column)({
|
|
70
|
+
field: "created_by",
|
|
71
|
+
allowNull: true,
|
|
72
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
73
|
+
})
|
|
74
|
+
], appScoreType.prototype, "createdBy", 2);
|
|
75
|
+
__decorateClass([
|
|
76
|
+
(0, import_sequelize_typescript.Column)({
|
|
77
|
+
field: "created_date",
|
|
78
|
+
allowNull: true,
|
|
79
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
80
|
+
})
|
|
81
|
+
], appScoreType.prototype, "createdDate", 2);
|
|
82
|
+
__decorateClass([
|
|
83
|
+
(0, import_sequelize_typescript.Column)({
|
|
84
|
+
field: "updated_by",
|
|
85
|
+
allowNull: true,
|
|
86
|
+
type: import_sequelize_typescript.DataType.STRING(60)
|
|
87
|
+
})
|
|
88
|
+
], appScoreType.prototype, "updatedBy", 2);
|
|
89
|
+
__decorateClass([
|
|
90
|
+
(0, import_sequelize_typescript.Column)({
|
|
91
|
+
field: "updated_date",
|
|
92
|
+
allowNull: true,
|
|
93
|
+
type: import_sequelize_typescript.DataType.DATE
|
|
94
|
+
})
|
|
95
|
+
], appScoreType.prototype, "updatedDate", 2);
|
|
96
|
+
appScoreType = __decorateClass([
|
|
97
|
+
(0, import_sequelize_typescript.Table)({
|
|
98
|
+
tableName: "app_score_type",
|
|
99
|
+
timestamps: false
|
|
100
|
+
})
|
|
101
|
+
], appScoreType);
|
|
102
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
103
|
+
0 && (module.exports = {
|
|
104
|
+
appScoreType
|
|
105
|
+
});
|
|
@@ -6,6 +6,7 @@ export { b as appReportCorruption, a as appReportCorruptionAttributes, d as appR
|
|
|
6
6
|
export { appScore, appScoreAttributes } from './appScore.js';
|
|
7
7
|
export { appScoreData, appScoreDataAttributes } from './appScoreData.js';
|
|
8
8
|
export { appScorePerson, appScorePersonAttributes } from './appScorePerson.js';
|
|
9
|
+
export { appScoreType, appScoreTypeAttributes } from './appScoreType.js';
|
|
9
10
|
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, n as mdQuestionnaireData, l as mdQuestionnaireDataAttributes, o as users, u as usersAttributes, q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-De3034JH.js';
|
|
10
11
|
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';
|
|
11
12
|
export { contactUs, contactUsAttributes } from './contactUs.js';
|
|
@@ -34,6 +35,8 @@ export { mdVideo, mdVideoAttributes } from './mdVideo.js';
|
|
|
34
35
|
export { mdWords, mdWordsAttributes } from './mdWords.js';
|
|
35
36
|
export { member, memberAttributes } from './member.js';
|
|
36
37
|
export { msConsultCase, msConsultCaseAttributes } from './msConsultCase.js';
|
|
38
|
+
export { msConsultCaseSection, msConsultCaseSectionAttributes } from './msConsultCaseSection.js';
|
|
39
|
+
export { msConsultCaseType, msConsultCaseTypeAttributes } from './msConsultCaseType.js';
|
|
37
40
|
export { msConsultInstructions, msConsultInstructionsAttributes } from './msConsultInstructions.js';
|
|
38
41
|
export { msConsultService, msConsultServiceAttributes } from './msConsultService.js';
|
|
39
42
|
export { msConsultSiteCase, msConsultSiteCaseAttributes } from './msConsultSiteCase.js';
|