cyc-type-def 7.1.0 → 7.1.2

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/dist/index.cjs CHANGED
@@ -25,6 +25,7 @@ __export(index_exports, {
25
25
  AttSheep: () => AttSheep,
26
26
  Attendance: () => Attendance,
27
27
  BackupAttendance: () => BackupAttendance,
28
+ Base: () => Base,
28
29
  CG: () => CG,
29
30
  ClaimStatus: () => ClaimStatus,
30
31
  ClaimType: () => ClaimType,
@@ -585,32 +586,6 @@ var FollowUpStatus = class {
585
586
 
586
587
  // src/classes/pastoral-team/CG.ts
587
588
  var CG = class {
588
- name;
589
- /** small team id */
590
- st;
591
- //
592
- /** cluster id */
593
- cluster;
594
- cglCnt;
595
- sglCnt;
596
- cglName;
597
- /** row index in attendance report (1-based) */
598
- rptRowIdx;
599
- // base attributes
600
- id;
601
- deleted;
602
- createdAt;
603
- createdBy;
604
- updatedAt;
605
- updatedBy;
606
- remark;
607
- constructor(id, name, st, cluster, deleted) {
608
- this.id = id;
609
- this.name = name;
610
- this.st = st;
611
- this.cluster = cluster;
612
- this.deleted = deleted;
613
- }
614
589
  };
615
590
 
616
591
  // src/classes/pastoral-team/Cluster.ts
@@ -702,6 +677,10 @@ var AppUser = class {
702
677
  }
703
678
  };
704
679
 
680
+ // src/classes/Base.ts
681
+ var Base = class {
682
+ };
683
+
705
684
  // src/classes/Period.ts
706
685
  var Period = class {
707
686
  constructor(period) {
@@ -890,6 +869,7 @@ function compareCG(a, b) {
890
869
  AttSheep,
891
870
  Attendance,
892
871
  BackupAttendance,
872
+ Base,
893
873
  CG,
894
874
  ClaimStatus,
895
875
  ClaimType,
package/dist/index.d.cts CHANGED
@@ -7,8 +7,10 @@ interface Base {
7
7
  updatedBy?: string;
8
8
  remark?: string;
9
9
  }
10
+ declare class Base implements Base {
11
+ }
10
12
 
11
- declare class CG implements Base {
13
+ interface CG extends Base {
12
14
  name: string;
13
15
  /** small team id */
14
16
  st: string;
@@ -19,14 +21,8 @@ declare class CG implements Base {
19
21
  cglName?: string;
20
22
  /** row index in attendance report (1-based) */
21
23
  rptRowIdx?: number;
22
- id: string;
23
- deleted: boolean;
24
- createdAt?: number;
25
- createdBy?: string;
26
- updatedAt?: number;
27
- updatedBy?: string;
28
- remark?: string;
29
- constructor(id: string, name: string, st: string, cluster: string, deleted: boolean);
24
+ }
25
+ declare class CG implements CG {
30
26
  }
31
27
 
32
28
  interface MsjStudClass {
@@ -619,4 +615,4 @@ declare function getDayMonthSortKey(timestamp: number): number;
619
615
 
620
616
  declare function compareCG(a: CG, b: CG): number;
621
617
 
622
- export { type AppPage, AppUser, AssignedCG, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, type BaseDialogInput, CG, type Claim, ClaimStatus, ClaimType, Click, ClickAction, Cluster, Column, DateEvent, DatePrecision, type Device, DialogAction, DisplayAttendance, FollowUpStatus, type History, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, MsjJoinStatus, MsjJoinStatusInfo, type MsjStudBatch, type MsjStudClass, PERMISSION, type PastoralTeam, Period, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance, cgNum, compareCG, formatDateDDMMYY, generateId, getDayMonthSortKey, isDateInRangeIgnoreYear, monthStr, parseYYMMDD, yearStr };
618
+ export { type AppPage, AppUser, AssignedCG, AttSheep, Attendance, BackupAttendance, Base, type BaseDialog, type BaseDialogInput, CG, type Claim, ClaimStatus, ClaimType, Click, ClickAction, Cluster, Column, DateEvent, DatePrecision, type Device, DialogAction, DisplayAttendance, FollowUpStatus, type History, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, MsjJoinStatus, MsjJoinStatusInfo, type MsjStudBatch, type MsjStudClass, PERMISSION, type PastoralTeam, Period, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance, cgNum, compareCG, formatDateDDMMYY, generateId, getDayMonthSortKey, isDateInRangeIgnoreYear, monthStr, parseYYMMDD, yearStr };
package/dist/index.d.ts CHANGED
@@ -7,8 +7,10 @@ interface Base {
7
7
  updatedBy?: string;
8
8
  remark?: string;
9
9
  }
10
+ declare class Base implements Base {
11
+ }
10
12
 
11
- declare class CG implements Base {
13
+ interface CG extends Base {
12
14
  name: string;
13
15
  /** small team id */
14
16
  st: string;
@@ -19,14 +21,8 @@ declare class CG implements Base {
19
21
  cglName?: string;
20
22
  /** row index in attendance report (1-based) */
21
23
  rptRowIdx?: number;
22
- id: string;
23
- deleted: boolean;
24
- createdAt?: number;
25
- createdBy?: string;
26
- updatedAt?: number;
27
- updatedBy?: string;
28
- remark?: string;
29
- constructor(id: string, name: string, st: string, cluster: string, deleted: boolean);
24
+ }
25
+ declare class CG implements CG {
30
26
  }
31
27
 
32
28
  interface MsjStudClass {
@@ -619,4 +615,4 @@ declare function getDayMonthSortKey(timestamp: number): number;
619
615
 
620
616
  declare function compareCG(a: CG, b: CG): number;
621
617
 
622
- export { type AppPage, AppUser, AssignedCG, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, type BaseDialogInput, CG, type Claim, ClaimStatus, ClaimType, Click, ClickAction, Cluster, Column, DateEvent, DatePrecision, type Device, DialogAction, DisplayAttendance, FollowUpStatus, type History, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, MsjJoinStatus, MsjJoinStatusInfo, type MsjStudBatch, type MsjStudClass, PERMISSION, type PastoralTeam, Period, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance, cgNum, compareCG, formatDateDDMMYY, generateId, getDayMonthSortKey, isDateInRangeIgnoreYear, monthStr, parseYYMMDD, yearStr };
618
+ export { type AppPage, AppUser, AssignedCG, AttSheep, Attendance, BackupAttendance, Base, type BaseDialog, type BaseDialogInput, CG, type Claim, ClaimStatus, ClaimType, Click, ClickAction, Cluster, Column, DateEvent, DatePrecision, type Device, DialogAction, DisplayAttendance, FollowUpStatus, type History, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, MsjJoinStatus, MsjJoinStatusInfo, type MsjStudBatch, type MsjStudClass, PERMISSION, type PastoralTeam, Period, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance, cgNum, compareCG, formatDateDDMMYY, generateId, getDayMonthSortKey, isDateInRangeIgnoreYear, monthStr, parseYYMMDD, yearStr };
package/dist/index.js CHANGED
@@ -521,32 +521,6 @@ var FollowUpStatus = class {
521
521
 
522
522
  // src/classes/pastoral-team/CG.ts
523
523
  var CG = class {
524
- name;
525
- /** small team id */
526
- st;
527
- //
528
- /** cluster id */
529
- cluster;
530
- cglCnt;
531
- sglCnt;
532
- cglName;
533
- /** row index in attendance report (1-based) */
534
- rptRowIdx;
535
- // base attributes
536
- id;
537
- deleted;
538
- createdAt;
539
- createdBy;
540
- updatedAt;
541
- updatedBy;
542
- remark;
543
- constructor(id, name, st, cluster, deleted) {
544
- this.id = id;
545
- this.name = name;
546
- this.st = st;
547
- this.cluster = cluster;
548
- this.deleted = deleted;
549
- }
550
524
  };
551
525
 
552
526
  // src/classes/pastoral-team/Cluster.ts
@@ -638,6 +612,10 @@ var AppUser = class {
638
612
  }
639
613
  };
640
614
 
615
+ // src/classes/Base.ts
616
+ var Base = class {
617
+ };
618
+
641
619
  // src/classes/Period.ts
642
620
  var Period = class {
643
621
  constructor(period) {
@@ -825,6 +803,7 @@ export {
825
803
  AttSheep,
826
804
  Attendance,
827
805
  BackupAttendance,
806
+ Base,
828
807
  CG,
829
808
  ClaimStatus,
830
809
  ClaimType,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyc-type-def",
3
- "version": "7.1.0",
3
+ "version": "7.1.2",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",