@nyig/models 0.2.36 → 0.2.37
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/index.d.mts +30 -18
- package/index.d.ts +30 -18
- package/index.js +2 -4
- package/index.mjs +2 -4
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -1574,6 +1574,27 @@ declare const zTeacherPayment: z.ZodObject<{
|
|
|
1574
1574
|
updatedAt?: Date | undefined;
|
|
1575
1575
|
}>;
|
|
1576
1576
|
declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
1577
|
+
_id: z.ZodString;
|
|
1578
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1580
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1581
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1583
|
+
course: z.ZodString;
|
|
1584
|
+
length: z.ZodNumber;
|
|
1585
|
+
count: z.ZodNumber;
|
|
1586
|
+
wage: z.ZodNumber;
|
|
1587
|
+
}, "strip", z.ZodTypeAny, {
|
|
1588
|
+
length: number;
|
|
1589
|
+
course: string;
|
|
1590
|
+
count: number;
|
|
1591
|
+
wage: number;
|
|
1592
|
+
}, {
|
|
1593
|
+
length: number;
|
|
1594
|
+
course: string;
|
|
1595
|
+
count: number;
|
|
1596
|
+
wage: number;
|
|
1597
|
+
}>, "many">;
|
|
1577
1598
|
teacher: z.ZodObject<{
|
|
1578
1599
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1579
1600
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -1632,24 +1653,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1632
1653
|
bio?: string | undefined;
|
|
1633
1654
|
available?: number[][][] | undefined;
|
|
1634
1655
|
}>;
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
length: z.ZodNumber;
|
|
1638
|
-
count: z.ZodNumber;
|
|
1639
|
-
wage: z.ZodNumber;
|
|
1640
|
-
}, "strip", z.ZodTypeAny, {
|
|
1641
|
-
length: number;
|
|
1642
|
-
course: string;
|
|
1643
|
-
count: number;
|
|
1644
|
-
wage: number;
|
|
1645
|
-
}, {
|
|
1646
|
-
length: number;
|
|
1647
|
-
course: string;
|
|
1648
|
-
count: number;
|
|
1649
|
-
wage: number;
|
|
1650
|
-
}>, "many">;
|
|
1651
|
-
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1652
|
-
}, "strip", z.ZodTypeAny, {
|
|
1656
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1657
|
+
_id: string;
|
|
1653
1658
|
teacher: {
|
|
1654
1659
|
rank: GoRank;
|
|
1655
1660
|
_id: string;
|
|
@@ -1676,8 +1681,12 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1676
1681
|
count: number;
|
|
1677
1682
|
wage: number;
|
|
1678
1683
|
}[];
|
|
1684
|
+
editedBy?: string | undefined;
|
|
1685
|
+
createdAt?: Date | undefined;
|
|
1686
|
+
updatedAt?: Date | undefined;
|
|
1679
1687
|
paid?: boolean | undefined;
|
|
1680
1688
|
}, {
|
|
1689
|
+
_id: string;
|
|
1681
1690
|
teacher: {
|
|
1682
1691
|
rank: GoRank;
|
|
1683
1692
|
_id: string;
|
|
@@ -1704,6 +1713,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1704
1713
|
count: number;
|
|
1705
1714
|
wage: number;
|
|
1706
1715
|
}[];
|
|
1716
|
+
editedBy?: string | undefined;
|
|
1717
|
+
createdAt?: Date | undefined;
|
|
1718
|
+
updatedAt?: Date | undefined;
|
|
1707
1719
|
paid?: boolean | undefined;
|
|
1708
1720
|
}>;
|
|
1709
1721
|
type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
|
package/index.d.ts
CHANGED
|
@@ -1574,6 +1574,27 @@ declare const zTeacherPayment: z.ZodObject<{
|
|
|
1574
1574
|
updatedAt?: Date | undefined;
|
|
1575
1575
|
}>;
|
|
1576
1576
|
declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
1577
|
+
_id: z.ZodString;
|
|
1578
|
+
editedBy: z.ZodOptional<z.ZodString>;
|
|
1579
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1580
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1581
|
+
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1582
|
+
rows: z.ZodArray<z.ZodObject<{
|
|
1583
|
+
course: z.ZodString;
|
|
1584
|
+
length: z.ZodNumber;
|
|
1585
|
+
count: z.ZodNumber;
|
|
1586
|
+
wage: z.ZodNumber;
|
|
1587
|
+
}, "strip", z.ZodTypeAny, {
|
|
1588
|
+
length: number;
|
|
1589
|
+
course: string;
|
|
1590
|
+
count: number;
|
|
1591
|
+
wage: number;
|
|
1592
|
+
}, {
|
|
1593
|
+
length: number;
|
|
1594
|
+
course: string;
|
|
1595
|
+
count: number;
|
|
1596
|
+
wage: number;
|
|
1597
|
+
}>, "many">;
|
|
1577
1598
|
teacher: z.ZodObject<{
|
|
1578
1599
|
email: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
1579
1600
|
address: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodLiteral<"">]>>;
|
|
@@ -1632,24 +1653,8 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1632
1653
|
bio?: string | undefined;
|
|
1633
1654
|
available?: number[][][] | undefined;
|
|
1634
1655
|
}>;
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
length: z.ZodNumber;
|
|
1638
|
-
count: z.ZodNumber;
|
|
1639
|
-
wage: z.ZodNumber;
|
|
1640
|
-
}, "strip", z.ZodTypeAny, {
|
|
1641
|
-
length: number;
|
|
1642
|
-
course: string;
|
|
1643
|
-
count: number;
|
|
1644
|
-
wage: number;
|
|
1645
|
-
}, {
|
|
1646
|
-
length: number;
|
|
1647
|
-
course: string;
|
|
1648
|
-
count: number;
|
|
1649
|
-
wage: number;
|
|
1650
|
-
}>, "many">;
|
|
1651
|
-
paid: z.ZodOptional<z.ZodBoolean>;
|
|
1652
|
-
}, "strip", z.ZodTypeAny, {
|
|
1656
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1657
|
+
_id: string;
|
|
1653
1658
|
teacher: {
|
|
1654
1659
|
rank: GoRank;
|
|
1655
1660
|
_id: string;
|
|
@@ -1676,8 +1681,12 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1676
1681
|
count: number;
|
|
1677
1682
|
wage: number;
|
|
1678
1683
|
}[];
|
|
1684
|
+
editedBy?: string | undefined;
|
|
1685
|
+
createdAt?: Date | undefined;
|
|
1686
|
+
updatedAt?: Date | undefined;
|
|
1679
1687
|
paid?: boolean | undefined;
|
|
1680
1688
|
}, {
|
|
1689
|
+
_id: string;
|
|
1681
1690
|
teacher: {
|
|
1682
1691
|
rank: GoRank;
|
|
1683
1692
|
_id: string;
|
|
@@ -1704,6 +1713,9 @@ declare const zTeacherPaymentResponse: z.ZodObject<{
|
|
|
1704
1713
|
count: number;
|
|
1705
1714
|
wage: number;
|
|
1706
1715
|
}[];
|
|
1716
|
+
editedBy?: string | undefined;
|
|
1717
|
+
createdAt?: Date | undefined;
|
|
1718
|
+
updatedAt?: Date | undefined;
|
|
1707
1719
|
paid?: boolean | undefined;
|
|
1708
1720
|
}>;
|
|
1709
1721
|
type TeacherPaymentRow = z.infer<typeof zTeacherPaymentRow>;
|
package/index.js
CHANGED
|
@@ -363,10 +363,8 @@ var zBTeacherPayment = import_zod10.z.object({
|
|
|
363
363
|
paid: import_zod10.z.boolean().optional()
|
|
364
364
|
});
|
|
365
365
|
var zTeacherPayment = addAutoProps(zBTeacherPayment);
|
|
366
|
-
var zTeacherPaymentResponse =
|
|
367
|
-
teacher: zTeacher
|
|
368
|
-
rows: import_zod10.z.array(zTeacherPaymentRow),
|
|
369
|
-
paid: import_zod10.z.boolean().optional()
|
|
366
|
+
var zTeacherPaymentResponse = zTeacherPayment.extend({
|
|
367
|
+
teacher: zTeacher
|
|
370
368
|
});
|
|
371
369
|
|
|
372
370
|
// src/interface/tracking/classTracker.ts
|
package/index.mjs
CHANGED
|
@@ -275,10 +275,8 @@ var zBTeacherPayment = z10.object({
|
|
|
275
275
|
paid: z10.boolean().optional()
|
|
276
276
|
});
|
|
277
277
|
var zTeacherPayment = addAutoProps(zBTeacherPayment);
|
|
278
|
-
var zTeacherPaymentResponse =
|
|
279
|
-
teacher: zTeacher
|
|
280
|
-
rows: z10.array(zTeacherPaymentRow),
|
|
281
|
-
paid: z10.boolean().optional()
|
|
278
|
+
var zTeacherPaymentResponse = zTeacherPayment.extend({
|
|
279
|
+
teacher: zTeacher
|
|
282
280
|
});
|
|
283
281
|
|
|
284
282
|
// src/interface/tracking/classTracker.ts
|