UNPKG

@etherna/sdk-js

Version:

Etherna SDKs for operations on the network

26 lines 1.52 kB
import { z } from "zod"; export declare const PlaylistsSchema: z.ZodArray<z.ZodEffects<z.ZodString, import("../clients").Reference, string>, "many">; export declare const UserPlaylistsRawSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{ /** Reference to the channel playlist */ channel: z.ZodOptional<z.ZodEffects<z.ZodString, import("../clients").Reference, string>>; /** Reference to the saved videos playlist */ saved: z.ZodOptional<z.ZodEffects<z.ZodString, import("../clients").Reference, string>>; /** Reference list of custom playlists */ custom: z.ZodOptional<z.ZodArray<z.ZodEffects<z.ZodString, import("../clients").Reference, string>, "many">>; }, "strip", z.ZodTypeAny, { channel?: import("../clients").Reference | undefined; saved?: import("../clients").Reference | undefined; custom?: import("../clients").Reference[] | undefined; }, { channel?: string | undefined; saved?: string | undefined; custom?: string[] | undefined; }>, import("../clients").Reference[], { channel?: string | undefined; saved?: string | undefined; custom?: string[] | undefined; }>, z.ZodArray<z.ZodEffects<z.ZodString, import("../clients").Reference, string>, "many">]>; export declare const UserPlaylistsSchema: z.ZodArray<z.ZodEffects<z.ZodString, import("../clients").Reference, string>, "many">; export type UserPlaylistsRaw = z.infer<typeof UserPlaylistsRawSchema>; export type UserPlaylists = z.infer<typeof UserPlaylistsSchema>; //# sourceMappingURL=playlists.d.ts.map