cyc-type-def 1.0.1 → 1.0.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.d.mts +11 -10
- package/dist/index.d.ts +11 -10
- package/dist/index.js +12 -14
- package/dist/index.mjs +10 -11
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -351,6 +351,16 @@ declare class Click {
|
|
|
351
351
|
userId?: string;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
+
declare class Column {
|
|
355
|
+
visible: boolean;
|
|
356
|
+
name: string;
|
|
357
|
+
constructor(name: string);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
interface Device extends Base {
|
|
361
|
+
version?: number;
|
|
362
|
+
}
|
|
363
|
+
|
|
354
364
|
declare const METHOD: {
|
|
355
365
|
SKY: string;
|
|
356
366
|
GROUND: string;
|
|
@@ -386,13 +396,4 @@ declare const PERMISSION_TYPE: {
|
|
|
386
396
|
|
|
387
397
|
declare const LIST_STATUS: string[];
|
|
388
398
|
|
|
389
|
-
|
|
390
|
-
declare function sum(a: number, b: number): number;
|
|
391
|
-
|
|
392
|
-
interface User {
|
|
393
|
-
id: string;
|
|
394
|
-
name: string;
|
|
395
|
-
email: string;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
export { type AppPage, AppUser, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, CG, Click, ClickAction, Cluster, DisplayAttendance, FollowUpStatus, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, type MsjStudBatch, type MsjStudClass, PERMISSION, PERMISSION_TYPE, type PastoralTeam, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance, type User, greet, sum };
|
|
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, PERMISSION_TYPE, type PastoralTeam, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance };
|
package/dist/index.d.ts
CHANGED
|
@@ -351,6 +351,16 @@ declare class Click {
|
|
|
351
351
|
userId?: string;
|
|
352
352
|
}
|
|
353
353
|
|
|
354
|
+
declare class Column {
|
|
355
|
+
visible: boolean;
|
|
356
|
+
name: string;
|
|
357
|
+
constructor(name: string);
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
interface Device extends Base {
|
|
361
|
+
version?: number;
|
|
362
|
+
}
|
|
363
|
+
|
|
354
364
|
declare const METHOD: {
|
|
355
365
|
SKY: string;
|
|
356
366
|
GROUND: string;
|
|
@@ -386,13 +396,4 @@ declare const PERMISSION_TYPE: {
|
|
|
386
396
|
|
|
387
397
|
declare const LIST_STATUS: string[];
|
|
388
398
|
|
|
389
|
-
|
|
390
|
-
declare function sum(a: number, b: number): number;
|
|
391
|
-
|
|
392
|
-
interface User {
|
|
393
|
-
id: string;
|
|
394
|
-
name: string;
|
|
395
|
-
email: string;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
|
-
export { type AppPage, AppUser, AttSheep, Attendance, BackupAttendance, type Base, type BaseDialog, CG, Click, ClickAction, Cluster, DisplayAttendance, FollowUpStatus, LIST_STATUS, METHOD, type MsjClassBatch, type MsjClassTime, type MsjClassType, type MsjStudBatch, type MsjStudClass, PERMISSION, PERMISSION_TYPE, type PastoralTeam, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance, type User, greet, sum };
|
|
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, PERMISSION_TYPE, type PastoralTeam, ReportSheep, Session, SessionAttendance, Sheep, SmallTeam, Title, TitleAttendance };
|
package/dist/index.js
CHANGED
|
@@ -28,6 +28,7 @@ __export(index_exports, {
|
|
|
28
28
|
Click: () => Click,
|
|
29
29
|
ClickAction: () => ClickAction,
|
|
30
30
|
Cluster: () => Cluster,
|
|
31
|
+
Column: () => Column,
|
|
31
32
|
DisplayAttendance: () => DisplayAttendance,
|
|
32
33
|
FollowUpStatus: () => FollowUpStatus,
|
|
33
34
|
LIST_STATUS: () => LIST_STATUS,
|
|
@@ -40,9 +41,7 @@ __export(index_exports, {
|
|
|
40
41
|
Sheep: () => Sheep,
|
|
41
42
|
SmallTeam: () => SmallTeam,
|
|
42
43
|
Title: () => Title,
|
|
43
|
-
TitleAttendance: () => TitleAttendance
|
|
44
|
-
greet: () => greet,
|
|
45
|
-
sum: () => sum
|
|
44
|
+
TitleAttendance: () => TitleAttendance
|
|
46
45
|
});
|
|
47
46
|
module.exports = __toCommonJS(index_exports);
|
|
48
47
|
|
|
@@ -505,6 +504,14 @@ var AppUser = class {
|
|
|
505
504
|
var Click = class {
|
|
506
505
|
};
|
|
507
506
|
|
|
507
|
+
// src/classes/Column.ts
|
|
508
|
+
var Column = class {
|
|
509
|
+
constructor(name) {
|
|
510
|
+
this.visible = false;
|
|
511
|
+
this.name = name;
|
|
512
|
+
}
|
|
513
|
+
};
|
|
514
|
+
|
|
508
515
|
// src/constants/click.constant.ts
|
|
509
516
|
var ClickAction = /* @__PURE__ */ ((ClickAction2) => {
|
|
510
517
|
ClickAction2[ClickAction2["P_WeeklyAttendance"] = 0] = "P_WeeklyAttendance";
|
|
@@ -590,14 +597,6 @@ var PERMISSION_TYPE = {
|
|
|
590
597
|
// action specific permission
|
|
591
598
|
oprAddSheep: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN]
|
|
592
599
|
};
|
|
593
|
-
|
|
594
|
-
// src/utils.ts
|
|
595
|
-
function greet(name) {
|
|
596
|
-
return `Hello, ${name}!`;
|
|
597
|
-
}
|
|
598
|
-
function sum(a, b) {
|
|
599
|
-
return a + b;
|
|
600
|
-
}
|
|
601
600
|
// Annotate the CommonJS export names for ESM import in node:
|
|
602
601
|
0 && (module.exports = {
|
|
603
602
|
AppUser,
|
|
@@ -608,6 +607,7 @@ function sum(a, b) {
|
|
|
608
607
|
Click,
|
|
609
608
|
ClickAction,
|
|
610
609
|
Cluster,
|
|
610
|
+
Column,
|
|
611
611
|
DisplayAttendance,
|
|
612
612
|
FollowUpStatus,
|
|
613
613
|
LIST_STATUS,
|
|
@@ -620,7 +620,5 @@ function sum(a, b) {
|
|
|
620
620
|
Sheep,
|
|
621
621
|
SmallTeam,
|
|
622
622
|
Title,
|
|
623
|
-
TitleAttendance
|
|
624
|
-
greet,
|
|
625
|
-
sum
|
|
623
|
+
TitleAttendance
|
|
626
624
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -457,6 +457,14 @@ var AppUser = class {
|
|
|
457
457
|
var Click = class {
|
|
458
458
|
};
|
|
459
459
|
|
|
460
|
+
// src/classes/Column.ts
|
|
461
|
+
var Column = class {
|
|
462
|
+
constructor(name) {
|
|
463
|
+
this.visible = false;
|
|
464
|
+
this.name = name;
|
|
465
|
+
}
|
|
466
|
+
};
|
|
467
|
+
|
|
460
468
|
// src/constants/click.constant.ts
|
|
461
469
|
var ClickAction = /* @__PURE__ */ ((ClickAction2) => {
|
|
462
470
|
ClickAction2[ClickAction2["P_WeeklyAttendance"] = 0] = "P_WeeklyAttendance";
|
|
@@ -542,14 +550,6 @@ var PERMISSION_TYPE = {
|
|
|
542
550
|
// action specific permission
|
|
543
551
|
oprAddSheep: [PERMISSION.SUPER_USER, PERMISSION.PASTORAL_ADMIN]
|
|
544
552
|
};
|
|
545
|
-
|
|
546
|
-
// src/utils.ts
|
|
547
|
-
function greet(name) {
|
|
548
|
-
return `Hello, ${name}!`;
|
|
549
|
-
}
|
|
550
|
-
function sum(a, b) {
|
|
551
|
-
return a + b;
|
|
552
|
-
}
|
|
553
553
|
export {
|
|
554
554
|
AppUser,
|
|
555
555
|
AttSheep,
|
|
@@ -559,6 +559,7 @@ export {
|
|
|
559
559
|
Click,
|
|
560
560
|
ClickAction,
|
|
561
561
|
Cluster,
|
|
562
|
+
Column,
|
|
562
563
|
DisplayAttendance,
|
|
563
564
|
FollowUpStatus,
|
|
564
565
|
LIST_STATUS,
|
|
@@ -571,7 +572,5 @@ export {
|
|
|
571
572
|
Sheep,
|
|
572
573
|
SmallTeam,
|
|
573
574
|
Title,
|
|
574
|
-
TitleAttendance
|
|
575
|
-
greet,
|
|
576
|
-
sum
|
|
575
|
+
TitleAttendance
|
|
577
576
|
};
|