mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-15 13:00:25 +02:00
remove _custom query usage for playlists
This commit is contained in:
@@ -527,6 +527,7 @@ const createPlaylist = playlist.pick({
|
||||
const createPlaylistParameters = z.object({
|
||||
comment: z.string().optional(),
|
||||
name: z.string(),
|
||||
ownerId: z.string().optional(),
|
||||
public: z.boolean().optional(),
|
||||
rules: z.record(z.any()).optional(),
|
||||
sync: z.boolean().optional(),
|
||||
|
||||
@@ -893,7 +893,10 @@ export type CreatePlaylistBody = {
|
||||
_custom?: Record<string, any>;
|
||||
comment?: string;
|
||||
name: string;
|
||||
ownerId?: string;
|
||||
public?: boolean;
|
||||
queryBuilderRules?: Record<string, any>;
|
||||
sync?: boolean;
|
||||
};
|
||||
|
||||
// Create Playlist
|
||||
@@ -924,6 +927,7 @@ export type PlaylistListCountArgs = BaseEndpointArgs & { query: ListCountQuery<P
|
||||
|
||||
export interface PlaylistListQuery extends BaseQuery<PlaylistListSort> {
|
||||
_custom?: Record<string, any>;
|
||||
excludeSmartPlaylists?: boolean;
|
||||
limit?: number;
|
||||
searchTerm?: string;
|
||||
startIndex: number;
|
||||
@@ -978,7 +982,10 @@ export type UpdatePlaylistBody = {
|
||||
comment?: string;
|
||||
genres?: Genre[];
|
||||
name: string;
|
||||
ownerId?: string;
|
||||
public?: boolean;
|
||||
queryBuilderRules?: Record<string, any>;
|
||||
sync?: boolean;
|
||||
};
|
||||
|
||||
export type UpdatePlaylistQuery = {
|
||||
|
||||
Reference in New Issue
Block a user