cyc-type-def 6.0.1 → 6.1.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 CHANGED
@@ -435,13 +435,6 @@ var DatePrecision = /* @__PURE__ */ ((DatePrecision2) => {
435
435
  // src/classes/pastoral-team/Sheep.ts
436
436
  var Sheep = class {
437
437
  constructor(id, name, status, cg, st, cluster, deleted, show, attCnt) {
438
- // history record (spiritual journey/milestone)
439
- /** first approach/contact (JieChu) */
440
- this.firstApproach = new DateEvent();
441
- /** first CG/SERVICE */
442
- this.firstAtt = new DateEvent();
443
- /** accept Christ */
444
- this.acceptChrist = new DateEvent();
445
438
  this.id = id;
446
439
  this.name = name;
447
440
  this.status = status;
@@ -451,6 +444,12 @@ var Sheep = class {
451
444
  this.deleted = deleted;
452
445
  this.show = show;
453
446
  this.attCnt = attCnt;
447
+ this.init();
448
+ }
449
+ init() {
450
+ this.firstApproach = new DateEvent();
451
+ this.firstAtt = new DateEvent();
452
+ this.acceptChrist = new DateEvent();
454
453
  }
455
454
  };
456
455
 
package/dist/index.d.cts CHANGED
@@ -74,11 +74,11 @@ declare class Sheep implements Base {
74
74
  status: string;
75
75
  discipler?: string;
76
76
  /** first approach/contact (JieChu) */
77
- firstApproach: DateEvent;
77
+ firstApproach?: DateEvent;
78
78
  /** first CG/SERVICE */
79
- firstAtt: DateEvent;
79
+ firstAtt?: DateEvent;
80
80
  /** accept Christ */
81
- acceptChrist: DateEvent;
81
+ acceptChrist?: DateEvent;
82
82
  name: string;
83
83
  age?: number;
84
84
  birthday?: number;
@@ -102,6 +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
106
  }
106
107
 
107
108
  interface Session extends Base {
package/dist/index.d.ts CHANGED
@@ -74,11 +74,11 @@ declare class Sheep implements Base {
74
74
  status: string;
75
75
  discipler?: string;
76
76
  /** first approach/contact (JieChu) */
77
- firstApproach: DateEvent;
77
+ firstApproach?: DateEvent;
78
78
  /** first CG/SERVICE */
79
- firstAtt: DateEvent;
79
+ firstAtt?: DateEvent;
80
80
  /** accept Christ */
81
- acceptChrist: DateEvent;
81
+ acceptChrist?: DateEvent;
82
82
  name: string;
83
83
  age?: number;
84
84
  birthday?: number;
@@ -102,6 +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
106
  }
106
107
 
107
108
  interface Session extends Base {
package/dist/index.js CHANGED
@@ -373,13 +373,6 @@ var DatePrecision = /* @__PURE__ */ ((DatePrecision2) => {
373
373
  // src/classes/pastoral-team/Sheep.ts
374
374
  var Sheep = class {
375
375
  constructor(id, name, status, cg, st, cluster, deleted, show, attCnt) {
376
- // history record (spiritual journey/milestone)
377
- /** first approach/contact (JieChu) */
378
- this.firstApproach = new DateEvent();
379
- /** first CG/SERVICE */
380
- this.firstAtt = new DateEvent();
381
- /** accept Christ */
382
- this.acceptChrist = new DateEvent();
383
376
  this.id = id;
384
377
  this.name = name;
385
378
  this.status = status;
@@ -389,6 +382,12 @@ var Sheep = class {
389
382
  this.deleted = deleted;
390
383
  this.show = show;
391
384
  this.attCnt = attCnt;
385
+ this.init();
386
+ }
387
+ init() {
388
+ this.firstApproach = new DateEvent();
389
+ this.firstAtt = new DateEvent();
390
+ this.acceptChrist = new DateEvent();
392
391
  }
393
392
  };
394
393
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cyc-type-def",
3
- "version": "6.0.1",
3
+ "version": "6.1.0",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "type": "module",