@admc-go-th/admc-library 1.0.124 → 1.0.126
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/{appReportCorruption-4BY0wm49.d.ts → appReportCorruption-BsdsQQ1q.d.ts} +2 -0
- package/{authAssignment-BSZ2AlIE.d.ts → authAssignment-Te_XO-S8.d.ts} +28 -1
- package/databases/schema/appQueue.ts +15 -0
- package/databases/schema/appQueueTour.ts +7 -0
- package/databases/schema/appReportCorruption.ts +9 -1
- package/databases/schema/index.ts +5 -0
- package/databases/schema/mdQuestionnaire.ts +7 -1
- package/databases/schema/mdQuestionnaireData.ts +97 -0
- package/databases/schema/msConsultSiteChannel.ts +77 -0
- package/databases/schema/msConsultSiteHoliday.ts +99 -0
- package/databases/schema/msConsultSiteStaff.ts +76 -0
- package/databases/schema/msVariable.ts +68 -0
- package/databases/tables/appQueue.d.ts +4 -0
- package/databases/tables/appQueue.js +13 -0
- package/databases/tables/appQueueTour.d.ts +2 -0
- package/databases/tables/appQueueTour.js +6 -0
- package/databases/tables/appReportCorruption.d.ts +1 -1
- package/databases/tables/appReportCorruption.js +8 -1
- package/databases/tables/appReportCorruptionTransaction.d.ts +1 -1
- package/databases/tables/appReportCorruptionTransaction.js +8 -1
- package/databases/tables/authAssignment.d.ts +1 -1
- package/databases/tables/authAssignment.js +262 -172
- package/databases/tables/authRole.d.ts +1 -1
- package/databases/tables/authRole.js +262 -172
- package/databases/tables/authRoleChild.d.ts +1 -1
- package/databases/tables/authRoleChild.js +262 -172
- package/databases/tables/index.d.ts +6 -2
- package/databases/tables/index.js +2510 -2110
- package/databases/tables/mdContent.d.ts +1 -1
- package/databases/tables/mdContent.js +292 -202
- package/databases/tables/mdContentGroup.d.ts +1 -1
- package/databases/tables/mdContentGroup.js +292 -202
- package/databases/tables/mdQuestionnaire.d.ts +1 -1
- package/databases/tables/mdQuestionnaire.js +129 -41
- package/databases/tables/mdQuestionnaireData.d.ts +2 -0
- package/databases/tables/mdQuestionnaireData.js +992 -0
- package/databases/tables/msConsultSiteChannel.d.ts +24 -0
- package/databases/tables/msConsultSiteChannel.js +101 -0
- package/databases/tables/msConsultSiteHoliday.d.ts +30 -0
- package/databases/tables/msConsultSiteHoliday.js +120 -0
- package/databases/tables/msConsultSiteStaff.d.ts +24 -0
- package/databases/tables/msConsultSiteStaff.js +100 -0
- package/databases/tables/msVariable.d.ts +22 -0
- package/databases/tables/msVariable.js +93 -0
- package/databases/tables/users.d.ts +1 -1
- package/databases/tables/users.js +209 -119
- package/databases/tables/usersVerify.d.ts +1 -1
- package/databases/tables/usersVerify.js +209 -119
- package/package.json +1 -1
|
@@ -31,7 +31,7 @@ __export(users_exports, {
|
|
|
31
31
|
users: () => users
|
|
32
32
|
});
|
|
33
33
|
module.exports = __toCommonJS(users_exports);
|
|
34
|
-
var
|
|
34
|
+
var import_sequelize_typescript9 = require("sequelize-typescript");
|
|
35
35
|
|
|
36
36
|
// src/databases/tables/authAssignment.ts
|
|
37
37
|
var import_sequelize_typescript3 = require("sequelize-typescript");
|
|
@@ -484,8 +484,11 @@ mdContent = __decorateClass([
|
|
|
484
484
|
], mdContent);
|
|
485
485
|
|
|
486
486
|
// src/databases/tables/mdQuestionnaire.ts
|
|
487
|
+
var import_sequelize_typescript7 = require("sequelize-typescript");
|
|
488
|
+
|
|
489
|
+
// src/databases/tables/mdQuestionnaireData.ts
|
|
487
490
|
var import_sequelize_typescript6 = require("sequelize-typescript");
|
|
488
|
-
var
|
|
491
|
+
var mdQuestionnaireData = class extends import_sequelize_typescript6.Model {
|
|
489
492
|
};
|
|
490
493
|
__decorateClass([
|
|
491
494
|
(0, import_sequelize_typescript6.Column)({
|
|
@@ -493,403 +496,490 @@ __decorateClass([
|
|
|
493
496
|
autoIncrement: true,
|
|
494
497
|
type: import_sequelize_typescript6.DataType.INTEGER
|
|
495
498
|
})
|
|
496
|
-
],
|
|
499
|
+
], mdQuestionnaireData.prototype, "id", 2);
|
|
497
500
|
__decorateClass([
|
|
498
501
|
(0, import_sequelize_typescript6.Column)({
|
|
499
502
|
allowNull: true,
|
|
500
503
|
type: import_sequelize_typescript6.DataType.STRING(60)
|
|
501
504
|
})
|
|
502
|
-
],
|
|
505
|
+
], mdQuestionnaireData.prototype, "uuid", 2);
|
|
503
506
|
__decorateClass([
|
|
507
|
+
(0, import_sequelize_typescript6.ForeignKey)(() => mdQuestionnaire),
|
|
504
508
|
(0, import_sequelize_typescript6.Column)({
|
|
505
|
-
field: "
|
|
509
|
+
field: "questionnaire_id",
|
|
506
510
|
allowNull: true,
|
|
507
|
-
type: import_sequelize_typescript6.DataType.
|
|
511
|
+
type: import_sequelize_typescript6.DataType.INTEGER
|
|
508
512
|
})
|
|
509
|
-
],
|
|
513
|
+
], mdQuestionnaireData.prototype, "questionnaireId", 2);
|
|
514
|
+
__decorateClass([
|
|
515
|
+
(0, import_sequelize_typescript6.Column)({
|
|
516
|
+
field: "data_info",
|
|
517
|
+
allowNull: true,
|
|
518
|
+
type: import_sequelize_typescript6.DataType.JSON
|
|
519
|
+
})
|
|
520
|
+
], mdQuestionnaireData.prototype, "dataInfo", 2);
|
|
510
521
|
__decorateClass([
|
|
511
|
-
(0, import_sequelize_typescript6.ForeignKey)(() => users),
|
|
512
522
|
(0, import_sequelize_typescript6.Column)({
|
|
513
|
-
field: "user_id",
|
|
514
523
|
allowNull: true,
|
|
515
524
|
type: import_sequelize_typescript6.DataType.INTEGER
|
|
516
525
|
})
|
|
517
|
-
],
|
|
526
|
+
], mdQuestionnaireData.prototype, "status", 2);
|
|
518
527
|
__decorateClass([
|
|
519
528
|
(0, import_sequelize_typescript6.Column)({
|
|
529
|
+
field: "ip_address",
|
|
520
530
|
allowNull: true,
|
|
521
531
|
type: import_sequelize_typescript6.DataType.STRING(255)
|
|
522
532
|
})
|
|
523
|
-
],
|
|
533
|
+
], mdQuestionnaireData.prototype, "ipAddress", 2);
|
|
524
534
|
__decorateClass([
|
|
525
535
|
(0, import_sequelize_typescript6.Column)({
|
|
536
|
+
field: "created_by",
|
|
526
537
|
allowNull: true,
|
|
527
|
-
type: import_sequelize_typescript6.DataType.STRING
|
|
538
|
+
type: import_sequelize_typescript6.DataType.STRING(60)
|
|
528
539
|
})
|
|
529
|
-
],
|
|
540
|
+
], mdQuestionnaireData.prototype, "createdBy", 2);
|
|
530
541
|
__decorateClass([
|
|
531
542
|
(0, import_sequelize_typescript6.Column)({
|
|
543
|
+
field: "created_date",
|
|
532
544
|
allowNull: true,
|
|
533
|
-
type: import_sequelize_typescript6.DataType.
|
|
545
|
+
type: import_sequelize_typescript6.DataType.DATE
|
|
534
546
|
})
|
|
535
|
-
],
|
|
547
|
+
], mdQuestionnaireData.prototype, "createdDate", 2);
|
|
548
|
+
__decorateClass([
|
|
549
|
+
(0, import_sequelize_typescript6.Column)({
|
|
550
|
+
field: "updated_by",
|
|
551
|
+
allowNull: true,
|
|
552
|
+
type: import_sequelize_typescript6.DataType.STRING(60)
|
|
553
|
+
})
|
|
554
|
+
], mdQuestionnaireData.prototype, "updatedBy", 2);
|
|
536
555
|
__decorateClass([
|
|
537
556
|
(0, import_sequelize_typescript6.Column)({
|
|
557
|
+
field: "updated_date",
|
|
558
|
+
allowNull: true,
|
|
559
|
+
type: import_sequelize_typescript6.DataType.DATE
|
|
560
|
+
})
|
|
561
|
+
], mdQuestionnaireData.prototype, "updatedDate", 2);
|
|
562
|
+
__decorateClass([
|
|
563
|
+
(0, import_sequelize_typescript6.BelongsTo)(() => mdQuestionnaire)
|
|
564
|
+
], mdQuestionnaireData.prototype, "mdQuestionnaire", 2);
|
|
565
|
+
mdQuestionnaireData = __decorateClass([
|
|
566
|
+
(0, import_sequelize_typescript6.Table)({
|
|
567
|
+
tableName: "md_questionnaire_data",
|
|
568
|
+
timestamps: false
|
|
569
|
+
})
|
|
570
|
+
], mdQuestionnaireData);
|
|
571
|
+
|
|
572
|
+
// src/databases/tables/mdQuestionnaire.ts
|
|
573
|
+
var mdQuestionnaire = class extends import_sequelize_typescript7.Model {
|
|
574
|
+
};
|
|
575
|
+
__decorateClass([
|
|
576
|
+
(0, import_sequelize_typescript7.Column)({
|
|
577
|
+
primaryKey: true,
|
|
578
|
+
autoIncrement: true,
|
|
579
|
+
type: import_sequelize_typescript7.DataType.INTEGER
|
|
580
|
+
})
|
|
581
|
+
], mdQuestionnaire.prototype, "id", 2);
|
|
582
|
+
__decorateClass([
|
|
583
|
+
(0, import_sequelize_typescript7.Column)({
|
|
584
|
+
allowNull: true,
|
|
585
|
+
type: import_sequelize_typescript7.DataType.STRING(60)
|
|
586
|
+
})
|
|
587
|
+
], mdQuestionnaire.prototype, "uuid", 2);
|
|
588
|
+
__decorateClass([
|
|
589
|
+
(0, import_sequelize_typescript7.Column)({
|
|
590
|
+
field: "key_name",
|
|
591
|
+
allowNull: true,
|
|
592
|
+
type: import_sequelize_typescript7.DataType.STRING(100)
|
|
593
|
+
})
|
|
594
|
+
], mdQuestionnaire.prototype, "keyName", 2);
|
|
595
|
+
__decorateClass([
|
|
596
|
+
(0, import_sequelize_typescript7.ForeignKey)(() => users),
|
|
597
|
+
(0, import_sequelize_typescript7.Column)({
|
|
598
|
+
field: "user_id",
|
|
599
|
+
allowNull: true,
|
|
600
|
+
type: import_sequelize_typescript7.DataType.INTEGER
|
|
601
|
+
})
|
|
602
|
+
], mdQuestionnaire.prototype, "userId", 2);
|
|
603
|
+
__decorateClass([
|
|
604
|
+
(0, import_sequelize_typescript7.Column)({
|
|
605
|
+
allowNull: true,
|
|
606
|
+
type: import_sequelize_typescript7.DataType.STRING(255)
|
|
607
|
+
})
|
|
608
|
+
], mdQuestionnaire.prototype, "title", 2);
|
|
609
|
+
__decorateClass([
|
|
610
|
+
(0, import_sequelize_typescript7.Column)({
|
|
611
|
+
allowNull: true,
|
|
612
|
+
type: import_sequelize_typescript7.DataType.STRING
|
|
613
|
+
})
|
|
614
|
+
], mdQuestionnaire.prototype, "description", 2);
|
|
615
|
+
__decorateClass([
|
|
616
|
+
(0, import_sequelize_typescript7.Column)({
|
|
617
|
+
allowNull: true,
|
|
618
|
+
type: import_sequelize_typescript7.DataType.JSON
|
|
619
|
+
})
|
|
620
|
+
], mdQuestionnaire.prototype, "forms", 2);
|
|
621
|
+
__decorateClass([
|
|
622
|
+
(0, import_sequelize_typescript7.Column)({
|
|
538
623
|
field: "confirm_message",
|
|
539
624
|
allowNull: true,
|
|
540
|
-
type:
|
|
625
|
+
type: import_sequelize_typescript7.DataType.STRING(255)
|
|
541
626
|
})
|
|
542
627
|
], mdQuestionnaire.prototype, "confirmMessage", 2);
|
|
543
628
|
__decorateClass([
|
|
544
|
-
(0,
|
|
629
|
+
(0, import_sequelize_typescript7.Column)({
|
|
545
630
|
allowNull: true,
|
|
546
|
-
type:
|
|
631
|
+
type: import_sequelize_typescript7.DataType.STRING(60)
|
|
547
632
|
})
|
|
548
633
|
], mdQuestionnaire.prototype, "submitter", 2);
|
|
549
634
|
__decorateClass([
|
|
550
|
-
(0,
|
|
635
|
+
(0, import_sequelize_typescript7.Column)({
|
|
551
636
|
allowNull: true,
|
|
552
|
-
type:
|
|
637
|
+
type: import_sequelize_typescript7.DataType.INTEGER
|
|
553
638
|
})
|
|
554
639
|
], mdQuestionnaire.prototype, "sort", 2);
|
|
555
640
|
__decorateClass([
|
|
556
|
-
(0,
|
|
641
|
+
(0, import_sequelize_typescript7.Column)({
|
|
557
642
|
allowNull: true,
|
|
558
|
-
type:
|
|
643
|
+
type: import_sequelize_typescript7.DataType.INTEGER
|
|
559
644
|
})
|
|
560
645
|
], mdQuestionnaire.prototype, "status", 2);
|
|
561
646
|
__decorateClass([
|
|
562
|
-
(0,
|
|
647
|
+
(0, import_sequelize_typescript7.Column)({
|
|
563
648
|
allowNull: true,
|
|
564
|
-
type:
|
|
649
|
+
type: import_sequelize_typescript7.DataType.INTEGER
|
|
565
650
|
})
|
|
566
651
|
], mdQuestionnaire.prototype, "views", 2);
|
|
567
652
|
__decorateClass([
|
|
568
|
-
(0,
|
|
653
|
+
(0, import_sequelize_typescript7.Column)({
|
|
569
654
|
field: "has_expire",
|
|
570
655
|
allowNull: true,
|
|
571
|
-
type:
|
|
656
|
+
type: import_sequelize_typescript7.DataType.INTEGER
|
|
572
657
|
})
|
|
573
658
|
], mdQuestionnaire.prototype, "hasExpire", 2);
|
|
574
659
|
__decorateClass([
|
|
575
|
-
(0,
|
|
660
|
+
(0, import_sequelize_typescript7.Column)({
|
|
576
661
|
field: "start_date",
|
|
577
662
|
allowNull: true,
|
|
578
|
-
type:
|
|
663
|
+
type: import_sequelize_typescript7.DataType.DATE
|
|
579
664
|
})
|
|
580
665
|
], mdQuestionnaire.prototype, "startDate", 2);
|
|
581
666
|
__decorateClass([
|
|
582
|
-
(0,
|
|
667
|
+
(0, import_sequelize_typescript7.Column)({
|
|
583
668
|
field: "expire_date",
|
|
584
669
|
allowNull: true,
|
|
585
|
-
type:
|
|
670
|
+
type: import_sequelize_typescript7.DataType.DATE
|
|
586
671
|
})
|
|
587
672
|
], mdQuestionnaire.prototype, "expireDate", 2);
|
|
588
673
|
__decorateClass([
|
|
589
|
-
(0,
|
|
674
|
+
(0, import_sequelize_typescript7.Column)({
|
|
590
675
|
field: "created_by",
|
|
591
676
|
allowNull: true,
|
|
592
|
-
type:
|
|
677
|
+
type: import_sequelize_typescript7.DataType.STRING(60)
|
|
593
678
|
})
|
|
594
679
|
], mdQuestionnaire.prototype, "createdBy", 2);
|
|
595
680
|
__decorateClass([
|
|
596
|
-
(0,
|
|
681
|
+
(0, import_sequelize_typescript7.Column)({
|
|
597
682
|
field: "created_date",
|
|
598
683
|
allowNull: true,
|
|
599
|
-
type:
|
|
684
|
+
type: import_sequelize_typescript7.DataType.DATE
|
|
600
685
|
})
|
|
601
686
|
], mdQuestionnaire.prototype, "createdDate", 2);
|
|
602
687
|
__decorateClass([
|
|
603
|
-
(0,
|
|
688
|
+
(0, import_sequelize_typescript7.Column)({
|
|
604
689
|
field: "updated_by",
|
|
605
690
|
allowNull: true,
|
|
606
|
-
type:
|
|
691
|
+
type: import_sequelize_typescript7.DataType.STRING(60)
|
|
607
692
|
})
|
|
608
693
|
], mdQuestionnaire.prototype, "updatedBy", 2);
|
|
609
694
|
__decorateClass([
|
|
610
|
-
(0,
|
|
695
|
+
(0, import_sequelize_typescript7.Column)({
|
|
611
696
|
field: "updated_date",
|
|
612
697
|
allowNull: true,
|
|
613
|
-
type:
|
|
698
|
+
type: import_sequelize_typescript7.DataType.DATE
|
|
614
699
|
})
|
|
615
700
|
], mdQuestionnaire.prototype, "updatedDate", 2);
|
|
616
701
|
__decorateClass([
|
|
617
|
-
(0,
|
|
702
|
+
(0, import_sequelize_typescript7.BelongsTo)(() => users)
|
|
618
703
|
], mdQuestionnaire.prototype, "user", 2);
|
|
704
|
+
__decorateClass([
|
|
705
|
+
(0, import_sequelize_typescript7.HasMany)(() => mdQuestionnaireData, {
|
|
706
|
+
sourceKey: "id"
|
|
707
|
+
})
|
|
708
|
+
], mdQuestionnaire.prototype, "mdQuestionnaireData", 2);
|
|
619
709
|
mdQuestionnaire = __decorateClass([
|
|
620
|
-
(0,
|
|
710
|
+
(0, import_sequelize_typescript7.Table)({
|
|
621
711
|
tableName: "md_questionnaire",
|
|
622
712
|
timestamps: false
|
|
623
713
|
})
|
|
624
714
|
], mdQuestionnaire);
|
|
625
715
|
|
|
626
716
|
// src/databases/tables/usersVerify.ts
|
|
627
|
-
var
|
|
628
|
-
var usersVerify = class extends
|
|
717
|
+
var import_sequelize_typescript8 = require("sequelize-typescript");
|
|
718
|
+
var usersVerify = class extends import_sequelize_typescript8.Model {
|
|
629
719
|
};
|
|
630
720
|
__decorateClass([
|
|
631
|
-
(0,
|
|
721
|
+
(0, import_sequelize_typescript8.Column)({
|
|
632
722
|
primaryKey: true,
|
|
633
723
|
autoIncrement: true,
|
|
634
|
-
type:
|
|
724
|
+
type: import_sequelize_typescript8.DataType.INTEGER
|
|
635
725
|
})
|
|
636
726
|
], usersVerify.prototype, "id", 2);
|
|
637
727
|
__decorateClass([
|
|
638
|
-
(0,
|
|
639
|
-
(0,
|
|
728
|
+
(0, import_sequelize_typescript8.ForeignKey)(() => users),
|
|
729
|
+
(0, import_sequelize_typescript8.Column)({
|
|
640
730
|
field: "user_id",
|
|
641
731
|
allowNull: true,
|
|
642
|
-
type:
|
|
732
|
+
type: import_sequelize_typescript8.DataType.INTEGER
|
|
643
733
|
})
|
|
644
734
|
], usersVerify.prototype, "userId", 2);
|
|
645
735
|
__decorateClass([
|
|
646
|
-
(0,
|
|
736
|
+
(0, import_sequelize_typescript8.Column)({
|
|
647
737
|
allowNull: true,
|
|
648
|
-
type:
|
|
738
|
+
type: import_sequelize_typescript8.DataType.INTEGER,
|
|
649
739
|
comment: "0 = email",
|
|
650
740
|
defaultValue: "0"
|
|
651
741
|
})
|
|
652
742
|
], usersVerify.prototype, "type", 2);
|
|
653
743
|
__decorateClass([
|
|
654
|
-
(0,
|
|
744
|
+
(0, import_sequelize_typescript8.Column)({
|
|
655
745
|
allowNull: true,
|
|
656
|
-
type:
|
|
746
|
+
type: import_sequelize_typescript8.DataType.STRING(50)
|
|
657
747
|
})
|
|
658
748
|
], usersVerify.prototype, "code", 2);
|
|
659
749
|
__decorateClass([
|
|
660
|
-
(0,
|
|
750
|
+
(0, import_sequelize_typescript8.Column)({
|
|
661
751
|
allowNull: true,
|
|
662
|
-
type:
|
|
752
|
+
type: import_sequelize_typescript8.DataType.STRING(50)
|
|
663
753
|
})
|
|
664
754
|
], usersVerify.prototype, "reference", 2);
|
|
665
755
|
__decorateClass([
|
|
666
|
-
(0,
|
|
756
|
+
(0, import_sequelize_typescript8.Column)({
|
|
667
757
|
allowNull: true,
|
|
668
|
-
type:
|
|
758
|
+
type: import_sequelize_typescript8.DataType.INTEGER,
|
|
669
759
|
comment: "0 = wait, 1 = verified",
|
|
670
760
|
defaultValue: "0"
|
|
671
761
|
})
|
|
672
762
|
], usersVerify.prototype, "status", 2);
|
|
673
763
|
__decorateClass([
|
|
674
|
-
(0,
|
|
764
|
+
(0, import_sequelize_typescript8.Column)({
|
|
675
765
|
field: "created_date",
|
|
676
766
|
allowNull: true,
|
|
677
|
-
type:
|
|
767
|
+
type: import_sequelize_typescript8.DataType.DATE
|
|
678
768
|
})
|
|
679
769
|
], usersVerify.prototype, "createdDate", 2);
|
|
680
770
|
__decorateClass([
|
|
681
|
-
(0,
|
|
771
|
+
(0, import_sequelize_typescript8.BelongsTo)(() => users)
|
|
682
772
|
], usersVerify.prototype, "user", 2);
|
|
683
773
|
usersVerify = __decorateClass([
|
|
684
|
-
(0,
|
|
774
|
+
(0, import_sequelize_typescript8.Table)({
|
|
685
775
|
tableName: "users_verify",
|
|
686
776
|
timestamps: false
|
|
687
777
|
})
|
|
688
778
|
], usersVerify);
|
|
689
779
|
|
|
690
780
|
// src/databases/tables/users.ts
|
|
691
|
-
var users = class extends
|
|
781
|
+
var users = class extends import_sequelize_typescript9.Model {
|
|
692
782
|
};
|
|
693
783
|
__decorateClass([
|
|
694
|
-
(0,
|
|
784
|
+
(0, import_sequelize_typescript9.Column)({
|
|
695
785
|
primaryKey: true,
|
|
696
786
|
autoIncrement: true,
|
|
697
|
-
type:
|
|
787
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
698
788
|
})
|
|
699
789
|
], users.prototype, "id", 2);
|
|
700
790
|
__decorateClass([
|
|
701
|
-
(0,
|
|
702
|
-
type:
|
|
791
|
+
(0, import_sequelize_typescript9.Column)({
|
|
792
|
+
type: import_sequelize_typescript9.DataType.STRING(60)
|
|
703
793
|
})
|
|
704
794
|
], users.prototype, "uuid", 2);
|
|
705
795
|
__decorateClass([
|
|
706
|
-
(0,
|
|
707
|
-
type:
|
|
796
|
+
(0, import_sequelize_typescript9.Column)({
|
|
797
|
+
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
708
798
|
})
|
|
709
799
|
], users.prototype, "username", 2);
|
|
710
800
|
__decorateClass([
|
|
711
|
-
(0,
|
|
801
|
+
(0, import_sequelize_typescript9.Column)({
|
|
712
802
|
field: "password_hash",
|
|
713
803
|
allowNull: true,
|
|
714
|
-
type:
|
|
804
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
715
805
|
})
|
|
716
806
|
], users.prototype, "passwordHash", 2);
|
|
717
807
|
__decorateClass([
|
|
718
|
-
(0,
|
|
808
|
+
(0, import_sequelize_typescript9.Column)({
|
|
719
809
|
field: "password_reset_token",
|
|
720
810
|
allowNull: true,
|
|
721
|
-
type:
|
|
811
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
722
812
|
})
|
|
723
813
|
], users.prototype, "passwordResetToken", 2);
|
|
724
814
|
__decorateClass([
|
|
725
|
-
(0,
|
|
815
|
+
(0, import_sequelize_typescript9.Column)({
|
|
726
816
|
field: "verification_token",
|
|
727
817
|
allowNull: true,
|
|
728
|
-
type:
|
|
818
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
729
819
|
})
|
|
730
820
|
], users.prototype, "verificationToken", 2);
|
|
731
821
|
__decorateClass([
|
|
732
|
-
(0,
|
|
822
|
+
(0, import_sequelize_typescript9.Column)({
|
|
733
823
|
allowNull: true,
|
|
734
|
-
type:
|
|
824
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
735
825
|
})
|
|
736
826
|
], users.prototype, "email", 2);
|
|
737
827
|
__decorateClass([
|
|
738
|
-
(0,
|
|
828
|
+
(0, import_sequelize_typescript9.Column)({
|
|
739
829
|
field: "auth_key",
|
|
740
830
|
allowNull: true,
|
|
741
|
-
type:
|
|
831
|
+
type: import_sequelize_typescript9.DataType.STRING(32)
|
|
742
832
|
})
|
|
743
833
|
], users.prototype, "authKey", 2);
|
|
744
834
|
__decorateClass([
|
|
745
|
-
(0,
|
|
835
|
+
(0, import_sequelize_typescript9.Column)({
|
|
746
836
|
field: "secret_key",
|
|
747
837
|
allowNull: true,
|
|
748
|
-
type:
|
|
838
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
749
839
|
})
|
|
750
840
|
], users.prototype, "secretKey", 2);
|
|
751
841
|
__decorateClass([
|
|
752
|
-
(0,
|
|
842
|
+
(0, import_sequelize_typescript9.Column)({
|
|
753
843
|
field: "access_token",
|
|
754
844
|
allowNull: true,
|
|
755
|
-
type:
|
|
845
|
+
type: import_sequelize_typescript9.DataType.STRING
|
|
756
846
|
})
|
|
757
847
|
], users.prototype, "accessToken", 2);
|
|
758
848
|
__decorateClass([
|
|
759
|
-
(0,
|
|
849
|
+
(0, import_sequelize_typescript9.Column)({
|
|
760
850
|
field: "user_level",
|
|
761
851
|
allowNull: true,
|
|
762
|
-
type:
|
|
852
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
763
853
|
})
|
|
764
854
|
], users.prototype, "userLevel", 2);
|
|
765
855
|
__decorateClass([
|
|
766
|
-
(0,
|
|
856
|
+
(0, import_sequelize_typescript9.Column)({
|
|
767
857
|
field: "user_authen",
|
|
768
858
|
allowNull: true,
|
|
769
|
-
type:
|
|
859
|
+
type: import_sequelize_typescript9.DataType.STRING(64)
|
|
770
860
|
})
|
|
771
861
|
], users.prototype, "userAuthen", 2);
|
|
772
862
|
__decorateClass([
|
|
773
|
-
(0,
|
|
863
|
+
(0, import_sequelize_typescript9.Column)({
|
|
774
864
|
field: "user_type",
|
|
775
865
|
allowNull: true,
|
|
776
|
-
type:
|
|
866
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
777
867
|
})
|
|
778
868
|
], users.prototype, "userType", 2);
|
|
779
869
|
__decorateClass([
|
|
780
|
-
(0,
|
|
870
|
+
(0, import_sequelize_typescript9.Column)({
|
|
781
871
|
allowNull: true,
|
|
782
|
-
type:
|
|
872
|
+
type: import_sequelize_typescript9.DataType.STRING(10)
|
|
783
873
|
})
|
|
784
874
|
], users.prototype, "prefix", 2);
|
|
785
875
|
__decorateClass([
|
|
786
|
-
(0,
|
|
876
|
+
(0, import_sequelize_typescript9.Column)({
|
|
787
877
|
field: "first_name",
|
|
788
878
|
allowNull: true,
|
|
789
|
-
type:
|
|
879
|
+
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
790
880
|
})
|
|
791
881
|
], users.prototype, "firstName", 2);
|
|
792
882
|
__decorateClass([
|
|
793
|
-
(0,
|
|
883
|
+
(0, import_sequelize_typescript9.Column)({
|
|
794
884
|
field: "last_name",
|
|
795
885
|
allowNull: true,
|
|
796
|
-
type:
|
|
886
|
+
type: import_sequelize_typescript9.DataType.STRING(100)
|
|
797
887
|
})
|
|
798
888
|
], users.prototype, "lastName", 2);
|
|
799
889
|
__decorateClass([
|
|
800
|
-
(0,
|
|
890
|
+
(0, import_sequelize_typescript9.Column)({
|
|
801
891
|
allowNull: true,
|
|
802
|
-
type:
|
|
892
|
+
type: import_sequelize_typescript9.DataType.STRING(20)
|
|
803
893
|
})
|
|
804
894
|
], users.prototype, "phone", 2);
|
|
805
895
|
__decorateClass([
|
|
806
|
-
(0,
|
|
896
|
+
(0, import_sequelize_typescript9.Column)({
|
|
807
897
|
allowNull: true,
|
|
808
|
-
type:
|
|
898
|
+
type: import_sequelize_typescript9.DataType.SMALLINT
|
|
809
899
|
})
|
|
810
900
|
], users.prototype, "status", 2);
|
|
811
901
|
__decorateClass([
|
|
812
|
-
(0,
|
|
902
|
+
(0, import_sequelize_typescript9.Column)({
|
|
813
903
|
allowNull: true,
|
|
814
|
-
type:
|
|
904
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
815
905
|
})
|
|
816
906
|
], users.prototype, "is_2fa", 2);
|
|
817
907
|
__decorateClass([
|
|
818
|
-
(0,
|
|
908
|
+
(0, import_sequelize_typescript9.Column)({
|
|
819
909
|
field: "created_by",
|
|
820
910
|
allowNull: true,
|
|
821
|
-
type:
|
|
911
|
+
type: import_sequelize_typescript9.DataType.STRING(60)
|
|
822
912
|
})
|
|
823
913
|
], users.prototype, "createdBy", 2);
|
|
824
914
|
__decorateClass([
|
|
825
|
-
(0,
|
|
915
|
+
(0, import_sequelize_typescript9.Column)({
|
|
826
916
|
field: "created_date",
|
|
827
917
|
allowNull: true,
|
|
828
|
-
type:
|
|
918
|
+
type: import_sequelize_typescript9.DataType.DATE
|
|
829
919
|
})
|
|
830
920
|
], users.prototype, "createdDate", 2);
|
|
831
921
|
__decorateClass([
|
|
832
|
-
(0,
|
|
922
|
+
(0, import_sequelize_typescript9.Column)({
|
|
833
923
|
field: "updated_by",
|
|
834
924
|
allowNull: true,
|
|
835
|
-
type:
|
|
925
|
+
type: import_sequelize_typescript9.DataType.STRING(60)
|
|
836
926
|
})
|
|
837
927
|
], users.prototype, "updatedBy", 2);
|
|
838
928
|
__decorateClass([
|
|
839
|
-
(0,
|
|
929
|
+
(0, import_sequelize_typescript9.Column)({
|
|
840
930
|
field: "updated_date",
|
|
841
931
|
allowNull: true,
|
|
842
|
-
type:
|
|
932
|
+
type: import_sequelize_typescript9.DataType.DATE
|
|
843
933
|
})
|
|
844
934
|
], users.prototype, "updatedDate", 2);
|
|
845
935
|
__decorateClass([
|
|
846
|
-
(0,
|
|
936
|
+
(0, import_sequelize_typescript9.Column)({
|
|
847
937
|
allowNull: true,
|
|
848
|
-
type:
|
|
938
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
849
939
|
})
|
|
850
940
|
], users.prototype, "address", 2);
|
|
851
941
|
__decorateClass([
|
|
852
|
-
(0,
|
|
942
|
+
(0, import_sequelize_typescript9.Column)({
|
|
853
943
|
allowNull: true,
|
|
854
|
-
type:
|
|
944
|
+
type: import_sequelize_typescript9.DataType.STRING(255)
|
|
855
945
|
})
|
|
856
946
|
], users.prototype, "other", 2);
|
|
857
947
|
__decorateClass([
|
|
858
|
-
(0,
|
|
948
|
+
(0, import_sequelize_typescript9.Column)({
|
|
859
949
|
field: "is_email_verified",
|
|
860
950
|
allowNull: true,
|
|
861
|
-
type:
|
|
951
|
+
type: import_sequelize_typescript9.DataType.INTEGER
|
|
862
952
|
})
|
|
863
953
|
], users.prototype, "isEmailVerified", 2);
|
|
864
954
|
__decorateClass([
|
|
865
|
-
(0,
|
|
955
|
+
(0, import_sequelize_typescript9.Column)({
|
|
866
956
|
field: "photo_uuid",
|
|
867
957
|
allowNull: true,
|
|
868
|
-
type:
|
|
958
|
+
type: import_sequelize_typescript9.DataType.STRING(60)
|
|
869
959
|
})
|
|
870
960
|
], users.prototype, "photoUuid", 2);
|
|
871
961
|
__decorateClass([
|
|
872
|
-
(0,
|
|
962
|
+
(0, import_sequelize_typescript9.HasMany)(() => authAssignment, {
|
|
873
963
|
sourceKey: "id"
|
|
874
964
|
})
|
|
875
965
|
], users.prototype, "authAssignments", 2);
|
|
876
966
|
__decorateClass([
|
|
877
|
-
(0,
|
|
967
|
+
(0, import_sequelize_typescript9.HasMany)(() => mdContent, {
|
|
878
968
|
sourceKey: "id"
|
|
879
969
|
})
|
|
880
970
|
], users.prototype, "mdContents", 2);
|
|
881
971
|
__decorateClass([
|
|
882
|
-
(0,
|
|
972
|
+
(0, import_sequelize_typescript9.HasMany)(() => mdQuestionnaire, {
|
|
883
973
|
sourceKey: "id"
|
|
884
974
|
})
|
|
885
975
|
], users.prototype, "mdQuestionnaires", 2);
|
|
886
976
|
__decorateClass([
|
|
887
|
-
(0,
|
|
977
|
+
(0, import_sequelize_typescript9.HasMany)(() => usersVerify, {
|
|
888
978
|
sourceKey: "id"
|
|
889
979
|
})
|
|
890
980
|
], users.prototype, "usersVerifies", 2);
|
|
891
981
|
users = __decorateClass([
|
|
892
|
-
(0,
|
|
982
|
+
(0, import_sequelize_typescript9.Table)({
|
|
893
983
|
tableName: "users",
|
|
894
984
|
timestamps: false
|
|
895
985
|
})
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import 'sequelize-typescript';
|
|
2
|
-
export {
|
|
2
|
+
export { q as usersVerify, p as usersVerifyAttributes } from '../../authAssignment-Te_XO-S8.js';
|