@behindthemusictree/app-kit 33.2.0 → 34.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-727PIKKR.js → chunk-3PITD62C.js} +477 -325
- package/dist/chunk-3PITD62C.js.map +1 -0
- package/dist/genre-tree/index.cjs +523 -355
- package/dist/genre-tree/index.cjs.map +1 -1
- package/dist/genre-tree/index.d.ts +1354 -226
- package/dist/genre-tree/index.js +29 -1
- package/dist/index.cjs +471 -303
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +29 -1
- package/package.json +1 -1
- package/dist/chunk-727PIKKR.js.map +0 -1
|
@@ -64,10 +64,31 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
64
64
|
}>>>;
|
|
65
65
|
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
66
66
|
}, z.core.$strip>>;
|
|
67
|
-
|
|
67
|
+
catalogue: z.ZodOptional<z.core.$ZodBranded<z.ZodObject<{
|
|
68
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
69
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
70
|
+
canonical: z.ZodNumber;
|
|
71
|
+
regional: z.ZodNumber;
|
|
72
|
+
all: z.ZodNumber;
|
|
73
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
74
|
+
all: z.ZodNumber;
|
|
75
|
+
}, z.core.$strict>]>;
|
|
76
|
+
}, z.core.$strip>, "GenreCatalogueCounts", "out">>;
|
|
77
|
+
criteriaPlaylist: z.ZodUnion<readonly [z.core.$ZodBranded<z.ZodObject<{
|
|
68
78
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
69
79
|
name: z.ZodString;
|
|
70
|
-
|
|
80
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
81
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
82
|
+
canonical: z.ZodNumber;
|
|
83
|
+
regional: z.ZodNumber;
|
|
84
|
+
all: z.ZodNumber;
|
|
85
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
86
|
+
all: z.ZodNumber;
|
|
87
|
+
}, z.core.$strict>]>;
|
|
88
|
+
}, z.core.$strip>, "GenrePlaylistSummary", "out">, z.ZodObject<{
|
|
89
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
90
|
+
name: z.ZodString;
|
|
91
|
+
}, z.core.$strip>]>;
|
|
71
92
|
tracks: z.ZodArray<z.ZodObject<{
|
|
72
93
|
title: z.ZodString;
|
|
73
94
|
uuid: z.ZodString;
|
|
@@ -539,7 +560,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
539
560
|
criteriaPlaylist: {
|
|
540
561
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
541
562
|
name: string;
|
|
542
|
-
}
|
|
563
|
+
} | ({
|
|
564
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
565
|
+
name: string;
|
|
566
|
+
genreOnlyTracksCount: number;
|
|
567
|
+
genreAndSubgenresTracksCount: {
|
|
568
|
+
canonical: number;
|
|
569
|
+
regional: number;
|
|
570
|
+
all: number;
|
|
571
|
+
} | {
|
|
572
|
+
all: number;
|
|
573
|
+
};
|
|
574
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
543
575
|
tracks: {
|
|
544
576
|
title: string;
|
|
545
577
|
uuid: string;
|
|
@@ -561,6 +593,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
561
593
|
tracksCount: number;
|
|
562
594
|
updatedOn: string | null;
|
|
563
595
|
wikidataId?: string | null | undefined;
|
|
596
|
+
catalogue?: ({
|
|
597
|
+
genreOnlyTracksCount: number;
|
|
598
|
+
genreAndSubgenresTracksCount: {
|
|
599
|
+
canonical: number;
|
|
600
|
+
regional: number;
|
|
601
|
+
all: number;
|
|
602
|
+
} | {
|
|
603
|
+
all: number;
|
|
604
|
+
};
|
|
605
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
564
606
|
}, Error, {
|
|
565
607
|
name: string;
|
|
566
608
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -615,7 +657,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
615
657
|
criteriaPlaylist: {
|
|
616
658
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
617
659
|
name: string;
|
|
618
|
-
}
|
|
660
|
+
} | ({
|
|
661
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
662
|
+
name: string;
|
|
663
|
+
genreOnlyTracksCount: number;
|
|
664
|
+
genreAndSubgenresTracksCount: {
|
|
665
|
+
canonical: number;
|
|
666
|
+
regional: number;
|
|
667
|
+
all: number;
|
|
668
|
+
} | {
|
|
669
|
+
all: number;
|
|
670
|
+
};
|
|
671
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
619
672
|
tracks: {
|
|
620
673
|
title: string;
|
|
621
674
|
uuid: string;
|
|
@@ -637,6 +690,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
637
690
|
tracksCount: number;
|
|
638
691
|
updatedOn: string | null;
|
|
639
692
|
wikidataId?: string | null | undefined;
|
|
693
|
+
catalogue?: ({
|
|
694
|
+
genreOnlyTracksCount: number;
|
|
695
|
+
genreAndSubgenresTracksCount: {
|
|
696
|
+
canonical: number;
|
|
697
|
+
regional: number;
|
|
698
|
+
all: number;
|
|
699
|
+
} | {
|
|
700
|
+
all: number;
|
|
701
|
+
};
|
|
702
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
640
703
|
}, Error, {
|
|
641
704
|
name: string;
|
|
642
705
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -702,7 +765,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
702
765
|
criteriaPlaylist: {
|
|
703
766
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
704
767
|
name: string;
|
|
705
|
-
}
|
|
768
|
+
} | ({
|
|
769
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
770
|
+
name: string;
|
|
771
|
+
genreOnlyTracksCount: number;
|
|
772
|
+
genreAndSubgenresTracksCount: {
|
|
773
|
+
canonical: number;
|
|
774
|
+
regional: number;
|
|
775
|
+
all: number;
|
|
776
|
+
} | {
|
|
777
|
+
all: number;
|
|
778
|
+
};
|
|
779
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
706
780
|
tracks: {
|
|
707
781
|
title: string;
|
|
708
782
|
uuid: string;
|
|
@@ -724,6 +798,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
724
798
|
tracksCount: number;
|
|
725
799
|
updatedOn: string | null;
|
|
726
800
|
wikidataId?: string | null | undefined;
|
|
801
|
+
catalogue?: ({
|
|
802
|
+
genreOnlyTracksCount: number;
|
|
803
|
+
genreAndSubgenresTracksCount: {
|
|
804
|
+
canonical: number;
|
|
805
|
+
regional: number;
|
|
806
|
+
all: number;
|
|
807
|
+
} | {
|
|
808
|
+
all: number;
|
|
809
|
+
};
|
|
810
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
727
811
|
}, Error, {
|
|
728
812
|
name: string;
|
|
729
813
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -778,7 +862,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
778
862
|
criteriaPlaylist: {
|
|
779
863
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
780
864
|
name: string;
|
|
781
|
-
}
|
|
865
|
+
} | ({
|
|
866
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
867
|
+
name: string;
|
|
868
|
+
genreOnlyTracksCount: number;
|
|
869
|
+
genreAndSubgenresTracksCount: {
|
|
870
|
+
canonical: number;
|
|
871
|
+
regional: number;
|
|
872
|
+
all: number;
|
|
873
|
+
} | {
|
|
874
|
+
all: number;
|
|
875
|
+
};
|
|
876
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
782
877
|
tracks: {
|
|
783
878
|
title: string;
|
|
784
879
|
uuid: string;
|
|
@@ -800,6 +895,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
800
895
|
tracksCount: number;
|
|
801
896
|
updatedOn: string | null;
|
|
802
897
|
wikidataId?: string | null | undefined;
|
|
898
|
+
catalogue?: ({
|
|
899
|
+
genreOnlyTracksCount: number;
|
|
900
|
+
genreAndSubgenresTracksCount: {
|
|
901
|
+
canonical: number;
|
|
902
|
+
regional: number;
|
|
903
|
+
all: number;
|
|
904
|
+
} | {
|
|
905
|
+
all: number;
|
|
906
|
+
};
|
|
907
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
803
908
|
}, Error, {
|
|
804
909
|
name: string;
|
|
805
910
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -865,7 +970,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
865
970
|
criteriaPlaylist: {
|
|
866
971
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
867
972
|
name: string;
|
|
868
|
-
}
|
|
973
|
+
} | ({
|
|
974
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
975
|
+
name: string;
|
|
976
|
+
genreOnlyTracksCount: number;
|
|
977
|
+
genreAndSubgenresTracksCount: {
|
|
978
|
+
canonical: number;
|
|
979
|
+
regional: number;
|
|
980
|
+
all: number;
|
|
981
|
+
} | {
|
|
982
|
+
all: number;
|
|
983
|
+
};
|
|
984
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
869
985
|
tracks: {
|
|
870
986
|
title: string;
|
|
871
987
|
uuid: string;
|
|
@@ -887,6 +1003,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
887
1003
|
tracksCount: number;
|
|
888
1004
|
updatedOn: string | null;
|
|
889
1005
|
wikidataId?: string | null | undefined;
|
|
1006
|
+
catalogue?: ({
|
|
1007
|
+
genreOnlyTracksCount: number;
|
|
1008
|
+
genreAndSubgenresTracksCount: {
|
|
1009
|
+
canonical: number;
|
|
1010
|
+
regional: number;
|
|
1011
|
+
all: number;
|
|
1012
|
+
} | {
|
|
1013
|
+
all: number;
|
|
1014
|
+
};
|
|
1015
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
890
1016
|
}, Error, {
|
|
891
1017
|
name: string;
|
|
892
1018
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -941,7 +1067,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
941
1067
|
criteriaPlaylist: {
|
|
942
1068
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
943
1069
|
name: string;
|
|
944
|
-
}
|
|
1070
|
+
} | ({
|
|
1071
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1072
|
+
name: string;
|
|
1073
|
+
genreOnlyTracksCount: number;
|
|
1074
|
+
genreAndSubgenresTracksCount: {
|
|
1075
|
+
canonical: number;
|
|
1076
|
+
regional: number;
|
|
1077
|
+
all: number;
|
|
1078
|
+
} | {
|
|
1079
|
+
all: number;
|
|
1080
|
+
};
|
|
1081
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
945
1082
|
tracks: {
|
|
946
1083
|
title: string;
|
|
947
1084
|
uuid: string;
|
|
@@ -963,6 +1100,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
963
1100
|
tracksCount: number;
|
|
964
1101
|
updatedOn: string | null;
|
|
965
1102
|
wikidataId?: string | null | undefined;
|
|
1103
|
+
catalogue?: ({
|
|
1104
|
+
genreOnlyTracksCount: number;
|
|
1105
|
+
genreAndSubgenresTracksCount: {
|
|
1106
|
+
canonical: number;
|
|
1107
|
+
regional: number;
|
|
1108
|
+
all: number;
|
|
1109
|
+
} | {
|
|
1110
|
+
all: number;
|
|
1111
|
+
};
|
|
1112
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
966
1113
|
}, Error, {
|
|
967
1114
|
name: string;
|
|
968
1115
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -1016,7 +1163,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1016
1163
|
criteriaPlaylist: {
|
|
1017
1164
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1018
1165
|
name: string;
|
|
1019
|
-
}
|
|
1166
|
+
} | ({
|
|
1167
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1168
|
+
name: string;
|
|
1169
|
+
genreOnlyTracksCount: number;
|
|
1170
|
+
genreAndSubgenresTracksCount: {
|
|
1171
|
+
canonical: number;
|
|
1172
|
+
regional: number;
|
|
1173
|
+
all: number;
|
|
1174
|
+
} | {
|
|
1175
|
+
all: number;
|
|
1176
|
+
};
|
|
1177
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1020
1178
|
tracks: {
|
|
1021
1179
|
title: string;
|
|
1022
1180
|
uuid: string;
|
|
@@ -1038,6 +1196,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1038
1196
|
tracksCount: number;
|
|
1039
1197
|
updatedOn: string | null;
|
|
1040
1198
|
wikidataId?: string | null | undefined;
|
|
1199
|
+
catalogue?: ({
|
|
1200
|
+
genreOnlyTracksCount: number;
|
|
1201
|
+
genreAndSubgenresTracksCount: {
|
|
1202
|
+
canonical: number;
|
|
1203
|
+
regional: number;
|
|
1204
|
+
all: number;
|
|
1205
|
+
} | {
|
|
1206
|
+
all: number;
|
|
1207
|
+
};
|
|
1208
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1041
1209
|
};
|
|
1042
1210
|
error: null;
|
|
1043
1211
|
variables: {
|
|
@@ -1093,7 +1261,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1093
1261
|
criteriaPlaylist: {
|
|
1094
1262
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1095
1263
|
name: string;
|
|
1096
|
-
}
|
|
1264
|
+
} | ({
|
|
1265
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1266
|
+
name: string;
|
|
1267
|
+
genreOnlyTracksCount: number;
|
|
1268
|
+
genreAndSubgenresTracksCount: {
|
|
1269
|
+
canonical: number;
|
|
1270
|
+
regional: number;
|
|
1271
|
+
all: number;
|
|
1272
|
+
} | {
|
|
1273
|
+
all: number;
|
|
1274
|
+
};
|
|
1275
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1097
1276
|
tracks: {
|
|
1098
1277
|
title: string;
|
|
1099
1278
|
uuid: string;
|
|
@@ -1115,6 +1294,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1115
1294
|
tracksCount: number;
|
|
1116
1295
|
updatedOn: string | null;
|
|
1117
1296
|
wikidataId?: string | null | undefined;
|
|
1297
|
+
catalogue?: ({
|
|
1298
|
+
genreOnlyTracksCount: number;
|
|
1299
|
+
genreAndSubgenresTracksCount: {
|
|
1300
|
+
canonical: number;
|
|
1301
|
+
regional: number;
|
|
1302
|
+
all: number;
|
|
1303
|
+
} | {
|
|
1304
|
+
all: number;
|
|
1305
|
+
};
|
|
1306
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1118
1307
|
}, Error, {
|
|
1119
1308
|
name: string;
|
|
1120
1309
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -1169,7 +1358,18 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1169
1358
|
criteriaPlaylist: {
|
|
1170
1359
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1171
1360
|
name: string;
|
|
1172
|
-
}
|
|
1361
|
+
} | ({
|
|
1362
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1363
|
+
name: string;
|
|
1364
|
+
genreOnlyTracksCount: number;
|
|
1365
|
+
genreAndSubgenresTracksCount: {
|
|
1366
|
+
canonical: number;
|
|
1367
|
+
regional: number;
|
|
1368
|
+
all: number;
|
|
1369
|
+
} | {
|
|
1370
|
+
all: number;
|
|
1371
|
+
};
|
|
1372
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1173
1373
|
tracks: {
|
|
1174
1374
|
title: string;
|
|
1175
1375
|
uuid: string;
|
|
@@ -1191,6 +1391,16 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1191
1391
|
tracksCount: number;
|
|
1192
1392
|
updatedOn: string | null;
|
|
1193
1393
|
wikidataId?: string | null | undefined;
|
|
1394
|
+
catalogue?: ({
|
|
1395
|
+
genreOnlyTracksCount: number;
|
|
1396
|
+
genreAndSubgenresTracksCount: {
|
|
1397
|
+
canonical: number;
|
|
1398
|
+
regional: number;
|
|
1399
|
+
all: number;
|
|
1400
|
+
} | {
|
|
1401
|
+
all: number;
|
|
1402
|
+
};
|
|
1403
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1194
1404
|
}, Error, {
|
|
1195
1405
|
name: string;
|
|
1196
1406
|
parent?: (string & z.core.$brand<"GenreUuid">) | undefined;
|
|
@@ -1241,7 +1451,18 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1241
1451
|
criteriaPlaylist: {
|
|
1242
1452
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1243
1453
|
name: string;
|
|
1244
|
-
}
|
|
1454
|
+
} | ({
|
|
1455
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1456
|
+
name: string;
|
|
1457
|
+
genreOnlyTracksCount: number;
|
|
1458
|
+
genreAndSubgenresTracksCount: {
|
|
1459
|
+
canonical: number;
|
|
1460
|
+
regional: number;
|
|
1461
|
+
all: number;
|
|
1462
|
+
} | {
|
|
1463
|
+
all: number;
|
|
1464
|
+
};
|
|
1465
|
+
} & z.core.$brand<"GenrePlaylistSummary">);
|
|
1245
1466
|
tracks: {
|
|
1246
1467
|
title: string;
|
|
1247
1468
|
uuid: string;
|
|
@@ -1263,6 +1484,16 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1263
1484
|
tracksCount: number;
|
|
1264
1485
|
updatedOn: string | null;
|
|
1265
1486
|
wikidataId?: string | null | undefined;
|
|
1487
|
+
catalogue?: ({
|
|
1488
|
+
genreOnlyTracksCount: number;
|
|
1489
|
+
genreAndSubgenresTracksCount: {
|
|
1490
|
+
canonical: number;
|
|
1491
|
+
regional: number;
|
|
1492
|
+
all: number;
|
|
1493
|
+
} | {
|
|
1494
|
+
all: number;
|
|
1495
|
+
};
|
|
1496
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1266
1497
|
}, Error, {
|
|
1267
1498
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
1268
1499
|
data: {
|
|
@@ -1397,10 +1628,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1397
1628
|
results: {
|
|
1398
1629
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1399
1630
|
name: string;
|
|
1631
|
+
createdOn: string;
|
|
1632
|
+
updatedOn: string | null;
|
|
1400
1633
|
root: {
|
|
1401
1634
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1402
1635
|
name: string;
|
|
1403
1636
|
};
|
|
1637
|
+
parent: {
|
|
1638
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1639
|
+
name: string;
|
|
1640
|
+
} | null;
|
|
1404
1641
|
tracksCount: number;
|
|
1405
1642
|
criteria: {
|
|
1406
1643
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1408,13 +1645,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1408
1645
|
side?: "pop" | "core" | null | undefined;
|
|
1409
1646
|
wikidataId?: string | null | undefined;
|
|
1410
1647
|
} | null;
|
|
1411
|
-
parent: {
|
|
1412
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1413
|
-
name: string;
|
|
1414
|
-
} | null;
|
|
1415
|
-
createdOn: string;
|
|
1416
|
-
updatedOn: string | null;
|
|
1417
1648
|
isUnacceptedRoot: boolean;
|
|
1649
|
+
genreOnlyTracksCount?: number | undefined;
|
|
1650
|
+
genreAndSubgenresTracksCount?: {
|
|
1651
|
+
canonical: number;
|
|
1652
|
+
regional: number;
|
|
1653
|
+
all: number;
|
|
1654
|
+
} | {
|
|
1655
|
+
all: number;
|
|
1656
|
+
} | undefined;
|
|
1657
|
+
catalogue?: ({
|
|
1658
|
+
genreOnlyTracksCount: number;
|
|
1659
|
+
genreAndSubgenresTracksCount: {
|
|
1660
|
+
canonical: number;
|
|
1661
|
+
regional: number;
|
|
1662
|
+
all: number;
|
|
1663
|
+
} | {
|
|
1664
|
+
all: number;
|
|
1665
|
+
};
|
|
1666
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1418
1667
|
viewsCount?: number | undefined;
|
|
1419
1668
|
isUmbrella?: boolean | undefined;
|
|
1420
1669
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1452,10 +1701,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1452
1701
|
results: {
|
|
1453
1702
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1454
1703
|
name: string;
|
|
1704
|
+
createdOn: string;
|
|
1705
|
+
updatedOn: string | null;
|
|
1455
1706
|
root: {
|
|
1456
1707
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1457
1708
|
name: string;
|
|
1458
1709
|
};
|
|
1710
|
+
parent: {
|
|
1711
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1712
|
+
name: string;
|
|
1713
|
+
} | null;
|
|
1459
1714
|
tracksCount: number;
|
|
1460
1715
|
criteria: {
|
|
1461
1716
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1463,13 +1718,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1463
1718
|
side?: "pop" | "core" | null | undefined;
|
|
1464
1719
|
wikidataId?: string | null | undefined;
|
|
1465
1720
|
} | null;
|
|
1466
|
-
parent: {
|
|
1467
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1468
|
-
name: string;
|
|
1469
|
-
} | null;
|
|
1470
|
-
createdOn: string;
|
|
1471
|
-
updatedOn: string | null;
|
|
1472
1721
|
isUnacceptedRoot: boolean;
|
|
1722
|
+
genreOnlyTracksCount?: number | undefined;
|
|
1723
|
+
genreAndSubgenresTracksCount?: {
|
|
1724
|
+
canonical: number;
|
|
1725
|
+
regional: number;
|
|
1726
|
+
all: number;
|
|
1727
|
+
} | {
|
|
1728
|
+
all: number;
|
|
1729
|
+
} | undefined;
|
|
1730
|
+
catalogue?: ({
|
|
1731
|
+
genreOnlyTracksCount: number;
|
|
1732
|
+
genreAndSubgenresTracksCount: {
|
|
1733
|
+
canonical: number;
|
|
1734
|
+
regional: number;
|
|
1735
|
+
all: number;
|
|
1736
|
+
} | {
|
|
1737
|
+
all: number;
|
|
1738
|
+
};
|
|
1739
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1473
1740
|
viewsCount?: number | undefined;
|
|
1474
1741
|
isUmbrella?: boolean | undefined;
|
|
1475
1742
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1486,10 +1753,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1486
1753
|
results: {
|
|
1487
1754
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1488
1755
|
name: string;
|
|
1756
|
+
createdOn: string;
|
|
1757
|
+
updatedOn: string | null;
|
|
1489
1758
|
root: {
|
|
1490
1759
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1491
1760
|
name: string;
|
|
1492
1761
|
};
|
|
1762
|
+
parent: {
|
|
1763
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1764
|
+
name: string;
|
|
1765
|
+
} | null;
|
|
1493
1766
|
tracksCount: number;
|
|
1494
1767
|
criteria: {
|
|
1495
1768
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1497,13 +1770,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1497
1770
|
side?: "pop" | "core" | null | undefined;
|
|
1498
1771
|
wikidataId?: string | null | undefined;
|
|
1499
1772
|
} | null;
|
|
1500
|
-
parent: {
|
|
1501
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1502
|
-
name: string;
|
|
1503
|
-
} | null;
|
|
1504
|
-
createdOn: string;
|
|
1505
|
-
updatedOn: string | null;
|
|
1506
1773
|
isUnacceptedRoot: boolean;
|
|
1774
|
+
genreOnlyTracksCount?: number | undefined;
|
|
1775
|
+
genreAndSubgenresTracksCount?: {
|
|
1776
|
+
canonical: number;
|
|
1777
|
+
regional: number;
|
|
1778
|
+
all: number;
|
|
1779
|
+
} | {
|
|
1780
|
+
all: number;
|
|
1781
|
+
} | undefined;
|
|
1782
|
+
catalogue?: ({
|
|
1783
|
+
genreOnlyTracksCount: number;
|
|
1784
|
+
genreAndSubgenresTracksCount: {
|
|
1785
|
+
canonical: number;
|
|
1786
|
+
regional: number;
|
|
1787
|
+
all: number;
|
|
1788
|
+
} | {
|
|
1789
|
+
all: number;
|
|
1790
|
+
};
|
|
1791
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1507
1792
|
viewsCount?: number | undefined;
|
|
1508
1793
|
isUmbrella?: boolean | undefined;
|
|
1509
1794
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1521,10 +1806,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1521
1806
|
results: {
|
|
1522
1807
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1523
1808
|
name: string;
|
|
1809
|
+
createdOn: string;
|
|
1810
|
+
updatedOn: string | null;
|
|
1524
1811
|
root: {
|
|
1525
1812
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1526
1813
|
name: string;
|
|
1527
1814
|
};
|
|
1815
|
+
parent: {
|
|
1816
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1817
|
+
name: string;
|
|
1818
|
+
} | null;
|
|
1528
1819
|
tracksCount: number;
|
|
1529
1820
|
criteria: {
|
|
1530
1821
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1532,13 +1823,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1532
1823
|
side?: "pop" | "core" | null | undefined;
|
|
1533
1824
|
wikidataId?: string | null | undefined;
|
|
1534
1825
|
} | null;
|
|
1535
|
-
parent: {
|
|
1536
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1537
|
-
name: string;
|
|
1538
|
-
} | null;
|
|
1539
|
-
createdOn: string;
|
|
1540
|
-
updatedOn: string | null;
|
|
1541
1826
|
isUnacceptedRoot: boolean;
|
|
1827
|
+
genreOnlyTracksCount?: number | undefined;
|
|
1828
|
+
genreAndSubgenresTracksCount?: {
|
|
1829
|
+
canonical: number;
|
|
1830
|
+
regional: number;
|
|
1831
|
+
all: number;
|
|
1832
|
+
} | {
|
|
1833
|
+
all: number;
|
|
1834
|
+
} | undefined;
|
|
1835
|
+
catalogue?: ({
|
|
1836
|
+
genreOnlyTracksCount: number;
|
|
1837
|
+
genreAndSubgenresTracksCount: {
|
|
1838
|
+
canonical: number;
|
|
1839
|
+
regional: number;
|
|
1840
|
+
all: number;
|
|
1841
|
+
} | {
|
|
1842
|
+
all: number;
|
|
1843
|
+
};
|
|
1844
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1542
1845
|
viewsCount?: number | undefined;
|
|
1543
1846
|
isUmbrella?: boolean | undefined;
|
|
1544
1847
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1576,10 +1879,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1576
1879
|
results: {
|
|
1577
1880
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1578
1881
|
name: string;
|
|
1882
|
+
createdOn: string;
|
|
1883
|
+
updatedOn: string | null;
|
|
1579
1884
|
root: {
|
|
1580
1885
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1581
1886
|
name: string;
|
|
1582
1887
|
};
|
|
1888
|
+
parent: {
|
|
1889
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1890
|
+
name: string;
|
|
1891
|
+
} | null;
|
|
1583
1892
|
tracksCount: number;
|
|
1584
1893
|
criteria: {
|
|
1585
1894
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1587,13 +1896,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1587
1896
|
side?: "pop" | "core" | null | undefined;
|
|
1588
1897
|
wikidataId?: string | null | undefined;
|
|
1589
1898
|
} | null;
|
|
1590
|
-
parent: {
|
|
1591
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1592
|
-
name: string;
|
|
1593
|
-
} | null;
|
|
1594
|
-
createdOn: string;
|
|
1595
|
-
updatedOn: string | null;
|
|
1596
1899
|
isUnacceptedRoot: boolean;
|
|
1900
|
+
genreOnlyTracksCount?: number | undefined;
|
|
1901
|
+
genreAndSubgenresTracksCount?: {
|
|
1902
|
+
canonical: number;
|
|
1903
|
+
regional: number;
|
|
1904
|
+
all: number;
|
|
1905
|
+
} | {
|
|
1906
|
+
all: number;
|
|
1907
|
+
} | undefined;
|
|
1908
|
+
catalogue?: ({
|
|
1909
|
+
genreOnlyTracksCount: number;
|
|
1910
|
+
genreAndSubgenresTracksCount: {
|
|
1911
|
+
canonical: number;
|
|
1912
|
+
regional: number;
|
|
1913
|
+
all: number;
|
|
1914
|
+
} | {
|
|
1915
|
+
all: number;
|
|
1916
|
+
};
|
|
1917
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1597
1918
|
viewsCount?: number | undefined;
|
|
1598
1919
|
isUmbrella?: boolean | undefined;
|
|
1599
1920
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1610,10 +1931,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1610
1931
|
results: {
|
|
1611
1932
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1612
1933
|
name: string;
|
|
1934
|
+
createdOn: string;
|
|
1935
|
+
updatedOn: string | null;
|
|
1613
1936
|
root: {
|
|
1614
1937
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1615
1938
|
name: string;
|
|
1616
1939
|
};
|
|
1940
|
+
parent: {
|
|
1941
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1942
|
+
name: string;
|
|
1943
|
+
} | null;
|
|
1617
1944
|
tracksCount: number;
|
|
1618
1945
|
criteria: {
|
|
1619
1946
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1621,13 +1948,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1621
1948
|
side?: "pop" | "core" | null | undefined;
|
|
1622
1949
|
wikidataId?: string | null | undefined;
|
|
1623
1950
|
} | null;
|
|
1624
|
-
parent: {
|
|
1625
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1626
|
-
name: string;
|
|
1627
|
-
} | null;
|
|
1628
|
-
createdOn: string;
|
|
1629
|
-
updatedOn: string | null;
|
|
1630
1951
|
isUnacceptedRoot: boolean;
|
|
1952
|
+
genreOnlyTracksCount?: number | undefined;
|
|
1953
|
+
genreAndSubgenresTracksCount?: {
|
|
1954
|
+
canonical: number;
|
|
1955
|
+
regional: number;
|
|
1956
|
+
all: number;
|
|
1957
|
+
} | {
|
|
1958
|
+
all: number;
|
|
1959
|
+
} | undefined;
|
|
1960
|
+
catalogue?: ({
|
|
1961
|
+
genreOnlyTracksCount: number;
|
|
1962
|
+
genreAndSubgenresTracksCount: {
|
|
1963
|
+
canonical: number;
|
|
1964
|
+
regional: number;
|
|
1965
|
+
all: number;
|
|
1966
|
+
} | {
|
|
1967
|
+
all: number;
|
|
1968
|
+
};
|
|
1969
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1631
1970
|
viewsCount?: number | undefined;
|
|
1632
1971
|
isUmbrella?: boolean | undefined;
|
|
1633
1972
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1668,10 +2007,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1668
2007
|
results: {
|
|
1669
2008
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1670
2009
|
name: string;
|
|
2010
|
+
createdOn: string;
|
|
2011
|
+
updatedOn: string | null;
|
|
1671
2012
|
root: {
|
|
1672
2013
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1673
2014
|
name: string;
|
|
1674
2015
|
};
|
|
2016
|
+
parent: {
|
|
2017
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2018
|
+
name: string;
|
|
2019
|
+
} | null;
|
|
1675
2020
|
tracksCount: number;
|
|
1676
2021
|
criteria: {
|
|
1677
2022
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1679,13 +2024,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1679
2024
|
side?: "pop" | "core" | null | undefined;
|
|
1680
2025
|
wikidataId?: string | null | undefined;
|
|
1681
2026
|
} | null;
|
|
1682
|
-
parent: {
|
|
1683
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1684
|
-
name: string;
|
|
1685
|
-
} | null;
|
|
1686
|
-
createdOn: string;
|
|
1687
|
-
updatedOn: string | null;
|
|
1688
2027
|
isUnacceptedRoot: boolean;
|
|
2028
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2029
|
+
genreAndSubgenresTracksCount?: {
|
|
2030
|
+
canonical: number;
|
|
2031
|
+
regional: number;
|
|
2032
|
+
all: number;
|
|
2033
|
+
} | {
|
|
2034
|
+
all: number;
|
|
2035
|
+
} | undefined;
|
|
2036
|
+
catalogue?: ({
|
|
2037
|
+
genreOnlyTracksCount: number;
|
|
2038
|
+
genreAndSubgenresTracksCount: {
|
|
2039
|
+
canonical: number;
|
|
2040
|
+
regional: number;
|
|
2041
|
+
all: number;
|
|
2042
|
+
} | {
|
|
2043
|
+
all: number;
|
|
2044
|
+
};
|
|
2045
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1689
2046
|
viewsCount?: number | undefined;
|
|
1690
2047
|
isUmbrella?: boolean | undefined;
|
|
1691
2048
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1702,10 +2059,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1702
2059
|
results: {
|
|
1703
2060
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1704
2061
|
name: string;
|
|
2062
|
+
createdOn: string;
|
|
2063
|
+
updatedOn: string | null;
|
|
1705
2064
|
root: {
|
|
1706
2065
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1707
2066
|
name: string;
|
|
1708
2067
|
};
|
|
2068
|
+
parent: {
|
|
2069
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2070
|
+
name: string;
|
|
2071
|
+
} | null;
|
|
1709
2072
|
tracksCount: number;
|
|
1710
2073
|
criteria: {
|
|
1711
2074
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1713,13 +2076,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1713
2076
|
side?: "pop" | "core" | null | undefined;
|
|
1714
2077
|
wikidataId?: string | null | undefined;
|
|
1715
2078
|
} | null;
|
|
1716
|
-
parent: {
|
|
1717
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1718
|
-
name: string;
|
|
1719
|
-
} | null;
|
|
1720
|
-
createdOn: string;
|
|
1721
|
-
updatedOn: string | null;
|
|
1722
2079
|
isUnacceptedRoot: boolean;
|
|
2080
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2081
|
+
genreAndSubgenresTracksCount?: {
|
|
2082
|
+
canonical: number;
|
|
2083
|
+
regional: number;
|
|
2084
|
+
all: number;
|
|
2085
|
+
} | {
|
|
2086
|
+
all: number;
|
|
2087
|
+
} | undefined;
|
|
2088
|
+
catalogue?: ({
|
|
2089
|
+
genreOnlyTracksCount: number;
|
|
2090
|
+
genreAndSubgenresTracksCount: {
|
|
2091
|
+
canonical: number;
|
|
2092
|
+
regional: number;
|
|
2093
|
+
all: number;
|
|
2094
|
+
} | {
|
|
2095
|
+
all: number;
|
|
2096
|
+
};
|
|
2097
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1723
2098
|
viewsCount?: number | undefined;
|
|
1724
2099
|
isUmbrella?: boolean | undefined;
|
|
1725
2100
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1760,10 +2135,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1760
2135
|
results: {
|
|
1761
2136
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1762
2137
|
name: string;
|
|
2138
|
+
createdOn: string;
|
|
2139
|
+
updatedOn: string | null;
|
|
1763
2140
|
root: {
|
|
1764
2141
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1765
2142
|
name: string;
|
|
1766
2143
|
};
|
|
2144
|
+
parent: {
|
|
2145
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2146
|
+
name: string;
|
|
2147
|
+
} | null;
|
|
1767
2148
|
tracksCount: number;
|
|
1768
2149
|
criteria: {
|
|
1769
2150
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1771,13 +2152,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1771
2152
|
side?: "pop" | "core" | null | undefined;
|
|
1772
2153
|
wikidataId?: string | null | undefined;
|
|
1773
2154
|
} | null;
|
|
1774
|
-
parent: {
|
|
1775
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1776
|
-
name: string;
|
|
1777
|
-
} | null;
|
|
1778
|
-
createdOn: string;
|
|
1779
|
-
updatedOn: string | null;
|
|
1780
2155
|
isUnacceptedRoot: boolean;
|
|
2156
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2157
|
+
genreAndSubgenresTracksCount?: {
|
|
2158
|
+
canonical: number;
|
|
2159
|
+
regional: number;
|
|
2160
|
+
all: number;
|
|
2161
|
+
} | {
|
|
2162
|
+
all: number;
|
|
2163
|
+
} | undefined;
|
|
2164
|
+
catalogue?: ({
|
|
2165
|
+
genreOnlyTracksCount: number;
|
|
2166
|
+
genreAndSubgenresTracksCount: {
|
|
2167
|
+
canonical: number;
|
|
2168
|
+
regional: number;
|
|
2169
|
+
all: number;
|
|
2170
|
+
} | {
|
|
2171
|
+
all: number;
|
|
2172
|
+
};
|
|
2173
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1781
2174
|
viewsCount?: number | undefined;
|
|
1782
2175
|
isUmbrella?: boolean | undefined;
|
|
1783
2176
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1794,10 +2187,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1794
2187
|
results: {
|
|
1795
2188
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1796
2189
|
name: string;
|
|
2190
|
+
createdOn: string;
|
|
2191
|
+
updatedOn: string | null;
|
|
1797
2192
|
root: {
|
|
1798
2193
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1799
2194
|
name: string;
|
|
1800
2195
|
};
|
|
2196
|
+
parent: {
|
|
2197
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2198
|
+
name: string;
|
|
2199
|
+
} | null;
|
|
1801
2200
|
tracksCount: number;
|
|
1802
2201
|
criteria: {
|
|
1803
2202
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1805,13 +2204,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1805
2204
|
side?: "pop" | "core" | null | undefined;
|
|
1806
2205
|
wikidataId?: string | null | undefined;
|
|
1807
2206
|
} | null;
|
|
1808
|
-
parent: {
|
|
1809
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1810
|
-
name: string;
|
|
1811
|
-
} | null;
|
|
1812
|
-
createdOn: string;
|
|
1813
|
-
updatedOn: string | null;
|
|
1814
2207
|
isUnacceptedRoot: boolean;
|
|
2208
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2209
|
+
genreAndSubgenresTracksCount?: {
|
|
2210
|
+
canonical: number;
|
|
2211
|
+
regional: number;
|
|
2212
|
+
all: number;
|
|
2213
|
+
} | {
|
|
2214
|
+
all: number;
|
|
2215
|
+
} | undefined;
|
|
2216
|
+
catalogue?: ({
|
|
2217
|
+
genreOnlyTracksCount: number;
|
|
2218
|
+
genreAndSubgenresTracksCount: {
|
|
2219
|
+
canonical: number;
|
|
2220
|
+
regional: number;
|
|
2221
|
+
all: number;
|
|
2222
|
+
} | {
|
|
2223
|
+
all: number;
|
|
2224
|
+
};
|
|
2225
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1815
2226
|
viewsCount?: number | undefined;
|
|
1816
2227
|
isUmbrella?: boolean | undefined;
|
|
1817
2228
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1852,10 +2263,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1852
2263
|
results: {
|
|
1853
2264
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1854
2265
|
name: string;
|
|
2266
|
+
createdOn: string;
|
|
2267
|
+
updatedOn: string | null;
|
|
1855
2268
|
root: {
|
|
1856
2269
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1857
2270
|
name: string;
|
|
1858
2271
|
};
|
|
2272
|
+
parent: {
|
|
2273
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2274
|
+
name: string;
|
|
2275
|
+
} | null;
|
|
1859
2276
|
tracksCount: number;
|
|
1860
2277
|
criteria: {
|
|
1861
2278
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1863,13 +2280,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1863
2280
|
side?: "pop" | "core" | null | undefined;
|
|
1864
2281
|
wikidataId?: string | null | undefined;
|
|
1865
2282
|
} | null;
|
|
1866
|
-
parent: {
|
|
1867
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1868
|
-
name: string;
|
|
1869
|
-
} | null;
|
|
1870
|
-
createdOn: string;
|
|
1871
|
-
updatedOn: string | null;
|
|
1872
2283
|
isUnacceptedRoot: boolean;
|
|
2284
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2285
|
+
genreAndSubgenresTracksCount?: {
|
|
2286
|
+
canonical: number;
|
|
2287
|
+
regional: number;
|
|
2288
|
+
all: number;
|
|
2289
|
+
} | {
|
|
2290
|
+
all: number;
|
|
2291
|
+
} | undefined;
|
|
2292
|
+
catalogue?: ({
|
|
2293
|
+
genreOnlyTracksCount: number;
|
|
2294
|
+
genreAndSubgenresTracksCount: {
|
|
2295
|
+
canonical: number;
|
|
2296
|
+
regional: number;
|
|
2297
|
+
all: number;
|
|
2298
|
+
} | {
|
|
2299
|
+
all: number;
|
|
2300
|
+
};
|
|
2301
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1873
2302
|
viewsCount?: number | undefined;
|
|
1874
2303
|
isUmbrella?: boolean | undefined;
|
|
1875
2304
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1886,10 +2315,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1886
2315
|
results: {
|
|
1887
2316
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1888
2317
|
name: string;
|
|
2318
|
+
createdOn: string;
|
|
2319
|
+
updatedOn: string | null;
|
|
1889
2320
|
root: {
|
|
1890
2321
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1891
2322
|
name: string;
|
|
1892
2323
|
};
|
|
2324
|
+
parent: {
|
|
2325
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2326
|
+
name: string;
|
|
2327
|
+
} | null;
|
|
1893
2328
|
tracksCount: number;
|
|
1894
2329
|
criteria: {
|
|
1895
2330
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1897,13 +2332,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1897
2332
|
side?: "pop" | "core" | null | undefined;
|
|
1898
2333
|
wikidataId?: string | null | undefined;
|
|
1899
2334
|
} | null;
|
|
1900
|
-
parent: {
|
|
1901
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1902
|
-
name: string;
|
|
1903
|
-
} | null;
|
|
1904
|
-
createdOn: string;
|
|
1905
|
-
updatedOn: string | null;
|
|
1906
2335
|
isUnacceptedRoot: boolean;
|
|
2336
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2337
|
+
genreAndSubgenresTracksCount?: {
|
|
2338
|
+
canonical: number;
|
|
2339
|
+
regional: number;
|
|
2340
|
+
all: number;
|
|
2341
|
+
} | {
|
|
2342
|
+
all: number;
|
|
2343
|
+
} | undefined;
|
|
2344
|
+
catalogue?: ({
|
|
2345
|
+
genreOnlyTracksCount: number;
|
|
2346
|
+
genreAndSubgenresTracksCount: {
|
|
2347
|
+
canonical: number;
|
|
2348
|
+
regional: number;
|
|
2349
|
+
all: number;
|
|
2350
|
+
} | {
|
|
2351
|
+
all: number;
|
|
2352
|
+
};
|
|
2353
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1907
2354
|
viewsCount?: number | undefined;
|
|
1908
2355
|
isUmbrella?: boolean | undefined;
|
|
1909
2356
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1921,10 +2368,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1921
2368
|
results: {
|
|
1922
2369
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1923
2370
|
name: string;
|
|
2371
|
+
createdOn: string;
|
|
2372
|
+
updatedOn: string | null;
|
|
1924
2373
|
root: {
|
|
1925
2374
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1926
2375
|
name: string;
|
|
1927
2376
|
};
|
|
2377
|
+
parent: {
|
|
2378
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2379
|
+
name: string;
|
|
2380
|
+
} | null;
|
|
1928
2381
|
tracksCount: number;
|
|
1929
2382
|
criteria: {
|
|
1930
2383
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1932,13 +2385,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1932
2385
|
side?: "pop" | "core" | null | undefined;
|
|
1933
2386
|
wikidataId?: string | null | undefined;
|
|
1934
2387
|
} | null;
|
|
1935
|
-
parent: {
|
|
1936
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1937
|
-
name: string;
|
|
1938
|
-
} | null;
|
|
1939
|
-
createdOn: string;
|
|
1940
|
-
updatedOn: string | null;
|
|
1941
2388
|
isUnacceptedRoot: boolean;
|
|
2389
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2390
|
+
genreAndSubgenresTracksCount?: {
|
|
2391
|
+
canonical: number;
|
|
2392
|
+
regional: number;
|
|
2393
|
+
all: number;
|
|
2394
|
+
} | {
|
|
2395
|
+
all: number;
|
|
2396
|
+
} | undefined;
|
|
2397
|
+
catalogue?: ({
|
|
2398
|
+
genreOnlyTracksCount: number;
|
|
2399
|
+
genreAndSubgenresTracksCount: {
|
|
2400
|
+
canonical: number;
|
|
2401
|
+
regional: number;
|
|
2402
|
+
all: number;
|
|
2403
|
+
} | {
|
|
2404
|
+
all: number;
|
|
2405
|
+
};
|
|
2406
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1942
2407
|
viewsCount?: number | undefined;
|
|
1943
2408
|
isUmbrella?: boolean | undefined;
|
|
1944
2409
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -1976,10 +2441,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1976
2441
|
results: {
|
|
1977
2442
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1978
2443
|
name: string;
|
|
2444
|
+
createdOn: string;
|
|
2445
|
+
updatedOn: string | null;
|
|
1979
2446
|
root: {
|
|
1980
2447
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1981
2448
|
name: string;
|
|
1982
2449
|
};
|
|
2450
|
+
parent: {
|
|
2451
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2452
|
+
name: string;
|
|
2453
|
+
} | null;
|
|
1983
2454
|
tracksCount: number;
|
|
1984
2455
|
criteria: {
|
|
1985
2456
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -1987,13 +2458,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1987
2458
|
side?: "pop" | "core" | null | undefined;
|
|
1988
2459
|
wikidataId?: string | null | undefined;
|
|
1989
2460
|
} | null;
|
|
1990
|
-
parent: {
|
|
1991
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
1992
|
-
name: string;
|
|
1993
|
-
} | null;
|
|
1994
|
-
createdOn: string;
|
|
1995
|
-
updatedOn: string | null;
|
|
1996
2461
|
isUnacceptedRoot: boolean;
|
|
2462
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2463
|
+
genreAndSubgenresTracksCount?: {
|
|
2464
|
+
canonical: number;
|
|
2465
|
+
regional: number;
|
|
2466
|
+
all: number;
|
|
2467
|
+
} | {
|
|
2468
|
+
all: number;
|
|
2469
|
+
} | undefined;
|
|
2470
|
+
catalogue?: ({
|
|
2471
|
+
genreOnlyTracksCount: number;
|
|
2472
|
+
genreAndSubgenresTracksCount: {
|
|
2473
|
+
canonical: number;
|
|
2474
|
+
regional: number;
|
|
2475
|
+
all: number;
|
|
2476
|
+
} | {
|
|
2477
|
+
all: number;
|
|
2478
|
+
};
|
|
2479
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
1997
2480
|
viewsCount?: number | undefined;
|
|
1998
2481
|
isUmbrella?: boolean | undefined;
|
|
1999
2482
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2010,10 +2493,16 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2010
2493
|
results: {
|
|
2011
2494
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2012
2495
|
name: string;
|
|
2496
|
+
createdOn: string;
|
|
2497
|
+
updatedOn: string | null;
|
|
2013
2498
|
root: {
|
|
2014
2499
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2015
2500
|
name: string;
|
|
2016
2501
|
};
|
|
2502
|
+
parent: {
|
|
2503
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2504
|
+
name: string;
|
|
2505
|
+
} | null;
|
|
2017
2506
|
tracksCount: number;
|
|
2018
2507
|
criteria: {
|
|
2019
2508
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2021,13 +2510,25 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2021
2510
|
side?: "pop" | "core" | null | undefined;
|
|
2022
2511
|
wikidataId?: string | null | undefined;
|
|
2023
2512
|
} | null;
|
|
2024
|
-
parent: {
|
|
2025
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2026
|
-
name: string;
|
|
2027
|
-
} | null;
|
|
2028
|
-
createdOn: string;
|
|
2029
|
-
updatedOn: string | null;
|
|
2030
2513
|
isUnacceptedRoot: boolean;
|
|
2514
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2515
|
+
genreAndSubgenresTracksCount?: {
|
|
2516
|
+
canonical: number;
|
|
2517
|
+
regional: number;
|
|
2518
|
+
all: number;
|
|
2519
|
+
} | {
|
|
2520
|
+
all: number;
|
|
2521
|
+
} | undefined;
|
|
2522
|
+
catalogue?: ({
|
|
2523
|
+
genreOnlyTracksCount: number;
|
|
2524
|
+
genreAndSubgenresTracksCount: {
|
|
2525
|
+
canonical: number;
|
|
2526
|
+
regional: number;
|
|
2527
|
+
all: number;
|
|
2528
|
+
} | {
|
|
2529
|
+
all: number;
|
|
2530
|
+
};
|
|
2531
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2031
2532
|
viewsCount?: number | undefined;
|
|
2032
2533
|
isUmbrella?: boolean | undefined;
|
|
2033
2534
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2042,10 +2543,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2042
2543
|
data: NoInfer<{
|
|
2043
2544
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2044
2545
|
name: string;
|
|
2546
|
+
createdOn: string;
|
|
2547
|
+
updatedOn: string | null;
|
|
2045
2548
|
root: {
|
|
2046
2549
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2047
2550
|
name: string;
|
|
2048
2551
|
};
|
|
2552
|
+
parent: {
|
|
2553
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2554
|
+
name: string;
|
|
2555
|
+
} | null;
|
|
2049
2556
|
tracksCount: number;
|
|
2050
2557
|
criteria: {
|
|
2051
2558
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2053,13 +2560,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2053
2560
|
side?: "pop" | "core" | null | undefined;
|
|
2054
2561
|
wikidataId?: string | null | undefined;
|
|
2055
2562
|
} | null;
|
|
2056
|
-
parent: {
|
|
2057
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2058
|
-
name: string;
|
|
2059
|
-
} | null;
|
|
2060
|
-
createdOn: string;
|
|
2061
|
-
updatedOn: string | null;
|
|
2062
2563
|
isUnacceptedRoot: boolean;
|
|
2564
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2565
|
+
genreAndSubgenresTracksCount?: {
|
|
2566
|
+
canonical: number;
|
|
2567
|
+
regional: number;
|
|
2568
|
+
all: number;
|
|
2569
|
+
} | {
|
|
2570
|
+
all: number;
|
|
2571
|
+
} | undefined;
|
|
2572
|
+
catalogue?: ({
|
|
2573
|
+
genreOnlyTracksCount: number;
|
|
2574
|
+
genreAndSubgenresTracksCount: {
|
|
2575
|
+
canonical: number;
|
|
2576
|
+
regional: number;
|
|
2577
|
+
all: number;
|
|
2578
|
+
} | {
|
|
2579
|
+
all: number;
|
|
2580
|
+
};
|
|
2581
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2063
2582
|
viewsCount?: number | undefined;
|
|
2064
2583
|
isUmbrella?: boolean | undefined;
|
|
2065
2584
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2089,10 +2608,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2089
2608
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
2090
2609
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2091
2610
|
name: string;
|
|
2611
|
+
createdOn: string;
|
|
2612
|
+
updatedOn: string | null;
|
|
2092
2613
|
root: {
|
|
2093
2614
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2094
2615
|
name: string;
|
|
2095
2616
|
};
|
|
2617
|
+
parent: {
|
|
2618
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2619
|
+
name: string;
|
|
2620
|
+
} | null;
|
|
2096
2621
|
tracksCount: number;
|
|
2097
2622
|
criteria: {
|
|
2098
2623
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2100,13 +2625,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2100
2625
|
side?: "pop" | "core" | null | undefined;
|
|
2101
2626
|
wikidataId?: string | null | undefined;
|
|
2102
2627
|
} | null;
|
|
2103
|
-
parent: {
|
|
2104
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2105
|
-
name: string;
|
|
2106
|
-
} | null;
|
|
2107
|
-
createdOn: string;
|
|
2108
|
-
updatedOn: string | null;
|
|
2109
2628
|
isUnacceptedRoot: boolean;
|
|
2629
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2630
|
+
genreAndSubgenresTracksCount?: {
|
|
2631
|
+
canonical: number;
|
|
2632
|
+
regional: number;
|
|
2633
|
+
all: number;
|
|
2634
|
+
} | {
|
|
2635
|
+
all: number;
|
|
2636
|
+
} | undefined;
|
|
2637
|
+
catalogue?: ({
|
|
2638
|
+
genreOnlyTracksCount: number;
|
|
2639
|
+
genreAndSubgenresTracksCount: {
|
|
2640
|
+
canonical: number;
|
|
2641
|
+
regional: number;
|
|
2642
|
+
all: number;
|
|
2643
|
+
} | {
|
|
2644
|
+
all: number;
|
|
2645
|
+
};
|
|
2646
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2110
2647
|
viewsCount?: number | undefined;
|
|
2111
2648
|
isUmbrella?: boolean | undefined;
|
|
2112
2649
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2115,10 +2652,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2115
2652
|
promise: Promise<NoInfer<{
|
|
2116
2653
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2117
2654
|
name: string;
|
|
2655
|
+
createdOn: string;
|
|
2656
|
+
updatedOn: string | null;
|
|
2118
2657
|
root: {
|
|
2119
2658
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2120
2659
|
name: string;
|
|
2121
2660
|
};
|
|
2661
|
+
parent: {
|
|
2662
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2663
|
+
name: string;
|
|
2664
|
+
} | null;
|
|
2122
2665
|
tracksCount: number;
|
|
2123
2666
|
criteria: {
|
|
2124
2667
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2126,13 +2669,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2126
2669
|
side?: "pop" | "core" | null | undefined;
|
|
2127
2670
|
wikidataId?: string | null | undefined;
|
|
2128
2671
|
} | null;
|
|
2129
|
-
parent: {
|
|
2130
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2131
|
-
name: string;
|
|
2132
|
-
} | null;
|
|
2133
|
-
createdOn: string;
|
|
2134
|
-
updatedOn: string | null;
|
|
2135
2672
|
isUnacceptedRoot: boolean;
|
|
2673
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2674
|
+
genreAndSubgenresTracksCount?: {
|
|
2675
|
+
canonical: number;
|
|
2676
|
+
regional: number;
|
|
2677
|
+
all: number;
|
|
2678
|
+
} | {
|
|
2679
|
+
all: number;
|
|
2680
|
+
} | undefined;
|
|
2681
|
+
catalogue?: ({
|
|
2682
|
+
genreOnlyTracksCount: number;
|
|
2683
|
+
genreAndSubgenresTracksCount: {
|
|
2684
|
+
canonical: number;
|
|
2685
|
+
regional: number;
|
|
2686
|
+
all: number;
|
|
2687
|
+
} | {
|
|
2688
|
+
all: number;
|
|
2689
|
+
};
|
|
2690
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2136
2691
|
viewsCount?: number | undefined;
|
|
2137
2692
|
isUmbrella?: boolean | undefined;
|
|
2138
2693
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2142,10 +2697,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2142
2697
|
data: NoInfer<{
|
|
2143
2698
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2144
2699
|
name: string;
|
|
2700
|
+
createdOn: string;
|
|
2701
|
+
updatedOn: string | null;
|
|
2145
2702
|
root: {
|
|
2146
2703
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2147
2704
|
name: string;
|
|
2148
2705
|
};
|
|
2706
|
+
parent: {
|
|
2707
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2708
|
+
name: string;
|
|
2709
|
+
} | null;
|
|
2149
2710
|
tracksCount: number;
|
|
2150
2711
|
criteria: {
|
|
2151
2712
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2153,13 +2714,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2153
2714
|
side?: "pop" | "core" | null | undefined;
|
|
2154
2715
|
wikidataId?: string | null | undefined;
|
|
2155
2716
|
} | null;
|
|
2156
|
-
parent: {
|
|
2157
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2158
|
-
name: string;
|
|
2159
|
-
} | null;
|
|
2160
|
-
createdOn: string;
|
|
2161
|
-
updatedOn: string | null;
|
|
2162
2717
|
isUnacceptedRoot: boolean;
|
|
2718
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2719
|
+
genreAndSubgenresTracksCount?: {
|
|
2720
|
+
canonical: number;
|
|
2721
|
+
regional: number;
|
|
2722
|
+
all: number;
|
|
2723
|
+
} | {
|
|
2724
|
+
all: number;
|
|
2725
|
+
} | undefined;
|
|
2726
|
+
catalogue?: ({
|
|
2727
|
+
genreOnlyTracksCount: number;
|
|
2728
|
+
genreAndSubgenresTracksCount: {
|
|
2729
|
+
canonical: number;
|
|
2730
|
+
regional: number;
|
|
2731
|
+
all: number;
|
|
2732
|
+
} | {
|
|
2733
|
+
all: number;
|
|
2734
|
+
};
|
|
2735
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2163
2736
|
viewsCount?: number | undefined;
|
|
2164
2737
|
isUmbrella?: boolean | undefined;
|
|
2165
2738
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2189,10 +2762,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2189
2762
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
2190
2763
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2191
2764
|
name: string;
|
|
2765
|
+
createdOn: string;
|
|
2766
|
+
updatedOn: string | null;
|
|
2192
2767
|
root: {
|
|
2193
2768
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2194
2769
|
name: string;
|
|
2195
2770
|
};
|
|
2771
|
+
parent: {
|
|
2772
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2773
|
+
name: string;
|
|
2774
|
+
} | null;
|
|
2196
2775
|
tracksCount: number;
|
|
2197
2776
|
criteria: {
|
|
2198
2777
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2200,13 +2779,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2200
2779
|
side?: "pop" | "core" | null | undefined;
|
|
2201
2780
|
wikidataId?: string | null | undefined;
|
|
2202
2781
|
} | null;
|
|
2203
|
-
parent: {
|
|
2204
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2205
|
-
name: string;
|
|
2206
|
-
} | null;
|
|
2207
|
-
createdOn: string;
|
|
2208
|
-
updatedOn: string | null;
|
|
2209
2782
|
isUnacceptedRoot: boolean;
|
|
2783
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2784
|
+
genreAndSubgenresTracksCount?: {
|
|
2785
|
+
canonical: number;
|
|
2786
|
+
regional: number;
|
|
2787
|
+
all: number;
|
|
2788
|
+
} | {
|
|
2789
|
+
all: number;
|
|
2790
|
+
} | undefined;
|
|
2791
|
+
catalogue?: ({
|
|
2792
|
+
genreOnlyTracksCount: number;
|
|
2793
|
+
genreAndSubgenresTracksCount: {
|
|
2794
|
+
canonical: number;
|
|
2795
|
+
regional: number;
|
|
2796
|
+
all: number;
|
|
2797
|
+
} | {
|
|
2798
|
+
all: number;
|
|
2799
|
+
};
|
|
2800
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2210
2801
|
viewsCount?: number | undefined;
|
|
2211
2802
|
isUmbrella?: boolean | undefined;
|
|
2212
2803
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2215,10 +2806,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2215
2806
|
promise: Promise<NoInfer<{
|
|
2216
2807
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2217
2808
|
name: string;
|
|
2809
|
+
createdOn: string;
|
|
2810
|
+
updatedOn: string | null;
|
|
2218
2811
|
root: {
|
|
2219
2812
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2220
2813
|
name: string;
|
|
2221
2814
|
};
|
|
2815
|
+
parent: {
|
|
2816
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2817
|
+
name: string;
|
|
2818
|
+
} | null;
|
|
2222
2819
|
tracksCount: number;
|
|
2223
2820
|
criteria: {
|
|
2224
2821
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2226,13 +2823,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2226
2823
|
side?: "pop" | "core" | null | undefined;
|
|
2227
2824
|
wikidataId?: string | null | undefined;
|
|
2228
2825
|
} | null;
|
|
2229
|
-
parent: {
|
|
2230
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2231
|
-
name: string;
|
|
2232
|
-
} | null;
|
|
2233
|
-
createdOn: string;
|
|
2234
|
-
updatedOn: string | null;
|
|
2235
2826
|
isUnacceptedRoot: boolean;
|
|
2827
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2828
|
+
genreAndSubgenresTracksCount?: {
|
|
2829
|
+
canonical: number;
|
|
2830
|
+
regional: number;
|
|
2831
|
+
all: number;
|
|
2832
|
+
} | {
|
|
2833
|
+
all: number;
|
|
2834
|
+
} | undefined;
|
|
2835
|
+
catalogue?: ({
|
|
2836
|
+
genreOnlyTracksCount: number;
|
|
2837
|
+
genreAndSubgenresTracksCount: {
|
|
2838
|
+
canonical: number;
|
|
2839
|
+
regional: number;
|
|
2840
|
+
all: number;
|
|
2841
|
+
} | {
|
|
2842
|
+
all: number;
|
|
2843
|
+
};
|
|
2844
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2236
2845
|
viewsCount?: number | undefined;
|
|
2237
2846
|
isUmbrella?: boolean | undefined;
|
|
2238
2847
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2265,10 +2874,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2265
2874
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
2266
2875
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2267
2876
|
name: string;
|
|
2877
|
+
createdOn: string;
|
|
2878
|
+
updatedOn: string | null;
|
|
2268
2879
|
root: {
|
|
2269
2880
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2270
2881
|
name: string;
|
|
2271
2882
|
};
|
|
2883
|
+
parent: {
|
|
2884
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2885
|
+
name: string;
|
|
2886
|
+
} | null;
|
|
2272
2887
|
tracksCount: number;
|
|
2273
2888
|
criteria: {
|
|
2274
2889
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2276,13 +2891,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2276
2891
|
side?: "pop" | "core" | null | undefined;
|
|
2277
2892
|
wikidataId?: string | null | undefined;
|
|
2278
2893
|
} | null;
|
|
2279
|
-
parent: {
|
|
2280
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2281
|
-
name: string;
|
|
2282
|
-
} | null;
|
|
2283
|
-
createdOn: string;
|
|
2284
|
-
updatedOn: string | null;
|
|
2285
2894
|
isUnacceptedRoot: boolean;
|
|
2895
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2896
|
+
genreAndSubgenresTracksCount?: {
|
|
2897
|
+
canonical: number;
|
|
2898
|
+
regional: number;
|
|
2899
|
+
all: number;
|
|
2900
|
+
} | {
|
|
2901
|
+
all: number;
|
|
2902
|
+
} | undefined;
|
|
2903
|
+
catalogue?: ({
|
|
2904
|
+
genreOnlyTracksCount: number;
|
|
2905
|
+
genreAndSubgenresTracksCount: {
|
|
2906
|
+
canonical: number;
|
|
2907
|
+
regional: number;
|
|
2908
|
+
all: number;
|
|
2909
|
+
} | {
|
|
2910
|
+
all: number;
|
|
2911
|
+
};
|
|
2912
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2286
2913
|
viewsCount?: number | undefined;
|
|
2287
2914
|
isUmbrella?: boolean | undefined;
|
|
2288
2915
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2291,10 +2918,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2291
2918
|
promise: Promise<NoInfer<{
|
|
2292
2919
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2293
2920
|
name: string;
|
|
2921
|
+
createdOn: string;
|
|
2922
|
+
updatedOn: string | null;
|
|
2294
2923
|
root: {
|
|
2295
2924
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2296
2925
|
name: string;
|
|
2297
2926
|
};
|
|
2927
|
+
parent: {
|
|
2928
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2929
|
+
name: string;
|
|
2930
|
+
} | null;
|
|
2298
2931
|
tracksCount: number;
|
|
2299
2932
|
criteria: {
|
|
2300
2933
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2302,13 +2935,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2302
2935
|
side?: "pop" | "core" | null | undefined;
|
|
2303
2936
|
wikidataId?: string | null | undefined;
|
|
2304
2937
|
} | null;
|
|
2305
|
-
parent: {
|
|
2306
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2307
|
-
name: string;
|
|
2308
|
-
} | null;
|
|
2309
|
-
createdOn: string;
|
|
2310
|
-
updatedOn: string | null;
|
|
2311
2938
|
isUnacceptedRoot: boolean;
|
|
2939
|
+
genreOnlyTracksCount?: number | undefined;
|
|
2940
|
+
genreAndSubgenresTracksCount?: {
|
|
2941
|
+
canonical: number;
|
|
2942
|
+
regional: number;
|
|
2943
|
+
all: number;
|
|
2944
|
+
} | {
|
|
2945
|
+
all: number;
|
|
2946
|
+
} | undefined;
|
|
2947
|
+
catalogue?: ({
|
|
2948
|
+
genreOnlyTracksCount: number;
|
|
2949
|
+
genreAndSubgenresTracksCount: {
|
|
2950
|
+
canonical: number;
|
|
2951
|
+
regional: number;
|
|
2952
|
+
all: number;
|
|
2953
|
+
} | {
|
|
2954
|
+
all: number;
|
|
2955
|
+
};
|
|
2956
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2312
2957
|
viewsCount?: number | undefined;
|
|
2313
2958
|
isUmbrella?: boolean | undefined;
|
|
2314
2959
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2341,10 +2986,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2341
2986
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
2342
2987
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2343
2988
|
name: string;
|
|
2989
|
+
createdOn: string;
|
|
2990
|
+
updatedOn: string | null;
|
|
2344
2991
|
root: {
|
|
2345
2992
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2346
2993
|
name: string;
|
|
2347
2994
|
};
|
|
2995
|
+
parent: {
|
|
2996
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2997
|
+
name: string;
|
|
2998
|
+
} | null;
|
|
2348
2999
|
tracksCount: number;
|
|
2349
3000
|
criteria: {
|
|
2350
3001
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2352,13 +3003,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2352
3003
|
side?: "pop" | "core" | null | undefined;
|
|
2353
3004
|
wikidataId?: string | null | undefined;
|
|
2354
3005
|
} | null;
|
|
2355
|
-
parent: {
|
|
2356
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2357
|
-
name: string;
|
|
2358
|
-
} | null;
|
|
2359
|
-
createdOn: string;
|
|
2360
|
-
updatedOn: string | null;
|
|
2361
3006
|
isUnacceptedRoot: boolean;
|
|
3007
|
+
genreOnlyTracksCount?: number | undefined;
|
|
3008
|
+
genreAndSubgenresTracksCount?: {
|
|
3009
|
+
canonical: number;
|
|
3010
|
+
regional: number;
|
|
3011
|
+
all: number;
|
|
3012
|
+
} | {
|
|
3013
|
+
all: number;
|
|
3014
|
+
} | undefined;
|
|
3015
|
+
catalogue?: ({
|
|
3016
|
+
genreOnlyTracksCount: number;
|
|
3017
|
+
genreAndSubgenresTracksCount: {
|
|
3018
|
+
canonical: number;
|
|
3019
|
+
regional: number;
|
|
3020
|
+
all: number;
|
|
3021
|
+
} | {
|
|
3022
|
+
all: number;
|
|
3023
|
+
};
|
|
3024
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2362
3025
|
viewsCount?: number | undefined;
|
|
2363
3026
|
isUmbrella?: boolean | undefined;
|
|
2364
3027
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2367,10 +3030,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2367
3030
|
promise: Promise<NoInfer<{
|
|
2368
3031
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2369
3032
|
name: string;
|
|
3033
|
+
createdOn: string;
|
|
3034
|
+
updatedOn: string | null;
|
|
2370
3035
|
root: {
|
|
2371
3036
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2372
3037
|
name: string;
|
|
2373
3038
|
};
|
|
3039
|
+
parent: {
|
|
3040
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
3041
|
+
name: string;
|
|
3042
|
+
} | null;
|
|
2374
3043
|
tracksCount: number;
|
|
2375
3044
|
criteria: {
|
|
2376
3045
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2378,13 +3047,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2378
3047
|
side?: "pop" | "core" | null | undefined;
|
|
2379
3048
|
wikidataId?: string | null | undefined;
|
|
2380
3049
|
} | null;
|
|
2381
|
-
parent: {
|
|
2382
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2383
|
-
name: string;
|
|
2384
|
-
} | null;
|
|
2385
|
-
createdOn: string;
|
|
2386
|
-
updatedOn: string | null;
|
|
2387
3050
|
isUnacceptedRoot: boolean;
|
|
3051
|
+
genreOnlyTracksCount?: number | undefined;
|
|
3052
|
+
genreAndSubgenresTracksCount?: {
|
|
3053
|
+
canonical: number;
|
|
3054
|
+
regional: number;
|
|
3055
|
+
all: number;
|
|
3056
|
+
} | {
|
|
3057
|
+
all: number;
|
|
3058
|
+
} | undefined;
|
|
3059
|
+
catalogue?: ({
|
|
3060
|
+
genreOnlyTracksCount: number;
|
|
3061
|
+
genreAndSubgenresTracksCount: {
|
|
3062
|
+
canonical: number;
|
|
3063
|
+
regional: number;
|
|
3064
|
+
all: number;
|
|
3065
|
+
} | {
|
|
3066
|
+
all: number;
|
|
3067
|
+
};
|
|
3068
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2388
3069
|
viewsCount?: number | undefined;
|
|
2389
3070
|
isUmbrella?: boolean | undefined;
|
|
2390
3071
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2417,10 +3098,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2417
3098
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
2418
3099
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2419
3100
|
name: string;
|
|
3101
|
+
createdOn: string;
|
|
3102
|
+
updatedOn: string | null;
|
|
2420
3103
|
root: {
|
|
2421
3104
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2422
3105
|
name: string;
|
|
2423
3106
|
};
|
|
3107
|
+
parent: {
|
|
3108
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
3109
|
+
name: string;
|
|
3110
|
+
} | null;
|
|
2424
3111
|
tracksCount: number;
|
|
2425
3112
|
criteria: {
|
|
2426
3113
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2428,13 +3115,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2428
3115
|
side?: "pop" | "core" | null | undefined;
|
|
2429
3116
|
wikidataId?: string | null | undefined;
|
|
2430
3117
|
} | null;
|
|
2431
|
-
parent: {
|
|
2432
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2433
|
-
name: string;
|
|
2434
|
-
} | null;
|
|
2435
|
-
createdOn: string;
|
|
2436
|
-
updatedOn: string | null;
|
|
2437
3118
|
isUnacceptedRoot: boolean;
|
|
3119
|
+
genreOnlyTracksCount?: number | undefined;
|
|
3120
|
+
genreAndSubgenresTracksCount?: {
|
|
3121
|
+
canonical: number;
|
|
3122
|
+
regional: number;
|
|
3123
|
+
all: number;
|
|
3124
|
+
} | {
|
|
3125
|
+
all: number;
|
|
3126
|
+
} | undefined;
|
|
3127
|
+
catalogue?: ({
|
|
3128
|
+
genreOnlyTracksCount: number;
|
|
3129
|
+
genreAndSubgenresTracksCount: {
|
|
3130
|
+
canonical: number;
|
|
3131
|
+
regional: number;
|
|
3132
|
+
all: number;
|
|
3133
|
+
} | {
|
|
3134
|
+
all: number;
|
|
3135
|
+
};
|
|
3136
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2438
3137
|
viewsCount?: number | undefined;
|
|
2439
3138
|
isUmbrella?: boolean | undefined;
|
|
2440
3139
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2443,10 +3142,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2443
3142
|
promise: Promise<NoInfer<{
|
|
2444
3143
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2445
3144
|
name: string;
|
|
3145
|
+
createdOn: string;
|
|
3146
|
+
updatedOn: string | null;
|
|
2446
3147
|
root: {
|
|
2447
3148
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2448
3149
|
name: string;
|
|
2449
3150
|
};
|
|
3151
|
+
parent: {
|
|
3152
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
3153
|
+
name: string;
|
|
3154
|
+
} | null;
|
|
2450
3155
|
tracksCount: number;
|
|
2451
3156
|
criteria: {
|
|
2452
3157
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2454,13 +3159,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2454
3159
|
side?: "pop" | "core" | null | undefined;
|
|
2455
3160
|
wikidataId?: string | null | undefined;
|
|
2456
3161
|
} | null;
|
|
2457
|
-
parent: {
|
|
2458
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2459
|
-
name: string;
|
|
2460
|
-
} | null;
|
|
2461
|
-
createdOn: string;
|
|
2462
|
-
updatedOn: string | null;
|
|
2463
3162
|
isUnacceptedRoot: boolean;
|
|
3163
|
+
genreOnlyTracksCount?: number | undefined;
|
|
3164
|
+
genreAndSubgenresTracksCount?: {
|
|
3165
|
+
canonical: number;
|
|
3166
|
+
regional: number;
|
|
3167
|
+
all: number;
|
|
3168
|
+
} | {
|
|
3169
|
+
all: number;
|
|
3170
|
+
} | undefined;
|
|
3171
|
+
catalogue?: ({
|
|
3172
|
+
genreOnlyTracksCount: number;
|
|
3173
|
+
genreAndSubgenresTracksCount: {
|
|
3174
|
+
canonical: number;
|
|
3175
|
+
regional: number;
|
|
3176
|
+
all: number;
|
|
3177
|
+
} | {
|
|
3178
|
+
all: number;
|
|
3179
|
+
};
|
|
3180
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2464
3181
|
viewsCount?: number | undefined;
|
|
2465
3182
|
isUmbrella?: boolean | undefined;
|
|
2466
3183
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2470,10 +3187,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2470
3187
|
data: NoInfer<{
|
|
2471
3188
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2472
3189
|
name: string;
|
|
3190
|
+
createdOn: string;
|
|
3191
|
+
updatedOn: string | null;
|
|
2473
3192
|
root: {
|
|
2474
3193
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2475
3194
|
name: string;
|
|
2476
3195
|
};
|
|
3196
|
+
parent: {
|
|
3197
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
3198
|
+
name: string;
|
|
3199
|
+
} | null;
|
|
2477
3200
|
tracksCount: number;
|
|
2478
3201
|
criteria: {
|
|
2479
3202
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2481,13 +3204,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2481
3204
|
side?: "pop" | "core" | null | undefined;
|
|
2482
3205
|
wikidataId?: string | null | undefined;
|
|
2483
3206
|
} | null;
|
|
2484
|
-
parent: {
|
|
2485
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2486
|
-
name: string;
|
|
2487
|
-
} | null;
|
|
2488
|
-
createdOn: string;
|
|
2489
|
-
updatedOn: string | null;
|
|
2490
3207
|
isUnacceptedRoot: boolean;
|
|
3208
|
+
genreOnlyTracksCount?: number | undefined;
|
|
3209
|
+
genreAndSubgenresTracksCount?: {
|
|
3210
|
+
canonical: number;
|
|
3211
|
+
regional: number;
|
|
3212
|
+
all: number;
|
|
3213
|
+
} | {
|
|
3214
|
+
all: number;
|
|
3215
|
+
} | undefined;
|
|
3216
|
+
catalogue?: ({
|
|
3217
|
+
genreOnlyTracksCount: number;
|
|
3218
|
+
genreAndSubgenresTracksCount: {
|
|
3219
|
+
canonical: number;
|
|
3220
|
+
regional: number;
|
|
3221
|
+
all: number;
|
|
3222
|
+
} | {
|
|
3223
|
+
all: number;
|
|
3224
|
+
};
|
|
3225
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2491
3226
|
viewsCount?: number | undefined;
|
|
2492
3227
|
isUmbrella?: boolean | undefined;
|
|
2493
3228
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2517,10 +3252,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2517
3252
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
2518
3253
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2519
3254
|
name: string;
|
|
3255
|
+
createdOn: string;
|
|
3256
|
+
updatedOn: string | null;
|
|
2520
3257
|
root: {
|
|
2521
3258
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2522
3259
|
name: string;
|
|
2523
3260
|
};
|
|
3261
|
+
parent: {
|
|
3262
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
3263
|
+
name: string;
|
|
3264
|
+
} | null;
|
|
2524
3265
|
tracksCount: number;
|
|
2525
3266
|
criteria: {
|
|
2526
3267
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2528,13 +3269,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2528
3269
|
side?: "pop" | "core" | null | undefined;
|
|
2529
3270
|
wikidataId?: string | null | undefined;
|
|
2530
3271
|
} | null;
|
|
2531
|
-
parent: {
|
|
2532
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2533
|
-
name: string;
|
|
2534
|
-
} | null;
|
|
2535
|
-
createdOn: string;
|
|
2536
|
-
updatedOn: string | null;
|
|
2537
3272
|
isUnacceptedRoot: boolean;
|
|
3273
|
+
genreOnlyTracksCount?: number | undefined;
|
|
3274
|
+
genreAndSubgenresTracksCount?: {
|
|
3275
|
+
canonical: number;
|
|
3276
|
+
regional: number;
|
|
3277
|
+
all: number;
|
|
3278
|
+
} | {
|
|
3279
|
+
all: number;
|
|
3280
|
+
} | undefined;
|
|
3281
|
+
catalogue?: ({
|
|
3282
|
+
genreOnlyTracksCount: number;
|
|
3283
|
+
genreAndSubgenresTracksCount: {
|
|
3284
|
+
canonical: number;
|
|
3285
|
+
regional: number;
|
|
3286
|
+
all: number;
|
|
3287
|
+
} | {
|
|
3288
|
+
all: number;
|
|
3289
|
+
};
|
|
3290
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2538
3291
|
viewsCount?: number | undefined;
|
|
2539
3292
|
isUmbrella?: boolean | undefined;
|
|
2540
3293
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2543,10 +3296,16 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2543
3296
|
promise: Promise<NoInfer<{
|
|
2544
3297
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2545
3298
|
name: string;
|
|
3299
|
+
createdOn: string;
|
|
3300
|
+
updatedOn: string | null;
|
|
2546
3301
|
root: {
|
|
2547
3302
|
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2548
3303
|
name: string;
|
|
2549
3304
|
};
|
|
3305
|
+
parent: {
|
|
3306
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
3307
|
+
name: string;
|
|
3308
|
+
} | null;
|
|
2550
3309
|
tracksCount: number;
|
|
2551
3310
|
criteria: {
|
|
2552
3311
|
uuid: string & z.core.$brand<"GenreUuid">;
|
|
@@ -2554,13 +3313,25 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2554
3313
|
side?: "pop" | "core" | null | undefined;
|
|
2555
3314
|
wikidataId?: string | null | undefined;
|
|
2556
3315
|
} | null;
|
|
2557
|
-
parent: {
|
|
2558
|
-
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2559
|
-
name: string;
|
|
2560
|
-
} | null;
|
|
2561
|
-
createdOn: string;
|
|
2562
|
-
updatedOn: string | null;
|
|
2563
3316
|
isUnacceptedRoot: boolean;
|
|
3317
|
+
genreOnlyTracksCount?: number | undefined;
|
|
3318
|
+
genreAndSubgenresTracksCount?: {
|
|
3319
|
+
canonical: number;
|
|
3320
|
+
regional: number;
|
|
3321
|
+
all: number;
|
|
3322
|
+
} | {
|
|
3323
|
+
all: number;
|
|
3324
|
+
} | undefined;
|
|
3325
|
+
catalogue?: ({
|
|
3326
|
+
genreOnlyTracksCount: number;
|
|
3327
|
+
genreAndSubgenresTracksCount: {
|
|
3328
|
+
canonical: number;
|
|
3329
|
+
regional: number;
|
|
3330
|
+
all: number;
|
|
3331
|
+
} | {
|
|
3332
|
+
all: number;
|
|
3333
|
+
};
|
|
3334
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
2564
3335
|
viewsCount?: number | undefined;
|
|
2565
3336
|
isUmbrella?: boolean | undefined;
|
|
2566
3337
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -2951,18 +3722,60 @@ declare function useSongSearch(getBackendBaseUrl: () => string, text: string, op
|
|
|
2951
3722
|
|
|
2952
3723
|
/** The artist's footprint on the canonical tree (sparse: non-zero genre playlists only). Idle while `artistUuid` is null. */
|
|
2953
3724
|
declare function useArtistGenreCounts(artistUuid: string | null, getBackendBaseUrl: () => string): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
3725
|
+
catalogue: {
|
|
3726
|
+
genreOnlyTracksCount: number;
|
|
3727
|
+
genreAndSubgenresTracksCount: {
|
|
3728
|
+
canonical: number;
|
|
3729
|
+
regional: number;
|
|
3730
|
+
all: number;
|
|
3731
|
+
} | {
|
|
3732
|
+
all: number;
|
|
3733
|
+
};
|
|
3734
|
+
} & z.core.$brand<"GenreCatalogueCounts">;
|
|
2954
3735
|
genrePlaylist: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
2955
3736
|
songsCount: number;
|
|
2956
3737
|
tracksCount: number;
|
|
3738
|
+
genreOnlyTracksCount: number;
|
|
3739
|
+
genreAndSubgenresTracksCount: {
|
|
3740
|
+
canonical: number;
|
|
3741
|
+
regional: number;
|
|
3742
|
+
all: number;
|
|
3743
|
+
} | {
|
|
3744
|
+
all: number;
|
|
3745
|
+
};
|
|
2957
3746
|
}[]>, Error>;
|
|
2958
3747
|
|
|
2959
3748
|
declare const CriteriaPlaylistSimpleSchema: z.ZodObject<{
|
|
2960
3749
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
2961
3750
|
name: z.ZodString;
|
|
3751
|
+
genreOnlyTracksCount: z.ZodOptional<z.ZodNumber>;
|
|
3752
|
+
genreAndSubgenresTracksCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3753
|
+
canonical: z.ZodNumber;
|
|
3754
|
+
regional: z.ZodNumber;
|
|
3755
|
+
all: z.ZodNumber;
|
|
3756
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3757
|
+
all: z.ZodNumber;
|
|
3758
|
+
}, z.core.$strict>]>>;
|
|
3759
|
+
createdOn: z.ZodString;
|
|
3760
|
+
updatedOn: z.ZodNullable<z.ZodString>;
|
|
2962
3761
|
root: z.ZodObject<{
|
|
2963
3762
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
2964
3763
|
name: z.ZodString;
|
|
2965
3764
|
}, z.core.$strip>;
|
|
3765
|
+
parent: z.ZodNullable<z.ZodObject<{
|
|
3766
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
3767
|
+
name: z.ZodString;
|
|
3768
|
+
}, z.core.$strip>>;
|
|
3769
|
+
catalogue: z.ZodOptional<z.core.$ZodBranded<z.ZodObject<{
|
|
3770
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
3771
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
3772
|
+
canonical: z.ZodNumber;
|
|
3773
|
+
regional: z.ZodNumber;
|
|
3774
|
+
all: z.ZodNumber;
|
|
3775
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3776
|
+
all: z.ZodNumber;
|
|
3777
|
+
}, z.core.$strict>]>;
|
|
3778
|
+
}, z.core.$strip>, "GenreCatalogueCounts", "out">>;
|
|
2966
3779
|
tracksCount: z.ZodNumber;
|
|
2967
3780
|
viewsCount: z.ZodOptional<z.ZodNumber>;
|
|
2968
3781
|
criteria: z.ZodNullable<z.ZodObject<{
|
|
@@ -2974,12 +3787,6 @@ declare const CriteriaPlaylistSimpleSchema: z.ZodObject<{
|
|
|
2974
3787
|
}>>>;
|
|
2975
3788
|
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2976
3789
|
}, z.core.$strip>>;
|
|
2977
|
-
parent: z.ZodNullable<z.ZodObject<{
|
|
2978
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
2979
|
-
name: z.ZodString;
|
|
2980
|
-
}, z.core.$strip>>;
|
|
2981
|
-
createdOn: z.ZodString;
|
|
2982
|
-
updatedOn: z.ZodNullable<z.ZodString>;
|
|
2983
3790
|
isUnacceptedRoot: z.ZodBoolean;
|
|
2984
3791
|
isUmbrella: z.ZodOptional<z.ZodBoolean>;
|
|
2985
3792
|
scene: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -3017,6 +3824,7 @@ type GenreSearchTreeName = z.infer<typeof GenreSearchTreeNameSchema>;
|
|
|
3017
3824
|
declare const GenreSearchResultSchema: z.ZodObject<{
|
|
3018
3825
|
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3019
3826
|
name: z.ZodString;
|
|
3827
|
+
wikidataId: z.ZodNullable<z.ZodString>;
|
|
3020
3828
|
treeName: z.ZodString;
|
|
3021
3829
|
genrePlaylistUuid: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">>;
|
|
3022
3830
|
root: z.ZodObject<{
|
|
@@ -3029,6 +3837,7 @@ declare const GenreSearchResultSchema: z.ZodObject<{
|
|
|
3029
3837
|
declare const GenreSearchResultsSchema: z.ZodArray<z.ZodObject<{
|
|
3030
3838
|
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3031
3839
|
name: z.ZodString;
|
|
3840
|
+
wikidataId: z.ZodNullable<z.ZodString>;
|
|
3032
3841
|
treeName: z.ZodString;
|
|
3033
3842
|
genrePlaylistUuid: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">>;
|
|
3034
3843
|
root: z.ZodObject<{
|
|
@@ -3093,8 +3902,11 @@ interface UseRemoteSearchOptions<TSchema extends z.ZodTypeAny> {
|
|
|
3093
3902
|
text: string;
|
|
3094
3903
|
/** Extra gate besides the minimum length, e.g. playback readiness. */
|
|
3095
3904
|
enabled?: boolean;
|
|
3096
|
-
/**
|
|
3097
|
-
|
|
3905
|
+
/**
|
|
3906
|
+
* Previous results stay visible while the next query loads, but only while this scope is unchanged. Pass what
|
|
3907
|
+
* makes old results wrong for the new query (e.g. the playback key); omit it to always keep them.
|
|
3908
|
+
*/
|
|
3909
|
+
scope?: string;
|
|
3098
3910
|
}
|
|
3099
3911
|
interface UseRemoteSearchResult<T> {
|
|
3100
3912
|
results: T[];
|
|
@@ -3105,7 +3917,7 @@ interface UseRemoteSearchResult<T> {
|
|
|
3105
3917
|
pending: boolean;
|
|
3106
3918
|
}
|
|
3107
3919
|
/** Debounced typeahead against a search endpoint; the shared core of the artist, song and genre searches. */
|
|
3108
|
-
declare function useRemoteSearch<TSchema extends z.ZodType<unknown[]>>(getBackendBaseUrl: () => string, { queryKey, endpoint, params, schema, context, text, enabled: extraEnabled,
|
|
3920
|
+
declare function useRemoteSearch<TSchema extends z.ZodType<unknown[]>>(getBackendBaseUrl: () => string, { queryKey, endpoint, params, schema, context, text, enabled: extraEnabled, scope }: UseRemoteSearchOptions<TSchema>): UseRemoteSearchResult<z.infer<TSchema>[number]>;
|
|
3109
3921
|
|
|
3110
3922
|
interface UseSearchQueryStateOptions {
|
|
3111
3923
|
/** Name of the currently selected item; fills the query whenever it changes. */
|
|
@@ -3209,10 +4021,16 @@ declare function useVisibleGenrePlaylists({ scope, getBackendBaseUrl, artistUuid
|
|
|
3209
4021
|
genrePlaylists: {
|
|
3210
4022
|
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
3211
4023
|
name: string;
|
|
4024
|
+
createdOn: string;
|
|
4025
|
+
updatedOn: string | null;
|
|
3212
4026
|
root: {
|
|
3213
4027
|
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
3214
4028
|
name: string;
|
|
3215
4029
|
};
|
|
4030
|
+
parent: {
|
|
4031
|
+
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
4032
|
+
name: string;
|
|
4033
|
+
} | null;
|
|
3216
4034
|
tracksCount: number;
|
|
3217
4035
|
criteria: {
|
|
3218
4036
|
uuid: string & zod.$brand<"GenreUuid">;
|
|
@@ -3220,19 +4038,103 @@ declare function useVisibleGenrePlaylists({ scope, getBackendBaseUrl, artistUuid
|
|
|
3220
4038
|
side?: "pop" | "core" | null | undefined;
|
|
3221
4039
|
wikidataId?: string | null | undefined;
|
|
3222
4040
|
} | null;
|
|
3223
|
-
parent: {
|
|
3224
|
-
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
3225
|
-
name: string;
|
|
3226
|
-
} | null;
|
|
3227
|
-
createdOn: string;
|
|
3228
|
-
updatedOn: string | null;
|
|
3229
4041
|
isUnacceptedRoot: boolean;
|
|
4042
|
+
genreOnlyTracksCount?: number | undefined;
|
|
4043
|
+
genreAndSubgenresTracksCount?: {
|
|
4044
|
+
canonical: number;
|
|
4045
|
+
regional: number;
|
|
4046
|
+
all: number;
|
|
4047
|
+
} | {
|
|
4048
|
+
all: number;
|
|
4049
|
+
} | undefined;
|
|
4050
|
+
catalogue?: ({
|
|
4051
|
+
genreOnlyTracksCount: number;
|
|
4052
|
+
genreAndSubgenresTracksCount: {
|
|
4053
|
+
canonical: number;
|
|
4054
|
+
regional: number;
|
|
4055
|
+
all: number;
|
|
4056
|
+
} | {
|
|
4057
|
+
all: number;
|
|
4058
|
+
};
|
|
4059
|
+
} & zod.$brand<"GenreCatalogueCounts">) | undefined;
|
|
3230
4060
|
viewsCount?: number | undefined;
|
|
3231
4061
|
isUmbrella?: boolean | undefined;
|
|
3232
4062
|
scene?: "commercial" | "underground" | null | undefined;
|
|
3233
4063
|
}[];
|
|
3234
4064
|
};
|
|
3235
4065
|
|
|
4066
|
+
declare const SubgenreCountsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4067
|
+
canonical: z.ZodNumber;
|
|
4068
|
+
regional: z.ZodNumber;
|
|
4069
|
+
all: z.ZodNumber;
|
|
4070
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4071
|
+
all: z.ZodNumber;
|
|
4072
|
+
}, z.core.$strict>]>;
|
|
4073
|
+
declare const GenreCountsSchema: z.ZodObject<{
|
|
4074
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4075
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4076
|
+
canonical: z.ZodNumber;
|
|
4077
|
+
regional: z.ZodNumber;
|
|
4078
|
+
all: z.ZodNumber;
|
|
4079
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4080
|
+
all: z.ZodNumber;
|
|
4081
|
+
}, z.core.$strict>]>;
|
|
4082
|
+
}, z.core.$strip>;
|
|
4083
|
+
declare const GenreCatalogueCountsSchema: z.core.$ZodBranded<z.ZodObject<{
|
|
4084
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4085
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4086
|
+
canonical: z.ZodNumber;
|
|
4087
|
+
regional: z.ZodNumber;
|
|
4088
|
+
all: z.ZodNumber;
|
|
4089
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4090
|
+
all: z.ZodNumber;
|
|
4091
|
+
}, z.core.$strict>]>;
|
|
4092
|
+
}, z.core.$strip>, "GenreCatalogueCounts", "out">;
|
|
4093
|
+
declare const GenrePlaylistSummarySchema: z.core.$ZodBranded<z.ZodObject<{
|
|
4094
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
4095
|
+
name: z.ZodString;
|
|
4096
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4097
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4098
|
+
canonical: z.ZodNumber;
|
|
4099
|
+
regional: z.ZodNumber;
|
|
4100
|
+
all: z.ZodNumber;
|
|
4101
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4102
|
+
all: z.ZodNumber;
|
|
4103
|
+
}, z.core.$strict>]>;
|
|
4104
|
+
}, z.core.$strip>, "GenrePlaylistSummary", "out">;
|
|
4105
|
+
declare const GenreCoverageSchema: z.ZodEnum<{
|
|
4106
|
+
genreOnly: "genreOnly";
|
|
4107
|
+
genreAndSubgenres: "genreAndSubgenres";
|
|
4108
|
+
}>;
|
|
4109
|
+
declare const SubgenreScopeSchema: z.ZodEnum<{
|
|
4110
|
+
all: "all";
|
|
4111
|
+
canonical: "canonical";
|
|
4112
|
+
regional: "regional";
|
|
4113
|
+
}>;
|
|
4114
|
+
type GenreCatalogueCounts = z.infer<typeof GenreCatalogueCountsSchema>;
|
|
4115
|
+
type GenrePlaylistSummary = z.infer<typeof GenrePlaylistSummarySchema>;
|
|
4116
|
+
type GenreCoverage = z.infer<typeof GenreCoverageSchema>;
|
|
4117
|
+
type SubgenreScope = z.infer<typeof SubgenreScopeSchema>;
|
|
4118
|
+
|
|
4119
|
+
type GenreMusicSelection = {
|
|
4120
|
+
coverage: "genreOnly";
|
|
4121
|
+
subgenres?: never;
|
|
4122
|
+
} | {
|
|
4123
|
+
coverage: "genreAndSubgenres";
|
|
4124
|
+
subgenres: SubgenreScope;
|
|
4125
|
+
};
|
|
4126
|
+
type GenreMusicCounts = Pick<GenreCatalogueCounts, "genreOnlyTracksCount" | "genreAndSubgenresTracksCount">;
|
|
4127
|
+
declare function defaultGenreMusicSelection(counts: GenreMusicCounts): GenreMusicSelection;
|
|
4128
|
+
declare function genreMusicCount(counts: GenreMusicCounts, selection?: GenreMusicSelection): number;
|
|
4129
|
+
declare function genreMusicQueryParams(selection?: GenreMusicSelection): Record<string, string>;
|
|
4130
|
+
declare function genreMusicSelectionKey(selection?: GenreMusicSelection): readonly string[];
|
|
4131
|
+
/** Personal playlists keep their existing count contract; reference parsers require explicit counts. */
|
|
4132
|
+
declare function genrePlaylistTrackCount(playlist: {
|
|
4133
|
+
tracksCount: number;
|
|
4134
|
+
genreOnlyTracksCount?: number;
|
|
4135
|
+
genreAndSubgenresTracksCount?: GenreMusicCounts["genreAndSubgenresTracksCount"];
|
|
4136
|
+
}): number;
|
|
4137
|
+
|
|
3236
4138
|
declare const CriteriaPlaylistMinimumSchema: z.ZodObject<{
|
|
3237
4139
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
3238
4140
|
name: z.ZodString;
|
|
@@ -3242,17 +4144,10 @@ type CriteriaPlaylistMinimum = z.infer<typeof CriteriaPlaylistMinimumSchema>;
|
|
|
3242
4144
|
declare enum TrackListOriginType {
|
|
3243
4145
|
TRACK = "TRACK",
|
|
3244
4146
|
GENRE_PLAYLIST = "GENRE_PLAYLIST",
|
|
4147
|
+
GENRE_CATALOGUE = "GENRE_CATALOGUE",
|
|
3245
4148
|
ARTIST = "ARTIST"
|
|
3246
4149
|
}
|
|
3247
4150
|
|
|
3248
|
-
/**
|
|
3249
|
-
* Trimmed from grow-the-music-tree-frontend's original `TrackListOrigin.ts`: dropped
|
|
3250
|
-
* `TrackListOriginFromPlaylist` (Spotify-library playlist origin, backed by a `PlaylistDetailed`
|
|
3251
|
-
* schema that's part of grow's separate Spotify-library feature, out of scope for this package).
|
|
3252
|
-
* Kept origins: a single track, a genre playlist, and an artist (their playable songs,
|
|
3253
|
-
* paged through `playNewTrackListFromArtist`).
|
|
3254
|
-
*/
|
|
3255
|
-
|
|
3256
4151
|
declare class TrackListOrigin {
|
|
3257
4152
|
type: TrackListOriginType;
|
|
3258
4153
|
label: string;
|
|
@@ -3267,8 +4162,10 @@ declare class TrackListOriginFromTrack<T extends TrackBase = TrackBase> extends
|
|
|
3267
4162
|
declare class TrackListOriginFromCriteriaPlaylist extends TrackListOrigin {
|
|
3268
4163
|
criteriaPlaylist: CriteriaPlaylistMinimum;
|
|
3269
4164
|
from?: string | undefined;
|
|
4165
|
+
selection?: GenreMusicSelection | undefined;
|
|
4166
|
+
artistUuid?: string | undefined;
|
|
3270
4167
|
/** `from`: the track the list starts at (server-side `?from=`), kept so later pages use it too. */
|
|
3271
|
-
constructor(criteriaPlaylist: CriteriaPlaylistMinimum, scope: Scope, from?: string | undefined);
|
|
4168
|
+
constructor(criteriaPlaylist: CriteriaPlaylistMinimum, scope: Scope, from?: string | undefined, selection?: GenreMusicSelection | undefined, artistUuid?: string | undefined);
|
|
3272
4169
|
}
|
|
3273
4170
|
type ArtistSongsOrdering = "title" | "-title" | "albumYear" | "-albumYear";
|
|
3274
4171
|
type ArtistTrackListOriginInput = {
|
|
@@ -3281,10 +4178,25 @@ declare class TrackListOriginFromArtist extends TrackListOrigin {
|
|
|
3281
4178
|
from?: string | undefined;
|
|
3282
4179
|
/** Narrows the artist's songs to this genre's subtree. */
|
|
3283
4180
|
genreUuid?: GenreUuid | undefined;
|
|
4181
|
+
selection?: GenreMusicSelection | undefined;
|
|
3284
4182
|
/** `ordering`/`from`: kept so later pages use the same order and start track. */
|
|
3285
4183
|
constructor(artist: ArtistTrackListOriginInput, scope: Scope, ordering: ArtistSongsOrdering, from?: string | undefined,
|
|
3286
4184
|
/** Narrows the artist's songs to this genre's subtree. */
|
|
3287
|
-
genreUuid?: GenreUuid | undefined);
|
|
4185
|
+
genreUuid?: GenreUuid | undefined, selection?: GenreMusicSelection | undefined);
|
|
4186
|
+
}
|
|
4187
|
+
declare class TrackListOriginFromGenreCatalogue extends TrackListOrigin {
|
|
4188
|
+
genre: {
|
|
4189
|
+
uuid: GenreUuid;
|
|
4190
|
+
name: string;
|
|
4191
|
+
};
|
|
4192
|
+
from?: string | undefined;
|
|
4193
|
+
selection?: GenreMusicSelection | undefined;
|
|
4194
|
+
constructor(genre: {
|
|
4195
|
+
uuid: GenreUuid;
|
|
4196
|
+
name: string;
|
|
4197
|
+
}, scope: Scope, from?: string | undefined, selection?: GenreMusicSelection | undefined);
|
|
4198
|
+
readonly ordering = "title";
|
|
4199
|
+
get genreUuid(): string & zod.$brand<"GenreUuid">;
|
|
3288
4200
|
}
|
|
3289
4201
|
|
|
3290
4202
|
declare class TrackList<T extends TrackBase = TrackBase> {
|
|
@@ -3332,11 +4244,14 @@ type GenrePlaylistTracksPage<T> = {
|
|
|
3332
4244
|
};
|
|
3333
4245
|
type PlayGenrePlaylistOptions = {
|
|
3334
4246
|
startSongUuid?: string;
|
|
4247
|
+
selection?: GenreMusicSelection;
|
|
4248
|
+
artistUuid?: string;
|
|
3335
4249
|
};
|
|
3336
4250
|
type PlayArtistOptions = {
|
|
3337
4251
|
ordering: ArtistSongsOrdering;
|
|
3338
4252
|
startSongUuid?: string;
|
|
3339
4253
|
genreUuid?: GenreUuid;
|
|
4254
|
+
selection?: GenreMusicSelection;
|
|
3340
4255
|
};
|
|
3341
4256
|
interface TrackListContextType<T extends TrackBase> {
|
|
3342
4257
|
trackList: TrackList<T> | null;
|
|
@@ -3366,8 +4281,16 @@ interface TrackListContextType<T extends TrackBase> {
|
|
|
3366
4281
|
* Rejects on fetch/parse failure, or when the artist's playable songs don't contain it.
|
|
3367
4282
|
*/
|
|
3368
4283
|
playNewTrackListFromArtist: (artist: ArtistTrackListOriginInput, scope: Scope, options: PlayArtistOptions) => Promise<void>;
|
|
4284
|
+
/** Plays the selected genre's catalogue, independently of playlist membership. */
|
|
4285
|
+
playNewTrackListFromGenreCatalogue: (genre: {
|
|
4286
|
+
uuid: GenreUuid;
|
|
4287
|
+
name: string;
|
|
4288
|
+
}, scope: Scope, options?: {
|
|
4289
|
+
startSongUuid?: string;
|
|
4290
|
+
selection?: GenreMusicSelection;
|
|
4291
|
+
}) => Promise<void>;
|
|
3369
4292
|
/** One page of a genre playlist's tracks, parsed with the provider's track schema; `from` starts the list at that track. */
|
|
3370
|
-
fetchGenrePlaylistTracksPage: (uuid: GenrePlaylistUuid, scope: Scope, page: number, from?: string) => Promise<GenrePlaylistTracksPage<T>>;
|
|
4293
|
+
fetchGenrePlaylistTracksPage: (uuid: GenrePlaylistUuid, scope: Scope, page: number, from?: string, selection?: GenreMusicSelection, artistUuid?: string) => Promise<GenrePlaylistTracksPage<T>>;
|
|
3371
4294
|
/** Appends the next tracks page of the current genre-playlist or artist list; no-op when fully loaded or already loading. */
|
|
3372
4295
|
loadMore: () => Promise<void>;
|
|
3373
4296
|
/**
|
|
@@ -3423,9 +4346,27 @@ type UuidResource = z.infer<typeof UuidResourceSchema>;
|
|
|
3423
4346
|
|
|
3424
4347
|
/** One non-zero node of an artist's footprint on the canonical genre tree. */
|
|
3425
4348
|
declare const ArtistGenreCountSchema: z.ZodObject<{
|
|
4349
|
+
catalogue: z.core.$ZodBranded<z.ZodObject<{
|
|
4350
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4351
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4352
|
+
canonical: z.ZodNumber;
|
|
4353
|
+
regional: z.ZodNumber;
|
|
4354
|
+
all: z.ZodNumber;
|
|
4355
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4356
|
+
all: z.ZodNumber;
|
|
4357
|
+
}, z.core.$strict>]>;
|
|
4358
|
+
}, z.core.$strip>, "GenreCatalogueCounts", "out">;
|
|
3426
4359
|
genrePlaylist: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
3427
4360
|
songsCount: z.ZodNumber;
|
|
3428
4361
|
tracksCount: z.ZodNumber;
|
|
4362
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4363
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4364
|
+
canonical: z.ZodNumber;
|
|
4365
|
+
regional: z.ZodNumber;
|
|
4366
|
+
all: z.ZodNumber;
|
|
4367
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4368
|
+
all: z.ZodNumber;
|
|
4369
|
+
}, z.core.$strict>]>;
|
|
3429
4370
|
}, z.core.$strip>;
|
|
3430
4371
|
type ArtistGenreCount = z.infer<typeof ArtistGenreCountSchema>;
|
|
3431
4372
|
|
|
@@ -3541,6 +4482,24 @@ declare const CriteriaPlaylistDetailedSchema: z.ZodObject<{
|
|
|
3541
4482
|
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
3542
4483
|
name: z.ZodString;
|
|
3543
4484
|
tracksCount: z.ZodNumber;
|
|
4485
|
+
genreOnlyTracksCount: z.ZodOptional<z.ZodNumber>;
|
|
4486
|
+
genreAndSubgenresTracksCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4487
|
+
canonical: z.ZodNumber;
|
|
4488
|
+
regional: z.ZodNumber;
|
|
4489
|
+
all: z.ZodNumber;
|
|
4490
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4491
|
+
all: z.ZodNumber;
|
|
4492
|
+
}, z.core.$strict>]>>;
|
|
4493
|
+
catalogue: z.ZodOptional<z.core.$ZodBranded<z.ZodObject<{
|
|
4494
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4495
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4496
|
+
canonical: z.ZodNumber;
|
|
4497
|
+
regional: z.ZodNumber;
|
|
4498
|
+
all: z.ZodNumber;
|
|
4499
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4500
|
+
all: z.ZodNumber;
|
|
4501
|
+
}, z.core.$strict>]>;
|
|
4502
|
+
}, z.core.$strip>, "GenreCatalogueCounts", "out">>;
|
|
3544
4503
|
viewsCount: z.ZodOptional<z.ZodNumber>;
|
|
3545
4504
|
durationInSec: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
3546
4505
|
durationStrInHourMinSec: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3704,7 +4663,7 @@ declare const libraryQueryKeys: {
|
|
|
3704
4663
|
genre?: string;
|
|
3705
4664
|
playable?: boolean;
|
|
3706
4665
|
}];
|
|
3707
|
-
byGenre: (baseUrl: string, genreUuid: GenreUuid) => readonly [`${string}Songs`, string, "genre", string & zod.$brand<"GenreUuid"
|
|
4666
|
+
byGenre: (baseUrl: string, genreUuid: GenreUuid, selection?: GenreMusicSelection) => readonly [`${string}Songs`, string, "genre", string & zod.$brand<"GenreUuid">, ...string[]];
|
|
3708
4667
|
};
|
|
3709
4668
|
};
|
|
3710
4669
|
};
|
|
@@ -3728,10 +4687,16 @@ declare const capitalizeFirstLetter: (string: string) => string;
|
|
|
3728
4687
|
declare const getGenrePlaylistsGroupedByRoot: (genrePlaylists: CriteriaPlaylistSimple[]) => Record<string, {
|
|
3729
4688
|
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
3730
4689
|
name: string;
|
|
4690
|
+
createdOn: string;
|
|
4691
|
+
updatedOn: string | null;
|
|
3731
4692
|
root: {
|
|
3732
4693
|
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
3733
4694
|
name: string;
|
|
3734
4695
|
};
|
|
4696
|
+
parent: {
|
|
4697
|
+
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
4698
|
+
name: string;
|
|
4699
|
+
} | null;
|
|
3735
4700
|
tracksCount: number;
|
|
3736
4701
|
criteria: {
|
|
3737
4702
|
uuid: string & zod.$brand<"GenreUuid">;
|
|
@@ -3739,13 +4704,25 @@ declare const getGenrePlaylistsGroupedByRoot: (genrePlaylists: CriteriaPlaylistS
|
|
|
3739
4704
|
side?: "pop" | "core" | null | undefined;
|
|
3740
4705
|
wikidataId?: string | null | undefined;
|
|
3741
4706
|
} | null;
|
|
3742
|
-
parent: {
|
|
3743
|
-
uuid: string & zod.$brand<"GenrePlaylistUuid">;
|
|
3744
|
-
name: string;
|
|
3745
|
-
} | null;
|
|
3746
|
-
createdOn: string;
|
|
3747
|
-
updatedOn: string | null;
|
|
3748
4707
|
isUnacceptedRoot: boolean;
|
|
4708
|
+
genreOnlyTracksCount?: number | undefined;
|
|
4709
|
+
genreAndSubgenresTracksCount?: {
|
|
4710
|
+
canonical: number;
|
|
4711
|
+
regional: number;
|
|
4712
|
+
all: number;
|
|
4713
|
+
} | {
|
|
4714
|
+
all: number;
|
|
4715
|
+
} | undefined;
|
|
4716
|
+
catalogue?: ({
|
|
4717
|
+
genreOnlyTracksCount: number;
|
|
4718
|
+
genreAndSubgenresTracksCount: {
|
|
4719
|
+
canonical: number;
|
|
4720
|
+
regional: number;
|
|
4721
|
+
all: number;
|
|
4722
|
+
} | {
|
|
4723
|
+
all: number;
|
|
4724
|
+
};
|
|
4725
|
+
} & zod.$brand<"GenreCatalogueCounts">) | undefined;
|
|
3749
4726
|
viewsCount?: number | undefined;
|
|
3750
4727
|
isUmbrella?: boolean | undefined;
|
|
3751
4728
|
scene?: "commercial" | "underground" | null | undefined;
|
|
@@ -3800,4 +4777,155 @@ type SongsPage = {
|
|
|
3800
4777
|
*/
|
|
3801
4778
|
declare function editGenreSongPages<P extends SongsPage>(data: InfiniteData<P> | undefined, edit: (tracks: P["tracks"]) => P["tracks"]): InfiniteData<P> | undefined;
|
|
3802
4779
|
|
|
3803
|
-
|
|
4780
|
+
declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
4781
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4782
|
+
name: z.ZodString;
|
|
4783
|
+
summary: z.ZodNullable<z.ZodString>;
|
|
4784
|
+
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4785
|
+
parent: z.ZodNullable<z.ZodObject<{
|
|
4786
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4787
|
+
name: z.ZodString;
|
|
4788
|
+
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4789
|
+
pop: "pop";
|
|
4790
|
+
core: "core";
|
|
4791
|
+
}>>>;
|
|
4792
|
+
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4793
|
+
}, z.core.$strip>>;
|
|
4794
|
+
ascendants: z.ZodArray<z.ZodObject<{
|
|
4795
|
+
ascendant: z.ZodObject<{
|
|
4796
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4797
|
+
name: z.ZodString;
|
|
4798
|
+
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4799
|
+
pop: "pop";
|
|
4800
|
+
core: "core";
|
|
4801
|
+
}>>>;
|
|
4802
|
+
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4803
|
+
}, z.core.$strip>;
|
|
4804
|
+
degree: z.ZodNumber;
|
|
4805
|
+
}, z.core.$strip>>;
|
|
4806
|
+
descendants: z.ZodArray<z.ZodObject<{
|
|
4807
|
+
descendant: z.ZodObject<{
|
|
4808
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4809
|
+
name: z.ZodString;
|
|
4810
|
+
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4811
|
+
pop: "pop";
|
|
4812
|
+
core: "core";
|
|
4813
|
+
}>>>;
|
|
4814
|
+
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4815
|
+
}, z.core.$strip>;
|
|
4816
|
+
degree: z.ZodNumber;
|
|
4817
|
+
}, z.core.$strip>>;
|
|
4818
|
+
root: z.ZodObject<{
|
|
4819
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4820
|
+
name: z.ZodString;
|
|
4821
|
+
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4822
|
+
pop: "pop";
|
|
4823
|
+
core: "core";
|
|
4824
|
+
}>>>;
|
|
4825
|
+
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4826
|
+
}, z.core.$strip>;
|
|
4827
|
+
children: z.ZodArray<z.ZodObject<{
|
|
4828
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4829
|
+
name: z.ZodString;
|
|
4830
|
+
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4831
|
+
pop: "pop";
|
|
4832
|
+
core: "core";
|
|
4833
|
+
}>>>;
|
|
4834
|
+
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4835
|
+
}, z.core.$strip>>;
|
|
4836
|
+
tracks: z.ZodArray<z.ZodObject<{
|
|
4837
|
+
title: z.ZodString;
|
|
4838
|
+
uuid: z.ZodString;
|
|
4839
|
+
artists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4840
|
+
uuid: z.ZodString;
|
|
4841
|
+
name: z.ZodString;
|
|
4842
|
+
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
4843
|
+
}, z.core.$strip>>>>;
|
|
4844
|
+
}, z.core.$strip>>;
|
|
4845
|
+
essentialSongs: z.ZodArray<z.ZodObject<{
|
|
4846
|
+
title: z.ZodString;
|
|
4847
|
+
uuid: z.ZodString;
|
|
4848
|
+
artists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4849
|
+
uuid: z.ZodString;
|
|
4850
|
+
name: z.ZodString;
|
|
4851
|
+
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
4852
|
+
}, z.core.$strip>>>>;
|
|
4853
|
+
}, z.core.$strip>>;
|
|
4854
|
+
tracksCount: z.ZodNumber;
|
|
4855
|
+
updatedOn: z.ZodNullable<z.ZodString>;
|
|
4856
|
+
catalogue: z.core.$ZodBranded<z.ZodObject<{
|
|
4857
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4858
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4859
|
+
canonical: z.ZodNumber;
|
|
4860
|
+
regional: z.ZodNumber;
|
|
4861
|
+
all: z.ZodNumber;
|
|
4862
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4863
|
+
all: z.ZodNumber;
|
|
4864
|
+
}, z.core.$strict>]>;
|
|
4865
|
+
}, z.core.$strip>, "GenreCatalogueCounts", "out">;
|
|
4866
|
+
criteriaPlaylist: z.core.$ZodBranded<z.ZodObject<{
|
|
4867
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
4868
|
+
name: z.ZodString;
|
|
4869
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4870
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4871
|
+
canonical: z.ZodNumber;
|
|
4872
|
+
regional: z.ZodNumber;
|
|
4873
|
+
all: z.ZodNumber;
|
|
4874
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4875
|
+
all: z.ZodNumber;
|
|
4876
|
+
}, z.core.$strict>]>;
|
|
4877
|
+
}, z.core.$strip>, "GenrePlaylistSummary", "out">;
|
|
4878
|
+
}, z.core.$strip>;
|
|
4879
|
+
declare const ReferenceGenrePlaylistSchema: z.ZodObject<{
|
|
4880
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
4881
|
+
name: z.ZodString;
|
|
4882
|
+
createdOn: z.ZodString;
|
|
4883
|
+
updatedOn: z.ZodNullable<z.ZodString>;
|
|
4884
|
+
root: z.ZodObject<{
|
|
4885
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
4886
|
+
name: z.ZodString;
|
|
4887
|
+
}, z.core.$strip>;
|
|
4888
|
+
parent: z.ZodNullable<z.ZodObject<{
|
|
4889
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
4890
|
+
name: z.ZodString;
|
|
4891
|
+
}, z.core.$strip>>;
|
|
4892
|
+
tracksCount: z.ZodNumber;
|
|
4893
|
+
viewsCount: z.ZodOptional<z.ZodNumber>;
|
|
4894
|
+
criteria: z.ZodNullable<z.ZodObject<{
|
|
4895
|
+
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4896
|
+
name: z.ZodString;
|
|
4897
|
+
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4898
|
+
pop: "pop";
|
|
4899
|
+
core: "core";
|
|
4900
|
+
}>>>;
|
|
4901
|
+
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4902
|
+
}, z.core.$strip>>;
|
|
4903
|
+
isUnacceptedRoot: z.ZodBoolean;
|
|
4904
|
+
isUmbrella: z.ZodOptional<z.ZodBoolean>;
|
|
4905
|
+
scene: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4906
|
+
commercial: "commercial";
|
|
4907
|
+
underground: "underground";
|
|
4908
|
+
}>>>;
|
|
4909
|
+
catalogue: z.core.$ZodBranded<z.ZodObject<{
|
|
4910
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4911
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4912
|
+
canonical: z.ZodNumber;
|
|
4913
|
+
regional: z.ZodNumber;
|
|
4914
|
+
all: z.ZodNumber;
|
|
4915
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4916
|
+
all: z.ZodNumber;
|
|
4917
|
+
}, z.core.$strict>]>;
|
|
4918
|
+
}, z.core.$strip>, "GenreCatalogueCounts", "out">;
|
|
4919
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
4920
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4921
|
+
canonical: z.ZodNumber;
|
|
4922
|
+
regional: z.ZodNumber;
|
|
4923
|
+
all: z.ZodNumber;
|
|
4924
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
4925
|
+
all: z.ZodNumber;
|
|
4926
|
+
}, z.core.$strict>]>;
|
|
4927
|
+
}, z.core.$strip>;
|
|
4928
|
+
type ReferenceGenreDetailed = z.infer<typeof ReferenceGenreDetailedSchema>;
|
|
4929
|
+
type ReferenceGenrePlaylist = z.infer<typeof ReferenceGenrePlaylistSchema>;
|
|
4930
|
+
|
|
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 };
|