cyc-type-def 6.1.0 → 6.2.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 +1 -1
- package/dist/index.d.ts +1 -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
|
-
|
|
451
|
-
|
|
452
|
-
|
|
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
|
@@ -102,7 +102,7 @@ declare class Sheep implements Base {
|
|
|
102
102
|
msj?: Map<String, MsjStudBatch>;
|
|
103
103
|
msjRecords?: Map<String, MsjStudBatch[]>;
|
|
104
104
|
constructor(id: string, name: string, status: string, cg: string, st: string, cluster: string, deleted: boolean, show: boolean, attCnt: number);
|
|
105
|
-
init(): void;
|
|
105
|
+
static init(sheep: Sheep): void;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
interface Session extends Base {
|
package/dist/index.d.ts
CHANGED
|
@@ -102,7 +102,7 @@ declare class Sheep implements Base {
|
|
|
102
102
|
msj?: Map<String, MsjStudBatch>;
|
|
103
103
|
msjRecords?: Map<String, MsjStudBatch[]>;
|
|
104
104
|
constructor(id: string, name: string, status: string, cg: string, st: string, cluster: string, deleted: boolean, show: boolean, attCnt: number);
|
|
105
|
-
init(): void;
|
|
105
|
+
static init(sheep: Sheep): void;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
108
|
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
|
-
|
|
389
|
-
|
|
390
|
-
|
|
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
|
|