@nyig/models 0.6.12 → 0.6.14

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 CHANGED
@@ -6454,16 +6454,6 @@ declare const zBEventConfig: z.ZodObject<{
6454
6454
  * Full description
6455
6455
  */
6456
6456
  description: z.ZodString;
6457
- /**
6458
- * @deprecated
6459
- * info in description field, kept for backwards compatibility
6460
- */
6461
- details: z.ZodOptional<z.ZodAny>;
6462
- /**
6463
- * @deprecated
6464
- * info in description field, kept for backwards compatibility
6465
- */
6466
- schedule: z.ZodOptional<z.ZodAny>;
6467
6457
  /**
6468
6458
  * @optional description of the tickets step, shown in service
6469
6459
  * when the customer is on step 1 of the booking page
@@ -6482,10 +6472,13 @@ declare const zBEventConfig: z.ZodObject<{
6482
6472
  * If false, the tournament registration is closed
6483
6473
  */
6484
6474
  canRegister: z.ZodBoolean;
6475
+ /**
6476
+ * If false, the tournament is not viewable in public APIs
6477
+ * admin console can still see it
6478
+ */
6479
+ isHidden: z.ZodOptional<z.ZodBoolean>;
6485
6480
  /**
6486
6481
  * Defines the registration of youth and adults in the event
6487
- * youth_only - only youth
6488
- * both - both youth and adult
6489
6482
  */
6490
6483
  youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
6491
6484
  /**
@@ -6519,10 +6512,9 @@ declare const zBEventConfig: z.ZodObject<{
6519
6512
  tickets: string[];
6520
6513
  canRegister: boolean;
6521
6514
  location?: string | undefined;
6522
- details?: any;
6523
- schedule?: any;
6524
6515
  ticketsStepDescription?: string | undefined;
6525
6516
  participantStepDescription?: string | undefined;
6517
+ isHidden?: boolean | undefined;
6526
6518
  youthOrAdult?: YouthOrAdult | undefined;
6527
6519
  donationsDisabled?: boolean | undefined;
6528
6520
  image?: {
@@ -6541,10 +6533,9 @@ declare const zBEventConfig: z.ZodObject<{
6541
6533
  tickets: string[];
6542
6534
  canRegister: boolean;
6543
6535
  location?: string | undefined;
6544
- details?: any;
6545
- schedule?: any;
6546
6536
  ticketsStepDescription?: string | undefined;
6547
6537
  participantStepDescription?: string | undefined;
6538
+ isHidden?: boolean | undefined;
6548
6539
  youthOrAdult?: YouthOrAdult | undefined;
6549
6540
  donationsDisabled?: boolean | undefined;
6550
6541
  image?: {
@@ -6587,16 +6578,6 @@ declare const zEventConfig: z.ZodObject<{
6587
6578
  * Full description
6588
6579
  */
6589
6580
  description: z.ZodString;
6590
- /**
6591
- * @deprecated
6592
- * info in description field, kept for backwards compatibility
6593
- */
6594
- details: z.ZodOptional<z.ZodAny>;
6595
- /**
6596
- * @deprecated
6597
- * info in description field, kept for backwards compatibility
6598
- */
6599
- schedule: z.ZodOptional<z.ZodAny>;
6600
6581
  /**
6601
6582
  * @optional description of the tickets step, shown in service
6602
6583
  * when the customer is on step 1 of the booking page
@@ -6615,10 +6596,13 @@ declare const zEventConfig: z.ZodObject<{
6615
6596
  * If false, the tournament registration is closed
6616
6597
  */
6617
6598
  canRegister: z.ZodBoolean;
6599
+ /**
6600
+ * If false, the tournament is not viewable in public APIs
6601
+ * admin console can still see it
6602
+ */
6603
+ isHidden: z.ZodOptional<z.ZodBoolean>;
6618
6604
  /**
6619
6605
  * Defines the registration of youth and adults in the event
6620
- * youth_only - only youth
6621
- * both - both youth and adult
6622
6606
  */
6623
6607
  youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
6624
6608
  /**
@@ -6661,10 +6645,9 @@ declare const zEventConfig: z.ZodObject<{
6661
6645
  createdAt?: string | undefined;
6662
6646
  updatedAt?: string | undefined;
6663
6647
  location?: string | undefined;
6664
- details?: any;
6665
- schedule?: any;
6666
6648
  ticketsStepDescription?: string | undefined;
6667
6649
  participantStepDescription?: string | undefined;
6650
+ isHidden?: boolean | undefined;
6668
6651
  youthOrAdult?: YouthOrAdult | undefined;
6669
6652
  donationsDisabled?: boolean | undefined;
6670
6653
  image?: {
@@ -6687,10 +6670,9 @@ declare const zEventConfig: z.ZodObject<{
6687
6670
  createdAt?: string | undefined;
6688
6671
  updatedAt?: string | undefined;
6689
6672
  location?: string | undefined;
6690
- details?: any;
6691
- schedule?: any;
6692
6673
  ticketsStepDescription?: string | undefined;
6693
6674
  participantStepDescription?: string | undefined;
6675
+ isHidden?: boolean | undefined;
6694
6676
  youthOrAdult?: YouthOrAdult | undefined;
6695
6677
  donationsDisabled?: boolean | undefined;
6696
6678
  image?: {
@@ -6708,11 +6690,10 @@ declare const zEventConfigResponse: z.ZodObject<{
6708
6690
  tEnd: z.ZodDate;
6709
6691
  shortDescription: z.ZodString;
6710
6692
  description: z.ZodString;
6711
- details: z.ZodOptional<z.ZodAny>;
6712
- schedule: z.ZodOptional<z.ZodAny>;
6713
6693
  ticketsStepDescription: z.ZodOptional<z.ZodString>;
6714
6694
  participantStepDescription: z.ZodOptional<z.ZodString>;
6715
6695
  canRegister: z.ZodBoolean;
6696
+ isHidden: z.ZodOptional<z.ZodBoolean>;
6716
6697
  youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
6717
6698
  donationsDisabled: z.ZodOptional<z.ZodBoolean>;
6718
6699
  image: z.ZodOptional<z.ZodObject<{
@@ -6794,10 +6775,9 @@ declare const zEventConfigResponse: z.ZodObject<{
6794
6775
  createdAt?: string | undefined;
6795
6776
  updatedAt?: string | undefined;
6796
6777
  location?: string | undefined;
6797
- details?: any;
6798
- schedule?: any;
6799
6778
  ticketsStepDescription?: string | undefined;
6800
6779
  participantStepDescription?: string | undefined;
6780
+ isHidden?: boolean | undefined;
6801
6781
  youthOrAdult?: YouthOrAdult | undefined;
6802
6782
  donationsDisabled?: boolean | undefined;
6803
6783
  image?: {
@@ -6831,10 +6811,9 @@ declare const zEventConfigResponse: z.ZodObject<{
6831
6811
  createdAt?: string | undefined;
6832
6812
  updatedAt?: string | undefined;
6833
6813
  location?: string | undefined;
6834
- details?: any;
6835
- schedule?: any;
6836
6814
  ticketsStepDescription?: string | undefined;
6837
6815
  participantStepDescription?: string | undefined;
6816
+ isHidden?: boolean | undefined;
6838
6817
  youthOrAdult?: YouthOrAdult | undefined;
6839
6818
  donationsDisabled?: boolean | undefined;
6840
6819
  image?: {
package/index.d.ts CHANGED
@@ -6454,16 +6454,6 @@ declare const zBEventConfig: z.ZodObject<{
6454
6454
  * Full description
6455
6455
  */
6456
6456
  description: z.ZodString;
6457
- /**
6458
- * @deprecated
6459
- * info in description field, kept for backwards compatibility
6460
- */
6461
- details: z.ZodOptional<z.ZodAny>;
6462
- /**
6463
- * @deprecated
6464
- * info in description field, kept for backwards compatibility
6465
- */
6466
- schedule: z.ZodOptional<z.ZodAny>;
6467
6457
  /**
6468
6458
  * @optional description of the tickets step, shown in service
6469
6459
  * when the customer is on step 1 of the booking page
@@ -6482,10 +6472,13 @@ declare const zBEventConfig: z.ZodObject<{
6482
6472
  * If false, the tournament registration is closed
6483
6473
  */
6484
6474
  canRegister: z.ZodBoolean;
6475
+ /**
6476
+ * If false, the tournament is not viewable in public APIs
6477
+ * admin console can still see it
6478
+ */
6479
+ isHidden: z.ZodOptional<z.ZodBoolean>;
6485
6480
  /**
6486
6481
  * Defines the registration of youth and adults in the event
6487
- * youth_only - only youth
6488
- * both - both youth and adult
6489
6482
  */
6490
6483
  youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
6491
6484
  /**
@@ -6519,10 +6512,9 @@ declare const zBEventConfig: z.ZodObject<{
6519
6512
  tickets: string[];
6520
6513
  canRegister: boolean;
6521
6514
  location?: string | undefined;
6522
- details?: any;
6523
- schedule?: any;
6524
6515
  ticketsStepDescription?: string | undefined;
6525
6516
  participantStepDescription?: string | undefined;
6517
+ isHidden?: boolean | undefined;
6526
6518
  youthOrAdult?: YouthOrAdult | undefined;
6527
6519
  donationsDisabled?: boolean | undefined;
6528
6520
  image?: {
@@ -6541,10 +6533,9 @@ declare const zBEventConfig: z.ZodObject<{
6541
6533
  tickets: string[];
6542
6534
  canRegister: boolean;
6543
6535
  location?: string | undefined;
6544
- details?: any;
6545
- schedule?: any;
6546
6536
  ticketsStepDescription?: string | undefined;
6547
6537
  participantStepDescription?: string | undefined;
6538
+ isHidden?: boolean | undefined;
6548
6539
  youthOrAdult?: YouthOrAdult | undefined;
6549
6540
  donationsDisabled?: boolean | undefined;
6550
6541
  image?: {
@@ -6587,16 +6578,6 @@ declare const zEventConfig: z.ZodObject<{
6587
6578
  * Full description
6588
6579
  */
6589
6580
  description: z.ZodString;
6590
- /**
6591
- * @deprecated
6592
- * info in description field, kept for backwards compatibility
6593
- */
6594
- details: z.ZodOptional<z.ZodAny>;
6595
- /**
6596
- * @deprecated
6597
- * info in description field, kept for backwards compatibility
6598
- */
6599
- schedule: z.ZodOptional<z.ZodAny>;
6600
6581
  /**
6601
6582
  * @optional description of the tickets step, shown in service
6602
6583
  * when the customer is on step 1 of the booking page
@@ -6615,10 +6596,13 @@ declare const zEventConfig: z.ZodObject<{
6615
6596
  * If false, the tournament registration is closed
6616
6597
  */
6617
6598
  canRegister: z.ZodBoolean;
6599
+ /**
6600
+ * If false, the tournament is not viewable in public APIs
6601
+ * admin console can still see it
6602
+ */
6603
+ isHidden: z.ZodOptional<z.ZodBoolean>;
6618
6604
  /**
6619
6605
  * Defines the registration of youth and adults in the event
6620
- * youth_only - only youth
6621
- * both - both youth and adult
6622
6606
  */
6623
6607
  youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
6624
6608
  /**
@@ -6661,10 +6645,9 @@ declare const zEventConfig: z.ZodObject<{
6661
6645
  createdAt?: string | undefined;
6662
6646
  updatedAt?: string | undefined;
6663
6647
  location?: string | undefined;
6664
- details?: any;
6665
- schedule?: any;
6666
6648
  ticketsStepDescription?: string | undefined;
6667
6649
  participantStepDescription?: string | undefined;
6650
+ isHidden?: boolean | undefined;
6668
6651
  youthOrAdult?: YouthOrAdult | undefined;
6669
6652
  donationsDisabled?: boolean | undefined;
6670
6653
  image?: {
@@ -6687,10 +6670,9 @@ declare const zEventConfig: z.ZodObject<{
6687
6670
  createdAt?: string | undefined;
6688
6671
  updatedAt?: string | undefined;
6689
6672
  location?: string | undefined;
6690
- details?: any;
6691
- schedule?: any;
6692
6673
  ticketsStepDescription?: string | undefined;
6693
6674
  participantStepDescription?: string | undefined;
6675
+ isHidden?: boolean | undefined;
6694
6676
  youthOrAdult?: YouthOrAdult | undefined;
6695
6677
  donationsDisabled?: boolean | undefined;
6696
6678
  image?: {
@@ -6708,11 +6690,10 @@ declare const zEventConfigResponse: z.ZodObject<{
6708
6690
  tEnd: z.ZodDate;
6709
6691
  shortDescription: z.ZodString;
6710
6692
  description: z.ZodString;
6711
- details: z.ZodOptional<z.ZodAny>;
6712
- schedule: z.ZodOptional<z.ZodAny>;
6713
6693
  ticketsStepDescription: z.ZodOptional<z.ZodString>;
6714
6694
  participantStepDescription: z.ZodOptional<z.ZodString>;
6715
6695
  canRegister: z.ZodBoolean;
6696
+ isHidden: z.ZodOptional<z.ZodBoolean>;
6716
6697
  youthOrAdult: z.ZodOptional<z.ZodNativeEnum<typeof YouthOrAdult>>;
6717
6698
  donationsDisabled: z.ZodOptional<z.ZodBoolean>;
6718
6699
  image: z.ZodOptional<z.ZodObject<{
@@ -6794,10 +6775,9 @@ declare const zEventConfigResponse: z.ZodObject<{
6794
6775
  createdAt?: string | undefined;
6795
6776
  updatedAt?: string | undefined;
6796
6777
  location?: string | undefined;
6797
- details?: any;
6798
- schedule?: any;
6799
6778
  ticketsStepDescription?: string | undefined;
6800
6779
  participantStepDescription?: string | undefined;
6780
+ isHidden?: boolean | undefined;
6801
6781
  youthOrAdult?: YouthOrAdult | undefined;
6802
6782
  donationsDisabled?: boolean | undefined;
6803
6783
  image?: {
@@ -6831,10 +6811,9 @@ declare const zEventConfigResponse: z.ZodObject<{
6831
6811
  createdAt?: string | undefined;
6832
6812
  updatedAt?: string | undefined;
6833
6813
  location?: string | undefined;
6834
- details?: any;
6835
- schedule?: any;
6836
6814
  ticketsStepDescription?: string | undefined;
6837
6815
  participantStepDescription?: string | undefined;
6816
+ isHidden?: boolean | undefined;
6838
6817
  youthOrAdult?: YouthOrAdult | undefined;
6839
6818
  donationsDisabled?: boolean | undefined;
6840
6819
  image?: {
package/index.js CHANGED
@@ -882,16 +882,6 @@ var zBEventConfig = import_zod29.z.object({
882
882
  * Full description
883
883
  */
884
884
  description: import_zod29.z.string().min(5),
885
- /**
886
- * @deprecated
887
- * info in description field, kept for backwards compatibility
888
- */
889
- details: import_zod29.z.any().optional(),
890
- /**
891
- * @deprecated
892
- * info in description field, kept for backwards compatibility
893
- */
894
- schedule: import_zod29.z.any().optional(),
895
885
  /**
896
886
  * @optional description of the tickets step, shown in service
897
887
  * when the customer is on step 1 of the booking page
@@ -910,10 +900,13 @@ var zBEventConfig = import_zod29.z.object({
910
900
  * If false, the tournament registration is closed
911
901
  */
912
902
  canRegister: import_zod29.z.boolean(),
903
+ /**
904
+ * If false, the tournament is not viewable in public APIs
905
+ * admin console can still see it
906
+ */
907
+ isHidden: import_zod29.z.boolean().optional(),
913
908
  /**
914
909
  * Defines the registration of youth and adults in the event
915
- * youth_only - only youth
916
- * both - both youth and adult
917
910
  */
918
911
  youthOrAdult: import_zod29.z.nativeEnum(YouthOrAdult).optional(),
919
912
  /**
package/index.mjs CHANGED
@@ -770,16 +770,6 @@ var zBEventConfig = z29.object({
770
770
  * Full description
771
771
  */
772
772
  description: z29.string().min(5),
773
- /**
774
- * @deprecated
775
- * info in description field, kept for backwards compatibility
776
- */
777
- details: z29.any().optional(),
778
- /**
779
- * @deprecated
780
- * info in description field, kept for backwards compatibility
781
- */
782
- schedule: z29.any().optional(),
783
773
  /**
784
774
  * @optional description of the tickets step, shown in service
785
775
  * when the customer is on step 1 of the booking page
@@ -798,10 +788,13 @@ var zBEventConfig = z29.object({
798
788
  * If false, the tournament registration is closed
799
789
  */
800
790
  canRegister: z29.boolean(),
791
+ /**
792
+ * If false, the tournament is not viewable in public APIs
793
+ * admin console can still see it
794
+ */
795
+ isHidden: z29.boolean().optional(),
801
796
  /**
802
797
  * Defines the registration of youth and adults in the event
803
- * youth_only - only youth
804
- * both - both youth and adult
805
798
  */
806
799
  youthOrAdult: z29.nativeEnum(YouthOrAdult).optional(),
807
800
  /**
package/package.json CHANGED
@@ -1,10 +1,19 @@
1
1
  {
2
2
  "name": "@nyig/models",
3
- "version": "0.6.12",
3
+ "version": "0.6.14",
4
4
  "license": "MIT",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
7
7
  "types": "index.d.ts",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "https://github.com/liryan1/nyig-models.git"
11
+ },
12
+ "publishConfig": {
13
+ "access": "public",
14
+ "directory": "dist",
15
+ "provenance": true
16
+ },
8
17
  "peerDependencies": {
9
18
  "zod": "^3.25.76"
10
19
  },
@@ -19,9 +28,6 @@
19
28
  "lint-staged": {
20
29
  "*.{js,ts,md}": "prettier --write"
21
30
  },
22
- "publishConfig": {
23
- "directory": "dist"
24
- },
25
31
  "scripts": {
26
32
  "build": "tsup src/index.ts --format cjs,esm --dts",
27
33
  "clean": "rm -rf dist node_modules",