cyc-type-def 6.1.1 → 6.3.0
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 +6 -6
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +6 -6
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -433,7 +433,7 @@ var DatePrecision = /* @__PURE__ */ ((DatePrecision2) => {
|
|
|
433
433
|
})(DatePrecision || {});
|
|
434
434
|
|
|
435
435
|
// src/classes/pastoral-team/Sheep.ts
|
|
436
|
-
var Sheep = class {
|
|
436
|
+
var Sheep = class _Sheep {
|
|
437
437
|
constructor(id, name, status, cg, st, cluster, deleted, show, attCnt) {
|
|
438
438
|
this.id = id;
|
|
439
439
|
this.name = name;
|
|
@@ -444,12 +444,12 @@ var Sheep = class {
|
|
|
444
444
|
this.deleted = deleted;
|
|
445
445
|
this.show = show;
|
|
446
446
|
this.attCnt = attCnt;
|
|
447
|
-
|
|
447
|
+
_Sheep.init(this);
|
|
448
448
|
}
|
|
449
|
-
init() {
|
|
450
|
-
if (!
|
|
451
|
-
if (!
|
|
452
|
-
if (!
|
|
449
|
+
static init(sheep) {
|
|
450
|
+
if (!sheep.firstApproach) sheep.firstApproach = new DateEvent();
|
|
451
|
+
if (!sheep.firstAtt) sheep.firstAtt = new DateEvent();
|
|
452
|
+
if (!sheep.acceptChrist) sheep.acceptChrist = new DateEvent();
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
|
package/dist/index.d.cts
CHANGED
|
@@ -89,6 +89,8 @@ declare class Sheep implements Base {
|
|
|
89
89
|
nric?: string;
|
|
90
90
|
address?: string;
|
|
91
91
|
attCnt: number;
|
|
92
|
+
/** Attendance count in recent 15 weeks (tentatively) */
|
|
93
|
+
recentAttCnt?: number;
|
|
92
94
|
hideAtt?: boolean;
|
|
93
95
|
show: boolean;
|
|
94
96
|
id: string;
|
|
@@ -102,7 +104,7 @@ declare class Sheep implements Base {
|
|
|
102
104
|
msj?: Map<String, MsjStudBatch>;
|
|
103
105
|
msjRecords?: Map<String, MsjStudBatch[]>;
|
|
104
106
|
constructor(id: string, name: string, status: string, cg: string, st: string, cluster: string, deleted: boolean, show: boolean, attCnt: number);
|
|
105
|
-
init(): void;
|
|
107
|
+
static init(sheep: Sheep): void;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
interface Session extends Base {
|
package/dist/index.d.ts
CHANGED
|
@@ -89,6 +89,8 @@ declare class Sheep implements Base {
|
|
|
89
89
|
nric?: string;
|
|
90
90
|
address?: string;
|
|
91
91
|
attCnt: number;
|
|
92
|
+
/** Attendance count in recent 15 weeks (tentatively) */
|
|
93
|
+
recentAttCnt?: number;
|
|
92
94
|
hideAtt?: boolean;
|
|
93
95
|
show: boolean;
|
|
94
96
|
id: string;
|
|
@@ -102,7 +104,7 @@ declare class Sheep implements Base {
|
|
|
102
104
|
msj?: Map<String, MsjStudBatch>;
|
|
103
105
|
msjRecords?: Map<String, MsjStudBatch[]>;
|
|
104
106
|
constructor(id: string, name: string, status: string, cg: string, st: string, cluster: string, deleted: boolean, show: boolean, attCnt: number);
|
|
105
|
-
init(): void;
|
|
107
|
+
static init(sheep: Sheep): void;
|
|
106
108
|
}
|
|
107
109
|
|
|
108
110
|
interface Session extends Base {
|
package/dist/index.js
CHANGED
|
@@ -371,7 +371,7 @@ var DatePrecision = /* @__PURE__ */ ((DatePrecision2) => {
|
|
|
371
371
|
})(DatePrecision || {});
|
|
372
372
|
|
|
373
373
|
// src/classes/pastoral-team/Sheep.ts
|
|
374
|
-
var Sheep = class {
|
|
374
|
+
var Sheep = class _Sheep {
|
|
375
375
|
constructor(id, name, status, cg, st, cluster, deleted, show, attCnt) {
|
|
376
376
|
this.id = id;
|
|
377
377
|
this.name = name;
|
|
@@ -382,12 +382,12 @@ var Sheep = class {
|
|
|
382
382
|
this.deleted = deleted;
|
|
383
383
|
this.show = show;
|
|
384
384
|
this.attCnt = attCnt;
|
|
385
|
-
|
|
385
|
+
_Sheep.init(this);
|
|
386
386
|
}
|
|
387
|
-
init() {
|
|
388
|
-
if (!
|
|
389
|
-
if (!
|
|
390
|
-
if (!
|
|
387
|
+
static init(sheep) {
|
|
388
|
+
if (!sheep.firstApproach) sheep.firstApproach = new DateEvent();
|
|
389
|
+
if (!sheep.firstAtt) sheep.firstAtt = new DateEvent();
|
|
390
|
+
if (!sheep.acceptChrist) sheep.acceptChrist = new DateEvent();
|
|
391
391
|
}
|
|
392
392
|
};
|
|
393
393
|
|