cyc-type-def 1.0.2 → 1.0.3
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.d.mts +25 -38
- package/dist/index.d.ts +25 -38
- package/dist/index.js +0 -60
- package/dist/index.mjs +0 -59
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -22,6 +22,28 @@ declare class CG implements Base {
|
|
|
22
22
|
constructor(id: string, name: string, st: string, cluster: string, deleted: boolean);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
interface MsjStudClass {
|
|
26
|
+
idClass?: string;
|
|
27
|
+
attended: boolean;
|
|
28
|
+
classNo: number;
|
|
29
|
+
replaced?: boolean;
|
|
30
|
+
absReason?: string;
|
|
31
|
+
markBy?: string;
|
|
32
|
+
markAt?: number;
|
|
33
|
+
provedAbsent?: boolean;
|
|
34
|
+
isWatchedRecording?: boolean;
|
|
35
|
+
markByName?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface MsjStudBatch extends Base {
|
|
39
|
+
idSheep: string;
|
|
40
|
+
idBatch: string;
|
|
41
|
+
completed?: boolean;
|
|
42
|
+
proceed?: boolean;
|
|
43
|
+
attendance?: MsjStudClass[];
|
|
44
|
+
status?: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
25
47
|
declare class Sheep implements Base {
|
|
26
48
|
name: string;
|
|
27
49
|
st: string;
|
|
@@ -44,6 +66,8 @@ declare class Sheep implements Base {
|
|
|
44
66
|
updatedBy?: string;
|
|
45
67
|
remark?: string;
|
|
46
68
|
arrFlwUpCnt?: number[];
|
|
69
|
+
msj?: Map<String, MsjStudBatch>;
|
|
70
|
+
msjRecords?: Map<String, MsjStudBatch[]>;
|
|
47
71
|
constructor(id: string, name: string, status: string, cg: string, st: string, cluster: string, deleted: boolean, show: boolean, attCnt: number);
|
|
48
72
|
}
|
|
49
73
|
|
|
@@ -234,28 +258,6 @@ interface MsjClassTime extends Base {
|
|
|
234
258
|
backtracked?: boolean;
|
|
235
259
|
}
|
|
236
260
|
|
|
237
|
-
interface MsjStudClass {
|
|
238
|
-
idClass?: string;
|
|
239
|
-
attended: boolean;
|
|
240
|
-
classNo: number;
|
|
241
|
-
replaced?: boolean;
|
|
242
|
-
absReason?: string;
|
|
243
|
-
markBy?: string;
|
|
244
|
-
markAt?: number;
|
|
245
|
-
provedAbsent?: boolean;
|
|
246
|
-
isWatchedRecording?: boolean;
|
|
247
|
-
markByName?: string;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
interface MsjStudBatch extends Base {
|
|
251
|
-
idSheep: string;
|
|
252
|
-
idBatch: string;
|
|
253
|
-
completed?: boolean;
|
|
254
|
-
proceed?: boolean;
|
|
255
|
-
attendance?: MsjStudClass[];
|
|
256
|
-
status?: string;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
261
|
declare class FollowUpStatus {
|
|
260
262
|
id: string;
|
|
261
263
|
method: string;
|
|
@@ -378,22 +380,7 @@ declare const PERMISSION: {
|
|
|
378
380
|
PASTORAL_ADMIN: string;
|
|
379
381
|
ST_ADMIN: string;
|
|
380
382
|
};
|
|
381
|
-
declare const PERMISSION_TYPE: {
|
|
382
|
-
USER_MANAGEMENT: string[];
|
|
383
|
-
WEEKLY_ATT: string[];
|
|
384
|
-
ATT_RPT: string[];
|
|
385
|
-
TITLE: string[];
|
|
386
|
-
CLICKS: string[];
|
|
387
|
-
monthlyReport: string[];
|
|
388
|
-
read: string[];
|
|
389
|
-
msjStudentRecord: string[];
|
|
390
|
-
msjProgress: string[];
|
|
391
|
-
msjToAttend: string[];
|
|
392
|
-
addSheep: string[];
|
|
393
|
-
addCG: string[];
|
|
394
|
-
oprAddSheep: string[];
|
|
395
|
-
};
|
|
396
383
|
|
|
397
384
|
declare const LIST_STATUS: string[];
|
|
398
385
|
|
|
399
|
-
export { type AppPage, AppUser, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, CG, Click, ClickAction, Cluster, Column, type Device, DisplayAttendance, FollowUpStatus, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, type MsjStudBatch, type MsjStudClass, PERMISSION,
|
|
386
|
+
export { type AppPage, AppUser, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, CG, Click, ClickAction, Cluster, Column, type Device, DisplayAttendance, FollowUpStatus, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, type MsjStudBatch, type MsjStudClass, PERMISSION, type PastoralTeam, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance };
|
package/dist/index.d.ts
CHANGED
|
@@ -22,6 +22,28 @@ declare class CG implements Base {
|
|
|
22
22
|
constructor(id: string, name: string, st: string, cluster: string, deleted: boolean);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
+
interface MsjStudClass {
|
|
26
|
+
idClass?: string;
|
|
27
|
+
attended: boolean;
|
|
28
|
+
classNo: number;
|
|
29
|
+
replaced?: boolean;
|
|
30
|
+
absReason?: string;
|
|
31
|
+
markBy?: string;
|
|
32
|
+
markAt?: number;
|
|
33
|
+
provedAbsent?: boolean;
|
|
34
|
+
isWatchedRecording?: boolean;
|
|
35
|
+
markByName?: string;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
interface MsjStudBatch extends Base {
|
|
39
|
+
idSheep: string;
|
|
40
|
+
idBatch: string;
|
|
41
|
+
completed?: boolean;
|
|
42
|
+
proceed?: boolean;
|
|
43
|
+
attendance?: MsjStudClass[];
|
|
44
|
+
status?: string;
|
|
45
|
+
}
|
|
46
|
+
|
|
25
47
|
declare class Sheep implements Base {
|
|
26
48
|
name: string;
|
|
27
49
|
st: string;
|
|
@@ -44,6 +66,8 @@ declare class Sheep implements Base {
|
|
|
44
66
|
updatedBy?: string;
|
|
45
67
|
remark?: string;
|
|
46
68
|
arrFlwUpCnt?: number[];
|
|
69
|
+
msj?: Map<String, MsjStudBatch>;
|
|
70
|
+
msjRecords?: Map<String, MsjStudBatch[]>;
|
|
47
71
|
constructor(id: string, name: string, status: string, cg: string, st: string, cluster: string, deleted: boolean, show: boolean, attCnt: number);
|
|
48
72
|
}
|
|
49
73
|
|
|
@@ -234,28 +258,6 @@ interface MsjClassTime extends Base {
|
|
|
234
258
|
backtracked?: boolean;
|
|
235
259
|
}
|
|
236
260
|
|
|
237
|
-
interface MsjStudClass {
|
|
238
|
-
idClass?: string;
|
|
239
|
-
attended: boolean;
|
|
240
|
-
classNo: number;
|
|
241
|
-
replaced?: boolean;
|
|
242
|
-
absReason?: string;
|
|
243
|
-
markBy?: string;
|
|
244
|
-
markAt?: number;
|
|
245
|
-
provedAbsent?: boolean;
|
|
246
|
-
isWatchedRecording?: boolean;
|
|
247
|
-
markByName?: string;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
|
-
interface MsjStudBatch extends Base {
|
|
251
|
-
idSheep: string;
|
|
252
|
-
idBatch: string;
|
|
253
|
-
completed?: boolean;
|
|
254
|
-
proceed?: boolean;
|
|
255
|
-
attendance?: MsjStudClass[];
|
|
256
|
-
status?: string;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
261
|
declare class FollowUpStatus {
|
|
260
262
|
id: string;
|
|
261
263
|
method: string;
|
|
@@ -378,22 +380,7 @@ declare const PERMISSION: {
|
|
|
378
380
|
PASTORAL_ADMIN: string;
|
|
379
381
|
ST_ADMIN: string;
|
|
380
382
|
};
|
|
381
|
-
declare const PERMISSION_TYPE: {
|
|
382
|
-
USER_MANAGEMENT: string[];
|
|
383
|
-
WEEKLY_ATT: string[];
|
|
384
|
-
ATT_RPT: string[];
|
|
385
|
-
TITLE: string[];
|
|
386
|
-
CLICKS: string[];
|
|
387
|
-
monthlyReport: string[];
|
|
388
|
-
read: string[];
|
|
389
|
-
msjStudentRecord: string[];
|
|
390
|
-
msjProgress: string[];
|
|
391
|
-
msjToAttend: string[];
|
|
392
|
-
addSheep: string[];
|
|
393
|
-
addCG: string[];
|
|
394
|
-
oprAddSheep: string[];
|
|
395
|
-
};
|
|
396
383
|
|
|
397
384
|
declare const LIST_STATUS: string[];
|
|
398
385
|
|
|
399
|
-
export { type AppPage, AppUser, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, CG, Click, ClickAction, Cluster, Column, type Device, DisplayAttendance, FollowUpStatus, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, type MsjStudBatch, type MsjStudClass, PERMISSION,
|
|
386
|
+
export { type AppPage, AppUser, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, CG, Click, ClickAction, Cluster, Column, type Device, DisplayAttendance, FollowUpStatus, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, type MsjStudBatch, type MsjStudClass, PERMISSION, type PastoralTeam, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance };
|
package/dist/index.js
CHANGED
|
@@ -34,7 +34,6 @@ __export(index_exports, {
|
|
|
34
34
|
LIST_STATUS: () => LIST_STATUS,
|
|
35
35
|
METHOD: () => METHOD,
|
|
36
36
|
PERMISSION: () => PERMISSION,
|
|
37
|
-
PERMISSION_TYPE: () => PERMISSION_TYPE,
|
|
38
37
|
ReportSheep: () => ReportSheep,
|
|
39
38
|
Session: () => Session,
|
|
40
39
|
SessionAttendance: () => SessionAttendance,
|
|
@@ -539,64 +538,6 @@ var PERMISSION = {
|
|
|
539
538
|
PASTORAL_ADMIN: "Pastoral Admin",
|
|
540
539
|
ST_ADMIN: "Small Team Admin"
|
|
541
540
|
};
|
|
542
|
-
var PERMISSION_TYPE = {
|
|
543
|
-
USER_MANAGEMENT: [PERMISSION.SUPER_USER],
|
|
544
|
-
WEEKLY_ATT: [
|
|
545
|
-
PERMISSION.SUPER_USER,
|
|
546
|
-
PERMISSION.TL,
|
|
547
|
-
PERMISSION.SCGL,
|
|
548
|
-
PERMISSION.PASTORAL_ADMIN
|
|
549
|
-
],
|
|
550
|
-
ATT_RPT: [
|
|
551
|
-
PERMISSION.SUPER_USER,
|
|
552
|
-
PERMISSION.TL,
|
|
553
|
-
PERMISSION.SCGL,
|
|
554
|
-
PERMISSION.CGL,
|
|
555
|
-
PERMISSION.PASTORAL_ADMIN
|
|
556
|
-
],
|
|
557
|
-
TITLE: [PERMISSION.SUPER_USER],
|
|
558
|
-
CLICKS: [PERMISSION.SUPER_USER],
|
|
559
|
-
// SHEEP_LIST: [PERMISSION.TL],
|
|
560
|
-
// view specific permissions
|
|
561
|
-
monthlyReport: [
|
|
562
|
-
PERMISSION.SUPER_USER,
|
|
563
|
-
PERMISSION.PASTORAL_ADMIN,
|
|
564
|
-
PERMISSION.TL
|
|
565
|
-
],
|
|
566
|
-
read: [
|
|
567
|
-
PERMISSION.SUPER_USER,
|
|
568
|
-
PERMISSION.PASTORAL_ADMIN,
|
|
569
|
-
PERMISSION.TL,
|
|
570
|
-
PERMISSION.SCGL,
|
|
571
|
-
PERMISSION.CGL
|
|
572
|
-
],
|
|
573
|
-
msjStudentRecord: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN],
|
|
574
|
-
msjProgress: [
|
|
575
|
-
PERMISSION.SUPER_USER,
|
|
576
|
-
PERMISSION.TL,
|
|
577
|
-
PERMISSION.SCGL,
|
|
578
|
-
PERMISSION.CGL,
|
|
579
|
-
PERMISSION.PASTORAL_ADMIN
|
|
580
|
-
],
|
|
581
|
-
msjToAttend: [
|
|
582
|
-
PERMISSION.SUPER_USER,
|
|
583
|
-
PERMISSION.TL,
|
|
584
|
-
PERMISSION.SCGL,
|
|
585
|
-
PERMISSION.CGL,
|
|
586
|
-
PERMISSION.PASTORAL_ADMIN
|
|
587
|
-
],
|
|
588
|
-
addSheep: [
|
|
589
|
-
PERMISSION.SUPER_USER,
|
|
590
|
-
PERMISSION.PASTORAL_ADMIN,
|
|
591
|
-
PERMISSION.ST_ADMIN,
|
|
592
|
-
PERMISSION.TL,
|
|
593
|
-
PERMISSION.SCGL,
|
|
594
|
-
PERMISSION.CGL
|
|
595
|
-
],
|
|
596
|
-
addCG: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN],
|
|
597
|
-
// action specific permission
|
|
598
|
-
oprAddSheep: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN]
|
|
599
|
-
};
|
|
600
541
|
// Annotate the CommonJS export names for ESM import in node:
|
|
601
542
|
0 && (module.exports = {
|
|
602
543
|
AppUser,
|
|
@@ -613,7 +554,6 @@ var PERMISSION_TYPE = {
|
|
|
613
554
|
LIST_STATUS,
|
|
614
555
|
METHOD,
|
|
615
556
|
PERMISSION,
|
|
616
|
-
PERMISSION_TYPE,
|
|
617
557
|
ReportSheep,
|
|
618
558
|
Session,
|
|
619
559
|
SessionAttendance,
|
package/dist/index.mjs
CHANGED
|
@@ -492,64 +492,6 @@ var PERMISSION = {
|
|
|
492
492
|
PASTORAL_ADMIN: "Pastoral Admin",
|
|
493
493
|
ST_ADMIN: "Small Team Admin"
|
|
494
494
|
};
|
|
495
|
-
var PERMISSION_TYPE = {
|
|
496
|
-
USER_MANAGEMENT: [PERMISSION.SUPER_USER],
|
|
497
|
-
WEEKLY_ATT: [
|
|
498
|
-
PERMISSION.SUPER_USER,
|
|
499
|
-
PERMISSION.TL,
|
|
500
|
-
PERMISSION.SCGL,
|
|
501
|
-
PERMISSION.PASTORAL_ADMIN
|
|
502
|
-
],
|
|
503
|
-
ATT_RPT: [
|
|
504
|
-
PERMISSION.SUPER_USER,
|
|
505
|
-
PERMISSION.TL,
|
|
506
|
-
PERMISSION.SCGL,
|
|
507
|
-
PERMISSION.CGL,
|
|
508
|
-
PERMISSION.PASTORAL_ADMIN
|
|
509
|
-
],
|
|
510
|
-
TITLE: [PERMISSION.SUPER_USER],
|
|
511
|
-
CLICKS: [PERMISSION.SUPER_USER],
|
|
512
|
-
// SHEEP_LIST: [PERMISSION.TL],
|
|
513
|
-
// view specific permissions
|
|
514
|
-
monthlyReport: [
|
|
515
|
-
PERMISSION.SUPER_USER,
|
|
516
|
-
PERMISSION.PASTORAL_ADMIN,
|
|
517
|
-
PERMISSION.TL
|
|
518
|
-
],
|
|
519
|
-
read: [
|
|
520
|
-
PERMISSION.SUPER_USER,
|
|
521
|
-
PERMISSION.PASTORAL_ADMIN,
|
|
522
|
-
PERMISSION.TL,
|
|
523
|
-
PERMISSION.SCGL,
|
|
524
|
-
PERMISSION.CGL
|
|
525
|
-
],
|
|
526
|
-
msjStudentRecord: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN],
|
|
527
|
-
msjProgress: [
|
|
528
|
-
PERMISSION.SUPER_USER,
|
|
529
|
-
PERMISSION.TL,
|
|
530
|
-
PERMISSION.SCGL,
|
|
531
|
-
PERMISSION.CGL,
|
|
532
|
-
PERMISSION.PASTORAL_ADMIN
|
|
533
|
-
],
|
|
534
|
-
msjToAttend: [
|
|
535
|
-
PERMISSION.SUPER_USER,
|
|
536
|
-
PERMISSION.TL,
|
|
537
|
-
PERMISSION.SCGL,
|
|
538
|
-
PERMISSION.CGL,
|
|
539
|
-
PERMISSION.PASTORAL_ADMIN
|
|
540
|
-
],
|
|
541
|
-
addSheep: [
|
|
542
|
-
PERMISSION.SUPER_USER,
|
|
543
|
-
PERMISSION.PASTORAL_ADMIN,
|
|
544
|
-
PERMISSION.ST_ADMIN,
|
|
545
|
-
PERMISSION.TL,
|
|
546
|
-
PERMISSION.SCGL,
|
|
547
|
-
PERMISSION.CGL
|
|
548
|
-
],
|
|
549
|
-
addCG: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN],
|
|
550
|
-
// action specific permission
|
|
551
|
-
oprAddSheep: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN]
|
|
552
|
-
};
|
|
553
495
|
export {
|
|
554
496
|
AppUser,
|
|
555
497
|
AttSheep,
|
|
@@ -565,7 +507,6 @@ export {
|
|
|
565
507
|
LIST_STATUS,
|
|
566
508
|
METHOD,
|
|
567
509
|
PERMISSION,
|
|
568
|
-
PERMISSION_TYPE,
|
|
569
510
|
ReportSheep,
|
|
570
511
|
Session,
|
|
571
512
|
SessionAttendance,
|