@nyig/models 0.2.23 → 0.2.24
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 +298 -42
- package/index.d.ts +298 -42
- package/index.js +64 -56
- package/index.mjs +59 -53
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -953,44 +953,44 @@ declare const zDiscount: z.ZodObject<{
|
|
|
953
953
|
amount: number;
|
|
954
954
|
}>;
|
|
955
955
|
declare const zInvoiceItem: z.ZodObject<{
|
|
956
|
-
course: z.
|
|
956
|
+
course: z.ZodString;
|
|
957
957
|
price: z.ZodNumber;
|
|
958
958
|
units: z.ZodNumber;
|
|
959
959
|
}, "strip", z.ZodTypeAny, {
|
|
960
|
-
course:
|
|
960
|
+
course: string;
|
|
961
961
|
price: number;
|
|
962
962
|
units: number;
|
|
963
963
|
}, {
|
|
964
|
-
course:
|
|
964
|
+
course: string;
|
|
965
965
|
price: number;
|
|
966
966
|
units: number;
|
|
967
967
|
}>;
|
|
968
968
|
declare const zInvoicePackage: z.ZodObject<{
|
|
969
969
|
student: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
970
970
|
items: z.ZodArray<z.ZodObject<{
|
|
971
|
-
course: z.
|
|
971
|
+
course: z.ZodString;
|
|
972
972
|
price: z.ZodNumber;
|
|
973
973
|
units: z.ZodNumber;
|
|
974
974
|
}, "strip", z.ZodTypeAny, {
|
|
975
|
-
course:
|
|
975
|
+
course: string;
|
|
976
976
|
price: number;
|
|
977
977
|
units: number;
|
|
978
978
|
}, {
|
|
979
|
-
course:
|
|
979
|
+
course: string;
|
|
980
980
|
price: number;
|
|
981
981
|
units: number;
|
|
982
982
|
}>, "many">;
|
|
983
983
|
}, "strip", z.ZodTypeAny, {
|
|
984
984
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
985
985
|
items: {
|
|
986
|
-
course:
|
|
986
|
+
course: string;
|
|
987
987
|
price: number;
|
|
988
988
|
units: number;
|
|
989
989
|
}[];
|
|
990
990
|
}, {
|
|
991
991
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
992
992
|
items: {
|
|
993
|
-
course:
|
|
993
|
+
course: string;
|
|
994
994
|
price: number;
|
|
995
995
|
units: number;
|
|
996
996
|
}[];
|
|
@@ -1000,29 +1000,29 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1000
1000
|
packages: z.ZodArray<z.ZodObject<{
|
|
1001
1001
|
student: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1002
1002
|
items: z.ZodArray<z.ZodObject<{
|
|
1003
|
-
course: z.
|
|
1003
|
+
course: z.ZodString;
|
|
1004
1004
|
price: z.ZodNumber;
|
|
1005
1005
|
units: z.ZodNumber;
|
|
1006
1006
|
}, "strip", z.ZodTypeAny, {
|
|
1007
|
-
course:
|
|
1007
|
+
course: string;
|
|
1008
1008
|
price: number;
|
|
1009
1009
|
units: number;
|
|
1010
1010
|
}, {
|
|
1011
|
-
course:
|
|
1011
|
+
course: string;
|
|
1012
1012
|
price: number;
|
|
1013
1013
|
units: number;
|
|
1014
1014
|
}>, "many">;
|
|
1015
1015
|
}, "strip", z.ZodTypeAny, {
|
|
1016
1016
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1017
1017
|
items: {
|
|
1018
|
-
course:
|
|
1018
|
+
course: string;
|
|
1019
1019
|
price: number;
|
|
1020
1020
|
units: number;
|
|
1021
1021
|
}[];
|
|
1022
1022
|
}, {
|
|
1023
1023
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1024
1024
|
items: {
|
|
1025
|
-
course:
|
|
1025
|
+
course: string;
|
|
1026
1026
|
price: number;
|
|
1027
1027
|
units: number;
|
|
1028
1028
|
}[];
|
|
@@ -1048,7 +1048,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1048
1048
|
packages: {
|
|
1049
1049
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1050
1050
|
items: {
|
|
1051
|
-
course:
|
|
1051
|
+
course: string;
|
|
1052
1052
|
price: number;
|
|
1053
1053
|
units: number;
|
|
1054
1054
|
}[];
|
|
@@ -1068,7 +1068,7 @@ declare const zInvoice: z.ZodObject<{
|
|
|
1068
1068
|
packages: {
|
|
1069
1069
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1070
1070
|
items: {
|
|
1071
|
-
course:
|
|
1071
|
+
course: string;
|
|
1072
1072
|
price: number;
|
|
1073
1073
|
units: number;
|
|
1074
1074
|
}[];
|
|
@@ -1093,29 +1093,29 @@ declare const zMInvoice: z.ZodObject<{
|
|
|
1093
1093
|
packages: z.ZodArray<z.ZodObject<{
|
|
1094
1094
|
student: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1095
1095
|
items: z.ZodArray<z.ZodObject<{
|
|
1096
|
-
course: z.
|
|
1096
|
+
course: z.ZodString;
|
|
1097
1097
|
price: z.ZodNumber;
|
|
1098
1098
|
units: z.ZodNumber;
|
|
1099
1099
|
}, "strip", z.ZodTypeAny, {
|
|
1100
|
-
course:
|
|
1100
|
+
course: string;
|
|
1101
1101
|
price: number;
|
|
1102
1102
|
units: number;
|
|
1103
1103
|
}, {
|
|
1104
|
-
course:
|
|
1104
|
+
course: string;
|
|
1105
1105
|
price: number;
|
|
1106
1106
|
units: number;
|
|
1107
1107
|
}>, "many">;
|
|
1108
1108
|
}, "strip", z.ZodTypeAny, {
|
|
1109
1109
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1110
1110
|
items: {
|
|
1111
|
-
course:
|
|
1111
|
+
course: string;
|
|
1112
1112
|
price: number;
|
|
1113
1113
|
units: number;
|
|
1114
1114
|
}[];
|
|
1115
1115
|
}, {
|
|
1116
1116
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1117
1117
|
items: {
|
|
1118
|
-
course:
|
|
1118
|
+
course: string;
|
|
1119
1119
|
price: number;
|
|
1120
1120
|
units: number;
|
|
1121
1121
|
}[];
|
|
@@ -1141,7 +1141,7 @@ declare const zMInvoice: z.ZodObject<{
|
|
|
1141
1141
|
packages: {
|
|
1142
1142
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1143
1143
|
items: {
|
|
1144
|
-
course:
|
|
1144
|
+
course: string;
|
|
1145
1145
|
price: number;
|
|
1146
1146
|
units: number;
|
|
1147
1147
|
}[];
|
|
@@ -1164,7 +1164,7 @@ declare const zMInvoice: z.ZodObject<{
|
|
|
1164
1164
|
packages: {
|
|
1165
1165
|
student: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1166
1166
|
items: {
|
|
1167
|
-
course:
|
|
1167
|
+
course: string;
|
|
1168
1168
|
price: number;
|
|
1169
1169
|
units: number;
|
|
1170
1170
|
}[];
|
|
@@ -1572,15 +1572,12 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1572
1572
|
*/
|
|
1573
1573
|
schedule: z.ZodObject<{
|
|
1574
1574
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
1575
|
-
|
|
1576
|
-
* Location of the event
|
|
1577
|
-
*/
|
|
1578
|
-
data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1575
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1579
1576
|
}, "strip", z.ZodTypeAny, {
|
|
1580
|
-
data:
|
|
1577
|
+
data: Record<string, {}[]>;
|
|
1581
1578
|
fields: string[];
|
|
1582
1579
|
}, {
|
|
1583
|
-
data:
|
|
1580
|
+
data: Record<string, {}[]>;
|
|
1584
1581
|
fields: string[];
|
|
1585
1582
|
}>;
|
|
1586
1583
|
/**
|
|
@@ -1624,7 +1621,7 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1624
1621
|
fields: string[];
|
|
1625
1622
|
};
|
|
1626
1623
|
schedule: {
|
|
1627
|
-
data:
|
|
1624
|
+
data: Record<string, {}[]>;
|
|
1628
1625
|
fields: string[];
|
|
1629
1626
|
};
|
|
1630
1627
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1649,7 +1646,7 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1649
1646
|
fields: string[];
|
|
1650
1647
|
};
|
|
1651
1648
|
schedule: {
|
|
1652
|
-
data:
|
|
1649
|
+
data: Record<string, {}[]>;
|
|
1653
1650
|
fields: string[];
|
|
1654
1651
|
};
|
|
1655
1652
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1662,6 +1659,132 @@ declare const zTConfig: z.ZodObject<{
|
|
|
1662
1659
|
width: number;
|
|
1663
1660
|
} | undefined;
|
|
1664
1661
|
}>;
|
|
1662
|
+
declare const zTConfigResponse: z.ZodObject<{
|
|
1663
|
+
description: z.ZodString;
|
|
1664
|
+
title: z.ZodString;
|
|
1665
|
+
url: z.ZodString;
|
|
1666
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1667
|
+
shortTitle: z.ZodString;
|
|
1668
|
+
tStart: z.ZodDate;
|
|
1669
|
+
tEnd: z.ZodDate;
|
|
1670
|
+
shortDescription: z.ZodString;
|
|
1671
|
+
details: z.ZodObject<{
|
|
1672
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1673
|
+
data: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
|
|
1674
|
+
}, "strip", z.ZodTypeAny, {
|
|
1675
|
+
data: {}[];
|
|
1676
|
+
fields: string[];
|
|
1677
|
+
}, {
|
|
1678
|
+
data: {}[];
|
|
1679
|
+
fields: string[];
|
|
1680
|
+
}>;
|
|
1681
|
+
schedule: z.ZodObject<{
|
|
1682
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1683
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1684
|
+
}, "strip", z.ZodTypeAny, {
|
|
1685
|
+
data: Record<string, {}[]>;
|
|
1686
|
+
fields: string[];
|
|
1687
|
+
}, {
|
|
1688
|
+
data: Record<string, {}[]>;
|
|
1689
|
+
fields: string[];
|
|
1690
|
+
}>;
|
|
1691
|
+
canRegister: z.ZodBoolean;
|
|
1692
|
+
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
1693
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1694
|
+
url: z.ZodString;
|
|
1695
|
+
height: z.ZodNumber;
|
|
1696
|
+
width: z.ZodNumber;
|
|
1697
|
+
}, "strip", z.ZodTypeAny, {
|
|
1698
|
+
url: string;
|
|
1699
|
+
height: number;
|
|
1700
|
+
width: number;
|
|
1701
|
+
}, {
|
|
1702
|
+
url: string;
|
|
1703
|
+
height: number;
|
|
1704
|
+
width: number;
|
|
1705
|
+
}>>;
|
|
1706
|
+
tickets: z.ZodArray<z.ZodObject<{
|
|
1707
|
+
name: z.ZodString;
|
|
1708
|
+
price: z.ZodNumber;
|
|
1709
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1710
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
1711
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
1712
|
+
}, "strip", z.ZodTypeAny, {
|
|
1713
|
+
price: number;
|
|
1714
|
+
name: string;
|
|
1715
|
+
description?: string | undefined;
|
|
1716
|
+
isNotBuyable?: boolean | undefined;
|
|
1717
|
+
lastBuyableDate?: Date | undefined;
|
|
1718
|
+
}, {
|
|
1719
|
+
price: number;
|
|
1720
|
+
name: string;
|
|
1721
|
+
description?: string | undefined;
|
|
1722
|
+
isNotBuyable?: boolean | undefined;
|
|
1723
|
+
lastBuyableDate?: Date | undefined;
|
|
1724
|
+
}>, "many">;
|
|
1725
|
+
}, "strip", z.ZodTypeAny, {
|
|
1726
|
+
description: string;
|
|
1727
|
+
title: string;
|
|
1728
|
+
url: string;
|
|
1729
|
+
shortTitle: string;
|
|
1730
|
+
tStart: Date;
|
|
1731
|
+
tEnd: Date;
|
|
1732
|
+
shortDescription: string;
|
|
1733
|
+
details: {
|
|
1734
|
+
data: {}[];
|
|
1735
|
+
fields: string[];
|
|
1736
|
+
};
|
|
1737
|
+
schedule: {
|
|
1738
|
+
data: Record<string, {}[]>;
|
|
1739
|
+
fields: string[];
|
|
1740
|
+
};
|
|
1741
|
+
tickets: {
|
|
1742
|
+
price: number;
|
|
1743
|
+
name: string;
|
|
1744
|
+
description?: string | undefined;
|
|
1745
|
+
isNotBuyable?: boolean | undefined;
|
|
1746
|
+
lastBuyableDate?: Date | undefined;
|
|
1747
|
+
}[];
|
|
1748
|
+
canRegister: boolean;
|
|
1749
|
+
location?: string | undefined;
|
|
1750
|
+
donationsDisabled?: boolean | undefined;
|
|
1751
|
+
image?: {
|
|
1752
|
+
url: string;
|
|
1753
|
+
height: number;
|
|
1754
|
+
width: number;
|
|
1755
|
+
} | undefined;
|
|
1756
|
+
}, {
|
|
1757
|
+
description: string;
|
|
1758
|
+
title: string;
|
|
1759
|
+
url: string;
|
|
1760
|
+
shortTitle: string;
|
|
1761
|
+
tStart: Date;
|
|
1762
|
+
tEnd: Date;
|
|
1763
|
+
shortDescription: string;
|
|
1764
|
+
details: {
|
|
1765
|
+
data: {}[];
|
|
1766
|
+
fields: string[];
|
|
1767
|
+
};
|
|
1768
|
+
schedule: {
|
|
1769
|
+
data: Record<string, {}[]>;
|
|
1770
|
+
fields: string[];
|
|
1771
|
+
};
|
|
1772
|
+
tickets: {
|
|
1773
|
+
price: number;
|
|
1774
|
+
name: string;
|
|
1775
|
+
description?: string | undefined;
|
|
1776
|
+
isNotBuyable?: boolean | undefined;
|
|
1777
|
+
lastBuyableDate?: Date | undefined;
|
|
1778
|
+
}[];
|
|
1779
|
+
canRegister: boolean;
|
|
1780
|
+
location?: string | undefined;
|
|
1781
|
+
donationsDisabled?: boolean | undefined;
|
|
1782
|
+
image?: {
|
|
1783
|
+
url: string;
|
|
1784
|
+
height: number;
|
|
1785
|
+
width: number;
|
|
1786
|
+
} | undefined;
|
|
1787
|
+
}>;
|
|
1665
1788
|
declare const zMTConfig: z.ZodObject<{
|
|
1666
1789
|
description: z.ZodString;
|
|
1667
1790
|
title: z.ZodString;
|
|
@@ -1683,15 +1806,12 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1683
1806
|
}>;
|
|
1684
1807
|
schedule: z.ZodObject<{
|
|
1685
1808
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
1686
|
-
|
|
1687
|
-
* Location of the event
|
|
1688
|
-
*/
|
|
1689
|
-
data: z.ZodMap<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1809
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1690
1810
|
}, "strip", z.ZodTypeAny, {
|
|
1691
|
-
data:
|
|
1811
|
+
data: Record<string, {}[]>;
|
|
1692
1812
|
fields: string[];
|
|
1693
1813
|
}, {
|
|
1694
|
-
data:
|
|
1814
|
+
data: Record<string, {}[]>;
|
|
1695
1815
|
fields: string[];
|
|
1696
1816
|
}>;
|
|
1697
1817
|
tickets: z.ZodArray<z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>, "many">;
|
|
@@ -1727,7 +1847,7 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1727
1847
|
fields: string[];
|
|
1728
1848
|
};
|
|
1729
1849
|
schedule: {
|
|
1730
|
-
data:
|
|
1850
|
+
data: Record<string, {}[]>;
|
|
1731
1851
|
fields: string[];
|
|
1732
1852
|
};
|
|
1733
1853
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1755,7 +1875,7 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1755
1875
|
fields: string[];
|
|
1756
1876
|
};
|
|
1757
1877
|
schedule: {
|
|
1758
|
-
data:
|
|
1878
|
+
data: Record<string, {}[]>;
|
|
1759
1879
|
fields: string[];
|
|
1760
1880
|
};
|
|
1761
1881
|
tickets: (string | Types.ObjectId)[];
|
|
@@ -1770,8 +1890,144 @@ declare const zMTConfig: z.ZodObject<{
|
|
|
1770
1890
|
createdAt?: Date | undefined;
|
|
1771
1891
|
updatedAt?: Date | undefined;
|
|
1772
1892
|
}>;
|
|
1893
|
+
declare const zMTConfigResponse: z.ZodObject<{
|
|
1894
|
+
description: z.ZodString;
|
|
1895
|
+
title: z.ZodString;
|
|
1896
|
+
url: z.ZodString;
|
|
1897
|
+
location: z.ZodOptional<z.ZodString>;
|
|
1898
|
+
shortTitle: z.ZodString;
|
|
1899
|
+
tStart: z.ZodDate;
|
|
1900
|
+
tEnd: z.ZodDate;
|
|
1901
|
+
shortDescription: z.ZodString;
|
|
1902
|
+
details: z.ZodObject<{
|
|
1903
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1904
|
+
data: z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">;
|
|
1905
|
+
}, "strip", z.ZodTypeAny, {
|
|
1906
|
+
data: {}[];
|
|
1907
|
+
fields: string[];
|
|
1908
|
+
}, {
|
|
1909
|
+
data: {}[];
|
|
1910
|
+
fields: string[];
|
|
1911
|
+
}>;
|
|
1912
|
+
schedule: z.ZodObject<{
|
|
1913
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1914
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1915
|
+
}, "strip", z.ZodTypeAny, {
|
|
1916
|
+
data: Record<string, {}[]>;
|
|
1917
|
+
fields: string[];
|
|
1918
|
+
}, {
|
|
1919
|
+
data: Record<string, {}[]>;
|
|
1920
|
+
fields: string[];
|
|
1921
|
+
}>;
|
|
1922
|
+
tickets: z.ZodArray<z.ZodObject<{
|
|
1923
|
+
name: z.ZodString;
|
|
1924
|
+
price: z.ZodNumber;
|
|
1925
|
+
description: z.ZodOptional<z.ZodString>;
|
|
1926
|
+
isNotBuyable: z.ZodOptional<z.ZodBoolean>;
|
|
1927
|
+
lastBuyableDate: z.ZodOptional<z.ZodDate>;
|
|
1928
|
+
}, "strip", z.ZodTypeAny, {
|
|
1929
|
+
price: number;
|
|
1930
|
+
name: string;
|
|
1931
|
+
description?: string | undefined;
|
|
1932
|
+
isNotBuyable?: boolean | undefined;
|
|
1933
|
+
lastBuyableDate?: Date | undefined;
|
|
1934
|
+
}, {
|
|
1935
|
+
price: number;
|
|
1936
|
+
name: string;
|
|
1937
|
+
description?: string | undefined;
|
|
1938
|
+
isNotBuyable?: boolean | undefined;
|
|
1939
|
+
lastBuyableDate?: Date | undefined;
|
|
1940
|
+
}>, "many">;
|
|
1941
|
+
canRegister: z.ZodBoolean;
|
|
1942
|
+
donationsDisabled: z.ZodOptional<z.ZodBoolean>;
|
|
1943
|
+
image: z.ZodOptional<z.ZodObject<{
|
|
1944
|
+
url: z.ZodString;
|
|
1945
|
+
height: z.ZodNumber;
|
|
1946
|
+
width: z.ZodNumber;
|
|
1947
|
+
}, "strip", z.ZodTypeAny, {
|
|
1948
|
+
url: string;
|
|
1949
|
+
height: number;
|
|
1950
|
+
width: number;
|
|
1951
|
+
}, {
|
|
1952
|
+
url: string;
|
|
1953
|
+
height: number;
|
|
1954
|
+
width: number;
|
|
1955
|
+
}>>;
|
|
1956
|
+
_id: z.ZodUnion<[z.ZodType<Types.ObjectId, z.ZodTypeDef, Types.ObjectId>, z.ZodString]>;
|
|
1957
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
1958
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
1959
|
+
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
1960
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1961
|
+
description: string;
|
|
1962
|
+
title: string;
|
|
1963
|
+
url: string;
|
|
1964
|
+
shortTitle: string;
|
|
1965
|
+
tStart: Date;
|
|
1966
|
+
tEnd: Date;
|
|
1967
|
+
shortDescription: string;
|
|
1968
|
+
details: {
|
|
1969
|
+
data: {}[];
|
|
1970
|
+
fields: string[];
|
|
1971
|
+
};
|
|
1972
|
+
schedule: {
|
|
1973
|
+
data: Record<string, {}[]>;
|
|
1974
|
+
fields: string[];
|
|
1975
|
+
};
|
|
1976
|
+
tickets: {
|
|
1977
|
+
price: number;
|
|
1978
|
+
name: string;
|
|
1979
|
+
description?: string | undefined;
|
|
1980
|
+
isNotBuyable?: boolean | undefined;
|
|
1981
|
+
lastBuyableDate?: Date | undefined;
|
|
1982
|
+
}[];
|
|
1983
|
+
canRegister: boolean;
|
|
1984
|
+
location?: string | undefined;
|
|
1985
|
+
donationsDisabled?: boolean | undefined;
|
|
1986
|
+
image?: {
|
|
1987
|
+
url: string;
|
|
1988
|
+
height: number;
|
|
1989
|
+
width: number;
|
|
1990
|
+
} | undefined;
|
|
1991
|
+
createdAt?: Date | undefined;
|
|
1992
|
+
updatedAt?: Date | undefined;
|
|
1993
|
+
}, {
|
|
1994
|
+
_id: (string | Types.ObjectId) & (string | Types.ObjectId | undefined);
|
|
1995
|
+
description: string;
|
|
1996
|
+
title: string;
|
|
1997
|
+
url: string;
|
|
1998
|
+
shortTitle: string;
|
|
1999
|
+
tStart: Date;
|
|
2000
|
+
tEnd: Date;
|
|
2001
|
+
shortDescription: string;
|
|
2002
|
+
details: {
|
|
2003
|
+
data: {}[];
|
|
2004
|
+
fields: string[];
|
|
2005
|
+
};
|
|
2006
|
+
schedule: {
|
|
2007
|
+
data: Record<string, {}[]>;
|
|
2008
|
+
fields: string[];
|
|
2009
|
+
};
|
|
2010
|
+
tickets: {
|
|
2011
|
+
price: number;
|
|
2012
|
+
name: string;
|
|
2013
|
+
description?: string | undefined;
|
|
2014
|
+
isNotBuyable?: boolean | undefined;
|
|
2015
|
+
lastBuyableDate?: Date | undefined;
|
|
2016
|
+
}[];
|
|
2017
|
+
canRegister: boolean;
|
|
2018
|
+
location?: string | undefined;
|
|
2019
|
+
donationsDisabled?: boolean | undefined;
|
|
2020
|
+
image?: {
|
|
2021
|
+
url: string;
|
|
2022
|
+
height: number;
|
|
2023
|
+
width: number;
|
|
2024
|
+
} | undefined;
|
|
2025
|
+
createdAt?: Date | undefined;
|
|
2026
|
+
updatedAt?: Date | undefined;
|
|
2027
|
+
}>;
|
|
1773
2028
|
type TConfig = z.infer<typeof zTConfig>;
|
|
1774
2029
|
type MTConfig = z.infer<typeof zMTConfig>;
|
|
2030
|
+
type MTConfigResponse = z.infer<typeof zMTConfigResponse>;
|
|
1775
2031
|
|
|
1776
2032
|
declare const zDetailsTable: z.ZodObject<{
|
|
1777
2033
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
@@ -1785,12 +2041,12 @@ declare const zDetailsTable: z.ZodObject<{
|
|
|
1785
2041
|
}>;
|
|
1786
2042
|
declare const zScheduleTable: z.ZodObject<{
|
|
1787
2043
|
fields: z.ZodArray<z.ZodString, "many">;
|
|
1788
|
-
data: z.
|
|
2044
|
+
data: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>, "many">>;
|
|
1789
2045
|
}, "strip", z.ZodTypeAny, {
|
|
1790
|
-
data:
|
|
2046
|
+
data: Record<string, {}[]>;
|
|
1791
2047
|
fields: string[];
|
|
1792
2048
|
}, {
|
|
1793
|
-
data:
|
|
2049
|
+
data: Record<string, {}[]>;
|
|
1794
2050
|
fields: string[];
|
|
1795
2051
|
}>;
|
|
1796
2052
|
type DetailsTable = z.infer<typeof zDetailsTable>;
|
|
@@ -2346,4 +2602,4 @@ declare const zUserRoles: z.ZodObject<{
|
|
|
2346
2602
|
}>;
|
|
2347
2603
|
type UserRoles = z.infer<typeof zUserRoles>;
|
|
2348
2604
|
|
|
2349
|
-
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type MAttendance, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type MGroupBooking, type MGroupTracker, type MInvoice, type MNYIGMission, type MPrivateBooking, type MReportTicket, type MSemester, type MStudent, type MTConfig, type MTReg, type MTTicket, type MTeacher, type MTeacherPayment, type MUser, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type TConfig, type TReg, type TTicket, type TTicketReg, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBPaymentInfo, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zMAttendance, zMCampBooking, zMCampTracker, zMClassTracker, zMCourse, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTConfig, zMTReg, zMTTicket, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTConfig, zTReg, zTTicket, zTTicketReg, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|
|
2605
|
+
export { AgeGroup, AttendState, type Attendance, type AuroraCourses, type BPaymentInfo, type BUserInfo, BookingType, type CampBooking, CampOption, type CampTracker, type ClassTracker, type Course, CourseCategory, type CourseTable, type DetailsTable, type Discount, GoRank, type GroupBooking, type GroupTracker, type ImageDef, type Invoice, type InvoiceItem, type InvoicePackage, type MAttendance, type MCampBooking, type MCampTracker, type MClassTracker, type MCourse, type MGroupBooking, type MGroupTracker, type MInvoice, type MNYIGMission, type MPrivateBooking, type MReportTicket, type MSemester, type MStudent, type MTConfig, type MTConfigResponse, type MTReg, type MTTicket, type MTeacher, type MTeacherPayment, type MUser, type NYIGMission, NYIGSchool, type PaymentIntent, PaymentMethod, type PrivateBooking, type ReportTicket, type ScheduleData, type ScheduleTable, Season, type Semester, type Student, type TConfig, type TReg, type TTicket, type TTicketReg, type Teacher, type TeacherDisplay, type TeacherPayment, type TeacherPaymentRow, TicketStatus, type Tuition, type User, type UserRoles, zAttendance, zBPaymentInfo, zBUserInfo, zCampBooking, zCampTracker, zClassTracker, zCourse, zCourseTable, zDetailsTable, zDiscount, zGroupBooking, zGroupTracker, zImageDef, zInvoice, zInvoiceItem, zInvoicePackage, zMAttendance, zMCampBooking, zMCampTracker, zMClassTracker, zMCourse, zMGroupBooking, zMGroupTracker, zMInvoice, zMPrivateBooking, zMReportTicket, zMSemester, zMStudent, zMTConfig, zMTConfigResponse, zMTReg, zMTTicket, zMTeacher, zMTeacherPayment, zMUser, zPrivateBooking, zReportTicket, zScheduleData, zScheduleTable, zSemester, zStudent, zTConfig, zTConfigResponse, zTReg, zTTicket, zTTicketReg, zTeacher, zTeacherDisplay, zTeacherPayment, zTeacherPaymentRow, zTuition, zUser, zUserRoles };
|