/** * GENERATED CODE - DO NOT MODIFY */ import { Lexicons, type ValidationResult } from '@atproto/lexicon'; export declare const schemaDict: { readonly ComClioplaylistsAlphaActorProfile: { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.actor.profile"; readonly defs: { readonly main: { readonly type: "record"; readonly description: "A declaration of a Clio account profile."; readonly key: "literal:self"; readonly record: { readonly type: "object"; readonly required: ["displayName", "createdAt"]; readonly properties: { readonly displayName: { readonly type: "string"; readonly maxGraphemes: 64; readonly maxLength: 640; }; readonly bio: { readonly type: "string"; readonly description: "Free-form profile bio text."; readonly maxGraphemes: 300; readonly maxLength: 3000; }; readonly avatar: { readonly type: "blob"; readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'"; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 1000000; }; readonly banner: { readonly type: "blob"; readonly description: "Larger horizontal image to display behind profile view."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 1000000; }; readonly pinnedPlaylistIdea: { readonly type: "ref"; readonly ref: "lex:com.atproto.repo.strongRef"; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "Client-declared timestamp when this record was originally created."; }; }; }; }; }; }; readonly ComClioplaylistsAlphaFeedDefs: { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.defs"; readonly description: "A song's definition, which can be used to build playlists."; readonly defs: { readonly song: { readonly type: "object"; readonly required: ["trackName", "artistNames", "trackMbId", "artistMbIds"]; readonly properties: { readonly trackName: { readonly type: "string"; readonly description: "The title of the track."; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly artistNames: { readonly type: "array"; readonly description: "Array of artist names in order of original appearance."; readonly items: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly maxLength: 20; }; readonly trackMbId: { readonly type: "string"; readonly description: "The MusicBrainz ID of the track."; readonly maxLength: 36; }; readonly artistMbIds: { readonly type: "array"; readonly description: "Array of Musicbrainz artist IDs."; readonly items: { readonly type: "string"; readonly maxLength: 36; }; readonly maxLength: 20; }; readonly albumArtworkRef: { readonly type: "blob"; readonly description: "Image associated with the song's album."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; readonly songView: { readonly type: "object"; readonly required: ["trackName", "artistNames", "trackMbId", "artistMbIds"]; readonly properties: { readonly trackName: { readonly type: "string"; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly artistNames: { readonly type: "array"; readonly items: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly maxLength: 20; }; readonly trackMbId: { readonly type: "string"; readonly maxLength: 36; }; readonly artistMbIds: { readonly type: "array"; readonly items: { readonly type: "string"; readonly maxLength: 36; }; readonly maxLength: 20; }; readonly albumArtwork: { readonly type: "blob"; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; readonly recommendedPlaylistView: { readonly type: "object"; readonly required: ["uri", "cid", "songs", "playlistIdeaUri", "ownerHandle"]; readonly properties: { readonly uri: { readonly type: "string"; readonly format: "at-uri"; }; readonly cid: { readonly type: "string"; readonly format: "cid"; }; readonly songs: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#songView"; }; readonly maxLength: 100; }; readonly playlistIdeaUri: { readonly type: "string"; readonly format: "at-uri"; }; readonly ownerHandle: { readonly type: "string"; readonly format: "at-identifier"; readonly description: "Handle of the recommender and owner of this playlist."; }; readonly playlistArtwork: { readonly type: "blob"; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; }; }; readonly ComClioplaylistsAlphaFeedGetRecommendedPlaylistsByUser: { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.getRecommendedPlaylistsByUser"; readonly defs: { readonly main: { readonly type: "query"; readonly description: ""; readonly parameters: { readonly type: "params"; readonly required: ["userAtIdentifier"]; readonly properties: { readonly userAtIdentifier: { readonly type: "string"; readonly format: "at-identifier"; readonly description: "The handle or did of the user to return recommended playlists for."; }; }; }; readonly output: { readonly encoding: "application/json"; readonly schema: { readonly type: "object"; readonly required: ["recommendedPlaylists"]; readonly properties: { readonly recommendedPlaylists: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#recommendedPlaylistView"; }; readonly maxLength: 100; }; }; }; }; }; }; }; readonly ComClioplaylistsAlphaFeedPlaylistIdea: { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.playlistIdea"; readonly description: "An idea for a playlist."; readonly defs: { readonly main: { readonly type: "record"; readonly key: "tid"; readonly record: { readonly type: "object"; readonly required: ["title", "creatorDid", "ownerDid", "createdAt"]; readonly properties: { readonly title: { readonly type: "string"; readonly description: "A concise title that gives other users an idea of the vibe of the playlist."; readonly minLength: 1; readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly description: { readonly type: "string"; readonly minLength: 1; readonly maxGraphemes: 500; readonly maxLength: 5000; readonly description: "A description of the playlist that explains more about what the user is looking for from the playlist."; }; readonly creatorDid: { readonly type: "string"; readonly format: "did"; }; readonly ownerDid: { readonly type: "string"; readonly format: "did"; }; readonly masterPlaylist: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.playlistIdea#masterPlaylist"; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "Client-declared timestamp when this record was originally created."; }; }; }; }; readonly masterPlaylist: { readonly type: "object"; readonly description: "The playlist of songs that the creator officially says are representative of the idea."; readonly required: ["songs"]; readonly properties: { readonly songs: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#song"; }; readonly maxLength: 100; }; readonly playlistArtwork: { readonly type: "blob"; readonly description: "Image associated with the playlist."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; }; }; readonly ComClioplaylistsAlphaFeedRecommendedPlaylist: { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.recommendedPlaylist"; readonly description: "DEPRECATED: do not use as a record. Use com.clioplaylists.alpha.feed.songRecommendation records instead, and let the AppView aggregate them into a recommended playlist view."; readonly defs: { readonly main: { readonly type: "object"; readonly required: ["songs", "playlistIdeaAtUri", "ownerDid"]; readonly properties: { readonly songs: { readonly type: "array"; readonly description: "Songs that the user recommends for the playlist idea."; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#song"; }; readonly maxLength: 500; }; readonly playlistIdeaAtUri: { readonly type: "string"; readonly format: "at-uri"; readonly description: "The at-uri of the playlist idea that these recommendations are for."; }; readonly ownerDid: { readonly type: "string"; readonly format: "did"; readonly description: "DID of the recommender and owner of this playlist."; }; readonly playlistArtwork: { readonly type: "blob"; readonly description: "Image associated with the playlist."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; }; }; readonly ComClioplaylistsAlphaFeedSongRecommendation: { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.songRecommendation"; readonly description: "A song recommendation for a playlist idea. This record is created in the recommender's repository and references the playlist idea via strongRef."; readonly defs: { readonly main: { readonly type: "record"; readonly key: "tid"; readonly record: { readonly type: "object"; readonly required: ["playlistIdea", "song", "createdAt"]; readonly properties: { readonly playlistIdea: { readonly type: "ref"; readonly ref: "lex:com.atproto.repo.strongRef"; }; readonly song: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#song"; }; readonly note: { readonly type: "string"; readonly description: "Optional note from the recommender explaining why this song fits."; readonly minLength: 1; readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "Client-declared timestamp when this record was originally created."; }; }; }; }; }; }; readonly ComAtprotoRepoStrongRef: { readonly lexicon: 1; readonly id: "com.atproto.repo.strongRef"; readonly description: "A URI with a content-hash fingerprint."; readonly defs: { readonly main: { readonly type: "object"; readonly required: ["uri", "cid"]; readonly properties: { readonly uri: { readonly type: "string"; readonly format: "at-uri"; }; readonly cid: { readonly type: "string"; readonly format: "cid"; }; }; }; }; }; }; export declare const schemas: ({ readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.actor.profile"; readonly defs: { readonly main: { readonly type: "record"; readonly description: "A declaration of a Clio account profile."; readonly key: "literal:self"; readonly record: { readonly type: "object"; readonly required: ["displayName", "createdAt"]; readonly properties: { readonly displayName: { readonly type: "string"; readonly maxGraphemes: 64; readonly maxLength: 640; }; readonly bio: { readonly type: "string"; readonly description: "Free-form profile bio text."; readonly maxGraphemes: 300; readonly maxLength: 3000; }; readonly avatar: { readonly type: "blob"; readonly description: "Small image to be displayed next to posts from account. AKA, 'profile picture'"; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 1000000; }; readonly banner: { readonly type: "blob"; readonly description: "Larger horizontal image to display behind profile view."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 1000000; }; readonly pinnedPlaylistIdea: { readonly type: "ref"; readonly ref: "lex:com.atproto.repo.strongRef"; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "Client-declared timestamp when this record was originally created."; }; }; }; }; }; } | { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.defs"; readonly description: "A song's definition, which can be used to build playlists."; readonly defs: { readonly song: { readonly type: "object"; readonly required: ["trackName", "artistNames", "trackMbId", "artistMbIds"]; readonly properties: { readonly trackName: { readonly type: "string"; readonly description: "The title of the track."; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly artistNames: { readonly type: "array"; readonly description: "Array of artist names in order of original appearance."; readonly items: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly maxLength: 20; }; readonly trackMbId: { readonly type: "string"; readonly description: "The MusicBrainz ID of the track."; readonly maxLength: 36; }; readonly artistMbIds: { readonly type: "array"; readonly description: "Array of Musicbrainz artist IDs."; readonly items: { readonly type: "string"; readonly maxLength: 36; }; readonly maxLength: 20; }; readonly albumArtworkRef: { readonly type: "blob"; readonly description: "Image associated with the song's album."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; readonly songView: { readonly type: "object"; readonly required: ["trackName", "artistNames", "trackMbId", "artistMbIds"]; readonly properties: { readonly trackName: { readonly type: "string"; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly artistNames: { readonly type: "array"; readonly items: { readonly type: "string"; readonly minLength: 1; readonly maxLength: 2560; readonly maxGraphemes: 256; }; readonly maxLength: 20; }; readonly trackMbId: { readonly type: "string"; readonly maxLength: 36; }; readonly artistMbIds: { readonly type: "array"; readonly items: { readonly type: "string"; readonly maxLength: 36; }; readonly maxLength: 20; }; readonly albumArtwork: { readonly type: "blob"; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; readonly recommendedPlaylistView: { readonly type: "object"; readonly required: ["uri", "cid", "songs", "playlistIdeaUri", "ownerHandle"]; readonly properties: { readonly uri: { readonly type: "string"; readonly format: "at-uri"; }; readonly cid: { readonly type: "string"; readonly format: "cid"; }; readonly songs: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#songView"; }; readonly maxLength: 100; }; readonly playlistIdeaUri: { readonly type: "string"; readonly format: "at-uri"; }; readonly ownerHandle: { readonly type: "string"; readonly format: "at-identifier"; readonly description: "Handle of the recommender and owner of this playlist."; }; readonly playlistArtwork: { readonly type: "blob"; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; }; } | { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.getRecommendedPlaylistsByUser"; readonly defs: { readonly main: { readonly type: "query"; readonly description: ""; readonly parameters: { readonly type: "params"; readonly required: ["userAtIdentifier"]; readonly properties: { readonly userAtIdentifier: { readonly type: "string"; readonly format: "at-identifier"; readonly description: "The handle or did of the user to return recommended playlists for."; }; }; }; readonly output: { readonly encoding: "application/json"; readonly schema: { readonly type: "object"; readonly required: ["recommendedPlaylists"]; readonly properties: { readonly recommendedPlaylists: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#recommendedPlaylistView"; }; readonly maxLength: 100; }; }; }; }; }; }; } | { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.playlistIdea"; readonly description: "An idea for a playlist."; readonly defs: { readonly main: { readonly type: "record"; readonly key: "tid"; readonly record: { readonly type: "object"; readonly required: ["title", "creatorDid", "ownerDid", "createdAt"]; readonly properties: { readonly title: { readonly type: "string"; readonly description: "A concise title that gives other users an idea of the vibe of the playlist."; readonly minLength: 1; readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly description: { readonly type: "string"; readonly minLength: 1; readonly maxGraphemes: 500; readonly maxLength: 5000; readonly description: "A description of the playlist that explains more about what the user is looking for from the playlist."; }; readonly creatorDid: { readonly type: "string"; readonly format: "did"; }; readonly ownerDid: { readonly type: "string"; readonly format: "did"; }; readonly masterPlaylist: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.playlistIdea#masterPlaylist"; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "Client-declared timestamp when this record was originally created."; }; }; }; }; readonly masterPlaylist: { readonly type: "object"; readonly description: "The playlist of songs that the creator officially says are representative of the idea."; readonly required: ["songs"]; readonly properties: { readonly songs: { readonly type: "array"; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#song"; }; readonly maxLength: 100; }; readonly playlistArtwork: { readonly type: "blob"; readonly description: "Image associated with the playlist."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; }; } | { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.recommendedPlaylist"; readonly description: "DEPRECATED: do not use as a record. Use com.clioplaylists.alpha.feed.songRecommendation records instead, and let the AppView aggregate them into a recommended playlist view."; readonly defs: { readonly main: { readonly type: "object"; readonly required: ["songs", "playlistIdeaAtUri", "ownerDid"]; readonly properties: { readonly songs: { readonly type: "array"; readonly description: "Songs that the user recommends for the playlist idea."; readonly items: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#song"; }; readonly maxLength: 500; }; readonly playlistIdeaAtUri: { readonly type: "string"; readonly format: "at-uri"; readonly description: "The at-uri of the playlist idea that these recommendations are for."; }; readonly ownerDid: { readonly type: "string"; readonly format: "did"; readonly description: "DID of the recommender and owner of this playlist."; }; readonly playlistArtwork: { readonly type: "blob"; readonly description: "Image associated with the playlist."; readonly accept: ["image/png", "image/jpeg"]; readonly maxSize: 4000000; }; }; }; }; } | { readonly lexicon: 1; readonly id: "com.clioplaylists.alpha.feed.songRecommendation"; readonly description: "A song recommendation for a playlist idea. This record is created in the recommender's repository and references the playlist idea via strongRef."; readonly defs: { readonly main: { readonly type: "record"; readonly key: "tid"; readonly record: { readonly type: "object"; readonly required: ["playlistIdea", "song", "createdAt"]; readonly properties: { readonly playlistIdea: { readonly type: "ref"; readonly ref: "lex:com.atproto.repo.strongRef"; }; readonly song: { readonly type: "ref"; readonly ref: "lex:com.clioplaylists.alpha.feed.defs#song"; }; readonly note: { readonly type: "string"; readonly description: "Optional note from the recommender explaining why this song fits."; readonly minLength: 1; readonly maxGraphemes: 256; readonly maxLength: 2560; }; readonly createdAt: { readonly type: "string"; readonly format: "datetime"; readonly description: "Client-declared timestamp when this record was originally created."; }; }; }; }; }; } | { readonly lexicon: 1; readonly id: "com.atproto.repo.strongRef"; readonly description: "A URI with a content-hash fingerprint."; readonly defs: { readonly main: { readonly type: "object"; readonly required: ["uri", "cid"]; readonly properties: { readonly uri: { readonly type: "string"; readonly format: "at-uri"; }; readonly cid: { readonly type: "string"; readonly format: "cid"; }; }; }; }; })[]; export declare const lexicons: Lexicons; export declare function validate(v: unknown, id: string, hash: string, requiredType: true): ValidationResult; export declare function validate(v: unknown, id: string, hash: string, requiredType?: false): ValidationResult; export declare const ids: { readonly ComClioplaylistsAlphaActorProfile: "com.clioplaylists.alpha.actor.profile"; readonly ComClioplaylistsAlphaFeedDefs: "com.clioplaylists.alpha.feed.defs"; readonly ComClioplaylistsAlphaFeedGetRecommendedPlaylistsByUser: "com.clioplaylists.alpha.feed.getRecommendedPlaylistsByUser"; readonly ComClioplaylistsAlphaFeedPlaylistIdea: "com.clioplaylists.alpha.feed.playlistIdea"; readonly ComClioplaylistsAlphaFeedRecommendedPlaylist: "com.clioplaylists.alpha.feed.recommendedPlaylist"; readonly ComClioplaylistsAlphaFeedSongRecommendation: "com.clioplaylists.alpha.feed.songRecommendation"; readonly ComAtprotoRepoStrongRef: "com.atproto.repo.strongRef"; };