@behindthemusictree/app-kit 43.1.5 → 44.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-FOSFVEVR.js → chunk-S7GWIIHJ.js} +331 -342
- package/dist/chunk-S7GWIIHJ.js.map +1 -0
- package/dist/genre-tree/index.cjs +334 -359
- package/dist/genre-tree/index.cjs.map +1 -1
- package/dist/genre-tree/index.d.ts +922 -456
- package/dist/genre-tree/index.js +1 -23
- package/dist/index.cjs +317 -342
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -23
- package/package.json +3 -1
- package/dist/chunk-FOSFVEVR.js.map +0 -1
|
@@ -2,12 +2,215 @@ import * as _tanstack_react_query from '@tanstack/react-query';
|
|
|
2
2
|
import { QueryKey, InfiniteData } from '@tanstack/react-query';
|
|
3
3
|
import * as zod from 'zod';
|
|
4
4
|
import { z } from 'zod';
|
|
5
|
+
import { zV1GenresOverviewRetrieveResponse, zV1ArtistsSearchListResponse, zV1GenresSearchListResponse, zRegionMapGenresResponse, zV1LibrarySongsHistoryListResponse, zV1LibrarySongsSearchListResponse } from '@behindthemusictree/grow-api';
|
|
5
6
|
import { R as ResourceResult, S as Scope, u as useFetchWrapper } from '../useFetchWrapper-BdHuoY_y.js';
|
|
6
7
|
import { c as GenreUuid, G as GenrePlaylistUuid } from '../ids-FmUQ8DVM.js';
|
|
7
8
|
export { A as ArtistUuid, a as ArtistUuidSchema, b as GenrePlaylistUuidSchema, d as GenreUuidSchema, S as SongUuid, e as SongUuidSchema, t as toArtistUuid, f as toGenreUuid, g as toSongUuid } from '../ids-FmUQ8DVM.js';
|
|
8
9
|
import * as react from 'react';
|
|
9
10
|
import { ReactNode } from 'react';
|
|
10
11
|
|
|
12
|
+
declare const ReferenceGenreDetailedSchema: z.ZodObject<{
|
|
13
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
14
|
+
name: z.ZodString;
|
|
15
|
+
wikidataId: z.ZodNullable<z.ZodReadonly<z.ZodString>>;
|
|
16
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17
|
+
parent: z.ZodNullable<z.ZodObject<{
|
|
18
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
19
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
20
|
+
}, z.core.$strip>>;
|
|
21
|
+
ascendants: z.ZodArray<z.ZodObject<{
|
|
22
|
+
ascendant: z.ZodObject<{
|
|
23
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
24
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
25
|
+
}, z.core.$strip>;
|
|
26
|
+
degree: z.ZodInt;
|
|
27
|
+
}, z.core.$strip>>;
|
|
28
|
+
root: z.ZodObject<{
|
|
29
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
30
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
31
|
+
wikidataId: z.ZodNullable<z.ZodReadonly<z.ZodString>>;
|
|
32
|
+
}, z.core.$strip>;
|
|
33
|
+
children: z.ZodArray<z.ZodObject<{
|
|
34
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
35
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
36
|
+
}, z.core.$strip>>;
|
|
37
|
+
tracksCount: z.ZodReadonly<z.ZodInt>;
|
|
38
|
+
side: z.ZodNullable<z.ZodReadonly<z.ZodString>>;
|
|
39
|
+
essentialSongs: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
40
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
41
|
+
title: z.ZodString;
|
|
42
|
+
artists: z.ZodArray<z.ZodObject<{
|
|
43
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
44
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
45
|
+
isSpecialPurpose: z.ZodReadonly<z.ZodBoolean>;
|
|
46
|
+
}, z.core.$strip>>;
|
|
47
|
+
rating: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
48
|
+
language: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
49
|
+
playCount: z.ZodOptional<z.ZodInt>;
|
|
50
|
+
}, z.core.$strip>>>;
|
|
51
|
+
createdOn: z.ZodReadonly<z.ZodISODateTime>;
|
|
52
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
53
|
+
catalogue: z.ZodReadonly<z.ZodObject<{
|
|
54
|
+
genreOnlyTracksCount: z.ZodInt;
|
|
55
|
+
genreAndSubgenresTracksCount: z.ZodRecord<z.ZodString, z.ZodInt>;
|
|
56
|
+
}, z.core.$strip>>;
|
|
57
|
+
criteriaPlaylist: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
58
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
59
|
+
name: z.ZodString;
|
|
60
|
+
genreOnlyTracksCount: z.ZodInt;
|
|
61
|
+
genreAndSubgenresTracksCount: z.ZodRecord<z.ZodString, z.ZodInt>;
|
|
62
|
+
}, z.core.$strip>>>;
|
|
63
|
+
}, z.core.$strip>;
|
|
64
|
+
declare const ReferenceGenrePlaylistSchema: z.ZodPipe<z.ZodArray<z.ZodObject<{
|
|
65
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
66
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
67
|
+
root: z.ZodObject<{
|
|
68
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
69
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
70
|
+
}, z.core.$strip>;
|
|
71
|
+
tracksCount: z.ZodInt;
|
|
72
|
+
viewsCount: z.ZodOptional<z.ZodInt>;
|
|
73
|
+
isUnacceptedRoot: z.ZodReadonly<z.ZodBoolean>;
|
|
74
|
+
isUmbrella: z.ZodReadonly<z.ZodBoolean>;
|
|
75
|
+
scene: z.ZodNullable<z.ZodReadonly<z.ZodString>>;
|
|
76
|
+
createdOn: z.ZodReadonly<z.ZodISODateTime>;
|
|
77
|
+
updatedOn: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
78
|
+
songsCount: z.ZodInt;
|
|
79
|
+
catalogue: z.ZodObject<{
|
|
80
|
+
genreOnlyTracksCount: z.ZodInt;
|
|
81
|
+
genreAndSubgenresTracksCount: z.ZodRecord<z.ZodString, z.ZodInt>;
|
|
82
|
+
}, z.core.$strip>;
|
|
83
|
+
criteria: z.ZodNullable<z.ZodObject<{
|
|
84
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
85
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
86
|
+
createdOn: z.ZodReadonly<z.ZodISODateTime>;
|
|
87
|
+
side: z.ZodNullable<z.ZodReadonly<z.ZodString>>;
|
|
88
|
+
wikidataId: z.ZodNullable<z.ZodReadonly<z.ZodString>>;
|
|
89
|
+
summary: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
90
|
+
treeName: z.ZodOptional<z.ZodString>;
|
|
91
|
+
primaryParents: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
92
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
93
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
94
|
+
}, z.core.$strip>>>;
|
|
95
|
+
secondaryParents: z.ZodReadonly<z.ZodArray<z.ZodObject<{
|
|
96
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
97
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
98
|
+
}, z.core.$strip>>>;
|
|
99
|
+
parent: z.ZodNullable<z.ZodObject<{
|
|
100
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
101
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
102
|
+
}, z.core.$strip>>;
|
|
103
|
+
}, z.core.$strip>>;
|
|
104
|
+
parent: z.ZodNullable<z.ZodObject<{
|
|
105
|
+
uuid: z.ZodReadonly<z.ZodUUID>;
|
|
106
|
+
name: z.ZodReadonly<z.ZodString>;
|
|
107
|
+
}, z.core.$strip>>;
|
|
108
|
+
genreOnlyTracksCount: z.ZodNumber;
|
|
109
|
+
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
110
|
+
global: z.ZodNumber;
|
|
111
|
+
regional: z.ZodNumber;
|
|
112
|
+
all: z.ZodNumber;
|
|
113
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
114
|
+
all: z.ZodNumber;
|
|
115
|
+
}, z.core.$strict>]>;
|
|
116
|
+
}, z.core.$strip>>, z.ZodTransform<{
|
|
117
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
118
|
+
name: string;
|
|
119
|
+
createdOn: string;
|
|
120
|
+
updatedOn: string | null;
|
|
121
|
+
root: {
|
|
122
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
123
|
+
name: string;
|
|
124
|
+
};
|
|
125
|
+
parent: {
|
|
126
|
+
uuid: string & z.core.$brand<"GenrePlaylistUuid">;
|
|
127
|
+
name: string;
|
|
128
|
+
} | null;
|
|
129
|
+
tracksCount: number;
|
|
130
|
+
criteria: {
|
|
131
|
+
uuid: string & z.core.$brand<"GenreUuid">;
|
|
132
|
+
name: string;
|
|
133
|
+
side?: "pop" | "core" | null | undefined;
|
|
134
|
+
wikidataId?: string | null | undefined;
|
|
135
|
+
} | null;
|
|
136
|
+
isUnacceptedRoot: boolean;
|
|
137
|
+
genreOnlyTracksCount?: number | undefined;
|
|
138
|
+
genreAndSubgenresTracksCount?: {
|
|
139
|
+
global: number;
|
|
140
|
+
regional: number;
|
|
141
|
+
all: number;
|
|
142
|
+
} | {
|
|
143
|
+
all: number;
|
|
144
|
+
} | undefined;
|
|
145
|
+
catalogue?: ({
|
|
146
|
+
genreOnlyTracksCount: number;
|
|
147
|
+
genreAndSubgenresTracksCount: {
|
|
148
|
+
global: number;
|
|
149
|
+
regional: number;
|
|
150
|
+
all: number;
|
|
151
|
+
} | {
|
|
152
|
+
all: number;
|
|
153
|
+
};
|
|
154
|
+
} & z.core.$brand<"GenreCatalogueCounts">) | undefined;
|
|
155
|
+
viewsCount?: number | undefined;
|
|
156
|
+
isUmbrella?: boolean | undefined;
|
|
157
|
+
scene?: "commercial" | "underground" | null | undefined;
|
|
158
|
+
}[], {
|
|
159
|
+
uuid: string;
|
|
160
|
+
name: string;
|
|
161
|
+
root: {
|
|
162
|
+
uuid: string;
|
|
163
|
+
name: string;
|
|
164
|
+
};
|
|
165
|
+
tracksCount: number;
|
|
166
|
+
isUnacceptedRoot: boolean;
|
|
167
|
+
isUmbrella: boolean;
|
|
168
|
+
scene: string | null;
|
|
169
|
+
createdOn: string;
|
|
170
|
+
songsCount: number;
|
|
171
|
+
catalogue: {
|
|
172
|
+
genreOnlyTracksCount: number;
|
|
173
|
+
genreAndSubgenresTracksCount: Record<string, number>;
|
|
174
|
+
};
|
|
175
|
+
criteria: {
|
|
176
|
+
uuid: string;
|
|
177
|
+
name: string;
|
|
178
|
+
createdOn: string;
|
|
179
|
+
side: string | null;
|
|
180
|
+
wikidataId: string | null;
|
|
181
|
+
primaryParents: readonly {
|
|
182
|
+
uuid: string;
|
|
183
|
+
name: string;
|
|
184
|
+
}[];
|
|
185
|
+
secondaryParents: readonly {
|
|
186
|
+
uuid: string;
|
|
187
|
+
name: string;
|
|
188
|
+
}[];
|
|
189
|
+
parent: {
|
|
190
|
+
uuid: string;
|
|
191
|
+
name: string;
|
|
192
|
+
} | null;
|
|
193
|
+
summary?: string | null | undefined;
|
|
194
|
+
treeName?: string | undefined;
|
|
195
|
+
} | null;
|
|
196
|
+
parent: {
|
|
197
|
+
uuid: string;
|
|
198
|
+
name: string;
|
|
199
|
+
} | null;
|
|
200
|
+
genreOnlyTracksCount: number;
|
|
201
|
+
genreAndSubgenresTracksCount: {
|
|
202
|
+
global: number;
|
|
203
|
+
regional: number;
|
|
204
|
+
all: number;
|
|
205
|
+
} | {
|
|
206
|
+
all: number;
|
|
207
|
+
};
|
|
208
|
+
viewsCount?: number | undefined;
|
|
209
|
+
updatedOn?: string | null | undefined;
|
|
210
|
+
}[]>>;
|
|
211
|
+
type ReferenceGenreDetailed = z.output<typeof ReferenceGenreDetailedSchema>;
|
|
212
|
+
type ReferenceGenrePlaylist = z.output<typeof ReferenceGenrePlaylistSchema>[number];
|
|
213
|
+
|
|
11
214
|
declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
12
215
|
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
13
216
|
name: z.ZodString;
|
|
@@ -67,7 +270,7 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
67
270
|
catalogue: z.ZodOptional<z.core.$ZodBranded<z.ZodObject<{
|
|
68
271
|
genreOnlyTracksCount: z.ZodNumber;
|
|
69
272
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
70
|
-
|
|
273
|
+
global: z.ZodNumber;
|
|
71
274
|
regional: z.ZodNumber;
|
|
72
275
|
all: z.ZodNumber;
|
|
73
276
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -79,7 +282,7 @@ declare const CriteriaDetailedSchema: z.ZodObject<{
|
|
|
79
282
|
name: z.ZodString;
|
|
80
283
|
genreOnlyTracksCount: z.ZodNumber;
|
|
81
284
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
82
|
-
|
|
285
|
+
global: z.ZodNumber;
|
|
83
286
|
regional: z.ZodNumber;
|
|
84
287
|
all: z.ZodNumber;
|
|
85
288
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -138,6 +341,38 @@ declare const CriteriaOverviewSchema: z.ZodObject<{
|
|
|
138
341
|
type CriteriaOverview = z.infer<typeof CriteriaOverviewSchema>;
|
|
139
342
|
|
|
140
343
|
declare function useListGenres(page: number | undefined, pageSize: number | string | undefined, scope: Scope, getBackendBaseUrl: () => string): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
344
|
+
overallTotal: number;
|
|
345
|
+
next: string | null;
|
|
346
|
+
previous: string | null;
|
|
347
|
+
results: {
|
|
348
|
+
uuid: string;
|
|
349
|
+
name: string;
|
|
350
|
+
parent: {
|
|
351
|
+
uuid: string;
|
|
352
|
+
name: string;
|
|
353
|
+
} | null;
|
|
354
|
+
createdOn: string;
|
|
355
|
+
primaryParents: readonly {
|
|
356
|
+
uuid: string;
|
|
357
|
+
name: string;
|
|
358
|
+
}[];
|
|
359
|
+
secondaryParents: readonly {
|
|
360
|
+
uuid: string;
|
|
361
|
+
name: string;
|
|
362
|
+
}[];
|
|
363
|
+
side?: string | null | undefined;
|
|
364
|
+
wikidataId?: string | null | undefined;
|
|
365
|
+
summary?: string | null | undefined;
|
|
366
|
+
treeName?: string | undefined;
|
|
367
|
+
hasNameConflict?: boolean | undefined;
|
|
368
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
369
|
+
isUmbrella?: boolean | undefined;
|
|
370
|
+
scene?: string | null | undefined;
|
|
371
|
+
}[];
|
|
372
|
+
page: number;
|
|
373
|
+
pageSize: number;
|
|
374
|
+
totalPages: number;
|
|
375
|
+
} | {
|
|
141
376
|
overallTotal: number;
|
|
142
377
|
next: string | null;
|
|
143
378
|
previous: string | null;
|
|
@@ -157,15 +392,17 @@ declare function useListGenres(page: number | undefined, pageSize: number | stri
|
|
|
157
392
|
pageSize: number;
|
|
158
393
|
totalPages: number;
|
|
159
394
|
}>, Error>;
|
|
160
|
-
declare function useFetchGenre(scope: Scope, getBackendBaseUrl: () => string): (id: GenreUuid) => Promise<
|
|
161
|
-
|
|
395
|
+
declare function useFetchGenre(scope: Scope, getBackendBaseUrl: () => string): (id: GenreUuid) => Promise<GenreDetail>;
|
|
396
|
+
/** The `me` genre detail, or the reference one as the API serves it. */
|
|
397
|
+
type GenreDetail = CriteriaDetailed | ReferenceGenreDetailed;
|
|
398
|
+
type UseGenreResult<D extends GenreDetail = GenreDetail> = Exclude<ResourceResult<D>, {
|
|
162
399
|
status: "success";
|
|
163
400
|
}> | {
|
|
164
401
|
status: "success";
|
|
165
402
|
genre: D;
|
|
166
403
|
};
|
|
167
404
|
/** `id` may be a raw URL value: a malformed uuid is not found without a request. */
|
|
168
|
-
declare function useFetchGenreDetail<D extends
|
|
405
|
+
declare function useFetchGenreDetail<D extends GenreDetail = GenreDetail>(id: string | null, scope: Scope, getBackendBaseUrl: () => string, schema?: z.ZodType<D, unknown>): UseGenreResult<D>;
|
|
169
406
|
/** The genre carrying a Wikidata item id: `undefined` while loading or disabled, `null` when the API has none. */
|
|
170
407
|
declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBackendBaseUrl: () => string): {
|
|
171
408
|
data: {
|
|
@@ -173,6 +410,30 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
173
410
|
name: string;
|
|
174
411
|
side?: "pop" | "core" | null | undefined;
|
|
175
412
|
wikidataId?: string | null | undefined;
|
|
413
|
+
} | {
|
|
414
|
+
uuid: string;
|
|
415
|
+
name: string;
|
|
416
|
+
parent: {
|
|
417
|
+
uuid: string;
|
|
418
|
+
name: string;
|
|
419
|
+
} | null;
|
|
420
|
+
createdOn: string;
|
|
421
|
+
primaryParents: readonly {
|
|
422
|
+
uuid: string;
|
|
423
|
+
name: string;
|
|
424
|
+
}[];
|
|
425
|
+
secondaryParents: readonly {
|
|
426
|
+
uuid: string;
|
|
427
|
+
name: string;
|
|
428
|
+
}[];
|
|
429
|
+
side?: string | null | undefined;
|
|
430
|
+
wikidataId?: string | null | undefined;
|
|
431
|
+
summary?: string | null | undefined;
|
|
432
|
+
treeName?: string | undefined;
|
|
433
|
+
hasNameConflict?: boolean | undefined;
|
|
434
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
435
|
+
isUmbrella?: boolean | undefined;
|
|
436
|
+
scene?: string | null | undefined;
|
|
176
437
|
} | undefined;
|
|
177
438
|
error: Error;
|
|
178
439
|
isError: true;
|
|
@@ -197,6 +458,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
197
458
|
isStale: boolean;
|
|
198
459
|
isEnabled: boolean;
|
|
199
460
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
461
|
+
overallTotal: number;
|
|
462
|
+
next: string | null;
|
|
463
|
+
previous: string | null;
|
|
464
|
+
results: {
|
|
465
|
+
uuid: string;
|
|
466
|
+
name: string;
|
|
467
|
+
parent: {
|
|
468
|
+
uuid: string;
|
|
469
|
+
name: string;
|
|
470
|
+
} | null;
|
|
471
|
+
createdOn: string;
|
|
472
|
+
primaryParents: readonly {
|
|
473
|
+
uuid: string;
|
|
474
|
+
name: string;
|
|
475
|
+
}[];
|
|
476
|
+
secondaryParents: readonly {
|
|
477
|
+
uuid: string;
|
|
478
|
+
name: string;
|
|
479
|
+
}[];
|
|
480
|
+
side?: string | null | undefined;
|
|
481
|
+
wikidataId?: string | null | undefined;
|
|
482
|
+
summary?: string | null | undefined;
|
|
483
|
+
treeName?: string | undefined;
|
|
484
|
+
hasNameConflict?: boolean | undefined;
|
|
485
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
486
|
+
isUmbrella?: boolean | undefined;
|
|
487
|
+
scene?: string | null | undefined;
|
|
488
|
+
}[];
|
|
489
|
+
page: number;
|
|
490
|
+
pageSize: number;
|
|
491
|
+
totalPages: number;
|
|
492
|
+
} | {
|
|
200
493
|
overallTotal: number;
|
|
201
494
|
next: string | null;
|
|
202
495
|
previous: string | null;
|
|
@@ -212,6 +505,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
212
505
|
}>, Error>>;
|
|
213
506
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
214
507
|
promise: Promise<NoInfer<{
|
|
508
|
+
overallTotal: number;
|
|
509
|
+
next: string | null;
|
|
510
|
+
previous: string | null;
|
|
511
|
+
results: {
|
|
512
|
+
uuid: string;
|
|
513
|
+
name: string;
|
|
514
|
+
parent: {
|
|
515
|
+
uuid: string;
|
|
516
|
+
name: string;
|
|
517
|
+
} | null;
|
|
518
|
+
createdOn: string;
|
|
519
|
+
primaryParents: readonly {
|
|
520
|
+
uuid: string;
|
|
521
|
+
name: string;
|
|
522
|
+
}[];
|
|
523
|
+
secondaryParents: readonly {
|
|
524
|
+
uuid: string;
|
|
525
|
+
name: string;
|
|
526
|
+
}[];
|
|
527
|
+
side?: string | null | undefined;
|
|
528
|
+
wikidataId?: string | null | undefined;
|
|
529
|
+
summary?: string | null | undefined;
|
|
530
|
+
treeName?: string | undefined;
|
|
531
|
+
hasNameConflict?: boolean | undefined;
|
|
532
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
533
|
+
isUmbrella?: boolean | undefined;
|
|
534
|
+
scene?: string | null | undefined;
|
|
535
|
+
}[];
|
|
536
|
+
page: number;
|
|
537
|
+
pageSize: number;
|
|
538
|
+
totalPages: number;
|
|
539
|
+
} | {
|
|
215
540
|
overallTotal: number;
|
|
216
541
|
next: string | null;
|
|
217
542
|
previous: string | null;
|
|
@@ -231,6 +556,30 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
231
556
|
name: string;
|
|
232
557
|
side?: "pop" | "core" | null | undefined;
|
|
233
558
|
wikidataId?: string | null | undefined;
|
|
559
|
+
} | {
|
|
560
|
+
uuid: string;
|
|
561
|
+
name: string;
|
|
562
|
+
parent: {
|
|
563
|
+
uuid: string;
|
|
564
|
+
name: string;
|
|
565
|
+
} | null;
|
|
566
|
+
createdOn: string;
|
|
567
|
+
primaryParents: readonly {
|
|
568
|
+
uuid: string;
|
|
569
|
+
name: string;
|
|
570
|
+
}[];
|
|
571
|
+
secondaryParents: readonly {
|
|
572
|
+
uuid: string;
|
|
573
|
+
name: string;
|
|
574
|
+
}[];
|
|
575
|
+
side?: string | null | undefined;
|
|
576
|
+
wikidataId?: string | null | undefined;
|
|
577
|
+
summary?: string | null | undefined;
|
|
578
|
+
treeName?: string | undefined;
|
|
579
|
+
hasNameConflict?: boolean | undefined;
|
|
580
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
581
|
+
isUmbrella?: boolean | undefined;
|
|
582
|
+
scene?: string | null | undefined;
|
|
234
583
|
} | undefined;
|
|
235
584
|
error: null;
|
|
236
585
|
isError: false;
|
|
@@ -255,6 +604,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
255
604
|
isStale: boolean;
|
|
256
605
|
isEnabled: boolean;
|
|
257
606
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
607
|
+
overallTotal: number;
|
|
608
|
+
next: string | null;
|
|
609
|
+
previous: string | null;
|
|
610
|
+
results: {
|
|
611
|
+
uuid: string;
|
|
612
|
+
name: string;
|
|
613
|
+
parent: {
|
|
614
|
+
uuid: string;
|
|
615
|
+
name: string;
|
|
616
|
+
} | null;
|
|
617
|
+
createdOn: string;
|
|
618
|
+
primaryParents: readonly {
|
|
619
|
+
uuid: string;
|
|
620
|
+
name: string;
|
|
621
|
+
}[];
|
|
622
|
+
secondaryParents: readonly {
|
|
623
|
+
uuid: string;
|
|
624
|
+
name: string;
|
|
625
|
+
}[];
|
|
626
|
+
side?: string | null | undefined;
|
|
627
|
+
wikidataId?: string | null | undefined;
|
|
628
|
+
summary?: string | null | undefined;
|
|
629
|
+
treeName?: string | undefined;
|
|
630
|
+
hasNameConflict?: boolean | undefined;
|
|
631
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
632
|
+
isUmbrella?: boolean | undefined;
|
|
633
|
+
scene?: string | null | undefined;
|
|
634
|
+
}[];
|
|
635
|
+
page: number;
|
|
636
|
+
pageSize: number;
|
|
637
|
+
totalPages: number;
|
|
638
|
+
} | {
|
|
258
639
|
overallTotal: number;
|
|
259
640
|
next: string | null;
|
|
260
641
|
previous: string | null;
|
|
@@ -270,6 +651,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
270
651
|
}>, Error>>;
|
|
271
652
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
272
653
|
promise: Promise<NoInfer<{
|
|
654
|
+
overallTotal: number;
|
|
655
|
+
next: string | null;
|
|
656
|
+
previous: string | null;
|
|
657
|
+
results: {
|
|
658
|
+
uuid: string;
|
|
659
|
+
name: string;
|
|
660
|
+
parent: {
|
|
661
|
+
uuid: string;
|
|
662
|
+
name: string;
|
|
663
|
+
} | null;
|
|
664
|
+
createdOn: string;
|
|
665
|
+
primaryParents: readonly {
|
|
666
|
+
uuid: string;
|
|
667
|
+
name: string;
|
|
668
|
+
}[];
|
|
669
|
+
secondaryParents: readonly {
|
|
670
|
+
uuid: string;
|
|
671
|
+
name: string;
|
|
672
|
+
}[];
|
|
673
|
+
side?: string | null | undefined;
|
|
674
|
+
wikidataId?: string | null | undefined;
|
|
675
|
+
summary?: string | null | undefined;
|
|
676
|
+
treeName?: string | undefined;
|
|
677
|
+
hasNameConflict?: boolean | undefined;
|
|
678
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
679
|
+
isUmbrella?: boolean | undefined;
|
|
680
|
+
scene?: string | null | undefined;
|
|
681
|
+
}[];
|
|
682
|
+
page: number;
|
|
683
|
+
pageSize: number;
|
|
684
|
+
totalPages: number;
|
|
685
|
+
} | {
|
|
273
686
|
overallTotal: number;
|
|
274
687
|
next: string | null;
|
|
275
688
|
previous: string | null;
|
|
@@ -289,6 +702,30 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
289
702
|
name: string;
|
|
290
703
|
side?: "pop" | "core" | null | undefined;
|
|
291
704
|
wikidataId?: string | null | undefined;
|
|
705
|
+
} | {
|
|
706
|
+
uuid: string;
|
|
707
|
+
name: string;
|
|
708
|
+
parent: {
|
|
709
|
+
uuid: string;
|
|
710
|
+
name: string;
|
|
711
|
+
} | null;
|
|
712
|
+
createdOn: string;
|
|
713
|
+
primaryParents: readonly {
|
|
714
|
+
uuid: string;
|
|
715
|
+
name: string;
|
|
716
|
+
}[];
|
|
717
|
+
secondaryParents: readonly {
|
|
718
|
+
uuid: string;
|
|
719
|
+
name: string;
|
|
720
|
+
}[];
|
|
721
|
+
side?: string | null | undefined;
|
|
722
|
+
wikidataId?: string | null | undefined;
|
|
723
|
+
summary?: string | null | undefined;
|
|
724
|
+
treeName?: string | undefined;
|
|
725
|
+
hasNameConflict?: boolean | undefined;
|
|
726
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
727
|
+
isUmbrella?: boolean | undefined;
|
|
728
|
+
scene?: string | null | undefined;
|
|
292
729
|
} | undefined;
|
|
293
730
|
error: Error;
|
|
294
731
|
isError: true;
|
|
@@ -313,6 +750,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
313
750
|
isStale: boolean;
|
|
314
751
|
isEnabled: boolean;
|
|
315
752
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
753
|
+
overallTotal: number;
|
|
754
|
+
next: string | null;
|
|
755
|
+
previous: string | null;
|
|
756
|
+
results: {
|
|
757
|
+
uuid: string;
|
|
758
|
+
name: string;
|
|
759
|
+
parent: {
|
|
760
|
+
uuid: string;
|
|
761
|
+
name: string;
|
|
762
|
+
} | null;
|
|
763
|
+
createdOn: string;
|
|
764
|
+
primaryParents: readonly {
|
|
765
|
+
uuid: string;
|
|
766
|
+
name: string;
|
|
767
|
+
}[];
|
|
768
|
+
secondaryParents: readonly {
|
|
769
|
+
uuid: string;
|
|
770
|
+
name: string;
|
|
771
|
+
}[];
|
|
772
|
+
side?: string | null | undefined;
|
|
773
|
+
wikidataId?: string | null | undefined;
|
|
774
|
+
summary?: string | null | undefined;
|
|
775
|
+
treeName?: string | undefined;
|
|
776
|
+
hasNameConflict?: boolean | undefined;
|
|
777
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
778
|
+
isUmbrella?: boolean | undefined;
|
|
779
|
+
scene?: string | null | undefined;
|
|
780
|
+
}[];
|
|
781
|
+
page: number;
|
|
782
|
+
pageSize: number;
|
|
783
|
+
totalPages: number;
|
|
784
|
+
} | {
|
|
316
785
|
overallTotal: number;
|
|
317
786
|
next: string | null;
|
|
318
787
|
previous: string | null;
|
|
@@ -328,6 +797,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
328
797
|
}>, Error>>;
|
|
329
798
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
330
799
|
promise: Promise<NoInfer<{
|
|
800
|
+
overallTotal: number;
|
|
801
|
+
next: string | null;
|
|
802
|
+
previous: string | null;
|
|
803
|
+
results: {
|
|
804
|
+
uuid: string;
|
|
805
|
+
name: string;
|
|
806
|
+
parent: {
|
|
807
|
+
uuid: string;
|
|
808
|
+
name: string;
|
|
809
|
+
} | null;
|
|
810
|
+
createdOn: string;
|
|
811
|
+
primaryParents: readonly {
|
|
812
|
+
uuid: string;
|
|
813
|
+
name: string;
|
|
814
|
+
}[];
|
|
815
|
+
secondaryParents: readonly {
|
|
816
|
+
uuid: string;
|
|
817
|
+
name: string;
|
|
818
|
+
}[];
|
|
819
|
+
side?: string | null | undefined;
|
|
820
|
+
wikidataId?: string | null | undefined;
|
|
821
|
+
summary?: string | null | undefined;
|
|
822
|
+
treeName?: string | undefined;
|
|
823
|
+
hasNameConflict?: boolean | undefined;
|
|
824
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
825
|
+
isUmbrella?: boolean | undefined;
|
|
826
|
+
scene?: string | null | undefined;
|
|
827
|
+
}[];
|
|
828
|
+
page: number;
|
|
829
|
+
pageSize: number;
|
|
830
|
+
totalPages: number;
|
|
831
|
+
} | {
|
|
331
832
|
overallTotal: number;
|
|
332
833
|
next: string | null;
|
|
333
834
|
previous: string | null;
|
|
@@ -347,6 +848,30 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
347
848
|
name: string;
|
|
348
849
|
side?: "pop" | "core" | null | undefined;
|
|
349
850
|
wikidataId?: string | null | undefined;
|
|
851
|
+
} | {
|
|
852
|
+
uuid: string;
|
|
853
|
+
name: string;
|
|
854
|
+
parent: {
|
|
855
|
+
uuid: string;
|
|
856
|
+
name: string;
|
|
857
|
+
} | null;
|
|
858
|
+
createdOn: string;
|
|
859
|
+
primaryParents: readonly {
|
|
860
|
+
uuid: string;
|
|
861
|
+
name: string;
|
|
862
|
+
}[];
|
|
863
|
+
secondaryParents: readonly {
|
|
864
|
+
uuid: string;
|
|
865
|
+
name: string;
|
|
866
|
+
}[];
|
|
867
|
+
side?: string | null | undefined;
|
|
868
|
+
wikidataId?: string | null | undefined;
|
|
869
|
+
summary?: string | null | undefined;
|
|
870
|
+
treeName?: string | undefined;
|
|
871
|
+
hasNameConflict?: boolean | undefined;
|
|
872
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
873
|
+
isUmbrella?: boolean | undefined;
|
|
874
|
+
scene?: string | null | undefined;
|
|
350
875
|
} | undefined;
|
|
351
876
|
error: null;
|
|
352
877
|
isError: false;
|
|
@@ -371,6 +896,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
371
896
|
isStale: boolean;
|
|
372
897
|
isEnabled: boolean;
|
|
373
898
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
899
|
+
overallTotal: number;
|
|
900
|
+
next: string | null;
|
|
901
|
+
previous: string | null;
|
|
902
|
+
results: {
|
|
903
|
+
uuid: string;
|
|
904
|
+
name: string;
|
|
905
|
+
parent: {
|
|
906
|
+
uuid: string;
|
|
907
|
+
name: string;
|
|
908
|
+
} | null;
|
|
909
|
+
createdOn: string;
|
|
910
|
+
primaryParents: readonly {
|
|
911
|
+
uuid: string;
|
|
912
|
+
name: string;
|
|
913
|
+
}[];
|
|
914
|
+
secondaryParents: readonly {
|
|
915
|
+
uuid: string;
|
|
916
|
+
name: string;
|
|
917
|
+
}[];
|
|
918
|
+
side?: string | null | undefined;
|
|
919
|
+
wikidataId?: string | null | undefined;
|
|
920
|
+
summary?: string | null | undefined;
|
|
921
|
+
treeName?: string | undefined;
|
|
922
|
+
hasNameConflict?: boolean | undefined;
|
|
923
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
924
|
+
isUmbrella?: boolean | undefined;
|
|
925
|
+
scene?: string | null | undefined;
|
|
926
|
+
}[];
|
|
927
|
+
page: number;
|
|
928
|
+
pageSize: number;
|
|
929
|
+
totalPages: number;
|
|
930
|
+
} | {
|
|
374
931
|
overallTotal: number;
|
|
375
932
|
next: string | null;
|
|
376
933
|
previous: string | null;
|
|
@@ -386,6 +943,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
386
943
|
}>, Error>>;
|
|
387
944
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
388
945
|
promise: Promise<NoInfer<{
|
|
946
|
+
overallTotal: number;
|
|
947
|
+
next: string | null;
|
|
948
|
+
previous: string | null;
|
|
949
|
+
results: {
|
|
950
|
+
uuid: string;
|
|
951
|
+
name: string;
|
|
952
|
+
parent: {
|
|
953
|
+
uuid: string;
|
|
954
|
+
name: string;
|
|
955
|
+
} | null;
|
|
956
|
+
createdOn: string;
|
|
957
|
+
primaryParents: readonly {
|
|
958
|
+
uuid: string;
|
|
959
|
+
name: string;
|
|
960
|
+
}[];
|
|
961
|
+
secondaryParents: readonly {
|
|
962
|
+
uuid: string;
|
|
963
|
+
name: string;
|
|
964
|
+
}[];
|
|
965
|
+
side?: string | null | undefined;
|
|
966
|
+
wikidataId?: string | null | undefined;
|
|
967
|
+
summary?: string | null | undefined;
|
|
968
|
+
treeName?: string | undefined;
|
|
969
|
+
hasNameConflict?: boolean | undefined;
|
|
970
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
971
|
+
isUmbrella?: boolean | undefined;
|
|
972
|
+
scene?: string | null | undefined;
|
|
973
|
+
}[];
|
|
974
|
+
page: number;
|
|
975
|
+
pageSize: number;
|
|
976
|
+
totalPages: number;
|
|
977
|
+
} | {
|
|
389
978
|
overallTotal: number;
|
|
390
979
|
next: string | null;
|
|
391
980
|
previous: string | null;
|
|
@@ -405,6 +994,30 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
405
994
|
name: string;
|
|
406
995
|
side?: "pop" | "core" | null | undefined;
|
|
407
996
|
wikidataId?: string | null | undefined;
|
|
997
|
+
} | {
|
|
998
|
+
uuid: string;
|
|
999
|
+
name: string;
|
|
1000
|
+
parent: {
|
|
1001
|
+
uuid: string;
|
|
1002
|
+
name: string;
|
|
1003
|
+
} | null;
|
|
1004
|
+
createdOn: string;
|
|
1005
|
+
primaryParents: readonly {
|
|
1006
|
+
uuid: string;
|
|
1007
|
+
name: string;
|
|
1008
|
+
}[];
|
|
1009
|
+
secondaryParents: readonly {
|
|
1010
|
+
uuid: string;
|
|
1011
|
+
name: string;
|
|
1012
|
+
}[];
|
|
1013
|
+
side?: string | null | undefined;
|
|
1014
|
+
wikidataId?: string | null | undefined;
|
|
1015
|
+
summary?: string | null | undefined;
|
|
1016
|
+
treeName?: string | undefined;
|
|
1017
|
+
hasNameConflict?: boolean | undefined;
|
|
1018
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
1019
|
+
isUmbrella?: boolean | undefined;
|
|
1020
|
+
scene?: string | null | undefined;
|
|
408
1021
|
} | undefined;
|
|
409
1022
|
error: null;
|
|
410
1023
|
isError: false;
|
|
@@ -429,6 +1042,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
429
1042
|
isStale: boolean;
|
|
430
1043
|
isEnabled: boolean;
|
|
431
1044
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
1045
|
+
overallTotal: number;
|
|
1046
|
+
next: string | null;
|
|
1047
|
+
previous: string | null;
|
|
1048
|
+
results: {
|
|
1049
|
+
uuid: string;
|
|
1050
|
+
name: string;
|
|
1051
|
+
parent: {
|
|
1052
|
+
uuid: string;
|
|
1053
|
+
name: string;
|
|
1054
|
+
} | null;
|
|
1055
|
+
createdOn: string;
|
|
1056
|
+
primaryParents: readonly {
|
|
1057
|
+
uuid: string;
|
|
1058
|
+
name: string;
|
|
1059
|
+
}[];
|
|
1060
|
+
secondaryParents: readonly {
|
|
1061
|
+
uuid: string;
|
|
1062
|
+
name: string;
|
|
1063
|
+
}[];
|
|
1064
|
+
side?: string | null | undefined;
|
|
1065
|
+
wikidataId?: string | null | undefined;
|
|
1066
|
+
summary?: string | null | undefined;
|
|
1067
|
+
treeName?: string | undefined;
|
|
1068
|
+
hasNameConflict?: boolean | undefined;
|
|
1069
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
1070
|
+
isUmbrella?: boolean | undefined;
|
|
1071
|
+
scene?: string | null | undefined;
|
|
1072
|
+
}[];
|
|
1073
|
+
page: number;
|
|
1074
|
+
pageSize: number;
|
|
1075
|
+
totalPages: number;
|
|
1076
|
+
} | {
|
|
432
1077
|
overallTotal: number;
|
|
433
1078
|
next: string | null;
|
|
434
1079
|
previous: string | null;
|
|
@@ -444,6 +1089,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
444
1089
|
}>, Error>>;
|
|
445
1090
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
446
1091
|
promise: Promise<NoInfer<{
|
|
1092
|
+
overallTotal: number;
|
|
1093
|
+
next: string | null;
|
|
1094
|
+
previous: string | null;
|
|
1095
|
+
results: {
|
|
1096
|
+
uuid: string;
|
|
1097
|
+
name: string;
|
|
1098
|
+
parent: {
|
|
1099
|
+
uuid: string;
|
|
1100
|
+
name: string;
|
|
1101
|
+
} | null;
|
|
1102
|
+
createdOn: string;
|
|
1103
|
+
primaryParents: readonly {
|
|
1104
|
+
uuid: string;
|
|
1105
|
+
name: string;
|
|
1106
|
+
}[];
|
|
1107
|
+
secondaryParents: readonly {
|
|
1108
|
+
uuid: string;
|
|
1109
|
+
name: string;
|
|
1110
|
+
}[];
|
|
1111
|
+
side?: string | null | undefined;
|
|
1112
|
+
wikidataId?: string | null | undefined;
|
|
1113
|
+
summary?: string | null | undefined;
|
|
1114
|
+
treeName?: string | undefined;
|
|
1115
|
+
hasNameConflict?: boolean | undefined;
|
|
1116
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
1117
|
+
isUmbrella?: boolean | undefined;
|
|
1118
|
+
scene?: string | null | undefined;
|
|
1119
|
+
}[];
|
|
1120
|
+
page: number;
|
|
1121
|
+
pageSize: number;
|
|
1122
|
+
totalPages: number;
|
|
1123
|
+
} | {
|
|
447
1124
|
overallTotal: number;
|
|
448
1125
|
next: string | null;
|
|
449
1126
|
previous: string | null;
|
|
@@ -463,6 +1140,30 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
463
1140
|
name: string;
|
|
464
1141
|
side?: "pop" | "core" | null | undefined;
|
|
465
1142
|
wikidataId?: string | null | undefined;
|
|
1143
|
+
} | {
|
|
1144
|
+
uuid: string;
|
|
1145
|
+
name: string;
|
|
1146
|
+
parent: {
|
|
1147
|
+
uuid: string;
|
|
1148
|
+
name: string;
|
|
1149
|
+
} | null;
|
|
1150
|
+
createdOn: string;
|
|
1151
|
+
primaryParents: readonly {
|
|
1152
|
+
uuid: string;
|
|
1153
|
+
name: string;
|
|
1154
|
+
}[];
|
|
1155
|
+
secondaryParents: readonly {
|
|
1156
|
+
uuid: string;
|
|
1157
|
+
name: string;
|
|
1158
|
+
}[];
|
|
1159
|
+
side?: string | null | undefined;
|
|
1160
|
+
wikidataId?: string | null | undefined;
|
|
1161
|
+
summary?: string | null | undefined;
|
|
1162
|
+
treeName?: string | undefined;
|
|
1163
|
+
hasNameConflict?: boolean | undefined;
|
|
1164
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
1165
|
+
isUmbrella?: boolean | undefined;
|
|
1166
|
+
scene?: string | null | undefined;
|
|
466
1167
|
} | undefined;
|
|
467
1168
|
isError: false;
|
|
468
1169
|
error: null;
|
|
@@ -487,6 +1188,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
487
1188
|
isStale: boolean;
|
|
488
1189
|
isEnabled: boolean;
|
|
489
1190
|
refetch: (options?: _tanstack_react_query.RefetchOptions) => Promise<_tanstack_react_query.QueryObserverResult<NoInfer<{
|
|
1191
|
+
overallTotal: number;
|
|
1192
|
+
next: string | null;
|
|
1193
|
+
previous: string | null;
|
|
1194
|
+
results: {
|
|
1195
|
+
uuid: string;
|
|
1196
|
+
name: string;
|
|
1197
|
+
parent: {
|
|
1198
|
+
uuid: string;
|
|
1199
|
+
name: string;
|
|
1200
|
+
} | null;
|
|
1201
|
+
createdOn: string;
|
|
1202
|
+
primaryParents: readonly {
|
|
1203
|
+
uuid: string;
|
|
1204
|
+
name: string;
|
|
1205
|
+
}[];
|
|
1206
|
+
secondaryParents: readonly {
|
|
1207
|
+
uuid: string;
|
|
1208
|
+
name: string;
|
|
1209
|
+
}[];
|
|
1210
|
+
side?: string | null | undefined;
|
|
1211
|
+
wikidataId?: string | null | undefined;
|
|
1212
|
+
summary?: string | null | undefined;
|
|
1213
|
+
treeName?: string | undefined;
|
|
1214
|
+
hasNameConflict?: boolean | undefined;
|
|
1215
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
1216
|
+
isUmbrella?: boolean | undefined;
|
|
1217
|
+
scene?: string | null | undefined;
|
|
1218
|
+
}[];
|
|
1219
|
+
page: number;
|
|
1220
|
+
pageSize: number;
|
|
1221
|
+
totalPages: number;
|
|
1222
|
+
} | {
|
|
490
1223
|
overallTotal: number;
|
|
491
1224
|
next: string | null;
|
|
492
1225
|
previous: string | null;
|
|
@@ -502,6 +1235,38 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
502
1235
|
}>, Error>>;
|
|
503
1236
|
fetchStatus: _tanstack_react_query.FetchStatus;
|
|
504
1237
|
promise: Promise<NoInfer<{
|
|
1238
|
+
overallTotal: number;
|
|
1239
|
+
next: string | null;
|
|
1240
|
+
previous: string | null;
|
|
1241
|
+
results: {
|
|
1242
|
+
uuid: string;
|
|
1243
|
+
name: string;
|
|
1244
|
+
parent: {
|
|
1245
|
+
uuid: string;
|
|
1246
|
+
name: string;
|
|
1247
|
+
} | null;
|
|
1248
|
+
createdOn: string;
|
|
1249
|
+
primaryParents: readonly {
|
|
1250
|
+
uuid: string;
|
|
1251
|
+
name: string;
|
|
1252
|
+
}[];
|
|
1253
|
+
secondaryParents: readonly {
|
|
1254
|
+
uuid: string;
|
|
1255
|
+
name: string;
|
|
1256
|
+
}[];
|
|
1257
|
+
side?: string | null | undefined;
|
|
1258
|
+
wikidataId?: string | null | undefined;
|
|
1259
|
+
summary?: string | null | undefined;
|
|
1260
|
+
treeName?: string | undefined;
|
|
1261
|
+
hasNameConflict?: boolean | undefined;
|
|
1262
|
+
isUnacceptedRoot?: boolean | undefined;
|
|
1263
|
+
isUmbrella?: boolean | undefined;
|
|
1264
|
+
scene?: string | null | undefined;
|
|
1265
|
+
}[];
|
|
1266
|
+
page: number;
|
|
1267
|
+
pageSize: number;
|
|
1268
|
+
totalPages: number;
|
|
1269
|
+
} | {
|
|
505
1270
|
overallTotal: number;
|
|
506
1271
|
next: string | null;
|
|
507
1272
|
previous: string | null;
|
|
@@ -516,8 +1281,10 @@ declare function useGenreByWikidataId(qid: string | null, scope: Scope, getBacke
|
|
|
516
1281
|
totalPages: number;
|
|
517
1282
|
}>>;
|
|
518
1283
|
};
|
|
519
|
-
|
|
520
|
-
|
|
1284
|
+
/** The `me` genre overview, or the reference one as the API serves it. */
|
|
1285
|
+
type GenreOverview = CriteriaOverview | z.output<typeof zV1GenresOverviewRetrieveResponse>;
|
|
1286
|
+
declare function useFetchGenreOverview<O extends GenreOverview = GenreOverview>(id: GenreUuid | null, scope: Scope, getBackendBaseUrl: () => string, schema?: z.ZodType<O, unknown>): _tanstack_react_query.UseQueryResult<NoInfer<O>, Error>;
|
|
1287
|
+
declare function usePrefetchGenreOverview<O extends GenreOverview = GenreOverview>(scope: Scope, getBackendBaseUrl: () => string, schema?: z.ZodType<O, unknown>): (id: GenreUuid) => Promise<void>;
|
|
521
1288
|
declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string): {
|
|
522
1289
|
formErrors: {
|
|
523
1290
|
field: string;
|
|
@@ -570,7 +1337,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
570
1337
|
name: string;
|
|
571
1338
|
genreOnlyTracksCount: number;
|
|
572
1339
|
genreAndSubgenresTracksCount: {
|
|
573
|
-
|
|
1340
|
+
global: number;
|
|
574
1341
|
regional: number;
|
|
575
1342
|
all: number;
|
|
576
1343
|
} | {
|
|
@@ -601,7 +1368,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
601
1368
|
catalogue?: ({
|
|
602
1369
|
genreOnlyTracksCount: number;
|
|
603
1370
|
genreAndSubgenresTracksCount: {
|
|
604
|
-
|
|
1371
|
+
global: number;
|
|
605
1372
|
regional: number;
|
|
606
1373
|
all: number;
|
|
607
1374
|
} | {
|
|
@@ -667,7 +1434,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
667
1434
|
name: string;
|
|
668
1435
|
genreOnlyTracksCount: number;
|
|
669
1436
|
genreAndSubgenresTracksCount: {
|
|
670
|
-
|
|
1437
|
+
global: number;
|
|
671
1438
|
regional: number;
|
|
672
1439
|
all: number;
|
|
673
1440
|
} | {
|
|
@@ -698,7 +1465,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
698
1465
|
catalogue?: ({
|
|
699
1466
|
genreOnlyTracksCount: number;
|
|
700
1467
|
genreAndSubgenresTracksCount: {
|
|
701
|
-
|
|
1468
|
+
global: number;
|
|
702
1469
|
regional: number;
|
|
703
1470
|
all: number;
|
|
704
1471
|
} | {
|
|
@@ -775,7 +1542,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
775
1542
|
name: string;
|
|
776
1543
|
genreOnlyTracksCount: number;
|
|
777
1544
|
genreAndSubgenresTracksCount: {
|
|
778
|
-
|
|
1545
|
+
global: number;
|
|
779
1546
|
regional: number;
|
|
780
1547
|
all: number;
|
|
781
1548
|
} | {
|
|
@@ -806,7 +1573,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
806
1573
|
catalogue?: ({
|
|
807
1574
|
genreOnlyTracksCount: number;
|
|
808
1575
|
genreAndSubgenresTracksCount: {
|
|
809
|
-
|
|
1576
|
+
global: number;
|
|
810
1577
|
regional: number;
|
|
811
1578
|
all: number;
|
|
812
1579
|
} | {
|
|
@@ -872,7 +1639,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
872
1639
|
name: string;
|
|
873
1640
|
genreOnlyTracksCount: number;
|
|
874
1641
|
genreAndSubgenresTracksCount: {
|
|
875
|
-
|
|
1642
|
+
global: number;
|
|
876
1643
|
regional: number;
|
|
877
1644
|
all: number;
|
|
878
1645
|
} | {
|
|
@@ -903,7 +1670,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
903
1670
|
catalogue?: ({
|
|
904
1671
|
genreOnlyTracksCount: number;
|
|
905
1672
|
genreAndSubgenresTracksCount: {
|
|
906
|
-
|
|
1673
|
+
global: number;
|
|
907
1674
|
regional: number;
|
|
908
1675
|
all: number;
|
|
909
1676
|
} | {
|
|
@@ -980,7 +1747,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
980
1747
|
name: string;
|
|
981
1748
|
genreOnlyTracksCount: number;
|
|
982
1749
|
genreAndSubgenresTracksCount: {
|
|
983
|
-
|
|
1750
|
+
global: number;
|
|
984
1751
|
regional: number;
|
|
985
1752
|
all: number;
|
|
986
1753
|
} | {
|
|
@@ -1011,7 +1778,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1011
1778
|
catalogue?: ({
|
|
1012
1779
|
genreOnlyTracksCount: number;
|
|
1013
1780
|
genreAndSubgenresTracksCount: {
|
|
1014
|
-
|
|
1781
|
+
global: number;
|
|
1015
1782
|
regional: number;
|
|
1016
1783
|
all: number;
|
|
1017
1784
|
} | {
|
|
@@ -1077,7 +1844,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1077
1844
|
name: string;
|
|
1078
1845
|
genreOnlyTracksCount: number;
|
|
1079
1846
|
genreAndSubgenresTracksCount: {
|
|
1080
|
-
|
|
1847
|
+
global: number;
|
|
1081
1848
|
regional: number;
|
|
1082
1849
|
all: number;
|
|
1083
1850
|
} | {
|
|
@@ -1108,7 +1875,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1108
1875
|
catalogue?: ({
|
|
1109
1876
|
genreOnlyTracksCount: number;
|
|
1110
1877
|
genreAndSubgenresTracksCount: {
|
|
1111
|
-
|
|
1878
|
+
global: number;
|
|
1112
1879
|
regional: number;
|
|
1113
1880
|
all: number;
|
|
1114
1881
|
} | {
|
|
@@ -1173,7 +1940,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1173
1940
|
name: string;
|
|
1174
1941
|
genreOnlyTracksCount: number;
|
|
1175
1942
|
genreAndSubgenresTracksCount: {
|
|
1176
|
-
|
|
1943
|
+
global: number;
|
|
1177
1944
|
regional: number;
|
|
1178
1945
|
all: number;
|
|
1179
1946
|
} | {
|
|
@@ -1204,7 +1971,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1204
1971
|
catalogue?: ({
|
|
1205
1972
|
genreOnlyTracksCount: number;
|
|
1206
1973
|
genreAndSubgenresTracksCount: {
|
|
1207
|
-
|
|
1974
|
+
global: number;
|
|
1208
1975
|
regional: number;
|
|
1209
1976
|
all: number;
|
|
1210
1977
|
} | {
|
|
@@ -1271,7 +2038,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1271
2038
|
name: string;
|
|
1272
2039
|
genreOnlyTracksCount: number;
|
|
1273
2040
|
genreAndSubgenresTracksCount: {
|
|
1274
|
-
|
|
2041
|
+
global: number;
|
|
1275
2042
|
regional: number;
|
|
1276
2043
|
all: number;
|
|
1277
2044
|
} | {
|
|
@@ -1302,7 +2069,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1302
2069
|
catalogue?: ({
|
|
1303
2070
|
genreOnlyTracksCount: number;
|
|
1304
2071
|
genreAndSubgenresTracksCount: {
|
|
1305
|
-
|
|
2072
|
+
global: number;
|
|
1306
2073
|
regional: number;
|
|
1307
2074
|
all: number;
|
|
1308
2075
|
} | {
|
|
@@ -1368,7 +2135,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1368
2135
|
name: string;
|
|
1369
2136
|
genreOnlyTracksCount: number;
|
|
1370
2137
|
genreAndSubgenresTracksCount: {
|
|
1371
|
-
|
|
2138
|
+
global: number;
|
|
1372
2139
|
regional: number;
|
|
1373
2140
|
all: number;
|
|
1374
2141
|
} | {
|
|
@@ -1399,7 +2166,7 @@ declare function useCreateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1399
2166
|
catalogue?: ({
|
|
1400
2167
|
genreOnlyTracksCount: number;
|
|
1401
2168
|
genreAndSubgenresTracksCount: {
|
|
1402
|
-
|
|
2169
|
+
global: number;
|
|
1403
2170
|
regional: number;
|
|
1404
2171
|
all: number;
|
|
1405
2172
|
} | {
|
|
@@ -1461,7 +2228,7 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1461
2228
|
name: string;
|
|
1462
2229
|
genreOnlyTracksCount: number;
|
|
1463
2230
|
genreAndSubgenresTracksCount: {
|
|
1464
|
-
|
|
2231
|
+
global: number;
|
|
1465
2232
|
regional: number;
|
|
1466
2233
|
all: number;
|
|
1467
2234
|
} | {
|
|
@@ -1492,7 +2259,7 @@ declare function useUpdateGenre(scope: Scope, getBackendBaseUrl: () => string):
|
|
|
1492
2259
|
catalogue?: ({
|
|
1493
2260
|
genreOnlyTracksCount: number;
|
|
1494
2261
|
genreAndSubgenresTracksCount: {
|
|
1495
|
-
|
|
2262
|
+
global: number;
|
|
1496
2263
|
regional: number;
|
|
1497
2264
|
all: number;
|
|
1498
2265
|
} | {
|
|
@@ -1662,7 +2429,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1662
2429
|
isUnacceptedRoot: boolean;
|
|
1663
2430
|
genreOnlyTracksCount?: number | undefined;
|
|
1664
2431
|
genreAndSubgenresTracksCount?: {
|
|
1665
|
-
|
|
2432
|
+
global: number;
|
|
1666
2433
|
regional: number;
|
|
1667
2434
|
all: number;
|
|
1668
2435
|
} | {
|
|
@@ -1671,7 +2438,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1671
2438
|
catalogue?: ({
|
|
1672
2439
|
genreOnlyTracksCount: number;
|
|
1673
2440
|
genreAndSubgenresTracksCount: {
|
|
1674
|
-
|
|
2441
|
+
global: number;
|
|
1675
2442
|
regional: number;
|
|
1676
2443
|
all: number;
|
|
1677
2444
|
} | {
|
|
@@ -1735,7 +2502,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1735
2502
|
isUnacceptedRoot: boolean;
|
|
1736
2503
|
genreOnlyTracksCount?: number | undefined;
|
|
1737
2504
|
genreAndSubgenresTracksCount?: {
|
|
1738
|
-
|
|
2505
|
+
global: number;
|
|
1739
2506
|
regional: number;
|
|
1740
2507
|
all: number;
|
|
1741
2508
|
} | {
|
|
@@ -1744,7 +2511,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1744
2511
|
catalogue?: ({
|
|
1745
2512
|
genreOnlyTracksCount: number;
|
|
1746
2513
|
genreAndSubgenresTracksCount: {
|
|
1747
|
-
|
|
2514
|
+
global: number;
|
|
1748
2515
|
regional: number;
|
|
1749
2516
|
all: number;
|
|
1750
2517
|
} | {
|
|
@@ -1787,7 +2554,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1787
2554
|
isUnacceptedRoot: boolean;
|
|
1788
2555
|
genreOnlyTracksCount?: number | undefined;
|
|
1789
2556
|
genreAndSubgenresTracksCount?: {
|
|
1790
|
-
|
|
2557
|
+
global: number;
|
|
1791
2558
|
regional: number;
|
|
1792
2559
|
all: number;
|
|
1793
2560
|
} | {
|
|
@@ -1796,7 +2563,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1796
2563
|
catalogue?: ({
|
|
1797
2564
|
genreOnlyTracksCount: number;
|
|
1798
2565
|
genreAndSubgenresTracksCount: {
|
|
1799
|
-
|
|
2566
|
+
global: number;
|
|
1800
2567
|
regional: number;
|
|
1801
2568
|
all: number;
|
|
1802
2569
|
} | {
|
|
@@ -1840,7 +2607,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1840
2607
|
isUnacceptedRoot: boolean;
|
|
1841
2608
|
genreOnlyTracksCount?: number | undefined;
|
|
1842
2609
|
genreAndSubgenresTracksCount?: {
|
|
1843
|
-
|
|
2610
|
+
global: number;
|
|
1844
2611
|
regional: number;
|
|
1845
2612
|
all: number;
|
|
1846
2613
|
} | {
|
|
@@ -1849,7 +2616,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1849
2616
|
catalogue?: ({
|
|
1850
2617
|
genreOnlyTracksCount: number;
|
|
1851
2618
|
genreAndSubgenresTracksCount: {
|
|
1852
|
-
|
|
2619
|
+
global: number;
|
|
1853
2620
|
regional: number;
|
|
1854
2621
|
all: number;
|
|
1855
2622
|
} | {
|
|
@@ -1913,7 +2680,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1913
2680
|
isUnacceptedRoot: boolean;
|
|
1914
2681
|
genreOnlyTracksCount?: number | undefined;
|
|
1915
2682
|
genreAndSubgenresTracksCount?: {
|
|
1916
|
-
|
|
2683
|
+
global: number;
|
|
1917
2684
|
regional: number;
|
|
1918
2685
|
all: number;
|
|
1919
2686
|
} | {
|
|
@@ -1922,7 +2689,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1922
2689
|
catalogue?: ({
|
|
1923
2690
|
genreOnlyTracksCount: number;
|
|
1924
2691
|
genreAndSubgenresTracksCount: {
|
|
1925
|
-
|
|
2692
|
+
global: number;
|
|
1926
2693
|
regional: number;
|
|
1927
2694
|
all: number;
|
|
1928
2695
|
} | {
|
|
@@ -1965,7 +2732,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1965
2732
|
isUnacceptedRoot: boolean;
|
|
1966
2733
|
genreOnlyTracksCount?: number | undefined;
|
|
1967
2734
|
genreAndSubgenresTracksCount?: {
|
|
1968
|
-
|
|
2735
|
+
global: number;
|
|
1969
2736
|
regional: number;
|
|
1970
2737
|
all: number;
|
|
1971
2738
|
} | {
|
|
@@ -1974,7 +2741,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
1974
2741
|
catalogue?: ({
|
|
1975
2742
|
genreOnlyTracksCount: number;
|
|
1976
2743
|
genreAndSubgenresTracksCount: {
|
|
1977
|
-
|
|
2744
|
+
global: number;
|
|
1978
2745
|
regional: number;
|
|
1979
2746
|
all: number;
|
|
1980
2747
|
} | {
|
|
@@ -2041,7 +2808,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2041
2808
|
isUnacceptedRoot: boolean;
|
|
2042
2809
|
genreOnlyTracksCount?: number | undefined;
|
|
2043
2810
|
genreAndSubgenresTracksCount?: {
|
|
2044
|
-
|
|
2811
|
+
global: number;
|
|
2045
2812
|
regional: number;
|
|
2046
2813
|
all: number;
|
|
2047
2814
|
} | {
|
|
@@ -2050,7 +2817,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2050
2817
|
catalogue?: ({
|
|
2051
2818
|
genreOnlyTracksCount: number;
|
|
2052
2819
|
genreAndSubgenresTracksCount: {
|
|
2053
|
-
|
|
2820
|
+
global: number;
|
|
2054
2821
|
regional: number;
|
|
2055
2822
|
all: number;
|
|
2056
2823
|
} | {
|
|
@@ -2093,7 +2860,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2093
2860
|
isUnacceptedRoot: boolean;
|
|
2094
2861
|
genreOnlyTracksCount?: number | undefined;
|
|
2095
2862
|
genreAndSubgenresTracksCount?: {
|
|
2096
|
-
|
|
2863
|
+
global: number;
|
|
2097
2864
|
regional: number;
|
|
2098
2865
|
all: number;
|
|
2099
2866
|
} | {
|
|
@@ -2102,7 +2869,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2102
2869
|
catalogue?: ({
|
|
2103
2870
|
genreOnlyTracksCount: number;
|
|
2104
2871
|
genreAndSubgenresTracksCount: {
|
|
2105
|
-
|
|
2872
|
+
global: number;
|
|
2106
2873
|
regional: number;
|
|
2107
2874
|
all: number;
|
|
2108
2875
|
} | {
|
|
@@ -2169,7 +2936,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2169
2936
|
isUnacceptedRoot: boolean;
|
|
2170
2937
|
genreOnlyTracksCount?: number | undefined;
|
|
2171
2938
|
genreAndSubgenresTracksCount?: {
|
|
2172
|
-
|
|
2939
|
+
global: number;
|
|
2173
2940
|
regional: number;
|
|
2174
2941
|
all: number;
|
|
2175
2942
|
} | {
|
|
@@ -2178,7 +2945,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2178
2945
|
catalogue?: ({
|
|
2179
2946
|
genreOnlyTracksCount: number;
|
|
2180
2947
|
genreAndSubgenresTracksCount: {
|
|
2181
|
-
|
|
2948
|
+
global: number;
|
|
2182
2949
|
regional: number;
|
|
2183
2950
|
all: number;
|
|
2184
2951
|
} | {
|
|
@@ -2221,7 +2988,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2221
2988
|
isUnacceptedRoot: boolean;
|
|
2222
2989
|
genreOnlyTracksCount?: number | undefined;
|
|
2223
2990
|
genreAndSubgenresTracksCount?: {
|
|
2224
|
-
|
|
2991
|
+
global: number;
|
|
2225
2992
|
regional: number;
|
|
2226
2993
|
all: number;
|
|
2227
2994
|
} | {
|
|
@@ -2230,7 +2997,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2230
2997
|
catalogue?: ({
|
|
2231
2998
|
genreOnlyTracksCount: number;
|
|
2232
2999
|
genreAndSubgenresTracksCount: {
|
|
2233
|
-
|
|
3000
|
+
global: number;
|
|
2234
3001
|
regional: number;
|
|
2235
3002
|
all: number;
|
|
2236
3003
|
} | {
|
|
@@ -2297,7 +3064,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2297
3064
|
isUnacceptedRoot: boolean;
|
|
2298
3065
|
genreOnlyTracksCount?: number | undefined;
|
|
2299
3066
|
genreAndSubgenresTracksCount?: {
|
|
2300
|
-
|
|
3067
|
+
global: number;
|
|
2301
3068
|
regional: number;
|
|
2302
3069
|
all: number;
|
|
2303
3070
|
} | {
|
|
@@ -2306,7 +3073,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2306
3073
|
catalogue?: ({
|
|
2307
3074
|
genreOnlyTracksCount: number;
|
|
2308
3075
|
genreAndSubgenresTracksCount: {
|
|
2309
|
-
|
|
3076
|
+
global: number;
|
|
2310
3077
|
regional: number;
|
|
2311
3078
|
all: number;
|
|
2312
3079
|
} | {
|
|
@@ -2349,7 +3116,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2349
3116
|
isUnacceptedRoot: boolean;
|
|
2350
3117
|
genreOnlyTracksCount?: number | undefined;
|
|
2351
3118
|
genreAndSubgenresTracksCount?: {
|
|
2352
|
-
|
|
3119
|
+
global: number;
|
|
2353
3120
|
regional: number;
|
|
2354
3121
|
all: number;
|
|
2355
3122
|
} | {
|
|
@@ -2358,7 +3125,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2358
3125
|
catalogue?: ({
|
|
2359
3126
|
genreOnlyTracksCount: number;
|
|
2360
3127
|
genreAndSubgenresTracksCount: {
|
|
2361
|
-
|
|
3128
|
+
global: number;
|
|
2362
3129
|
regional: number;
|
|
2363
3130
|
all: number;
|
|
2364
3131
|
} | {
|
|
@@ -2402,7 +3169,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2402
3169
|
isUnacceptedRoot: boolean;
|
|
2403
3170
|
genreOnlyTracksCount?: number | undefined;
|
|
2404
3171
|
genreAndSubgenresTracksCount?: {
|
|
2405
|
-
|
|
3172
|
+
global: number;
|
|
2406
3173
|
regional: number;
|
|
2407
3174
|
all: number;
|
|
2408
3175
|
} | {
|
|
@@ -2411,7 +3178,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2411
3178
|
catalogue?: ({
|
|
2412
3179
|
genreOnlyTracksCount: number;
|
|
2413
3180
|
genreAndSubgenresTracksCount: {
|
|
2414
|
-
|
|
3181
|
+
global: number;
|
|
2415
3182
|
regional: number;
|
|
2416
3183
|
all: number;
|
|
2417
3184
|
} | {
|
|
@@ -2475,7 +3242,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2475
3242
|
isUnacceptedRoot: boolean;
|
|
2476
3243
|
genreOnlyTracksCount?: number | undefined;
|
|
2477
3244
|
genreAndSubgenresTracksCount?: {
|
|
2478
|
-
|
|
3245
|
+
global: number;
|
|
2479
3246
|
regional: number;
|
|
2480
3247
|
all: number;
|
|
2481
3248
|
} | {
|
|
@@ -2484,7 +3251,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2484
3251
|
catalogue?: ({
|
|
2485
3252
|
genreOnlyTracksCount: number;
|
|
2486
3253
|
genreAndSubgenresTracksCount: {
|
|
2487
|
-
|
|
3254
|
+
global: number;
|
|
2488
3255
|
regional: number;
|
|
2489
3256
|
all: number;
|
|
2490
3257
|
} | {
|
|
@@ -2527,7 +3294,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2527
3294
|
isUnacceptedRoot: boolean;
|
|
2528
3295
|
genreOnlyTracksCount?: number | undefined;
|
|
2529
3296
|
genreAndSubgenresTracksCount?: {
|
|
2530
|
-
|
|
3297
|
+
global: number;
|
|
2531
3298
|
regional: number;
|
|
2532
3299
|
all: number;
|
|
2533
3300
|
} | {
|
|
@@ -2536,7 +3303,7 @@ declare const useListGenrePlaylists: (page: number | undefined, pageSize: number
|
|
|
2536
3303
|
catalogue?: ({
|
|
2537
3304
|
genreOnlyTracksCount: number;
|
|
2538
3305
|
genreAndSubgenresTracksCount: {
|
|
2539
|
-
|
|
3306
|
+
global: number;
|
|
2540
3307
|
regional: number;
|
|
2541
3308
|
all: number;
|
|
2542
3309
|
} | {
|
|
@@ -2577,7 +3344,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2577
3344
|
isUnacceptedRoot: boolean;
|
|
2578
3345
|
genreOnlyTracksCount?: number | undefined;
|
|
2579
3346
|
genreAndSubgenresTracksCount?: {
|
|
2580
|
-
|
|
3347
|
+
global: number;
|
|
2581
3348
|
regional: number;
|
|
2582
3349
|
all: number;
|
|
2583
3350
|
} | {
|
|
@@ -2586,7 +3353,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2586
3353
|
catalogue?: ({
|
|
2587
3354
|
genreOnlyTracksCount: number;
|
|
2588
3355
|
genreAndSubgenresTracksCount: {
|
|
2589
|
-
|
|
3356
|
+
global: number;
|
|
2590
3357
|
regional: number;
|
|
2591
3358
|
all: number;
|
|
2592
3359
|
} | {
|
|
@@ -2642,7 +3409,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2642
3409
|
isUnacceptedRoot: boolean;
|
|
2643
3410
|
genreOnlyTracksCount?: number | undefined;
|
|
2644
3411
|
genreAndSubgenresTracksCount?: {
|
|
2645
|
-
|
|
3412
|
+
global: number;
|
|
2646
3413
|
regional: number;
|
|
2647
3414
|
all: number;
|
|
2648
3415
|
} | {
|
|
@@ -2651,7 +3418,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2651
3418
|
catalogue?: ({
|
|
2652
3419
|
genreOnlyTracksCount: number;
|
|
2653
3420
|
genreAndSubgenresTracksCount: {
|
|
2654
|
-
|
|
3421
|
+
global: number;
|
|
2655
3422
|
regional: number;
|
|
2656
3423
|
all: number;
|
|
2657
3424
|
} | {
|
|
@@ -2686,7 +3453,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2686
3453
|
isUnacceptedRoot: boolean;
|
|
2687
3454
|
genreOnlyTracksCount?: number | undefined;
|
|
2688
3455
|
genreAndSubgenresTracksCount?: {
|
|
2689
|
-
|
|
3456
|
+
global: number;
|
|
2690
3457
|
regional: number;
|
|
2691
3458
|
all: number;
|
|
2692
3459
|
} | {
|
|
@@ -2695,7 +3462,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2695
3462
|
catalogue?: ({
|
|
2696
3463
|
genreOnlyTracksCount: number;
|
|
2697
3464
|
genreAndSubgenresTracksCount: {
|
|
2698
|
-
|
|
3465
|
+
global: number;
|
|
2699
3466
|
regional: number;
|
|
2700
3467
|
all: number;
|
|
2701
3468
|
} | {
|
|
@@ -2731,7 +3498,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2731
3498
|
isUnacceptedRoot: boolean;
|
|
2732
3499
|
genreOnlyTracksCount?: number | undefined;
|
|
2733
3500
|
genreAndSubgenresTracksCount?: {
|
|
2734
|
-
|
|
3501
|
+
global: number;
|
|
2735
3502
|
regional: number;
|
|
2736
3503
|
all: number;
|
|
2737
3504
|
} | {
|
|
@@ -2740,7 +3507,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2740
3507
|
catalogue?: ({
|
|
2741
3508
|
genreOnlyTracksCount: number;
|
|
2742
3509
|
genreAndSubgenresTracksCount: {
|
|
2743
|
-
|
|
3510
|
+
global: number;
|
|
2744
3511
|
regional: number;
|
|
2745
3512
|
all: number;
|
|
2746
3513
|
} | {
|
|
@@ -2796,7 +3563,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2796
3563
|
isUnacceptedRoot: boolean;
|
|
2797
3564
|
genreOnlyTracksCount?: number | undefined;
|
|
2798
3565
|
genreAndSubgenresTracksCount?: {
|
|
2799
|
-
|
|
3566
|
+
global: number;
|
|
2800
3567
|
regional: number;
|
|
2801
3568
|
all: number;
|
|
2802
3569
|
} | {
|
|
@@ -2805,7 +3572,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2805
3572
|
catalogue?: ({
|
|
2806
3573
|
genreOnlyTracksCount: number;
|
|
2807
3574
|
genreAndSubgenresTracksCount: {
|
|
2808
|
-
|
|
3575
|
+
global: number;
|
|
2809
3576
|
regional: number;
|
|
2810
3577
|
all: number;
|
|
2811
3578
|
} | {
|
|
@@ -2840,7 +3607,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2840
3607
|
isUnacceptedRoot: boolean;
|
|
2841
3608
|
genreOnlyTracksCount?: number | undefined;
|
|
2842
3609
|
genreAndSubgenresTracksCount?: {
|
|
2843
|
-
|
|
3610
|
+
global: number;
|
|
2844
3611
|
regional: number;
|
|
2845
3612
|
all: number;
|
|
2846
3613
|
} | {
|
|
@@ -2849,7 +3616,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2849
3616
|
catalogue?: ({
|
|
2850
3617
|
genreOnlyTracksCount: number;
|
|
2851
3618
|
genreAndSubgenresTracksCount: {
|
|
2852
|
-
|
|
3619
|
+
global: number;
|
|
2853
3620
|
regional: number;
|
|
2854
3621
|
all: number;
|
|
2855
3622
|
} | {
|
|
@@ -2908,7 +3675,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2908
3675
|
isUnacceptedRoot: boolean;
|
|
2909
3676
|
genreOnlyTracksCount?: number | undefined;
|
|
2910
3677
|
genreAndSubgenresTracksCount?: {
|
|
2911
|
-
|
|
3678
|
+
global: number;
|
|
2912
3679
|
regional: number;
|
|
2913
3680
|
all: number;
|
|
2914
3681
|
} | {
|
|
@@ -2917,7 +3684,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2917
3684
|
catalogue?: ({
|
|
2918
3685
|
genreOnlyTracksCount: number;
|
|
2919
3686
|
genreAndSubgenresTracksCount: {
|
|
2920
|
-
|
|
3687
|
+
global: number;
|
|
2921
3688
|
regional: number;
|
|
2922
3689
|
all: number;
|
|
2923
3690
|
} | {
|
|
@@ -2952,7 +3719,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2952
3719
|
isUnacceptedRoot: boolean;
|
|
2953
3720
|
genreOnlyTracksCount?: number | undefined;
|
|
2954
3721
|
genreAndSubgenresTracksCount?: {
|
|
2955
|
-
|
|
3722
|
+
global: number;
|
|
2956
3723
|
regional: number;
|
|
2957
3724
|
all: number;
|
|
2958
3725
|
} | {
|
|
@@ -2961,7 +3728,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
2961
3728
|
catalogue?: ({
|
|
2962
3729
|
genreOnlyTracksCount: number;
|
|
2963
3730
|
genreAndSubgenresTracksCount: {
|
|
2964
|
-
|
|
3731
|
+
global: number;
|
|
2965
3732
|
regional: number;
|
|
2966
3733
|
all: number;
|
|
2967
3734
|
} | {
|
|
@@ -3020,7 +3787,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3020
3787
|
isUnacceptedRoot: boolean;
|
|
3021
3788
|
genreOnlyTracksCount?: number | undefined;
|
|
3022
3789
|
genreAndSubgenresTracksCount?: {
|
|
3023
|
-
|
|
3790
|
+
global: number;
|
|
3024
3791
|
regional: number;
|
|
3025
3792
|
all: number;
|
|
3026
3793
|
} | {
|
|
@@ -3029,7 +3796,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3029
3796
|
catalogue?: ({
|
|
3030
3797
|
genreOnlyTracksCount: number;
|
|
3031
3798
|
genreAndSubgenresTracksCount: {
|
|
3032
|
-
|
|
3799
|
+
global: number;
|
|
3033
3800
|
regional: number;
|
|
3034
3801
|
all: number;
|
|
3035
3802
|
} | {
|
|
@@ -3064,7 +3831,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3064
3831
|
isUnacceptedRoot: boolean;
|
|
3065
3832
|
genreOnlyTracksCount?: number | undefined;
|
|
3066
3833
|
genreAndSubgenresTracksCount?: {
|
|
3067
|
-
|
|
3834
|
+
global: number;
|
|
3068
3835
|
regional: number;
|
|
3069
3836
|
all: number;
|
|
3070
3837
|
} | {
|
|
@@ -3073,7 +3840,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3073
3840
|
catalogue?: ({
|
|
3074
3841
|
genreOnlyTracksCount: number;
|
|
3075
3842
|
genreAndSubgenresTracksCount: {
|
|
3076
|
-
|
|
3843
|
+
global: number;
|
|
3077
3844
|
regional: number;
|
|
3078
3845
|
all: number;
|
|
3079
3846
|
} | {
|
|
@@ -3132,7 +3899,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3132
3899
|
isUnacceptedRoot: boolean;
|
|
3133
3900
|
genreOnlyTracksCount?: number | undefined;
|
|
3134
3901
|
genreAndSubgenresTracksCount?: {
|
|
3135
|
-
|
|
3902
|
+
global: number;
|
|
3136
3903
|
regional: number;
|
|
3137
3904
|
all: number;
|
|
3138
3905
|
} | {
|
|
@@ -3141,7 +3908,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3141
3908
|
catalogue?: ({
|
|
3142
3909
|
genreOnlyTracksCount: number;
|
|
3143
3910
|
genreAndSubgenresTracksCount: {
|
|
3144
|
-
|
|
3911
|
+
global: number;
|
|
3145
3912
|
regional: number;
|
|
3146
3913
|
all: number;
|
|
3147
3914
|
} | {
|
|
@@ -3176,7 +3943,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3176
3943
|
isUnacceptedRoot: boolean;
|
|
3177
3944
|
genreOnlyTracksCount?: number | undefined;
|
|
3178
3945
|
genreAndSubgenresTracksCount?: {
|
|
3179
|
-
|
|
3946
|
+
global: number;
|
|
3180
3947
|
regional: number;
|
|
3181
3948
|
all: number;
|
|
3182
3949
|
} | {
|
|
@@ -3185,7 +3952,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3185
3952
|
catalogue?: ({
|
|
3186
3953
|
genreOnlyTracksCount: number;
|
|
3187
3954
|
genreAndSubgenresTracksCount: {
|
|
3188
|
-
|
|
3955
|
+
global: number;
|
|
3189
3956
|
regional: number;
|
|
3190
3957
|
all: number;
|
|
3191
3958
|
} | {
|
|
@@ -3221,7 +3988,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3221
3988
|
isUnacceptedRoot: boolean;
|
|
3222
3989
|
genreOnlyTracksCount?: number | undefined;
|
|
3223
3990
|
genreAndSubgenresTracksCount?: {
|
|
3224
|
-
|
|
3991
|
+
global: number;
|
|
3225
3992
|
regional: number;
|
|
3226
3993
|
all: number;
|
|
3227
3994
|
} | {
|
|
@@ -3230,7 +3997,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3230
3997
|
catalogue?: ({
|
|
3231
3998
|
genreOnlyTracksCount: number;
|
|
3232
3999
|
genreAndSubgenresTracksCount: {
|
|
3233
|
-
|
|
4000
|
+
global: number;
|
|
3234
4001
|
regional: number;
|
|
3235
4002
|
all: number;
|
|
3236
4003
|
} | {
|
|
@@ -3286,7 +4053,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3286
4053
|
isUnacceptedRoot: boolean;
|
|
3287
4054
|
genreOnlyTracksCount?: number | undefined;
|
|
3288
4055
|
genreAndSubgenresTracksCount?: {
|
|
3289
|
-
|
|
4056
|
+
global: number;
|
|
3290
4057
|
regional: number;
|
|
3291
4058
|
all: number;
|
|
3292
4059
|
} | {
|
|
@@ -3295,7 +4062,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3295
4062
|
catalogue?: ({
|
|
3296
4063
|
genreOnlyTracksCount: number;
|
|
3297
4064
|
genreAndSubgenresTracksCount: {
|
|
3298
|
-
|
|
4065
|
+
global: number;
|
|
3299
4066
|
regional: number;
|
|
3300
4067
|
all: number;
|
|
3301
4068
|
} | {
|
|
@@ -3330,7 +4097,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3330
4097
|
isUnacceptedRoot: boolean;
|
|
3331
4098
|
genreOnlyTracksCount?: number | undefined;
|
|
3332
4099
|
genreAndSubgenresTracksCount?: {
|
|
3333
|
-
|
|
4100
|
+
global: number;
|
|
3334
4101
|
regional: number;
|
|
3335
4102
|
all: number;
|
|
3336
4103
|
} | {
|
|
@@ -3339,7 +4106,7 @@ declare const useListFullGenrePlaylists: (scope: Scope, getBackendBaseUrl: () =>
|
|
|
3339
4106
|
catalogue?: ({
|
|
3340
4107
|
genreOnlyTracksCount: number;
|
|
3341
4108
|
genreAndSubgenresTracksCount: {
|
|
3342
|
-
|
|
4109
|
+
global: number;
|
|
3343
4110
|
regional: number;
|
|
3344
4111
|
all: number;
|
|
3345
4112
|
} | {
|
|
@@ -3463,61 +4230,44 @@ declare const ArtistDetailedSchema: z.ZodObject<{
|
|
|
3463
4230
|
longitude: z.ZodNullable<z.ZodNumber>;
|
|
3464
4231
|
latitude: z.ZodNullable<z.ZodNumber>;
|
|
3465
4232
|
regionId: z.ZodNullable<z.ZodString>;
|
|
3466
|
-
}, z.core.$strip>>;
|
|
3467
|
-
}, z.core.$strip>;
|
|
3468
|
-
type ArtistImage = CommonsImage;
|
|
3469
|
-
type ArtistOrigin = z.infer<typeof ArtistOriginSchema>;
|
|
3470
|
-
type ArtistDetailed = z.infer<typeof ArtistDetailedSchema>;
|
|
3471
|
-
type ArtistMembership = ArtistDetailed["members"][number];
|
|
3472
|
-
type ArtistLink = ArtistDetailed["links"][number];
|
|
3473
|
-
type ArtistAlbum = ArtistDetailed["albums"][number];
|
|
3474
|
-
|
|
3475
|
-
type UseArtistResult = Exclude<ResourceResult<ArtistDetailed>, {
|
|
3476
|
-
status: "success";
|
|
3477
|
-
}> | {
|
|
3478
|
-
status: "success";
|
|
3479
|
-
artist: ArtistDetailed;
|
|
3480
|
-
};
|
|
3481
|
-
/** `null` = absent (idle); any string is validated, and a malformed one is not found without a request. */
|
|
3482
|
-
declare function useArtist(uuid: string | null, getBackendBaseUrl: () => string): UseArtistResult;
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
}
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
name: z.ZodString;
|
|
3505
|
-
disambiguation: z.ZodNullable<z.ZodString>;
|
|
3506
|
-
type: z.ZodNullable<z.ZodEnum<{
|
|
3507
|
-
person: "person";
|
|
3508
|
-
group: "group";
|
|
3509
|
-
orchestra: "orchestra";
|
|
3510
|
-
choir: "choir";
|
|
3511
|
-
character: "character";
|
|
3512
|
-
other: "other";
|
|
3513
|
-
}>>;
|
|
3514
|
-
country: z.ZodNullable<z.ZodString>;
|
|
3515
|
-
beginYear: z.ZodNullable<z.ZodNumber>;
|
|
3516
|
-
endYear: z.ZodNullable<z.ZodNumber>;
|
|
3517
|
-
matchedAlias: z.ZodNullable<z.ZodString>;
|
|
3518
|
-
recordingCount: z.ZodNumber;
|
|
3519
|
-
}, z.core.$strip>>;
|
|
3520
|
-
type ArtistSearchResult = z.infer<typeof ArtistSearchResultSchema>;
|
|
4233
|
+
}, z.core.$strip>>;
|
|
4234
|
+
}, z.core.$strip>;
|
|
4235
|
+
type ArtistImage = CommonsImage;
|
|
4236
|
+
type ArtistOrigin = z.infer<typeof ArtistOriginSchema>;
|
|
4237
|
+
type ArtistDetailed = z.infer<typeof ArtistDetailedSchema>;
|
|
4238
|
+
type ArtistMembership = ArtistDetailed["members"][number];
|
|
4239
|
+
type ArtistLink = ArtistDetailed["links"][number];
|
|
4240
|
+
type ArtistAlbum = ArtistDetailed["albums"][number];
|
|
4241
|
+
|
|
4242
|
+
type UseArtistResult = Exclude<ResourceResult<ArtistDetailed>, {
|
|
4243
|
+
status: "success";
|
|
4244
|
+
}> | {
|
|
4245
|
+
status: "success";
|
|
4246
|
+
artist: ArtistDetailed;
|
|
4247
|
+
};
|
|
4248
|
+
/** `null` = absent (idle); any string is validated, and a malformed one is not found without a request. */
|
|
4249
|
+
declare function useArtist(uuid: string | null, getBackendBaseUrl: () => string): UseArtistResult;
|
|
4250
|
+
|
|
4251
|
+
type GenreSearchResult = z.output<typeof zV1GenresSearchListResponse>[number];
|
|
4252
|
+
type ArtistSearchResult = z.output<typeof zV1ArtistsSearchListResponse>[number];
|
|
4253
|
+
type SongSearchResult = z.output<typeof zV1LibrarySongsSearchListResponse>[number];
|
|
4254
|
+
type RegionGenreLexiconEntry = z.output<typeof zRegionMapGenresResponse>[number];
|
|
4255
|
+
type SongHistoryEntry = z.output<typeof zV1LibrarySongsHistoryListResponse>[number];
|
|
4256
|
+
type GenreSearchTreeName = "global" | "regional";
|
|
4257
|
+
type SongSearchGenreFilter = "any" | "with" | "without";
|
|
4258
|
+
interface SongSearchParams {
|
|
4259
|
+
q: string;
|
|
4260
|
+
limit?: number;
|
|
4261
|
+
genre?: SongSearchGenreFilter;
|
|
4262
|
+
playable?: boolean;
|
|
4263
|
+
}
|
|
4264
|
+
interface GenreSearchParams {
|
|
4265
|
+
q: string;
|
|
4266
|
+
limit?: number;
|
|
4267
|
+
treeName?: GenreSearchTreeName;
|
|
4268
|
+
}
|
|
4269
|
+
/** A song is playable when it has a video with no unplayable reason. */
|
|
4270
|
+
declare function isSongSearchResultPlayable(result: SongSearchResult): boolean;
|
|
3521
4271
|
|
|
3522
4272
|
interface UseArtistSearchResult {
|
|
3523
4273
|
artists: ArtistSearchResult[];
|
|
@@ -3662,24 +4412,6 @@ type UseSongResult = Exclude<ResourceResult<SongDetailed>, {
|
|
|
3662
4412
|
/** `null` = absent (idle); any string is validated, and a malformed one is not found without a request. */
|
|
3663
4413
|
declare function useSong(uuid: string | null, getBackendBaseUrl: () => string): UseSongResult;
|
|
3664
4414
|
|
|
3665
|
-
declare const SongHistoryEntrySchema: z.ZodObject<{
|
|
3666
|
-
uuid: z.ZodString;
|
|
3667
|
-
action: z.ZodString;
|
|
3668
|
-
actorPseudo: z.ZodNullable<z.ZodString>;
|
|
3669
|
-
oldValue: z.ZodNullable<z.ZodString>;
|
|
3670
|
-
newValue: z.ZodNullable<z.ZodString>;
|
|
3671
|
-
createdOn: z.ZodString;
|
|
3672
|
-
}, z.core.$strip>;
|
|
3673
|
-
declare const SongHistorySchema: z.ZodArray<z.ZodObject<{
|
|
3674
|
-
uuid: z.ZodString;
|
|
3675
|
-
action: z.ZodString;
|
|
3676
|
-
actorPseudo: z.ZodNullable<z.ZodString>;
|
|
3677
|
-
oldValue: z.ZodNullable<z.ZodString>;
|
|
3678
|
-
newValue: z.ZodNullable<z.ZodString>;
|
|
3679
|
-
createdOn: z.ZodString;
|
|
3680
|
-
}, z.core.$strip>>;
|
|
3681
|
-
type SongHistoryEntry = z.infer<typeof SongHistoryEntrySchema>;
|
|
3682
|
-
|
|
3683
4415
|
type UseSongHistoryResult = {
|
|
3684
4416
|
status: "idle";
|
|
3685
4417
|
} | {
|
|
@@ -3693,63 +4425,6 @@ type UseSongHistoryResult = {
|
|
|
3693
4425
|
/** Lazy: nothing is fetched until `enabled`, e.g. while the panel's History section is open. A null or malformed `uuid` stays idle. */
|
|
3694
4426
|
declare function useSongHistory(uuid: string | null, getBackendBaseUrl: () => string, enabled: boolean): UseSongHistoryResult;
|
|
3695
4427
|
|
|
3696
|
-
declare const SongSearchResultSchema: z.ZodObject<{
|
|
3697
|
-
uuid: z.ZodString;
|
|
3698
|
-
title: z.ZodString;
|
|
3699
|
-
artists: z.ZodArray<z.ZodObject<{
|
|
3700
|
-
uuid: z.ZodString;
|
|
3701
|
-
name: z.ZodString;
|
|
3702
|
-
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
3703
|
-
}, z.core.$strip>>;
|
|
3704
|
-
genre: z.ZodNullable<z.ZodObject<{
|
|
3705
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3706
|
-
name: z.ZodString;
|
|
3707
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3708
|
-
pop: "pop";
|
|
3709
|
-
core: "core";
|
|
3710
|
-
}>>>;
|
|
3711
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3712
|
-
}, z.core.$strip>>;
|
|
3713
|
-
youtubeVideo: z.ZodNullable<z.ZodObject<{
|
|
3714
|
-
id: z.ZodString;
|
|
3715
|
-
unplayableReason: z.ZodNullable<z.ZodString>;
|
|
3716
|
-
}, z.core.$strip>>;
|
|
3717
|
-
firstReleaseYear: z.ZodNullable<z.ZodNumber>;
|
|
3718
|
-
}, z.core.$strip>;
|
|
3719
|
-
declare const SongSearchResultsSchema: z.ZodArray<z.ZodObject<{
|
|
3720
|
-
uuid: z.ZodString;
|
|
3721
|
-
title: z.ZodString;
|
|
3722
|
-
artists: z.ZodArray<z.ZodObject<{
|
|
3723
|
-
uuid: z.ZodString;
|
|
3724
|
-
name: z.ZodString;
|
|
3725
|
-
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
3726
|
-
}, z.core.$strip>>;
|
|
3727
|
-
genre: z.ZodNullable<z.ZodObject<{
|
|
3728
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3729
|
-
name: z.ZodString;
|
|
3730
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3731
|
-
pop: "pop";
|
|
3732
|
-
core: "core";
|
|
3733
|
-
}>>>;
|
|
3734
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3735
|
-
}, z.core.$strip>>;
|
|
3736
|
-
youtubeVideo: z.ZodNullable<z.ZodObject<{
|
|
3737
|
-
id: z.ZodString;
|
|
3738
|
-
unplayableReason: z.ZodNullable<z.ZodString>;
|
|
3739
|
-
}, z.core.$strip>>;
|
|
3740
|
-
firstReleaseYear: z.ZodNullable<z.ZodNumber>;
|
|
3741
|
-
}, z.core.$strip>>;
|
|
3742
|
-
type SongSearchResult = z.infer<typeof SongSearchResultSchema>;
|
|
3743
|
-
type SongSearchGenreFilter = "any" | "with" | "without";
|
|
3744
|
-
interface SongSearchParams {
|
|
3745
|
-
q: string;
|
|
3746
|
-
limit?: number;
|
|
3747
|
-
genre?: SongSearchGenreFilter;
|
|
3748
|
-
playable?: boolean;
|
|
3749
|
-
}
|
|
3750
|
-
/** A song is playable when it has a video with no unplayable reason. */
|
|
3751
|
-
declare function isSongSearchResultPlayable(result: SongSearchResult): boolean;
|
|
3752
|
-
|
|
3753
4428
|
interface UseSongSearchResult {
|
|
3754
4429
|
songs: SongSearchResult[];
|
|
3755
4430
|
isError: boolean;
|
|
@@ -3760,24 +4435,24 @@ interface UseSongSearchResult {
|
|
|
3760
4435
|
}
|
|
3761
4436
|
declare function useSongSearch(getBackendBaseUrl: () => string, text: string, options?: Omit<SongSearchParams, "q">): UseSongSearchResult;
|
|
3762
4437
|
|
|
3763
|
-
/** The artist's footprint on the
|
|
4438
|
+
/** The artist's footprint on the global tree (sparse: non-zero genre playlists only). Idle while `artistUuid` is null or malformed, with no request. */
|
|
3764
4439
|
declare function useArtistGenreCounts(artistUuid: string | null, getBackendBaseUrl: () => string): _tanstack_react_query.UseQueryResult<NoInfer<{
|
|
3765
4440
|
catalogue: {
|
|
3766
4441
|
genreOnlyTracksCount: number;
|
|
3767
4442
|
genreAndSubgenresTracksCount: {
|
|
3768
|
-
|
|
4443
|
+
global: number;
|
|
3769
4444
|
regional: number;
|
|
3770
4445
|
all: number;
|
|
3771
4446
|
} | {
|
|
3772
4447
|
all: number;
|
|
3773
4448
|
};
|
|
3774
|
-
} &
|
|
3775
|
-
genrePlaylist: string &
|
|
4449
|
+
} & zod.$brand<"GenreCatalogueCounts">;
|
|
4450
|
+
genrePlaylist: string & zod.$brand<"GenrePlaylistUuid">;
|
|
3776
4451
|
songsCount: number;
|
|
3777
4452
|
tracksCount: number;
|
|
3778
4453
|
genreOnlyTracksCount: number;
|
|
3779
4454
|
genreAndSubgenresTracksCount: {
|
|
3780
|
-
|
|
4455
|
+
global: number;
|
|
3781
4456
|
regional: number;
|
|
3782
4457
|
all: number;
|
|
3783
4458
|
} | {
|
|
@@ -3790,7 +4465,7 @@ declare const CriteriaPlaylistSimpleSchema: z.ZodObject<{
|
|
|
3790
4465
|
name: z.ZodString;
|
|
3791
4466
|
genreOnlyTracksCount: z.ZodOptional<z.ZodNumber>;
|
|
3792
4467
|
genreAndSubgenresTracksCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
3793
|
-
|
|
4468
|
+
global: z.ZodNumber;
|
|
3794
4469
|
regional: z.ZodNumber;
|
|
3795
4470
|
all: z.ZodNumber;
|
|
3796
4471
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3809,7 +4484,7 @@ declare const CriteriaPlaylistSimpleSchema: z.ZodObject<{
|
|
|
3809
4484
|
catalogue: z.ZodOptional<z.core.$ZodBranded<z.ZodObject<{
|
|
3810
4485
|
genreOnlyTracksCount: z.ZodNumber;
|
|
3811
4486
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
3812
|
-
|
|
4487
|
+
global: z.ZodNumber;
|
|
3813
4488
|
regional: z.ZodNumber;
|
|
3814
4489
|
all: z.ZodNumber;
|
|
3815
4490
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3856,64 +4531,6 @@ interface UseGenreSearchResult<T extends CriteriaPlaylistSimple = CriteriaPlayli
|
|
|
3856
4531
|
/** In-memory genre search over already-loaded genre playlists. */
|
|
3857
4532
|
declare function useGenreSearch<T extends CriteriaPlaylistSimple = CriteriaPlaylistSimple>({ genrePlaylists, onSelect, selectedName, onClear, }: UseGenreSearchOptions<T>): UseGenreSearchResult<T>;
|
|
3858
4533
|
|
|
3859
|
-
declare const GenreSearchTreeNameSchema: z.ZodEnum<{
|
|
3860
|
-
canonical: "canonical";
|
|
3861
|
-
regional: "regional";
|
|
3862
|
-
}>;
|
|
3863
|
-
type GenreSearchTreeName = z.infer<typeof GenreSearchTreeNameSchema>;
|
|
3864
|
-
declare const GenreSearchResultSchema: z.ZodObject<{
|
|
3865
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3866
|
-
name: z.ZodString;
|
|
3867
|
-
wikidataId: z.ZodNullable<z.ZodString>;
|
|
3868
|
-
treeName: z.ZodString;
|
|
3869
|
-
genrePlaylistUuid: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">>;
|
|
3870
|
-
root: z.ZodObject<{
|
|
3871
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3872
|
-
name: z.ZodString;
|
|
3873
|
-
}, z.core.$strip>;
|
|
3874
|
-
isUmbrella: z.ZodBoolean;
|
|
3875
|
-
viewsCount: z.ZodNumber;
|
|
3876
|
-
}, z.core.$strip>;
|
|
3877
|
-
declare const GenreSearchResultsSchema: z.ZodArray<z.ZodObject<{
|
|
3878
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3879
|
-
name: z.ZodString;
|
|
3880
|
-
wikidataId: z.ZodNullable<z.ZodString>;
|
|
3881
|
-
treeName: z.ZodString;
|
|
3882
|
-
genrePlaylistUuid: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">>;
|
|
3883
|
-
root: z.ZodObject<{
|
|
3884
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3885
|
-
name: z.ZodString;
|
|
3886
|
-
}, z.core.$strip>;
|
|
3887
|
-
isUmbrella: z.ZodBoolean;
|
|
3888
|
-
viewsCount: z.ZodNumber;
|
|
3889
|
-
}, z.core.$strip>>;
|
|
3890
|
-
type GenreSearchResult = z.infer<typeof GenreSearchResultSchema>;
|
|
3891
|
-
interface GenreSearchParams {
|
|
3892
|
-
q: string;
|
|
3893
|
-
limit?: number;
|
|
3894
|
-
treeName?: GenreSearchTreeName;
|
|
3895
|
-
}
|
|
3896
|
-
/** One entry of `regions/map/genres/`: a genre the region map index references, keyed by Wikidata id. */
|
|
3897
|
-
declare const RegionGenreLexiconEntrySchema: z.ZodObject<{
|
|
3898
|
-
wikidataId: z.ZodString;
|
|
3899
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3900
|
-
name: z.ZodString;
|
|
3901
|
-
treeName: z.ZodString;
|
|
3902
|
-
genrePlaylistUuid: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">>;
|
|
3903
|
-
isUmbrella: z.ZodBoolean;
|
|
3904
|
-
viewsCount: z.ZodNumber;
|
|
3905
|
-
}, z.core.$strip>;
|
|
3906
|
-
declare const RegionGenreLexiconSchema: z.ZodArray<z.ZodObject<{
|
|
3907
|
-
wikidataId: z.ZodString;
|
|
3908
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
3909
|
-
name: z.ZodString;
|
|
3910
|
-
treeName: z.ZodString;
|
|
3911
|
-
genrePlaylistUuid: z.ZodNullable<z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">>;
|
|
3912
|
-
isUmbrella: z.ZodBoolean;
|
|
3913
|
-
viewsCount: z.ZodNumber;
|
|
3914
|
-
}, z.core.$strip>>;
|
|
3915
|
-
type RegionGenreLexiconEntry = z.infer<typeof RegionGenreLexiconEntrySchema>;
|
|
3916
|
-
|
|
3917
4534
|
interface UseGenreRemoteSearchOptions {
|
|
3918
4535
|
treeName?: GenreSearchTreeName;
|
|
3919
4536
|
limit?: number;
|
|
@@ -3925,7 +4542,7 @@ interface UseGenreRemoteSearchResult {
|
|
|
3925
4542
|
settled: boolean;
|
|
3926
4543
|
pending: boolean;
|
|
3927
4544
|
}
|
|
3928
|
-
/** Ranked server-side genre search (`genres/search/`) across the
|
|
4545
|
+
/** Ranked server-side genre search (`genres/search/`) across the global and regional trees. */
|
|
3929
4546
|
declare function useGenreRemoteSearch(getBackendBaseUrl: () => string, text: string, { treeName, limit, enabled }?: UseGenreRemoteSearchOptions): UseGenreRemoteSearchResult;
|
|
3930
4547
|
|
|
3931
4548
|
declare const SEARCH_DEBOUNCE_MS = 250;
|
|
@@ -3985,10 +4602,10 @@ declare function useSearchQueryState({ selectedName, onClear }?: UseSearchQueryS
|
|
|
3985
4602
|
declare function useRegionGenreLexicon(getBackendBaseUrl: () => string, enabled: boolean): {
|
|
3986
4603
|
entries: {
|
|
3987
4604
|
wikidataId: string;
|
|
3988
|
-
uuid: string
|
|
4605
|
+
uuid: string;
|
|
3989
4606
|
name: string;
|
|
3990
4607
|
treeName: string;
|
|
3991
|
-
genrePlaylistUuid:
|
|
4608
|
+
genrePlaylistUuid: string | null;
|
|
3992
4609
|
isUmbrella: boolean;
|
|
3993
4610
|
viewsCount: number;
|
|
3994
4611
|
}[];
|
|
@@ -4057,7 +4674,7 @@ interface UseVisibleGenrePlaylistsOptions {
|
|
|
4057
4674
|
artistUuid?: string | null;
|
|
4058
4675
|
}
|
|
4059
4676
|
/**
|
|
4060
|
-
* The tree the user can navigate: always the whole
|
|
4677
|
+
* The tree the user can navigate: always the whole global tree. When `artistUuid` is set it
|
|
4061
4678
|
* carries the artist's counts and `focusUuids` names their footprint (undefined otherwise); genres
|
|
4062
4679
|
* outside it stay navigable and renderers draw them muted. While the artist's counts load the
|
|
4063
4680
|
* current tree stays (with the previous artist's projection) and `isFetching` is true; `isLoading`
|
|
@@ -4090,7 +4707,7 @@ declare function useVisibleGenrePlaylists({ scope, getBackendBaseUrl, artistUuid
|
|
|
4090
4707
|
isUnacceptedRoot: boolean;
|
|
4091
4708
|
genreOnlyTracksCount?: number | undefined;
|
|
4092
4709
|
genreAndSubgenresTracksCount?: {
|
|
4093
|
-
|
|
4710
|
+
global: number;
|
|
4094
4711
|
regional: number;
|
|
4095
4712
|
all: number;
|
|
4096
4713
|
} | {
|
|
@@ -4099,7 +4716,7 @@ declare function useVisibleGenrePlaylists({ scope, getBackendBaseUrl, artistUuid
|
|
|
4099
4716
|
catalogue?: ({
|
|
4100
4717
|
genreOnlyTracksCount: number;
|
|
4101
4718
|
genreAndSubgenresTracksCount: {
|
|
4102
|
-
|
|
4719
|
+
global: number;
|
|
4103
4720
|
regional: number;
|
|
4104
4721
|
all: number;
|
|
4105
4722
|
} | {
|
|
@@ -4134,7 +4751,7 @@ declare function useVisibleGenrePlaylists({ scope, getBackendBaseUrl, artistUuid
|
|
|
4134
4751
|
isUnacceptedRoot: boolean;
|
|
4135
4752
|
genreOnlyTracksCount?: number | undefined;
|
|
4136
4753
|
genreAndSubgenresTracksCount?: {
|
|
4137
|
-
|
|
4754
|
+
global: number;
|
|
4138
4755
|
regional: number;
|
|
4139
4756
|
all: number;
|
|
4140
4757
|
} | {
|
|
@@ -4143,7 +4760,7 @@ declare function useVisibleGenrePlaylists({ scope, getBackendBaseUrl, artistUuid
|
|
|
4143
4760
|
catalogue?: ({
|
|
4144
4761
|
genreOnlyTracksCount: number;
|
|
4145
4762
|
genreAndSubgenresTracksCount: {
|
|
4146
|
-
|
|
4763
|
+
global: number;
|
|
4147
4764
|
regional: number;
|
|
4148
4765
|
all: number;
|
|
4149
4766
|
} | {
|
|
@@ -4158,7 +4775,7 @@ declare function useVisibleGenrePlaylists({ scope, getBackendBaseUrl, artistUuid
|
|
|
4158
4775
|
};
|
|
4159
4776
|
|
|
4160
4777
|
declare const SubgenreCountsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
4161
|
-
|
|
4778
|
+
global: z.ZodNumber;
|
|
4162
4779
|
regional: z.ZodNumber;
|
|
4163
4780
|
all: z.ZodNumber;
|
|
4164
4781
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4167,7 +4784,7 @@ declare const SubgenreCountsSchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
4167
4784
|
declare const GenreCountsSchema: z.ZodObject<{
|
|
4168
4785
|
genreOnlyTracksCount: z.ZodNumber;
|
|
4169
4786
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4170
|
-
|
|
4787
|
+
global: z.ZodNumber;
|
|
4171
4788
|
regional: z.ZodNumber;
|
|
4172
4789
|
all: z.ZodNumber;
|
|
4173
4790
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4177,7 +4794,7 @@ declare const GenreCountsSchema: z.ZodObject<{
|
|
|
4177
4794
|
declare const GenreCatalogueCountsSchema: z.core.$ZodBranded<z.ZodObject<{
|
|
4178
4795
|
genreOnlyTracksCount: z.ZodNumber;
|
|
4179
4796
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4180
|
-
|
|
4797
|
+
global: z.ZodNumber;
|
|
4181
4798
|
regional: z.ZodNumber;
|
|
4182
4799
|
all: z.ZodNumber;
|
|
4183
4800
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4189,7 +4806,7 @@ declare const GenrePlaylistSummarySchema: z.core.$ZodBranded<z.ZodObject<{
|
|
|
4189
4806
|
name: z.ZodString;
|
|
4190
4807
|
genreOnlyTracksCount: z.ZodNumber;
|
|
4191
4808
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4192
|
-
|
|
4809
|
+
global: z.ZodNumber;
|
|
4193
4810
|
regional: z.ZodNumber;
|
|
4194
4811
|
all: z.ZodNumber;
|
|
4195
4812
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4202,7 +4819,7 @@ declare const GenreCoverageSchema: z.ZodEnum<{
|
|
|
4202
4819
|
}>;
|
|
4203
4820
|
declare const SubgenreScopeSchema: z.ZodEnum<{
|
|
4204
4821
|
all: "all";
|
|
4205
|
-
|
|
4822
|
+
global: "global";
|
|
4206
4823
|
regional: "regional";
|
|
4207
4824
|
}>;
|
|
4208
4825
|
type GenreCatalogueCounts = z.infer<typeof GenreCatalogueCountsSchema>;
|
|
@@ -4450,12 +5067,12 @@ declare const UuidResourceSchema: z.ZodObject<{
|
|
|
4450
5067
|
}, z.core.$strip>;
|
|
4451
5068
|
type UuidResource = z.infer<typeof UuidResourceSchema>;
|
|
4452
5069
|
|
|
4453
|
-
/** One non-zero node of an artist's footprint on the
|
|
5070
|
+
/** One non-zero node of an artist's footprint on the global genre tree. */
|
|
4454
5071
|
declare const ArtistGenreCountSchema: z.ZodObject<{
|
|
4455
5072
|
catalogue: z.core.$ZodBranded<z.ZodObject<{
|
|
4456
5073
|
genreOnlyTracksCount: z.ZodNumber;
|
|
4457
5074
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4458
|
-
|
|
5075
|
+
global: z.ZodNumber;
|
|
4459
5076
|
regional: z.ZodNumber;
|
|
4460
5077
|
all: z.ZodNumber;
|
|
4461
5078
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4467,7 +5084,7 @@ declare const ArtistGenreCountSchema: z.ZodObject<{
|
|
|
4467
5084
|
tracksCount: z.ZodNumber;
|
|
4468
5085
|
genreOnlyTracksCount: z.ZodNumber;
|
|
4469
5086
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4470
|
-
|
|
5087
|
+
global: z.ZodNumber;
|
|
4471
5088
|
regional: z.ZodNumber;
|
|
4472
5089
|
all: z.ZodNumber;
|
|
4473
5090
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4590,7 +5207,7 @@ declare const CriteriaPlaylistDetailedSchema: z.ZodObject<{
|
|
|
4590
5207
|
tracksCount: z.ZodNumber;
|
|
4591
5208
|
genreOnlyTracksCount: z.ZodOptional<z.ZodNumber>;
|
|
4592
5209
|
genreAndSubgenresTracksCount: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
|
|
4593
|
-
|
|
5210
|
+
global: z.ZodNumber;
|
|
4594
5211
|
regional: z.ZodNumber;
|
|
4595
5212
|
all: z.ZodNumber;
|
|
4596
5213
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4599,7 +5216,7 @@ declare const CriteriaPlaylistDetailedSchema: z.ZodObject<{
|
|
|
4599
5216
|
catalogue: z.ZodOptional<z.core.$ZodBranded<z.ZodObject<{
|
|
4600
5217
|
genreOnlyTracksCount: z.ZodNumber;
|
|
4601
5218
|
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4602
|
-
|
|
5219
|
+
global: z.ZodNumber;
|
|
4603
5220
|
regional: z.ZodNumber;
|
|
4604
5221
|
all: z.ZodNumber;
|
|
4605
5222
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -4813,7 +5430,7 @@ declare const getGenrePlaylistsGroupedByRoot: (genrePlaylists: CriteriaPlaylistS
|
|
|
4813
5430
|
isUnacceptedRoot: boolean;
|
|
4814
5431
|
genreOnlyTracksCount?: number | undefined;
|
|
4815
5432
|
genreAndSubgenresTracksCount?: {
|
|
4816
|
-
|
|
5433
|
+
global: number;
|
|
4817
5434
|
regional: number;
|
|
4818
5435
|
all: number;
|
|
4819
5436
|
} | {
|
|
@@ -4822,7 +5439,7 @@ declare const getGenrePlaylistsGroupedByRoot: (genrePlaylists: CriteriaPlaylistS
|
|
|
4822
5439
|
catalogue?: ({
|
|
4823
5440
|
genreOnlyTracksCount: number;
|
|
4824
5441
|
genreAndSubgenresTracksCount: {
|
|
4825
|
-
|
|
5442
|
+
global: number;
|
|
4826
5443
|
regional: number;
|
|
4827
5444
|
all: number;
|
|
4828
5445
|
} | {
|
|
@@ -4841,13 +5458,13 @@ declare const hasMainstreamPopRoot: (nodes: {
|
|
|
4841
5458
|
}[]) => boolean;
|
|
4842
5459
|
|
|
4843
5460
|
interface ArtistGenreProjection {
|
|
4844
|
-
/** Every
|
|
5461
|
+
/** Every global playlist, carrying the artist's counts (zero outside the footprint). */
|
|
4845
5462
|
genrePlaylists: CriteriaPlaylistSimple[];
|
|
4846
5463
|
/** The artist's footprint: renderers draw every other node muted instead of dropping it. */
|
|
4847
5464
|
focusUuids: ReadonlySet<string>;
|
|
4848
5465
|
}
|
|
4849
5466
|
/**
|
|
4850
|
-
* Projects an artist onto the
|
|
5467
|
+
* Projects an artist onto the global tree. No node is dropped: every playlist carries the
|
|
4851
5468
|
* artist's counts (zero outside the footprint). The footprint is the nodes with songs in their
|
|
4852
5469
|
* subtree, which includes every ancestor of such a node; an artist without genres has an empty
|
|
4853
5470
|
* footprint. Since nothing is pruned, no structural node needs to be kept in focus.
|
|
@@ -4899,155 +5516,4 @@ type SongsPage = {
|
|
|
4899
5516
|
*/
|
|
4900
5517
|
declare function editGenreSongPages<P extends SongsPage>(data: InfiniteData<P> | undefined, edit: (tracks: P["tracks"]) => P["tracks"]): InfiniteData<P> | undefined;
|
|
4901
5518
|
|
|
4902
|
-
|
|
4903
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4904
|
-
name: z.ZodString;
|
|
4905
|
-
summary: z.ZodNullable<z.ZodString>;
|
|
4906
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4907
|
-
parent: z.ZodNullable<z.ZodObject<{
|
|
4908
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4909
|
-
name: z.ZodString;
|
|
4910
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4911
|
-
pop: "pop";
|
|
4912
|
-
core: "core";
|
|
4913
|
-
}>>>;
|
|
4914
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4915
|
-
}, z.core.$strip>>;
|
|
4916
|
-
ascendants: z.ZodArray<z.ZodObject<{
|
|
4917
|
-
ascendant: z.ZodObject<{
|
|
4918
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4919
|
-
name: z.ZodString;
|
|
4920
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4921
|
-
pop: "pop";
|
|
4922
|
-
core: "core";
|
|
4923
|
-
}>>>;
|
|
4924
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4925
|
-
}, z.core.$strip>;
|
|
4926
|
-
degree: z.ZodNumber;
|
|
4927
|
-
}, z.core.$strip>>;
|
|
4928
|
-
descendants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4929
|
-
descendant: z.ZodObject<{
|
|
4930
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4931
|
-
name: z.ZodString;
|
|
4932
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4933
|
-
pop: "pop";
|
|
4934
|
-
core: "core";
|
|
4935
|
-
}>>>;
|
|
4936
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4937
|
-
}, z.core.$strip>;
|
|
4938
|
-
degree: z.ZodNumber;
|
|
4939
|
-
}, z.core.$strip>>>;
|
|
4940
|
-
root: z.ZodObject<{
|
|
4941
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4942
|
-
name: z.ZodString;
|
|
4943
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4944
|
-
pop: "pop";
|
|
4945
|
-
core: "core";
|
|
4946
|
-
}>>>;
|
|
4947
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4948
|
-
}, z.core.$strip>;
|
|
4949
|
-
children: z.ZodArray<z.ZodObject<{
|
|
4950
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
4951
|
-
name: z.ZodString;
|
|
4952
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4953
|
-
pop: "pop";
|
|
4954
|
-
core: "core";
|
|
4955
|
-
}>>>;
|
|
4956
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4957
|
-
}, z.core.$strip>>;
|
|
4958
|
-
tracks: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4959
|
-
title: z.ZodString;
|
|
4960
|
-
uuid: z.ZodString;
|
|
4961
|
-
artists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4962
|
-
uuid: z.ZodString;
|
|
4963
|
-
name: z.ZodString;
|
|
4964
|
-
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
4965
|
-
}, z.core.$strip>>>>;
|
|
4966
|
-
}, z.core.$strip>>>;
|
|
4967
|
-
essentialSongs: z.ZodArray<z.ZodObject<{
|
|
4968
|
-
title: z.ZodString;
|
|
4969
|
-
uuid: z.ZodString;
|
|
4970
|
-
artists: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
4971
|
-
uuid: z.ZodString;
|
|
4972
|
-
name: z.ZodString;
|
|
4973
|
-
isSpecialPurpose: z.ZodOptional<z.ZodBoolean>;
|
|
4974
|
-
}, z.core.$strip>>>>;
|
|
4975
|
-
}, z.core.$strip>>;
|
|
4976
|
-
tracksCount: z.ZodNumber;
|
|
4977
|
-
updatedOn: z.ZodNullable<z.ZodString>;
|
|
4978
|
-
catalogue: z.core.$ZodBranded<z.ZodObject<{
|
|
4979
|
-
genreOnlyTracksCount: z.ZodNumber;
|
|
4980
|
-
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4981
|
-
canonical: z.ZodNumber;
|
|
4982
|
-
regional: z.ZodNumber;
|
|
4983
|
-
all: z.ZodNumber;
|
|
4984
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4985
|
-
all: z.ZodNumber;
|
|
4986
|
-
}, z.core.$strict>]>;
|
|
4987
|
-
}, z.core.$strip>, "GenreCatalogueCounts", "out">;
|
|
4988
|
-
criteriaPlaylist: z.ZodNullable<z.core.$ZodBranded<z.ZodObject<{
|
|
4989
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
4990
|
-
name: z.ZodString;
|
|
4991
|
-
genreOnlyTracksCount: z.ZodNumber;
|
|
4992
|
-
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
4993
|
-
canonical: z.ZodNumber;
|
|
4994
|
-
regional: z.ZodNumber;
|
|
4995
|
-
all: z.ZodNumber;
|
|
4996
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
4997
|
-
all: z.ZodNumber;
|
|
4998
|
-
}, z.core.$strict>]>;
|
|
4999
|
-
}, z.core.$strip>, "GenrePlaylistSummary", "out">>;
|
|
5000
|
-
}, z.core.$strip>;
|
|
5001
|
-
declare const ReferenceGenrePlaylistSchema: z.ZodObject<{
|
|
5002
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
5003
|
-
name: z.ZodString;
|
|
5004
|
-
createdOn: z.ZodString;
|
|
5005
|
-
updatedOn: z.ZodNullable<z.ZodString>;
|
|
5006
|
-
root: z.ZodObject<{
|
|
5007
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
5008
|
-
name: z.ZodString;
|
|
5009
|
-
}, z.core.$strip>;
|
|
5010
|
-
parent: z.ZodNullable<z.ZodObject<{
|
|
5011
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenrePlaylistUuid", "out">;
|
|
5012
|
-
name: z.ZodString;
|
|
5013
|
-
}, z.core.$strip>>;
|
|
5014
|
-
tracksCount: z.ZodNumber;
|
|
5015
|
-
viewsCount: z.ZodOptional<z.ZodNumber>;
|
|
5016
|
-
criteria: z.ZodNullable<z.ZodObject<{
|
|
5017
|
-
uuid: z.core.$ZodBranded<z.ZodString, "GenreUuid", "out">;
|
|
5018
|
-
name: z.ZodString;
|
|
5019
|
-
side: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5020
|
-
pop: "pop";
|
|
5021
|
-
core: "core";
|
|
5022
|
-
}>>>;
|
|
5023
|
-
wikidataId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5024
|
-
}, z.core.$strip>>;
|
|
5025
|
-
isUnacceptedRoot: z.ZodBoolean;
|
|
5026
|
-
isUmbrella: z.ZodOptional<z.ZodBoolean>;
|
|
5027
|
-
scene: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5028
|
-
commercial: "commercial";
|
|
5029
|
-
underground: "underground";
|
|
5030
|
-
}>>>;
|
|
5031
|
-
catalogue: z.core.$ZodBranded<z.ZodObject<{
|
|
5032
|
-
genreOnlyTracksCount: z.ZodNumber;
|
|
5033
|
-
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
5034
|
-
canonical: z.ZodNumber;
|
|
5035
|
-
regional: z.ZodNumber;
|
|
5036
|
-
all: z.ZodNumber;
|
|
5037
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5038
|
-
all: z.ZodNumber;
|
|
5039
|
-
}, z.core.$strict>]>;
|
|
5040
|
-
}, z.core.$strip>, "GenreCatalogueCounts", "out">;
|
|
5041
|
-
genreOnlyTracksCount: z.ZodNumber;
|
|
5042
|
-
genreAndSubgenresTracksCount: z.ZodUnion<readonly [z.ZodObject<{
|
|
5043
|
-
canonical: z.ZodNumber;
|
|
5044
|
-
regional: z.ZodNumber;
|
|
5045
|
-
all: z.ZodNumber;
|
|
5046
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
5047
|
-
all: z.ZodNumber;
|
|
5048
|
-
}, z.core.$strict>]>;
|
|
5049
|
-
}, z.core.$strip>;
|
|
5050
|
-
type ReferenceGenreDetailed = z.infer<typeof ReferenceGenreDetailedSchema>;
|
|
5051
|
-
type ReferenceGenrePlaylist = z.infer<typeof ReferenceGenrePlaylistSchema>;
|
|
5052
|
-
|
|
5053
|
-
export { ARTIST_LINK_KINDS, type AlbumMinimum, AlbumMinimumSchema, type ArtistAlbum, type ArtistDetailed, ArtistDetailedSchema, type ArtistGenreCount, ArtistGenreCountSchema, type ArtistGenreProjection, type ArtistImage, ArtistImageSchema, type ArtistLink, type ArtistMembership, type ArtistMinimum, ArtistMinimumSchema, ArtistNames, type ArtistOrigin, ArtistOriginSchema, type ArtistSearchResult, ArtistSearchResultSchema, ArtistSearchResultsSchema, type ArtistSongsOrdering, type ArtistTrackListOriginInput, type CommonsImage, CommonsImageSchema, CriteriaCreationSchema, type CriteriaCreationValues, type CriteriaDetailed, CriteriaDetailedSchema, type CriteriaLineageRelWithoutAscendant, CriteriaLineageRelWithoutAscendantSchema, type CriteriaLineageRelWithoutDescendant, CriteriaLineageRelWithoutDescendantSchema, type CriteriaMinimum, CriteriaMinimumSchema, type CriteriaOverview, CriteriaOverviewSchema, type CriteriaPlaylistDetailed, CriteriaPlaylistDetailedSchema, type CriteriaPlaylistMinimum, CriteriaPlaylistMinimumSchema, type CriteriaPlaylistSimple, CriteriaPlaylistSimpleSchema, type CriteriaSimple, CriteriaSimpleSchema, CriteriaUpdateSchema, type CriteriaUpdateValues, FORM_RATING_NULL_VALUE, FUZZY_MIN_SIMILARITY, type GenreCatalogueCounts, GenreCatalogueCountsSchema, GenreCountsSchema, type GenreCoverage, GenreCoverageSchema, type GenreMusicCounts, type GenreMusicSelection, type GenrePlaylistSummary, GenrePlaylistSummarySchema, type GenrePlaylistTracksPage, GenrePlaylistUuid, type GenreSearchParams, type GenreSearchResult, GenreSearchResultSchema, GenreSearchResultsSchema, type GenreSearchTreeName, GenreSearchTreeNameSchema, GenreUuid, type GenreViewMode, MbArtistDetailedSchema, MbRecordingDetailedSchema, type MusicbrainzArtistDetailed, type MusicbrainzRecordingDetailed, NO_VIDEO_LABEL, type NameIndex, type PlayArtistOptions, type PlayGenrePlaylistOptions, type ReferenceGenreDetailed, ReferenceGenreDetailedSchema, type ReferenceGenrePlaylist, ReferenceGenrePlaylistSchema, type RegionGenreLexiconEntry, RegionGenreLexiconEntrySchema, RegionGenreLexiconSchema, type RenderArtistLink, type RenderPlaceLink, 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, TracksFailureAlreadyReportedError, type UseArtistResult, type UseArtistSearchResult, type UseGenreRemoteSearchOptions, type UseGenreRemoteSearchResult, type UseGenreResult, type UseGenreSearchOptions, type UseGenreSearchResult, type UseGenreTreeViewStateOptions, type UseGenreTreeViewStateResult, type UseRemoteSearchOptions, type UseRemoteSearchResult, type UseSearchQueryStateOptions, type UseSearchQueryStateResult, type UseSongHistoryResult, type UseSongResult, type UseSongSearchResult, type UseVisibleGenrePlaylistsOptions, type UuidResource, UuidResourceSchema, YOUTUBE_UNPLAYABLE_REASON_LABELS, YoutubeAvailabilitySchema, type YoutubeUnplayableReason, artistEndpoints, artistQueryKeys, capitalizeFirstLetter, createNameIndex, defaultGenreMusicSelection, editGenreSongPages, foldSearchText, formatTime, genreEndpoints, genreMusicCount, genreMusicQueryParams, genreMusicSelectionKey, genrePlaylistEndpoints, genrePlaylistQueryKeys, genrePlaylistTrackCount, genreQueryKeys, genreSearchQueryKeys, genreUpdateMutationKey, getGenrePlaylistsGroupedByRoot, getReparentCandidates, hasMainstreamPopRoot, isSong, isSongSearchResultPlayable, libraryEndpoints, libraryQueryKeys, makeTrackPlaylistRelPageSchema, makeTrackPlaylistRelSchema, musicBrainzRecordingUrl, projectGenrePlaylistsForArtist, rankByName, rankNameIndex, searchGenrePlaylistsByName, songUnplayableReason, trigramSimilarity, useArtist, useArtistGenreCounts, useArtistSearch, useCreateGenre, useDeleteGenre, useFetchGenre, useFetchGenreDetail, useFetchGenreOverview, useFetchGenrePlaylist, useGenreByWikidataId, useGenreRemoteSearch, useGenreSearch, useGenreTreeViewState, useInvalidateAllGenrePlaylistQueries, useListFullGenrePlaylists, useListGenrePlaylists, useListGenres, useListTracks, usePrefetchGenreOverview, useRegionGenreLexicon, useRemoteSearch, useSearchQueryState, useSong, useSongHistory, useSongSearch, useTrackList, useTrackListSidebarVisibility, useUpdateGenre, useVisibleGenrePlaylists };
|
|
5519
|
+
export { ARTIST_LINK_KINDS, type AlbumMinimum, AlbumMinimumSchema, type ArtistAlbum, type ArtistDetailed, ArtistDetailedSchema, type ArtistGenreCount, ArtistGenreCountSchema, type ArtistGenreProjection, type ArtistImage, ArtistImageSchema, type ArtistLink, type ArtistMembership, type ArtistMinimum, ArtistMinimumSchema, ArtistNames, type ArtistOrigin, ArtistOriginSchema, type ArtistSearchResult, type ArtistSongsOrdering, type ArtistTrackListOriginInput, type CommonsImage, CommonsImageSchema, 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 GenreDetail, type GenreMusicCounts, type GenreMusicSelection, type GenreOverview, type GenrePlaylistSummary, GenrePlaylistSummarySchema, type GenrePlaylistTracksPage, GenrePlaylistUuid, type GenreSearchParams, type GenreSearchResult, type GenreSearchTreeName, GenreUuid, type GenreViewMode, MbArtistDetailedSchema, MbRecordingDetailedSchema, type MusicbrainzArtistDetailed, type MusicbrainzRecordingDetailed, NO_VIDEO_LABEL, type NameIndex, type PlayArtistOptions, type PlayGenrePlaylistOptions, type ReferenceGenreDetailed, ReferenceGenreDetailedSchema, type ReferenceGenrePlaylist, ReferenceGenrePlaylistSchema, type RegionGenreLexiconEntry, type RenderArtistLink, type RenderPlaceLink, type RenderSongLink, type ReparentCandidate, SEARCH_DEBOUNCE_MS, SEARCH_QUERY_MIN_LENGTH, type SongDetailed, SongDetailedSchema, type SongHistoryEntry, type SongSearchGenreFilter, type SongSearchParams, type SongSearchResult, SubgenreCountsSchema, type SubgenreScope, SubgenreScopeSchema, type TrackBase, TrackBaseSchema, TrackList, TrackListFromArtist, TrackListFromCriteriaPlaylist, TrackListFromTrack, TrackListOrigin, TrackListOriginFromArtist, TrackListOriginFromCriteriaPlaylist, TrackListOriginFromGenreCatalogue, TrackListOriginFromTrack, TrackListOriginType, TrackListProvider, TrackListSidebarVisibilityProvider, type TrackMinimum, TrackMinimumSchema, type TrackPlaylistRel, TracksFailureAlreadyReportedError, type UseArtistResult, type UseArtistSearchResult, type UseGenreRemoteSearchOptions, type UseGenreRemoteSearchResult, type UseGenreResult, type UseGenreSearchOptions, type UseGenreSearchResult, type UseGenreTreeViewStateOptions, type UseGenreTreeViewStateResult, type UseRemoteSearchOptions, type UseRemoteSearchResult, type UseSearchQueryStateOptions, type UseSearchQueryStateResult, type UseSongHistoryResult, type UseSongResult, type UseSongSearchResult, type UseVisibleGenrePlaylistsOptions, type UuidResource, UuidResourceSchema, YOUTUBE_UNPLAYABLE_REASON_LABELS, YoutubeAvailabilitySchema, type YoutubeUnplayableReason, artistEndpoints, artistQueryKeys, capitalizeFirstLetter, createNameIndex, defaultGenreMusicSelection, editGenreSongPages, foldSearchText, formatTime, genreEndpoints, genreMusicCount, genreMusicQueryParams, genreMusicSelectionKey, genrePlaylistEndpoints, genrePlaylistQueryKeys, genrePlaylistTrackCount, genreQueryKeys, genreSearchQueryKeys, genreUpdateMutationKey, getGenrePlaylistsGroupedByRoot, getReparentCandidates, hasMainstreamPopRoot, isSong, isSongSearchResultPlayable, libraryEndpoints, libraryQueryKeys, makeTrackPlaylistRelPageSchema, makeTrackPlaylistRelSchema, musicBrainzRecordingUrl, projectGenrePlaylistsForArtist, rankByName, rankNameIndex, searchGenrePlaylistsByName, songUnplayableReason, trigramSimilarity, useArtist, useArtistGenreCounts, useArtistSearch, useCreateGenre, useDeleteGenre, useFetchGenre, useFetchGenreDetail, useFetchGenreOverview, useFetchGenrePlaylist, useGenreByWikidataId, useGenreRemoteSearch, useGenreSearch, useGenreTreeViewState, useInvalidateAllGenrePlaylistQueries, useListFullGenrePlaylists, useListGenrePlaylists, useListGenres, useListTracks, usePrefetchGenreOverview, useRegionGenreLexicon, useRemoteSearch, useSearchQueryState, useSong, useSongHistory, useSongSearch, useTrackList, useTrackListSidebarVisibility, useUpdateGenre, useVisibleGenrePlaylists };
|