A decentralized music tracking and discovery platform built on AT Protocol 🎵
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Refactor imports to use 'type' for type-only imports in Rocksky and related modules

- Updated imports in various files to use 'import type' for type-only imports, improving clarity and potentially optimizing the build process.
- Affected files include player, playlist, radio, scrobble, shout, song, and spotify modules.
- Ensured that the generated code remains unchanged while enhancing type safety and readability.

+336 -336
+78 -78
apps/api/src/lexicon/index.ts
··· 3 3 */ 4 4 import { 5 5 createServer as createXrpcServer, 6 - Server as XrpcServer, 7 - Options as XrpcOptions, 8 - AuthVerifier, 9 - StreamAuthVerifier, 6 + type Server as XrpcServer, 7 + type Options as XrpcOptions, 8 + type AuthVerifier, 9 + type StreamAuthVerifier, 10 10 } from "@atproto/xrpc-server"; 11 11 import { schemas } from "./lexicons"; 12 - import * as AppRockskyActorGetActorAlbums from "./types/app/rocksky/actor/getActorAlbums"; 13 - import * as AppRockskyActorGetActorArtists from "./types/app/rocksky/actor/getActorArtists"; 14 - import * as AppRockskyActorGetActorLovedSongs from "./types/app/rocksky/actor/getActorLovedSongs"; 15 - import * as AppRockskyActorGetActorPlaylists from "./types/app/rocksky/actor/getActorPlaylists"; 16 - import * as AppRockskyActorGetActorScrobbles from "./types/app/rocksky/actor/getActorScrobbles"; 17 - import * as AppRockskyActorGetActorSongs from "./types/app/rocksky/actor/getActorSongs"; 18 - import * as AppRockskyActorGetProfile from "./types/app/rocksky/actor/getProfile"; 19 - import * as AppRockskyAlbumGetAlbum from "./types/app/rocksky/album/getAlbum"; 20 - import * as AppRockskyAlbumGetAlbums from "./types/app/rocksky/album/getAlbums"; 21 - import * as AppRockskyAlbumGetAlbumTracks from "./types/app/rocksky/album/getAlbumTracks"; 22 - import * as AppRockskyApikeyCreateApikey from "./types/app/rocksky/apikey/createApikey"; 23 - import * as AppRockskyApikeyGetApikeys from "./types/app/rocksky/apikey/getApikeys"; 24 - import * as AppRockskyApikeyRemoveApikey from "./types/app/rocksky/apikey/removeApikey"; 25 - import * as AppRockskyApikeyUpdateApikey from "./types/app/rocksky/apikey/updateApikey"; 26 - import * as AppRockskyArtistGetArtistAlbums from "./types/app/rocksky/artist/getArtistAlbums"; 27 - import * as AppRockskyArtistGetArtist from "./types/app/rocksky/artist/getArtist"; 28 - import * as AppRockskyArtistGetArtistListeners from "./types/app/rocksky/artist/getArtistListeners"; 29 - import * as AppRockskyArtistGetArtists from "./types/app/rocksky/artist/getArtists"; 30 - import * as AppRockskyArtistGetArtistTracks from "./types/app/rocksky/artist/getArtistTracks"; 31 - import * as AppRockskyChartsGetScrobblesChart from "./types/app/rocksky/charts/getScrobblesChart"; 32 - import * as AppRockskyDropboxDownloadFile from "./types/app/rocksky/dropbox/downloadFile"; 33 - import * as AppRockskyDropboxGetFiles from "./types/app/rocksky/dropbox/getFiles"; 34 - import * as AppRockskyDropboxGetMetadata from "./types/app/rocksky/dropbox/getMetadata"; 35 - import * as AppRockskyDropboxGetTemporaryLink from "./types/app/rocksky/dropbox/getTemporaryLink"; 36 - import * as AppRockskyFeedGetNowPlayings from "./types/app/rocksky/feed/getNowPlayings"; 37 - import * as AppRockskyFeedSearch from "./types/app/rocksky/feed/search"; 38 - import * as AppRockskyGoogledriveDownloadFile from "./types/app/rocksky/googledrive/downloadFile"; 39 - import * as AppRockskyGoogledriveGetFile from "./types/app/rocksky/googledrive/getFile"; 40 - import * as AppRockskyGoogledriveGetFiles from "./types/app/rocksky/googledrive/getFiles"; 41 - import * as AppRockskyLikeDislikeShout from "./types/app/rocksky/like/dislikeShout"; 42 - import * as AppRockskyLikeDislikeSong from "./types/app/rocksky/like/dislikeSong"; 43 - import * as AppRockskyLikeLikeShout from "./types/app/rocksky/like/likeShout"; 44 - import * as AppRockskyLikeLikeSong from "./types/app/rocksky/like/likeSong"; 45 - import * as AppRockskyPlayerAddDirectoryToQueue from "./types/app/rocksky/player/addDirectoryToQueue"; 46 - import * as AppRockskyPlayerAddItemsToQueue from "./types/app/rocksky/player/addItemsToQueue"; 47 - import * as AppRockskyPlayerGetCurrentlyPlaying from "./types/app/rocksky/player/getCurrentlyPlaying"; 48 - import * as AppRockskyPlayerGetPlaybackQueue from "./types/app/rocksky/player/getPlaybackQueue"; 49 - import * as AppRockskyPlayerNext from "./types/app/rocksky/player/next"; 50 - import * as AppRockskyPlayerPause from "./types/app/rocksky/player/pause"; 51 - import * as AppRockskyPlayerPlayDirectory from "./types/app/rocksky/player/playDirectory"; 52 - import * as AppRockskyPlayerPlayFile from "./types/app/rocksky/player/playFile"; 53 - import * as AppRockskyPlayerPlay from "./types/app/rocksky/player/play"; 54 - import * as AppRockskyPlayerPrevious from "./types/app/rocksky/player/previous"; 55 - import * as AppRockskyPlayerSeek from "./types/app/rocksky/player/seek"; 56 - import * as AppRockskyPlaylistCreatePlaylist from "./types/app/rocksky/playlist/createPlaylist"; 57 - import * as AppRockskyPlaylistGetPlaylist from "./types/app/rocksky/playlist/getPlaylist"; 58 - import * as AppRockskyPlaylistGetPlaylists from "./types/app/rocksky/playlist/getPlaylists"; 59 - import * as AppRockskyPlaylistInsertDirectory from "./types/app/rocksky/playlist/insertDirectory"; 60 - import * as AppRockskyPlaylistInsertFiles from "./types/app/rocksky/playlist/insertFiles"; 61 - import * as AppRockskyPlaylistRemovePlaylist from "./types/app/rocksky/playlist/removePlaylist"; 62 - import * as AppRockskyPlaylistRemoveTrack from "./types/app/rocksky/playlist/removeTrack"; 63 - import * as AppRockskyPlaylistStartPlaylist from "./types/app/rocksky/playlist/startPlaylist"; 64 - import * as AppRockskyScrobbleCreateScrobble from "./types/app/rocksky/scrobble/createScrobble"; 65 - import * as AppRockskyScrobbleGetScrobble from "./types/app/rocksky/scrobble/getScrobble"; 66 - import * as AppRockskyScrobbleGetScrobbles from "./types/app/rocksky/scrobble/getScrobbles"; 67 - import * as AppRockskyShoutCreateShout from "./types/app/rocksky/shout/createShout"; 68 - import * as AppRockskyShoutGetAlbumShouts from "./types/app/rocksky/shout/getAlbumShouts"; 69 - import * as AppRockskyShoutGetArtistShouts from "./types/app/rocksky/shout/getArtistShouts"; 70 - import * as AppRockskyShoutGetProfileShouts from "./types/app/rocksky/shout/getProfileShouts"; 71 - import * as AppRockskyShoutGetShoutReplies from "./types/app/rocksky/shout/getShoutReplies"; 72 - import * as AppRockskyShoutGetTrackShouts from "./types/app/rocksky/shout/getTrackShouts"; 73 - import * as AppRockskyShoutRemoveShout from "./types/app/rocksky/shout/removeShout"; 74 - import * as AppRockskyShoutReplyShout from "./types/app/rocksky/shout/replyShout"; 75 - import * as AppRockskyShoutReportShout from "./types/app/rocksky/shout/reportShout"; 76 - import * as AppRockskySongCreateSong from "./types/app/rocksky/song/createSong"; 77 - import * as AppRockskySongGetSong from "./types/app/rocksky/song/getSong"; 78 - import * as AppRockskySongGetSongs from "./types/app/rocksky/song/getSongs"; 79 - import * as AppRockskySpotifyGetCurrentlyPlaying from "./types/app/rocksky/spotify/getCurrentlyPlaying"; 80 - import * as AppRockskySpotifyNext from "./types/app/rocksky/spotify/next"; 81 - import * as AppRockskySpotifyPause from "./types/app/rocksky/spotify/pause"; 82 - import * as AppRockskySpotifyPlay from "./types/app/rocksky/spotify/play"; 83 - import * as AppRockskySpotifyPrevious from "./types/app/rocksky/spotify/previous"; 84 - import * as AppRockskySpotifySeek from "./types/app/rocksky/spotify/seek"; 85 - import * as AppRockskyStatsGetStats from "./types/app/rocksky/stats/getStats"; 12 + import type * as AppRockskyActorGetActorAlbums from "./types/app/rocksky/actor/getActorAlbums"; 13 + import type * as AppRockskyActorGetActorArtists from "./types/app/rocksky/actor/getActorArtists"; 14 + import type * as AppRockskyActorGetActorLovedSongs from "./types/app/rocksky/actor/getActorLovedSongs"; 15 + import type * as AppRockskyActorGetActorPlaylists from "./types/app/rocksky/actor/getActorPlaylists"; 16 + import type * as AppRockskyActorGetActorScrobbles from "./types/app/rocksky/actor/getActorScrobbles"; 17 + import type * as AppRockskyActorGetActorSongs from "./types/app/rocksky/actor/getActorSongs"; 18 + import type * as AppRockskyActorGetProfile from "./types/app/rocksky/actor/getProfile"; 19 + import type * as AppRockskyAlbumGetAlbum from "./types/app/rocksky/album/getAlbum"; 20 + import type * as AppRockskyAlbumGetAlbums from "./types/app/rocksky/album/getAlbums"; 21 + import type * as AppRockskyAlbumGetAlbumTracks from "./types/app/rocksky/album/getAlbumTracks"; 22 + import type * as AppRockskyApikeyCreateApikey from "./types/app/rocksky/apikey/createApikey"; 23 + import type * as AppRockskyApikeyGetApikeys from "./types/app/rocksky/apikey/getApikeys"; 24 + import type * as AppRockskyApikeyRemoveApikey from "./types/app/rocksky/apikey/removeApikey"; 25 + import type * as AppRockskyApikeyUpdateApikey from "./types/app/rocksky/apikey/updateApikey"; 26 + import type * as AppRockskyArtistGetArtistAlbums from "./types/app/rocksky/artist/getArtistAlbums"; 27 + import type * as AppRockskyArtistGetArtist from "./types/app/rocksky/artist/getArtist"; 28 + import type * as AppRockskyArtistGetArtistListeners from "./types/app/rocksky/artist/getArtistListeners"; 29 + import type * as AppRockskyArtistGetArtists from "./types/app/rocksky/artist/getArtists"; 30 + import type * as AppRockskyArtistGetArtistTracks from "./types/app/rocksky/artist/getArtistTracks"; 31 + import type * as AppRockskyChartsGetScrobblesChart from "./types/app/rocksky/charts/getScrobblesChart"; 32 + import type * as AppRockskyDropboxDownloadFile from "./types/app/rocksky/dropbox/downloadFile"; 33 + import type * as AppRockskyDropboxGetFiles from "./types/app/rocksky/dropbox/getFiles"; 34 + import type * as AppRockskyDropboxGetMetadata from "./types/app/rocksky/dropbox/getMetadata"; 35 + import type * as AppRockskyDropboxGetTemporaryLink from "./types/app/rocksky/dropbox/getTemporaryLink"; 36 + import type * as AppRockskyFeedGetNowPlayings from "./types/app/rocksky/feed/getNowPlayings"; 37 + import type * as AppRockskyFeedSearch from "./types/app/rocksky/feed/search"; 38 + import type * as AppRockskyGoogledriveDownloadFile from "./types/app/rocksky/googledrive/downloadFile"; 39 + import type * as AppRockskyGoogledriveGetFile from "./types/app/rocksky/googledrive/getFile"; 40 + import type * as AppRockskyGoogledriveGetFiles from "./types/app/rocksky/googledrive/getFiles"; 41 + import type * as AppRockskyLikeDislikeShout from "./types/app/rocksky/like/dislikeShout"; 42 + import type * as AppRockskyLikeDislikeSong from "./types/app/rocksky/like/dislikeSong"; 43 + import type * as AppRockskyLikeLikeShout from "./types/app/rocksky/like/likeShout"; 44 + import type * as AppRockskyLikeLikeSong from "./types/app/rocksky/like/likeSong"; 45 + import type * as AppRockskyPlayerAddDirectoryToQueue from "./types/app/rocksky/player/addDirectoryToQueue"; 46 + import type * as AppRockskyPlayerAddItemsToQueue from "./types/app/rocksky/player/addItemsToQueue"; 47 + import type * as AppRockskyPlayerGetCurrentlyPlaying from "./types/app/rocksky/player/getCurrentlyPlaying"; 48 + import type * as AppRockskyPlayerGetPlaybackQueue from "./types/app/rocksky/player/getPlaybackQueue"; 49 + import type * as AppRockskyPlayerNext from "./types/app/rocksky/player/next"; 50 + import type * as AppRockskyPlayerPause from "./types/app/rocksky/player/pause"; 51 + import type * as AppRockskyPlayerPlayDirectory from "./types/app/rocksky/player/playDirectory"; 52 + import type * as AppRockskyPlayerPlayFile from "./types/app/rocksky/player/playFile"; 53 + import type * as AppRockskyPlayerPlay from "./types/app/rocksky/player/play"; 54 + import type * as AppRockskyPlayerPrevious from "./types/app/rocksky/player/previous"; 55 + import type * as AppRockskyPlayerSeek from "./types/app/rocksky/player/seek"; 56 + import type * as AppRockskyPlaylistCreatePlaylist from "./types/app/rocksky/playlist/createPlaylist"; 57 + import type * as AppRockskyPlaylistGetPlaylist from "./types/app/rocksky/playlist/getPlaylist"; 58 + import type * as AppRockskyPlaylistGetPlaylists from "./types/app/rocksky/playlist/getPlaylists"; 59 + import type * as AppRockskyPlaylistInsertDirectory from "./types/app/rocksky/playlist/insertDirectory"; 60 + import type * as AppRockskyPlaylistInsertFiles from "./types/app/rocksky/playlist/insertFiles"; 61 + import type * as AppRockskyPlaylistRemovePlaylist from "./types/app/rocksky/playlist/removePlaylist"; 62 + import type * as AppRockskyPlaylistRemoveTrack from "./types/app/rocksky/playlist/removeTrack"; 63 + import type * as AppRockskyPlaylistStartPlaylist from "./types/app/rocksky/playlist/startPlaylist"; 64 + import type * as AppRockskyScrobbleCreateScrobble from "./types/app/rocksky/scrobble/createScrobble"; 65 + import type * as AppRockskyScrobbleGetScrobble from "./types/app/rocksky/scrobble/getScrobble"; 66 + import type * as AppRockskyScrobbleGetScrobbles from "./types/app/rocksky/scrobble/getScrobbles"; 67 + import type * as AppRockskyShoutCreateShout from "./types/app/rocksky/shout/createShout"; 68 + import type * as AppRockskyShoutGetAlbumShouts from "./types/app/rocksky/shout/getAlbumShouts"; 69 + import type * as AppRockskyShoutGetArtistShouts from "./types/app/rocksky/shout/getArtistShouts"; 70 + import type * as AppRockskyShoutGetProfileShouts from "./types/app/rocksky/shout/getProfileShouts"; 71 + import type * as AppRockskyShoutGetShoutReplies from "./types/app/rocksky/shout/getShoutReplies"; 72 + import type * as AppRockskyShoutGetTrackShouts from "./types/app/rocksky/shout/getTrackShouts"; 73 + import type * as AppRockskyShoutRemoveShout from "./types/app/rocksky/shout/removeShout"; 74 + import type * as AppRockskyShoutReplyShout from "./types/app/rocksky/shout/replyShout"; 75 + import type * as AppRockskyShoutReportShout from "./types/app/rocksky/shout/reportShout"; 76 + import type * as AppRockskySongCreateSong from "./types/app/rocksky/song/createSong"; 77 + import type * as AppRockskySongGetSong from "./types/app/rocksky/song/getSong"; 78 + import type * as AppRockskySongGetSongs from "./types/app/rocksky/song/getSongs"; 79 + import type * as AppRockskySpotifyGetCurrentlyPlaying from "./types/app/rocksky/spotify/getCurrentlyPlaying"; 80 + import type * as AppRockskySpotifyNext from "./types/app/rocksky/spotify/next"; 81 + import type * as AppRockskySpotifyPause from "./types/app/rocksky/spotify/pause"; 82 + import type * as AppRockskySpotifyPlay from "./types/app/rocksky/spotify/play"; 83 + import type * as AppRockskySpotifyPrevious from "./types/app/rocksky/spotify/previous"; 84 + import type * as AppRockskySpotifySeek from "./types/app/rocksky/spotify/seek"; 85 + import type * as AppRockskyStatsGetStats from "./types/app/rocksky/stats/getStats"; 86 86 87 87 export function createServer(options?: XrpcOptions): Server { 88 88 return new Server(options);
+1 -1
apps/api/src/lexicon/lexicons.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { LexiconDoc, Lexicons } from "@atproto/lexicon"; 4 + import { type LexiconDoc, Lexicons } from "@atproto/lexicon"; 5 5 6 6 export const schemaDict = { 7 7 AppRockskyActorDefs: {
+3 -3
apps/api/src/lexicon/types/app/bsky/actor/profile.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import type { ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as ComAtprotoLabelDefs from "../../../com/atproto/label/defs"; 9 - import * as ComAtprotoRepoStrongRef from "../../../com/atproto/repo/strongRef"; 8 + import type * as ComAtprotoLabelDefs from "../../../com/atproto/label/defs"; 9 + import type * as ComAtprotoRepoStrongRef from "../../../com/atproto/repo/strongRef"; 10 10 11 11 export interface Record { 12 12 displayName?: string;
+1 -1
apps/api/src/lexicon/types/app/rocksky/actor/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/actor/getActorAlbums.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyAlbumDefs from "../album/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyAlbumDefs from "../album/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+3 -3
apps/api/src/lexicon/types/app/rocksky/actor/getActorArtists.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyArtistDefs from "../artist/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyArtistDefs from "../artist/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+3 -3
apps/api/src/lexicon/types/app/rocksky/actor/getActorLovedSongs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "../song/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "../song/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+3 -3
apps/api/src/lexicon/types/app/rocksky/actor/getActorPlaylists.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyPlaylistDefs from "../playlist/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyPlaylistDefs from "../playlist/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+3 -3
apps/api/src/lexicon/types/app/rocksky/actor/getActorScrobbles.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyScrobbleDefs from "../scrobble/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyScrobbleDefs from "../scrobble/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+3 -3
apps/api/src/lexicon/types/app/rocksky/actor/getActorSongs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "../song/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "../song/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+3 -3
apps/api/src/lexicon/types/app/rocksky/actor/getProfile.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyActorDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyActorDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+1 -1
apps/api/src/lexicon/types/app/rocksky/album.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import type { ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid";
+2 -2
apps/api/src/lexicon/types/app/rocksky/album/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as AppRockskySongDefsSongViewBasic from "../song/defs/songViewBasic"; 8 + import type * as AppRockskySongDefsSongViewBasic from "../song/defs/songViewBasic"; 9 9 10 10 export interface AlbumViewBasic { 11 11 /** The unique identifier of the album. */
+3 -3
apps/api/src/lexicon/types/app/rocksky/album/getAlbum.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyAlbumDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyAlbumDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the album to retrieve. */
+3 -3
apps/api/src/lexicon/types/app/rocksky/album/getAlbumTracks.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "../song/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "../song/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the album to retrieve tracks from */
+3 -3
apps/api/src/lexicon/types/app/rocksky/album/getAlbums.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyAlbumDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyAlbumDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The maximum number of albums to return */
+4 -4
apps/api/src/lexicon/types/app/rocksky/apikey/createApikey.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyApikeyDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyApikeyDefs from "./defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The name of the API key. */
+1 -1
apps/api/src/lexicon/types/app/rocksky/apikey/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/apikey/getApikeys.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyApikeyDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyApikeyDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The number of API keys to skip before starting to collect the result set. */
+3 -3
apps/api/src/lexicon/types/app/rocksky/apikey/removeApikey.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyApikeyDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyApikeyDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The ID of the API key to remove. */
+4 -4
apps/api/src/lexicon/types/app/rocksky/apikey/updateApikey.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyApikeyDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyApikeyDefs from "./defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The ID of the API key to update. */
+1 -1
apps/api/src/lexicon/types/app/rocksky/artist.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import type { ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid";
+1 -1
apps/api/src/lexicon/types/app/rocksky/artist/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/artist/getArtist.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyArtistDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyArtistDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the artist to retrieve details from */
+3 -3
apps/api/src/lexicon/types/app/rocksky/artist/getArtistAlbums.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyAlbumDefs from "../album/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyAlbumDefs from "../album/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the artist to retrieve albums from */
+3 -3
apps/api/src/lexicon/types/app/rocksky/artist/getArtistListeners.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyArtistDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyArtistDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the artist to retrieve listeners from */
+3 -3
apps/api/src/lexicon/types/app/rocksky/artist/getArtistTracks.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "../song/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "../song/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the artist to retrieve albums from */
+3 -3
apps/api/src/lexicon/types/app/rocksky/artist/getArtists.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyArtistDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyArtistDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The maximum number of artists to return */
+1 -1
apps/api/src/lexicon/types/app/rocksky/charts/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/charts/getScrobblesChart.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyChartsDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyChartsDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+1 -1
apps/api/src/lexicon/types/app/rocksky/dropbox/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/dropbox/downloadFile.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 5 - import stream from "stream"; 4 + import type express from "express"; 5 + import type stream from "stream"; 6 6 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 7 7 import { lexicons } from "../../../../lexicons"; 8 8 import { isObj, hasProp } from "../../../../util"; 9 9 import { CID } from "multiformats/cid"; 10 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 11 11 12 12 export interface QueryParams { 13 13 /** The unique identifier of the file to download */
+3 -3
apps/api/src/lexicon/types/app/rocksky/dropbox/getFiles.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyDropboxDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyDropboxDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** Path to the Dropbox folder or root directory */
+3 -3
apps/api/src/lexicon/types/app/rocksky/dropbox/getMetadata.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyDropboxDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyDropboxDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** Path to the file or folder in Dropbox */
+3 -3
apps/api/src/lexicon/types/app/rocksky/dropbox/getTemporaryLink.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyDropboxDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyDropboxDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** Path to the file in Dropbox */
+6 -6
apps/api/src/lexicon/types/app/rocksky/feed/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as AppRockskySongDefs from "../song/defs"; 9 - import * as AppRockskyAlbumDefs from "../album/defs"; 10 - import * as AppRockskyArtistDefs from "../artist/defs"; 11 - import * as AppRockskyPlaylistDefs from "../playlist/defs"; 12 - import * as AppRockskyActorDefs from "../actor/defs"; 8 + import type * as AppRockskySongDefs from "../song/defs"; 9 + import type * as AppRockskyAlbumDefs from "../album/defs"; 10 + import type * as AppRockskyArtistDefs from "../artist/defs"; 11 + import type * as AppRockskyPlaylistDefs from "../playlist/defs"; 12 + import type * as AppRockskyActorDefs from "../actor/defs"; 13 13 14 14 export interface SearchResultsView { 15 15 hits?: (
+3 -3
apps/api/src/lexicon/types/app/rocksky/feed/getNowPlayings.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyFeedDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyFeedDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The maximum number of now playing tracks to return. */
+3 -3
apps/api/src/lexicon/types/app/rocksky/feed/search.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyFeedDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyFeedDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The search query string */
+1 -1
apps/api/src/lexicon/types/app/rocksky/googledrive/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/googledrive/downloadFile.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 5 - import stream from "stream"; 4 + import type express from "express"; 5 + import type stream from "stream"; 6 6 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 7 7 import { lexicons } from "../../../../lexicons"; 8 8 import { isObj, hasProp } from "../../../../util"; 9 9 import { CID } from "multiformats/cid"; 10 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 11 11 12 12 export interface QueryParams { 13 13 /** The unique identifier of the file to download */
+3 -3
apps/api/src/lexicon/types/app/rocksky/googledrive/getFile.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyGoogledriveDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyGoogledriveDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The unique identifier of the file to retrieve */
+3 -3
apps/api/src/lexicon/types/app/rocksky/googledrive/getFiles.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyGoogledriveDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyGoogledriveDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** Path to the Google Drive folder or root directory */
+2 -2
apps/api/src/lexicon/types/app/rocksky/like.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as ComAtprotoRepoStrongRef from "../../com/atproto/repo/strongRef"; 8 + import type * as ComAtprotoRepoStrongRef from "../../com/atproto/repo/strongRef"; 9 9 10 10 export interface Record { 11 11 /** The date when the like was created. */
+4 -4
apps/api/src/lexicon/types/app/rocksky/like/dislikeShout.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "../shout/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "../shout/defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The unique identifier of the shout to dislike */
+4 -4
apps/api/src/lexicon/types/app/rocksky/like/dislikeSong.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "../song/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "../song/defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The unique identifier of the song to dislike */
+4 -4
apps/api/src/lexicon/types/app/rocksky/like/likeShout.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "../shout/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "../shout/defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The unique identifier of the shout to like */
+4 -4
apps/api/src/lexicon/types/app/rocksky/like/likeSong.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "../song/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "../song/defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The unique identifier of the song to like */
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/addDirectoryToQueue.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/addItemsToQueue.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as AppRockskySongDefsSongViewBasic from "../song/defs/songViewBasic"; 8 + import type * as AppRockskySongDefsSongViewBasic from "../song/defs/songViewBasic"; 9 9 10 10 export interface CurrentlyPlayingViewDetailed { 11 11 /** The title of the currently playing track */
+3 -3
apps/api/src/lexicon/types/app/rocksky/player/getCurrentlyPlaying.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyPlayerDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyPlayerDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 playerId?: string;
+3 -3
apps/api/src/lexicon/types/app/rocksky/player/getPlaybackQueue.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyPlayerDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyPlayerDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/next.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/pause.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/play.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/playDirectory.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/playFile.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/previous.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/player/seek.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 playerId?: string;
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import type { ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as AppRockskySong from "./song"; 8 + import type * as AppRockskySong from "./song"; 9 9 10 10 export interface Record { 11 11 /** The name of the playlist. */
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist/createPlaylist.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 /** The name of the playlist */
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as AppRockskySongDefs from "../song/defs"; 8 + import type * as AppRockskySongDefs from "../song/defs"; 9 9 10 10 /** Detailed view of a playlist, including its tracks and metadata */ 11 11 export interface PlaylistViewDetailed {
+3 -3
apps/api/src/lexicon/types/app/rocksky/playlist/getPlaylist.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyPlaylistDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyPlaylistDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the playlist to retrieve. */
+3 -3
apps/api/src/lexicon/types/app/rocksky/playlist/getPlaylists.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyPlaylistDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyPlaylistDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The maximum number of playlists to return. */
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist/insertDirectory.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 /** The URI of the playlist to start */
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist/insertFiles.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 /** The URI of the playlist to start */
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist/removePlaylist.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 /** The URI of the playlist to remove */
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist/removeTrack.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 /** The URI of the playlist to remove the track from */
+2 -2
apps/api/src/lexicon/types/app/rocksky/playlist/startPlaylist.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 /** The URI of the playlist to start */
+1 -1
apps/api/src/lexicon/types/app/rocksky/radio.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import type { ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid";
+1 -1
apps/api/src/lexicon/types/app/rocksky/radio/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+1 -1
apps/api/src/lexicon/types/app/rocksky/scrobble.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import type { ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid";
+4 -4
apps/api/src/lexicon/types/app/rocksky/scrobble/createScrobble.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyScrobbleDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyScrobbleDefs from "./defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The title of the track being scrobbled */
+1 -1
apps/api/src/lexicon/types/app/rocksky/scrobble/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/scrobble/getScrobble.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyScrobbleDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyScrobbleDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The unique identifier of the scrobble */
+3 -3
apps/api/src/lexicon/types/app/rocksky/scrobble/getScrobbles.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyScrobbleDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyScrobbleDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+2 -2
apps/api/src/lexicon/types/app/rocksky/shout.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid"; 8 - import * as ComAtprotoRepoStrongRef from "../../com/atproto/repo/strongRef"; 8 + import type * as ComAtprotoRepoStrongRef from "../../com/atproto/repo/strongRef"; 9 9 10 10 export interface Record { 11 11 /** The message of the shout. */
+4 -4
apps/api/src/lexicon/types/app/rocksky/shout/createShout.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The content of the shout */
+1 -1
apps/api/src/lexicon/types/app/rocksky/shout/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/shout/getAlbumShouts.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The unique identifier of the album to retrieve shouts for */
+3 -3
apps/api/src/lexicon/types/app/rocksky/shout/getArtistShouts.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the artist to retrieve shouts for */
+3 -3
apps/api/src/lexicon/types/app/rocksky/shout/getProfileShouts.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the actor */
+3 -3
apps/api/src/lexicon/types/app/rocksky/shout/getShoutReplies.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the shout to retrieve replies for */
+3 -3
apps/api/src/lexicon/types/app/rocksky/shout/getTrackShouts.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The URI of the track to retrieve shouts for */
+3 -3
apps/api/src/lexicon/types/app/rocksky/shout/removeShout.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The ID of the shout to be removed */
+4 -4
apps/api/src/lexicon/types/app/rocksky/shout/replyShout.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The unique identifier of the shout to reply to */
+4 -4
apps/api/src/lexicon/types/app/rocksky/shout/reportShout.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyShoutDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyShoutDefs from "./defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The unique identifier of the shout to report */
+1 -1
apps/api/src/lexicon/types/app/rocksky/song.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import type { ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../util"; 7 7 import { CID } from "multiformats/cid";
+4 -4
apps/api/src/lexicon/types/app/rocksky/song/createSong.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "./defs"; 11 11 12 - export interface QueryParams {} 12 + export type QueryParams = {} 13 13 14 14 export interface InputSchema { 15 15 /** The title of the song */
+1 -1
apps/api/src/lexicon/types/app/rocksky/song/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/song/getSong.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The unique identifier of the song to retrieve */
+3 -3
apps/api/src/lexicon/types/app/rocksky/song/getSongs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskySongDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskySongDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The maximum number of songs to return */
+1 -1
apps/api/src/lexicon/types/app/rocksky/spotify/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/spotify/getCurrentlyPlaying.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyPlayerDefs from "../player/defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyPlayerDefs from "../player/defs"; 11 11 12 12 export interface QueryParams { 13 13 /** Handle or DID of the actor to retrieve the currently playing track for. If not provided, defaults to the current user. */
+3 -3
apps/api/src/lexicon/types/app/rocksky/spotify/next.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 - export interface QueryParams {} 11 + export type QueryParams = {} 12 12 13 13 export type InputSchema = undefined; 14 14 export type HandlerInput = undefined;
+3 -3
apps/api/src/lexicon/types/app/rocksky/spotify/pause.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 - export interface QueryParams {} 11 + export type QueryParams = {} 12 12 13 13 export type InputSchema = undefined; 14 14 export type HandlerInput = undefined;
+3 -3
apps/api/src/lexicon/types/app/rocksky/spotify/play.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 - export interface QueryParams {} 11 + export type QueryParams = {} 12 12 13 13 export type InputSchema = undefined; 14 14 export type HandlerInput = undefined;
+3 -3
apps/api/src/lexicon/types/app/rocksky/spotify/previous.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 - export interface QueryParams {} 11 + export type QueryParams = {} 12 12 13 13 export type InputSchema = undefined; 14 14 export type HandlerInput = undefined;
+2 -2
apps/api/src/lexicon/types/app/rocksky/spotify/seek.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 9 + import { type HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 10 11 11 export interface QueryParams { 12 12 /** The position in seconds to seek to */
+1 -1
apps/api/src/lexicon/types/app/rocksky/stats/defs.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+3 -3
apps/api/src/lexicon/types/app/rocksky/stats/getStats.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import express from "express"; 4 + import type express from "express"; 5 5 import { ValidationResult, BlobRef } from "@atproto/lexicon"; 6 6 import { lexicons } from "../../../../lexicons"; 7 7 import { isObj, hasProp } from "../../../../util"; 8 8 import { CID } from "multiformats/cid"; 9 - import { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 - import * as AppRockskyStatsDefs from "./defs"; 9 + import type { HandlerAuth, HandlerPipeThrough } from "@atproto/xrpc-server"; 10 + import type * as AppRockskyStatsDefs from "./defs"; 11 11 12 12 export interface QueryParams { 13 13 /** The DID or handle of the user to get stats for. */
+1 -1
apps/api/src/lexicon/types/com/atproto/repo/strongRef.ts
··· 1 1 /** 2 2 * GENERATED CODE - DO NOT MODIFY 3 3 */ 4 - import { ValidationResult, BlobRef } from "@atproto/lexicon"; 4 + import { type ValidationResult, BlobRef } from "@atproto/lexicon"; 5 5 import { lexicons } from "../../../../lexicons"; 6 6 import { isObj, hasProp } from "../../../../util"; 7 7 import { CID } from "multiformats/cid";
+1 -1
apps/api/src/xata.ts
··· 5255 5255 } 5256 5256 } 5257 5257 5258 - let instance: XataClient | undefined = undefined; 5258 + let instance: XataClient | undefined ; 5259 5259 5260 5260 export const getXataClient = () => { 5261 5261 if (instance) return instance;