@behindthemusictree/app-kit 34.0.0 → 35.0.0
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/{chunk-3PITD62C.js → chunk-ULSVAC23.js} +112 -51
- package/dist/chunk-ULSVAC23.js.map +1 -0
- package/dist/genre-tree/index.cjs +165 -102
- package/dist/genre-tree/index.cjs.map +1 -1
- package/dist/genre-tree/index.d.ts +219 -210
- package/dist/genre-tree/index.js +5 -1
- package/dist/index.cjs +162 -99
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +5 -1
- package/package.json +1 -1
- package/dist/chunk-3PITD62C.js.map +0 -1
|
@@ -34,7 +34,7 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
34
34
|
}, z.core.$strip>;
|
|
35
35
|
degree: z.ZodNumber;
|
|
36
36
|
}, z.core.$strip>>;
|
|
37
|
-
descendants: z.ZodArray<z.ZodObject<{
|
|
37
|
+
descendants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
38
38
|
descendant: z.ZodObject<{
|
|
39
39
|
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
40
40
|
name: z.ZodString;
|
|
@@ -45,7 +45,7 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
45
45
|
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
46
|
}, z.core.$strip>;
|
|
47
47
|
degree: z.ZodNumber;
|
|
48
|
-
}, z.core.$strip
|
|
48
|
+
}, z.core.$strip>>>;
|
|
49
49
|
root: z.ZodObject<{
|
|
50
50
|
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
51
51
|
name: z.ZodString;
|
|
@@ -74,7 +74,7 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
74
74
|
all: z.ZodNumber;
|
|
75
75
|
}, z.core.$strict>]>;
|
|
76
76
|
}, z.core.$strip>, "GenreCatalogueCounts", "out">>;
|
|
77
|
-
criteriaPlaylist: z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodObject<{
|
|
77
|
+
criteriaPlaylist: z.ZodNullable<z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodObject<{
|
|
78
78
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
79
79
|
name: z.ZodString;
|
|
80
80
|
genreOnlyTracksCount: z.ZodNumber;
|
|
@@ -88,8 +88,8 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
88
88
|
}, z.core.$strip>, "GenrePlaylistSummary", "out">, z.ZodObject<{
|
|
89
89
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
90
90
|
name: z.ZodString;
|
|
91
|
-
}, z.core.$strip>]
|
|
92
|
-
tracks: z.ZodArray<z.ZodObject<{
|
|
91
|
+
}, z.core.$strip>]>>;
|
|
92
|
+
tracks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
93
93
|
title: z.ZodString;
|
|
94
94
|
uuid: z.ZodString;
|
|
95
95
|
artists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -97,7 +97,7 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
97
97
|
name: z.ZodString;
|
|
98
98
|
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
99
99
|
}, z.core.$strip>>>>;
|
|
100
|
-
}, z.core.$strip
|
|
100
|
+
}, z.core.$strip>>>;
|
|
101
101
|
essentialSongs: z.ZodArray<z.ZodObject<{
|
|
102
102
|
title: z.ZodString;
|
|
103
103
|
uuid: z.ZodString;
|
|
@@ -536,15 +536,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
536
536
|
};
|
|
537
537
|
degree: number;
|
|
538
538
|
}[];
|
|
539
|
-
descendants: {
|
|
540
|
-
descendant: {
|
|
541
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
542
|
-
name: string;
|
|
543
|
-
side?: "pop" | "core" | null | undefined;
|
|
544
|
-
wikidataId?: string | null | undefined;
|
|
545
|
-
};
|
|
546
|
-
degree: number;
|
|
547
|
-
}[];
|
|
548
539
|
root: {
|
|
549
540
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
550
541
|
name: string;
|
|
@@ -571,16 +562,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
571
562
|
} | {
|
|
572
563
|
all: number;
|
|
573
564
|
};
|
|
574
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
575
|
-
tracks: {
|
|
576
|
-
title: string;
|
|
577
|
-
uuid: string;
|
|
578
|
-
artists?: {
|
|
579
|
-
uuid: string;
|
|
580
|
-
name: string;
|
|
581
|
-
isSpecialPurpose?: boolean | undefined;
|
|
582
|
-
}[] | null | undefined;
|
|
583
|
-
}[];
|
|
565
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
584
566
|
essentialSongs: {
|
|
585
567
|
title: string;
|
|
586
568
|
uuid: string;
|
|
@@ -593,6 +575,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
593
575
|
tracksCount: number;
|
|
594
576
|
updatedOn: string | null;
|
|
595
577
|
wikidataId?: string | null | undefined;
|
|
578
|
+
descendants?: {
|
|
579
|
+
descendant: {
|
|
580
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
581
|
+
name: string;
|
|
582
|
+
side?: "pop" | "core" | null | undefined;
|
|
583
|
+
wikidataId?: string | null | undefined;
|
|
584
|
+
};
|
|
585
|
+
degree: number;
|
|
586
|
+
}[] | undefined;
|
|
596
587
|
catalogue?: ({
|
|
597
588
|
genreOnlyTracksCount: number;
|
|
598
589
|
genreAndSubgenresTracksCount: {
|
|
@@ -603,6 +594,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
603
594
|
all: number;
|
|
604
595
|
};
|
|
605
596
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
597
|
+
tracks?: {
|
|
598
|
+
title: string;
|
|
599
|
+
uuid: string;
|
|
600
|
+
artists?: {
|
|
601
|
+
uuid: string;
|
|
602
|
+
name: string;
|
|
603
|
+
isSpecialPurpose?: boolean | undefined;
|
|
604
|
+
}[] | null | undefined;
|
|
605
|
+
}[] | undefined;
|
|
606
606
|
}, Error, {
|
|
607
607
|
name: string;
|
|
608
608
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -633,15 +633,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
633
633
|
};
|
|
634
634
|
degree: number;
|
|
635
635
|
}[];
|
|
636
|
-
descendants: {
|
|
637
|
-
descendant: {
|
|
638
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
639
|
-
name: string;
|
|
640
|
-
side?: "pop" | "core" | null | undefined;
|
|
641
|
-
wikidataId?: string | null | undefined;
|
|
642
|
-
};
|
|
643
|
-
degree: number;
|
|
644
|
-
}[];
|
|
645
636
|
root: {
|
|
646
637
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
647
638
|
name: string;
|
|
@@ -668,16 +659,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
668
659
|
} | {
|
|
669
660
|
all: number;
|
|
670
661
|
};
|
|
671
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
672
|
-
tracks: {
|
|
673
|
-
title: string;
|
|
674
|
-
uuid: string;
|
|
675
|
-
artists?: {
|
|
676
|
-
uuid: string;
|
|
677
|
-
name: string;
|
|
678
|
-
isSpecialPurpose?: boolean | undefined;
|
|
679
|
-
}[] | null | undefined;
|
|
680
|
-
}[];
|
|
662
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
681
663
|
essentialSongs: {
|
|
682
664
|
title: string;
|
|
683
665
|
uuid: string;
|
|
@@ -690,6 +672,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
690
672
|
tracksCount: number;
|
|
691
673
|
updatedOn: string | null;
|
|
692
674
|
wikidataId?: string | null | undefined;
|
|
675
|
+
descendants?: {
|
|
676
|
+
descendant: {
|
|
677
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
678
|
+
name: string;
|
|
679
|
+
side?: "pop" | "core" | null | undefined;
|
|
680
|
+
wikidataId?: string | null | undefined;
|
|
681
|
+
};
|
|
682
|
+
degree: number;
|
|
683
|
+
}[] | undefined;
|
|
693
684
|
catalogue?: ({
|
|
694
685
|
genreOnlyTracksCount: number;
|
|
695
686
|
genreAndSubgenresTracksCount: {
|
|
@@ -700,6 +691,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
700
691
|
all: number;
|
|
701
692
|
};
|
|
702
693
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
694
|
+
tracks?: {
|
|
695
|
+
title: string;
|
|
696
|
+
uuid: string;
|
|
697
|
+
artists?: {
|
|
698
|
+
uuid: string;
|
|
699
|
+
name: string;
|
|
700
|
+
isSpecialPurpose?: boolean | undefined;
|
|
701
|
+
}[] | null | undefined;
|
|
702
|
+
}[] | undefined;
|
|
703
703
|
}, Error, {
|
|
704
704
|
name: string;
|
|
705
705
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -741,15 +741,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
741
741
|
};
|
|
742
742
|
degree: number;
|
|
743
743
|
}[];
|
|
744
|
-
descendants: {
|
|
745
|
-
descendant: {
|
|
746
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
747
|
-
name: string;
|
|
748
|
-
side?: "pop" | "core" | null | undefined;
|
|
749
|
-
wikidataId?: string | null | undefined;
|
|
750
|
-
};
|
|
751
|
-
degree: number;
|
|
752
|
-
}[];
|
|
753
744
|
root: {
|
|
754
745
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
755
746
|
name: string;
|
|
@@ -776,16 +767,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
776
767
|
} | {
|
|
777
768
|
all: number;
|
|
778
769
|
};
|
|
779
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
780
|
-
tracks: {
|
|
781
|
-
title: string;
|
|
782
|
-
uuid: string;
|
|
783
|
-
artists?: {
|
|
784
|
-
uuid: string;
|
|
785
|
-
name: string;
|
|
786
|
-
isSpecialPurpose?: boolean | undefined;
|
|
787
|
-
}[] | null | undefined;
|
|
788
|
-
}[];
|
|
770
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
789
771
|
essentialSongs: {
|
|
790
772
|
title: string;
|
|
791
773
|
uuid: string;
|
|
@@ -798,6 +780,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
798
780
|
tracksCount: number;
|
|
799
781
|
updatedOn: string | null;
|
|
800
782
|
wikidataId?: string | null | undefined;
|
|
783
|
+
descendants?: {
|
|
784
|
+
descendant: {
|
|
785
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
786
|
+
name: string;
|
|
787
|
+
side?: "pop" | "core" | null | undefined;
|
|
788
|
+
wikidataId?: string | null | undefined;
|
|
789
|
+
};
|
|
790
|
+
degree: number;
|
|
791
|
+
}[] | undefined;
|
|
801
792
|
catalogue?: ({
|
|
802
793
|
genreOnlyTracksCount: number;
|
|
803
794
|
genreAndSubgenresTracksCount: {
|
|
@@ -808,6 +799,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
808
799
|
all: number;
|
|
809
800
|
};
|
|
810
801
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
802
|
+
tracks?: {
|
|
803
|
+
title: string;
|
|
804
|
+
uuid: string;
|
|
805
|
+
artists?: {
|
|
806
|
+
uuid: string;
|
|
807
|
+
name: string;
|
|
808
|
+
isSpecialPurpose?: boolean | undefined;
|
|
809
|
+
}[] | null | undefined;
|
|
810
|
+
}[] | undefined;
|
|
811
811
|
}, Error, {
|
|
812
812
|
name: string;
|
|
813
813
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -838,15 +838,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
838
838
|
};
|
|
839
839
|
degree: number;
|
|
840
840
|
}[];
|
|
841
|
-
descendants: {
|
|
842
|
-
descendant: {
|
|
843
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
844
|
-
name: string;
|
|
845
|
-
side?: "pop" | "core" | null | undefined;
|
|
846
|
-
wikidataId?: string | null | undefined;
|
|
847
|
-
};
|
|
848
|
-
degree: number;
|
|
849
|
-
}[];
|
|
850
841
|
root: {
|
|
851
842
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
852
843
|
name: string;
|
|
@@ -873,16 +864,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
873
864
|
} | {
|
|
874
865
|
all: number;
|
|
875
866
|
};
|
|
876
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
877
|
-
tracks: {
|
|
878
|
-
title: string;
|
|
879
|
-
uuid: string;
|
|
880
|
-
artists?: {
|
|
881
|
-
uuid: string;
|
|
882
|
-
name: string;
|
|
883
|
-
isSpecialPurpose?: boolean | undefined;
|
|
884
|
-
}[] | null | undefined;
|
|
885
|
-
}[];
|
|
867
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
886
868
|
essentialSongs: {
|
|
887
869
|
title: string;
|
|
888
870
|
uuid: string;
|
|
@@ -895,6 +877,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
895
877
|
tracksCount: number;
|
|
896
878
|
updatedOn: string | null;
|
|
897
879
|
wikidataId?: string | null | undefined;
|
|
880
|
+
descendants?: {
|
|
881
|
+
descendant: {
|
|
882
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
883
|
+
name: string;
|
|
884
|
+
side?: "pop" | "core" | null | undefined;
|
|
885
|
+
wikidataId?: string | null | undefined;
|
|
886
|
+
};
|
|
887
|
+
degree: number;
|
|
888
|
+
}[] | undefined;
|
|
898
889
|
catalogue?: ({
|
|
899
890
|
genreOnlyTracksCount: number;
|
|
900
891
|
genreAndSubgenresTracksCount: {
|
|
@@ -905,6 +896,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
905
896
|
all: number;
|
|
906
897
|
};
|
|
907
898
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
899
|
+
tracks?: {
|
|
900
|
+
title: string;
|
|
901
|
+
uuid: string;
|
|
902
|
+
artists?: {
|
|
903
|
+
uuid: string;
|
|
904
|
+
name: string;
|
|
905
|
+
isSpecialPurpose?: boolean | undefined;
|
|
906
|
+
}[] | null | undefined;
|
|
907
|
+
}[] | undefined;
|
|
908
908
|
}, Error, {
|
|
909
909
|
name: string;
|
|
910
910
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -946,15 +946,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
946
946
|
};
|
|
947
947
|
degree: number;
|
|
948
948
|
}[];
|
|
949
|
-
descendants: {
|
|
950
|
-
descendant: {
|
|
951
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
952
|
-
name: string;
|
|
953
|
-
side?: "pop" | "core" | null | undefined;
|
|
954
|
-
wikidataId?: string | null | undefined;
|
|
955
|
-
};
|
|
956
|
-
degree: number;
|
|
957
|
-
}[];
|
|
958
949
|
root: {
|
|
959
950
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
960
951
|
name: string;
|
|
@@ -981,16 +972,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
981
972
|
} | {
|
|
982
973
|
all: number;
|
|
983
974
|
};
|
|
984
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
985
|
-
tracks: {
|
|
986
|
-
title: string;
|
|
987
|
-
uuid: string;
|
|
988
|
-
artists?: {
|
|
989
|
-
uuid: string;
|
|
990
|
-
name: string;
|
|
991
|
-
isSpecialPurpose?: boolean | undefined;
|
|
992
|
-
}[] | null | undefined;
|
|
993
|
-
}[];
|
|
975
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
994
976
|
essentialSongs: {
|
|
995
977
|
title: string;
|
|
996
978
|
uuid: string;
|
|
@@ -1003,6 +985,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1003
985
|
tracksCount: number;
|
|
1004
986
|
updatedOn: string | null;
|
|
1005
987
|
wikidataId?: string | null | undefined;
|
|
988
|
+
descendants?: {
|
|
989
|
+
descendant: {
|
|
990
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
991
|
+
name: string;
|
|
992
|
+
side?: "pop" | "core" | null | undefined;
|
|
993
|
+
wikidataId?: string | null | undefined;
|
|
994
|
+
};
|
|
995
|
+
degree: number;
|
|
996
|
+
}[] | undefined;
|
|
1006
997
|
catalogue?: ({
|
|
1007
998
|
genreOnlyTracksCount: number;
|
|
1008
999
|
genreAndSubgenresTracksCount: {
|
|
@@ -1013,6 +1004,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1013
1004
|
all: number;
|
|
1014
1005
|
};
|
|
1015
1006
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1007
|
+
tracks?: {
|
|
1008
|
+
title: string;
|
|
1009
|
+
uuid: string;
|
|
1010
|
+
artists?: {
|
|
1011
|
+
uuid: string;
|
|
1012
|
+
name: string;
|
|
1013
|
+
isSpecialPurpose?: boolean | undefined;
|
|
1014
|
+
}[] | null | undefined;
|
|
1015
|
+
}[] | undefined;
|
|
1016
1016
|
}, Error, {
|
|
1017
1017
|
name: string;
|
|
1018
1018
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -1043,15 +1043,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1043
1043
|
};
|
|
1044
1044
|
degree: number;
|
|
1045
1045
|
}[];
|
|
1046
|
-
descendants: {
|
|
1047
|
-
descendant: {
|
|
1048
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1049
|
-
name: string;
|
|
1050
|
-
side?: "pop" | "core" | null | undefined;
|
|
1051
|
-
wikidataId?: string | null | undefined;
|
|
1052
|
-
};
|
|
1053
|
-
degree: number;
|
|
1054
|
-
}[];
|
|
1055
1046
|
root: {
|
|
1056
1047
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1057
1048
|
name: string;
|
|
@@ -1078,16 +1069,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1078
1069
|
} | {
|
|
1079
1070
|
all: number;
|
|
1080
1071
|
};
|
|
1081
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1082
|
-
tracks: {
|
|
1083
|
-
title: string;
|
|
1084
|
-
uuid: string;
|
|
1085
|
-
artists?: {
|
|
1086
|
-
uuid: string;
|
|
1087
|
-
name: string;
|
|
1088
|
-
isSpecialPurpose?: boolean | undefined;
|
|
1089
|
-
}[] | null | undefined;
|
|
1090
|
-
}[];
|
|
1072
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
1091
1073
|
essentialSongs: {
|
|
1092
1074
|
title: string;
|
|
1093
1075
|
uuid: string;
|
|
@@ -1100,6 +1082,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1100
1082
|
tracksCount: number;
|
|
1101
1083
|
updatedOn: string | null;
|
|
1102
1084
|
wikidataId?: string | null | undefined;
|
|
1085
|
+
descendants?: {
|
|
1086
|
+
descendant: {
|
|
1087
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1088
|
+
name: string;
|
|
1089
|
+
side?: "pop" | "core" | null | undefined;
|
|
1090
|
+
wikidataId?: string | null | undefined;
|
|
1091
|
+
};
|
|
1092
|
+
degree: number;
|
|
1093
|
+
}[] | undefined;
|
|
1103
1094
|
catalogue?: ({
|
|
1104
1095
|
genreOnlyTracksCount: number;
|
|
1105
1096
|
genreAndSubgenresTracksCount: {
|
|
@@ -1110,6 +1101,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1110
1101
|
all: number;
|
|
1111
1102
|
};
|
|
1112
1103
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1104
|
+
tracks?: {
|
|
1105
|
+
title: string;
|
|
1106
|
+
uuid: string;
|
|
1107
|
+
artists?: {
|
|
1108
|
+
uuid: string;
|
|
1109
|
+
name: string;
|
|
1110
|
+
isSpecialPurpose?: boolean | undefined;
|
|
1111
|
+
}[] | null | undefined;
|
|
1112
|
+
}[] | undefined;
|
|
1113
1113
|
}, Error, {
|
|
1114
1114
|
name: string;
|
|
1115
1115
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -1139,15 +1139,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1139
1139
|
};
|
|
1140
1140
|
degree: number;
|
|
1141
1141
|
}[];
|
|
1142
|
-
descendants: {
|
|
1143
|
-
descendant: {
|
|
1144
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1145
|
-
name: string;
|
|
1146
|
-
side?: "pop" | "core" | null | undefined;
|
|
1147
|
-
wikidataId?: string | null | undefined;
|
|
1148
|
-
};
|
|
1149
|
-
degree: number;
|
|
1150
|
-
}[];
|
|
1151
1142
|
root: {
|
|
1152
1143
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1153
1144
|
name: string;
|
|
@@ -1174,16 +1165,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1174
1165
|
} | {
|
|
1175
1166
|
all: number;
|
|
1176
1167
|
};
|
|
1177
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1178
|
-
tracks: {
|
|
1179
|
-
title: string;
|
|
1180
|
-
uuid: string;
|
|
1181
|
-
artists?: {
|
|
1182
|
-
uuid: string;
|
|
1183
|
-
name: string;
|
|
1184
|
-
isSpecialPurpose?: boolean | undefined;
|
|
1185
|
-
}[] | null | undefined;
|
|
1186
|
-
}[];
|
|
1168
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
1187
1169
|
essentialSongs: {
|
|
1188
1170
|
title: string;
|
|
1189
1171
|
uuid: string;
|
|
@@ -1196,6 +1178,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1196
1178
|
tracksCount: number;
|
|
1197
1179
|
updatedOn: string | null;
|
|
1198
1180
|
wikidataId?: string | null | undefined;
|
|
1181
|
+
descendants?: {
|
|
1182
|
+
descendant: {
|
|
1183
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1184
|
+
name: string;
|
|
1185
|
+
side?: "pop" | "core" | null | undefined;
|
|
1186
|
+
wikidataId?: string | null | undefined;
|
|
1187
|
+
};
|
|
1188
|
+
degree: number;
|
|
1189
|
+
}[] | undefined;
|
|
1199
1190
|
catalogue?: ({
|
|
1200
1191
|
genreOnlyTracksCount: number;
|
|
1201
1192
|
genreAndSubgenresTracksCount: {
|
|
@@ -1206,6 +1197,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1206
1197
|
all: number;
|
|
1207
1198
|
};
|
|
1208
1199
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1200
|
+
tracks?: {
|
|
1201
|
+
title: string;
|
|
1202
|
+
uuid: string;
|
|
1203
|
+
artists?: {
|
|
1204
|
+
uuid: string;
|
|
1205
|
+
name: string;
|
|
1206
|
+
isSpecialPurpose?: boolean | undefined;
|
|
1207
|
+
}[] | null | undefined;
|
|
1208
|
+
}[] | undefined;
|
|
1209
1209
|
};
|
|
1210
1210
|
error: null;
|
|
1211
1211
|
variables: {
|
|
@@ -1237,15 +1237,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1237
1237
|
};
|
|
1238
1238
|
degree: number;
|
|
1239
1239
|
}[];
|
|
1240
|
-
descendants: {
|
|
1241
|
-
descendant: {
|
|
1242
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1243
|
-
name: string;
|
|
1244
|
-
side?: "pop" | "core" | null | undefined;
|
|
1245
|
-
wikidataId?: string | null | undefined;
|
|
1246
|
-
};
|
|
1247
|
-
degree: number;
|
|
1248
|
-
}[];
|
|
1249
1240
|
root: {
|
|
1250
1241
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1251
1242
|
name: string;
|
|
@@ -1272,16 +1263,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1272
1263
|
} | {
|
|
1273
1264
|
all: number;
|
|
1274
1265
|
};
|
|
1275
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1276
|
-
tracks: {
|
|
1277
|
-
title: string;
|
|
1278
|
-
uuid: string;
|
|
1279
|
-
artists?: {
|
|
1280
|
-
uuid: string;
|
|
1281
|
-
name: string;
|
|
1282
|
-
isSpecialPurpose?: boolean | undefined;
|
|
1283
|
-
}[] | null | undefined;
|
|
1284
|
-
}[];
|
|
1266
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
1285
1267
|
essentialSongs: {
|
|
1286
1268
|
title: string;
|
|
1287
1269
|
uuid: string;
|
|
@@ -1294,6 +1276,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1294
1276
|
tracksCount: number;
|
|
1295
1277
|
updatedOn: string | null;
|
|
1296
1278
|
wikidataId?: string | null | undefined;
|
|
1279
|
+
descendants?: {
|
|
1280
|
+
descendant: {
|
|
1281
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1282
|
+
name: string;
|
|
1283
|
+
side?: "pop" | "core" | null | undefined;
|
|
1284
|
+
wikidataId?: string | null | undefined;
|
|
1285
|
+
};
|
|
1286
|
+
degree: number;
|
|
1287
|
+
}[] | undefined;
|
|
1297
1288
|
catalogue?: ({
|
|
1298
1289
|
genreOnlyTracksCount: number;
|
|
1299
1290
|
genreAndSubgenresTracksCount: {
|
|
@@ -1304,6 +1295,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1304
1295
|
all: number;
|
|
1305
1296
|
};
|
|
1306
1297
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1298
|
+
tracks?: {
|
|
1299
|
+
title: string;
|
|
1300
|
+
uuid: string;
|
|
1301
|
+
artists?: {
|
|
1302
|
+
uuid: string;
|
|
1303
|
+
name: string;
|
|
1304
|
+
isSpecialPurpose?: boolean | undefined;
|
|
1305
|
+
}[] | null | undefined;
|
|
1306
|
+
}[] | undefined;
|
|
1307
1307
|
}, Error, {
|
|
1308
1308
|
name: string;
|
|
1309
1309
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -1334,15 +1334,6 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1334
1334
|
};
|
|
1335
1335
|
degree: number;
|
|
1336
1336
|
}[];
|
|
1337
|
-
descendants: {
|
|
1338
|
-
descendant: {
|
|
1339
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1340
|
-
name: string;
|
|
1341
|
-
side?: "pop" | "core" | null | undefined;
|
|
1342
|
-
wikidataId?: string | null | undefined;
|
|
1343
|
-
};
|
|
1344
|
-
degree: number;
|
|
1345
|
-
}[];
|
|
1346
1337
|
root: {
|
|
1347
1338
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1348
1339
|
name: string;
|
|
@@ -1369,16 +1360,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1369
1360
|
} | {
|
|
1370
1361
|
all: number;
|
|
1371
1362
|
};
|
|
1372
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1373
|
-
tracks: {
|
|
1374
|
-
title: string;
|
|
1375
|
-
uuid: string;
|
|
1376
|
-
artists?: {
|
|
1377
|
-
uuid: string;
|
|
1378
|
-
name: string;
|
|
1379
|
-
isSpecialPurpose?: boolean | undefined;
|
|
1380
|
-
}[] | null | undefined;
|
|
1381
|
-
}[];
|
|
1363
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
1382
1364
|
essentialSongs: {
|
|
1383
1365
|
title: string;
|
|
1384
1366
|
uuid: string;
|
|
@@ -1391,6 +1373,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1391
1373
|
tracksCount: number;
|
|
1392
1374
|
updatedOn: string | null;
|
|
1393
1375
|
wikidataId?: string | null | undefined;
|
|
1376
|
+
descendants?: {
|
|
1377
|
+
descendant: {
|
|
1378
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1379
|
+
name: string;
|
|
1380
|
+
side?: "pop" | "core" | null | undefined;
|
|
1381
|
+
wikidataId?: string | null | undefined;
|
|
1382
|
+
};
|
|
1383
|
+
degree: number;
|
|
1384
|
+
}[] | undefined;
|
|
1394
1385
|
catalogue?: ({
|
|
1395
1386
|
genreOnlyTracksCount: number;
|
|
1396
1387
|
genreAndSubgenresTracksCount: {
|
|
@@ -1401,6 +1392,15 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1401
1392
|
all: number;
|
|
1402
1393
|
};
|
|
1403
1394
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1395
|
+
tracks?: {
|
|
1396
|
+
title: string;
|
|
1397
|
+
uuid: string;
|
|
1398
|
+
artists?: {
|
|
1399
|
+
uuid: string;
|
|
1400
|
+
name: string;
|
|
1401
|
+
isSpecialPurpose?: boolean | undefined;
|
|
1402
|
+
}[] | null | undefined;
|
|
1403
|
+
}[] | undefined;
|
|
1404
1404
|
}, Error, {
|
|
1405
1405
|
name: string;
|
|
1406
1406
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -1427,15 +1427,6 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1427
1427
|
};
|
|
1428
1428
|
degree: number;
|
|
1429
1429
|
}[];
|
|
1430
|
-
descendants: {
|
|
1431
|
-
descendant: {
|
|
1432
|
-
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1433
|
-
name: string;
|
|
1434
|
-
side?: "pop" | "core" | null | undefined;
|
|
1435
|
-
wikidataId?: string | null | undefined;
|
|
1436
|
-
};
|
|
1437
|
-
degree: number;
|
|
1438
|
-
}[];
|
|
1439
1430
|
root: {
|
|
1440
1431
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1441
1432
|
name: string;
|
|
@@ -1462,16 +1453,7 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1462
1453
|
} | {
|
|
1463
1454
|
all: number;
|
|
1464
1455
|
};
|
|
1465
|
-
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1466
|
-
tracks: {
|
|
1467
|
-
title: string;
|
|
1468
|
-
uuid: string;
|
|
1469
|
-
artists?: {
|
|
1470
|
-
uuid: string;
|
|
1471
|
-
name: string;
|
|
1472
|
-
isSpecialPurpose?: boolean | undefined;
|
|
1473
|
-
}[] | null | undefined;
|
|
1474
|
-
}[];
|
|
1456
|
+
} & z.core.$brand<"GenrePlaylistSummary">) | null;
|
|
1475
1457
|
essentialSongs: {
|
|
1476
1458
|
title: string;
|
|
1477
1459
|
uuid: string;
|
|
@@ -1484,6 +1466,15 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1484
1466
|
tracksCount: number;
|
|
1485
1467
|
updatedOn: string | null;
|
|
1486
1468
|
wikidataId?: string | null | undefined;
|
|
1469
|
+
descendants?: {
|
|
1470
|
+
descendant: {
|
|
1471
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1472
|
+
name: string;
|
|
1473
|
+
side?: "pop" | "core" | null | undefined;
|
|
1474
|
+
wikidataId?: string | null | undefined;
|
|
1475
|
+
};
|
|
1476
|
+
degree: number;
|
|
1477
|
+
}[] | undefined;
|
|
1487
1478
|
catalogue?: ({
|
|
1488
1479
|
genreOnlyTracksCount: number;
|
|
1489
1480
|
genreAndSubgenresTracksCount: {
|
|
@@ -1494,6 +1485,15 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1494
1485
|
all: number;
|
|
1495
1486
|
};
|
|
1496
1487
|
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1488
|
+
tracks?: {
|
|
1489
|
+
title: string;
|
|
1490
|
+
uuid: string;
|
|
1491
|
+
artists?: {
|
|
1492
|
+
uuid: string;
|
|
1493
|
+
name: string;
|
|
1494
|
+
isSpecialPurpose?: boolean | undefined;
|
|
1495
|
+
}[] | null | undefined;
|
|
1496
|
+
}[] | undefined;
|
|
1497
1497
|
}, Error, {
|
|
1498
1498
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1499
1499
|
data: {
|
|
@@ -3962,12 +3962,9 @@ interface UseGenreTreeViewStateOptions<O extends CriteriaOverview = CriteriaOver
|
|
|
3962
3962
|
viewMode?: GenreViewMode;
|
|
3963
3963
|
/** Narrows the tree to this artist's footprint (see `useVisibleGenrePlaylists`). */
|
|
3964
3964
|
artistUuid?: string | null;
|
|
3965
|
-
/**
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
selectedNodeId?: string | null;
|
|
3969
|
-
/** Called when selection changes, including normalizing a legacy criteria UUID to its playlist UUID. */
|
|
3970
|
-
onSelectedNodeIdChange?: (nodeId: string | null) => void;
|
|
3965
|
+
/** Entity selection is independent of the visible renderer nodes. */
|
|
3966
|
+
selectedGenreUuid?: GenreUuid | null;
|
|
3967
|
+
onSelectedGenreUuidChange?: (genreUuid: GenreUuid | null) => void;
|
|
3971
3968
|
criteriaOverviewSchema?: z.ZodType<O, unknown>;
|
|
3972
3969
|
}
|
|
3973
3970
|
interface UseGenreTreeViewStateResult {
|
|
@@ -3979,7 +3976,9 @@ interface UseGenreTreeViewStateResult {
|
|
|
3979
3976
|
/** Playlists the current view mode may show: unaccepted roots and, outside stacked/outline, criteria-less playlists are hidden. */
|
|
3980
3977
|
visibleGenrePlaylists: CriteriaPlaylistSimple[];
|
|
3981
3978
|
groupedGenrePlaylistsByRoot: Record<string, CriteriaPlaylistSimple[]>;
|
|
3979
|
+
selectedGenreUuid: GenreUuid | null;
|
|
3982
3980
|
selectedNodeId: string | null;
|
|
3981
|
+
selectGenre: (genreUuid: GenreUuid | null) => void;
|
|
3983
3982
|
selectedGenrePlaylist: CriteriaPlaylistSimple | undefined;
|
|
3984
3983
|
selectNode: (node: {
|
|
3985
3984
|
id: string;
|
|
@@ -3999,7 +3998,7 @@ interface UseGenreTreeViewStateResult {
|
|
|
3999
3998
|
id: string;
|
|
4000
3999
|
}) => void;
|
|
4001
4000
|
}
|
|
4002
|
-
declare function useGenreTreeViewState<O extends CriteriaOverview = CriteriaOverview>({ scope, getBackendBaseUrl, viewMode: controlledViewMode, artistUuid,
|
|
4001
|
+
declare function useGenreTreeViewState<O extends CriteriaOverview = CriteriaOverview>({ scope, getBackendBaseUrl, viewMode: controlledViewMode, artistUuid, selectedGenreUuid: controlledSelectedGenreUuid, onSelectedGenreUuidChange, criteriaOverviewSchema, }: UseGenreTreeViewStateOptions<O>): UseGenreTreeViewStateResult;
|
|
4003
4002
|
|
|
4004
4003
|
interface UseVisibleGenrePlaylistsOptions {
|
|
4005
4004
|
scope: Scope;
|
|
@@ -4755,6 +4754,16 @@ declare const FUZZY_MIN_SIMILARITY = 0.3;
|
|
|
4755
4754
|
* then accent-folded trigram similarity; ties break on `getViews` (descending) then name. An empty query matches nothing.
|
|
4756
4755
|
*/
|
|
4757
4756
|
declare function rankByName<T>(items: readonly T[], query: string, getName: (item: T) => string, getViews?: (item: T) => number): T[];
|
|
4757
|
+
type NameIndex<T> = readonly {
|
|
4758
|
+
item: T;
|
|
4759
|
+
name: string;
|
|
4760
|
+
grams: ReadonlySet<string>;
|
|
4761
|
+
views: number;
|
|
4762
|
+
}[];
|
|
4763
|
+
/** Build once per immutable item collection, rather than folding every name on each keystroke. */
|
|
4764
|
+
declare function createNameIndex<T>(items: readonly T[], getName: (item: T) => string, getViews?: (item: T) => number): NameIndex<T>;
|
|
4765
|
+
/** Same ranking and stable tie order as rankByName; a limit keeps only the best requested entries. */
|
|
4766
|
+
declare function rankNameIndex<T>(index: NameIndex<T>, query: string, limit?: number): T[];
|
|
4758
4767
|
|
|
4759
4768
|
type ReparentCandidate = CriteriaPlaylistSimple & {
|
|
4760
4769
|
criteria: CriteriaMinimum;
|
|
@@ -4803,7 +4812,7 @@ declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
|
4803
4812
|
}, z.core.$strip>;
|
|
4804
4813
|
degree: z.ZodNumber;
|
|
4805
4814
|
}, z.core.$strip>>;
|
|
4806
|
-
descendants: z.ZodArray<z.ZodObject<{
|
|
4815
|
+
descendants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4807
4816
|
descendant: z.ZodObject<{
|
|
4808
4817
|
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4809
4818
|
name: z.ZodString;
|
|
@@ -4814,7 +4823,7 @@ declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
|
4814
4823
|
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4815
4824
|
}, z.core.$strip>;
|
|
4816
4825
|
degree: z.ZodNumber;
|
|
4817
|
-
}, z.core.$strip
|
|
4826
|
+
}, z.core.$strip>>>;
|
|
4818
4827
|
root: z.ZodObject<{
|
|
4819
4828
|
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4820
4829
|
name: z.ZodString;
|
|
@@ -4833,7 +4842,7 @@ declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
|
4833
4842
|
}>>>;
|
|
4834
4843
|
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4835
4844
|
}, z.core.$strip>>;
|
|
4836
|
-
tracks: z.ZodArray<z.ZodObject<{
|
|
4845
|
+
tracks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4837
4846
|
title: z.ZodString;
|
|
4838
4847
|
uuid: z.ZodString;
|
|
4839
4848
|
artists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
@@ -4841,7 +4850,7 @@ declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
|
4841
4850
|
name: z.ZodString;
|
|
4842
4851
|
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
4843
4852
|
}, z.core.$strip>>>>;
|
|
4844
|
-
}, z.core.$strip
|
|
4853
|
+
}, z.core.$strip>>>;
|
|
4845
4854
|
essentialSongs: z.ZodArray<z.ZodObject<{
|
|
4846
4855
|
title: z.ZodString;
|
|
4847
4856
|
uuid: z.ZodString;
|
|
@@ -4863,7 +4872,7 @@ declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
|
4863
4872
|
all: z.ZodNumber;
|
|
4864
4873
|
}, z.core.$strict>]>;
|
|
4865
4874
|
}, z.core.$strip>, "GenreCatalogueCounts", "out">;
|
|
4866
|
-
criteriaPlaylist: z.core.$ZodBranded<z.ZodObject<{
|
|
4875
|
+
criteriaPlaylist: z.ZodNullable<z.core.$ZodBranded<z.ZodObject<{
|
|
4867
4876
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
4868
4877
|
name: z.ZodString;
|
|
4869
4878
|
genreOnlyTracksCount: z.ZodNumber;
|
|
@@ -4874,7 +4883,7 @@ declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
|
4874
4883
|
}, z.core.$strict>, z.ZodObject<{
|
|
4875
4884
|
all: z.ZodNumber;
|
|
4876
4885
|
}, z.core.$strict>]>;
|
|
4877
|
-
}, z.core.$strip>, "GenrePlaylistSummary", "out"
|
|
4886
|
+
}, z.core.$strip>, "GenrePlaylistSummary", "out">>;
|
|
4878
4887
|
}, z.core.$strip>;
|
|
4879
4888
|
declare const ReferenceGenrePlaylistSchema: z.ZodObject<{
|
|
4880
4889
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
@@ -4928,4 +4937,4 @@ declare const ReferenceGenrePlaylistSchema: z.ZodObject<{
|
|
|
4928
4937
|
type ReferenceGenreDetailed = z.infer<typeof ReferenceGenreDetailedSchema>;
|
|
4929
4938
|
type ReferenceGenrePlaylist = z.infer<typeof ReferenceGenrePlaylistSchema>;
|
|
4930
4939
|
|
|
4931
|
-
export { ARTIST_LINK_KINDS, type AlbumMinimum, AlbumMinimumSchema, type ArtistAlbum, type ArtistDetailed, ArtistDetailedSchema, type ArtistGenreCount, ArtistGenreCountSchema, type ArtistImage, ArtistImageSchema, type ArtistLink, type ArtistMembership, type ArtistMinimum, ArtistMinimumSchema, ArtistNames, type ArtistSearchResult, ArtistSearchResultSchema, ArtistSearchResultsSchema, type ArtistSongsOrdering, type ArtistTrackListOriginInput, CriteriaCreationSchema, type CriteriaCreationValues, type CriteriaDetailed, CriteriaDetailedSchema, type CriteriaLineageRelWithoutAscendant, CriteriaLineageRelWithoutAscendantSchema, type CriteriaLineageRelWithoutDescendant, CriteriaLineageRelWithoutDescendantSchema, type CriteriaMinimum, CriteriaMinimumSchema, type CriteriaOverview, CriteriaOverviewSchema, type CriteriaPlaylistDetailed, CriteriaPlaylistDetailedSchema, type CriteriaPlaylistMinimum, CriteriaPlaylistMinimumSchema, type CriteriaPlaylistSimple, CriteriaPlaylistSimpleSchema, type CriteriaSimple, CriteriaSimpleSchema, CriteriaUpdateSchema, type CriteriaUpdateValues, FORM_RATING_NULL_VALUE, FUZZY_MIN_SIMILARITY, type GenreCatalogueCounts, GenreCatalogueCountsSchema, GenreCountsSchema, type GenreCoverage, GenreCoverageSchema, type GenreMusicCounts, type GenreMusicSelection, type GenrePlaylistSummary, GenrePlaylistSummarySchema, type GenrePlaylistTracksPage, GenrePlaylistUuid, type GenreSearchParams, type GenreSearchResult, GenreSearchResultSchema, GenreSearchResultsSchema, type GenreSearchTreeName, GenreSearchTreeNameSchema, GenreUuid, type GenreViewMode, MbArtistDetailedSchema, MbRecordingDetailedSchema, type MusicbrainzArtistDetailed, type MusicbrainzRecordingDetailed, NO_VIDEO_LABEL, type PlayArtistOptions, type PlayGenrePlaylistOptions, type ReferenceGenreDetailed, ReferenceGenreDetailedSchema, type ReferenceGenrePlaylist, ReferenceGenrePlaylistSchema, type RegionGenreLexiconEntry, RegionGenreLexiconEntrySchema, RegionGenreLexiconSchema, type RenderArtistLink, type RenderSongLink, type ReparentCandidate, SEARCH_DEBOUNCE_MS, SEARCH_QUERY_MIN_LENGTH, type SongDetailed, SongDetailedSchema, type SongHistoryEntry, SongHistoryEntrySchema, SongHistorySchema, type SongSearchGenreFilter, type SongSearchParams, type SongSearchResult, SongSearchResultSchema, SongSearchResultsSchema, SubgenreCountsSchema, type SubgenreScope, SubgenreScopeSchema, type TrackBase, TrackBaseSchema, TrackList, TrackListFromArtist, TrackListFromCriteriaPlaylist, TrackListFromTrack, TrackListOrigin, TrackListOriginFromArtist, TrackListOriginFromCriteriaPlaylist, TrackListOriginFromGenreCatalogue, TrackListOriginFromTrack, TrackListOriginType, TrackListProvider, TrackListSidebarVisibilityProvider, type TrackMinimum, TrackMinimumSchema, type TrackPlaylistRel, type UseArtistResult, type UseArtistSearchResult, type UseGenreRemoteSearchOptions, type UseGenreRemoteSearchResult, type UseGenreSearchOptions, type UseGenreSearchResult, type UseGenreTreeViewStateOptions, type UseGenreTreeViewStateResult, type UseRemoteSearchOptions, type UseRemoteSearchResult, type UseSearchQueryStateOptions, type UseSearchQueryStateResult, type UseSongHistoryResult, type UseSongResult, type UseSongSearchResult, type UseVisibleGenrePlaylistsOptions, type UuidResource, UuidResourceSchema, YOUTUBE_UNPLAYABLE_REASON_LABELS, YoutubeAvailabilitySchema, type YoutubeUnplayableReason, artistEndpoints, artistQueryKeys, capitalizeFirstLetter, defaultGenreMusicSelection, editGenreSongPages, foldSearchText, formatTime, genreEndpoints, genreMusicCount, genreMusicQueryParams, genreMusicSelectionKey, genrePlaylistEndpoints, genrePlaylistQueryKeys, genrePlaylistTrackCount, genreQueryKeys, genreSearchQueryKeys, genreUpdateMutationKey, getGenrePlaylistsGroupedByRoot, getReparentCandidates, hasMainstreamPopRoot, isSong, isSongSearchResultPlayable, libraryEndpoints, libraryQueryKeys, makeTrackPlaylistRelPageSchema, makeTrackPlaylistRelSchema, musicBrainzRecordingUrl, pruneGenrePlaylistsForArtist, rankByName, searchGenrePlaylistsByName, songUnplayableReason, trigramSimilarity, useArtist, useArtistGenreCounts, useArtistSearch, useCreateGenre, useDeleteGenre, useFetchGenre, useFetchGenreDetail, useFetchGenreOverview, useFetchGenrePlaylist, useGenreByWikidataId, useGenreRemoteSearch, useGenreSearch, useGenreTreeViewState, useInvalidateAllGenrePlaylistQueries, useListFullGenrePlaylists, useListGenrePlaylists, useListGenres, useListTracks, usePrefetchGenreOverview, useRegionGenreLexicon, useRemoteSearch, useSearchQueryState, useSong, useSongHistory, useSongSearch, useTrackList, useTrackListSidebarVisibility, useUpdateGenre, useVisibleGenrePlaylists };
|
|
4940
|
+
export { ARTIST_LINK_KINDS, type AlbumMinimum, AlbumMinimumSchema, type ArtistAlbum, type ArtistDetailed, ArtistDetailedSchema, type ArtistGenreCount, ArtistGenreCountSchema, type ArtistImage, ArtistImageSchema, type ArtistLink, type ArtistMembership, type ArtistMinimum, ArtistMinimumSchema, ArtistNames, type ArtistSearchResult, ArtistSearchResultSchema, ArtistSearchResultsSchema, type ArtistSongsOrdering, type ArtistTrackListOriginInput, CriteriaCreationSchema, type CriteriaCreationValues, type CriteriaDetailed, CriteriaDetailedSchema, type CriteriaLineageRelWithoutAscendant, CriteriaLineageRelWithoutAscendantSchema, type CriteriaLineageRelWithoutDescendant, CriteriaLineageRelWithoutDescendantSchema, type CriteriaMinimum, CriteriaMinimumSchema, type CriteriaOverview, CriteriaOverviewSchema, type CriteriaPlaylistDetailed, CriteriaPlaylistDetailedSchema, type CriteriaPlaylistMinimum, CriteriaPlaylistMinimumSchema, type CriteriaPlaylistSimple, CriteriaPlaylistSimpleSchema, type CriteriaSimple, CriteriaSimpleSchema, CriteriaUpdateSchema, type CriteriaUpdateValues, FORM_RATING_NULL_VALUE, FUZZY_MIN_SIMILARITY, type GenreCatalogueCounts, GenreCatalogueCountsSchema, GenreCountsSchema, type GenreCoverage, GenreCoverageSchema, type GenreMusicCounts, type GenreMusicSelection, type GenrePlaylistSummary, GenrePlaylistSummarySchema, type GenrePlaylistTracksPage, GenrePlaylistUuid, type GenreSearchParams, type GenreSearchResult, GenreSearchResultSchema, GenreSearchResultsSchema, type GenreSearchTreeName, GenreSearchTreeNameSchema, GenreUuid, type GenreViewMode, MbArtistDetailedSchema, MbRecordingDetailedSchema, type MusicbrainzArtistDetailed, type MusicbrainzRecordingDetailed, NO_VIDEO_LABEL, type NameIndex, type PlayArtistOptions, type PlayGenrePlaylistOptions, type ReferenceGenreDetailed, ReferenceGenreDetailedSchema, type ReferenceGenrePlaylist, ReferenceGenrePlaylistSchema, type RegionGenreLexiconEntry, RegionGenreLexiconEntrySchema, RegionGenreLexiconSchema, type RenderArtistLink, type RenderSongLink, type ReparentCandidate, SEARCH_DEBOUNCE_MS, SEARCH_QUERY_MIN_LENGTH, type SongDetailed, SongDetailedSchema, type SongHistoryEntry, SongHistoryEntrySchema, SongHistorySchema, type SongSearchGenreFilter, type SongSearchParams, type SongSearchResult, SongSearchResultSchema, SongSearchResultsSchema, SubgenreCountsSchema, type SubgenreScope, SubgenreScopeSchema, type TrackBase, TrackBaseSchema, TrackList, TrackListFromArtist, TrackListFromCriteriaPlaylist, TrackListFromTrack, TrackListOrigin, TrackListOriginFromArtist, TrackListOriginFromCriteriaPlaylist, TrackListOriginFromGenreCatalogue, TrackListOriginFromTrack, TrackListOriginType, TrackListProvider, TrackListSidebarVisibilityProvider, type TrackMinimum, TrackMinimumSchema, type TrackPlaylistRel, type UseArtistResult, type UseArtistSearchResult, type UseGenreRemoteSearchOptions, type UseGenreRemoteSearchResult, type UseGenreSearchOptions, type UseGenreSearchResult, type UseGenreTreeViewStateOptions, type UseGenreTreeViewStateResult, type UseRemoteSearchOptions, type UseRemoteSearchResult, type UseSearchQueryStateOptions, type UseSearchQueryStateResult, type UseSongHistoryResult, type UseSongResult, type UseSongSearchResult, type UseVisibleGenrePlaylistsOptions, type UuidResource, UuidResourceSchema, YOUTUBE_UNPLAYABLE_REASON_LABELS, YoutubeAvailabilitySchema, type YoutubeUnplayableReason, artistEndpoints, artistQueryKeys, capitalizeFirstLetter, createNameIndex, defaultGenreMusicSelection, editGenreSongPages, foldSearchText, formatTime, genreEndpoints, genreMusicCount, genreMusicQueryParams, genreMusicSelectionKey, genrePlaylistEndpoints, genrePlaylistQueryKeys, genrePlaylistTrackCount, genreQueryKeys, genreSearchQueryKeys, genreUpdateMutationKey, getGenrePlaylistsGroupedByRoot, getReparentCandidates, hasMainstreamPopRoot, isSong, isSongSearchResultPlayable, libraryEndpoints, libraryQueryKeys, makeTrackPlaylistRelPageSchema, makeTrackPlaylistRelSchema, musicBrainzRecordingUrl, pruneGenrePlaylistsForArtist, rankByName, rankNameIndex, searchGenrePlaylistsByName, songUnplayableReason, trigramSimilarity, useArtist, useArtistGenreCounts, useArtistSearch, useCreateGenre, useDeleteGenre, useFetchGenre, useFetchGenreDetail, useFetchGenreOverview, useFetchGenrePlaylist, useGenreByWikidataId, useGenreRemoteSearch, useGenreSearch, useGenreTreeViewState, useInvalidateAllGenrePlaylistQueries, useListFullGenrePlaylists, useListGenrePlaylists, useListGenres, useListTracks, usePrefetchGenreOverview, useRegionGenreLexicon, useRemoteSearch, useSearchQueryState, useSong, useSongHistory, useSongSearch, useTrackList, useTrackListSidebarVisibility, useUpdateGenre, useVisibleGenrePlaylists };
|