Your music, beautifully tracked. All yours. (coming soon) teal.fm
teal-fm atproto

changed lexicons, no errors now

+37 -37
+29 -29
packages/lexicons/generated/server/lexicons.ts
··· 140 140 }, 141 141 }, 142 142 }, 143 - FmTealAlphaActorStatus: { 144 - lexicon: 1, 145 - id: 'fm.teal.alpha.actor.status', 146 - defs: { 147 - main: { 148 - type: 'record', 149 - description: 150 - 'This lexicon is in a not officially released state. It is subject to change. | A declaration of the status of the actor. Only one can be shown at a time. If there are multiple, pick the latest record.', 151 - key: 'literal:self', 152 - record: { 153 - type: 'object', 154 - required: ['time', 'item'], 155 - properties: { 156 - time: { 157 - type: 'string', 158 - format: 'datetime', 159 - description: 'The unix timestamp of when the item was recorded', 160 - }, 161 - item: { 162 - type: 'union', 163 - refs: ['lex:fm.teal.alpha.play#main'], 164 - }, 165 - }, 166 - }, 167 - }, 168 - }, 169 - }, 170 143 FmTealAlphaActorProfile: { 171 144 lexicon: 1, 172 145 id: 'fm.teal.alpha.actor.profile', ··· 226 199 }, 227 200 }, 228 201 }, 229 - featuredPlay: { 202 + featuredItem: { 230 203 type: 'object', 231 204 required: ['mbid', 'type'], 232 205 properties: { ··· 238 211 type: 'string', 239 212 description: 240 213 'The type of the item. Must be a valid Musicbrainz type, e.g. album, track, recording, etc.', 214 + }, 215 + }, 216 + }, 217 + }, 218 + }, 219 + FmTealAlphaActorStatus: { 220 + lexicon: 1, 221 + id: 'fm.teal.alpha.actor.status', 222 + defs: { 223 + main: { 224 + type: 'record', 225 + description: 226 + 'This lexicon is in a not officially released state. It is subject to change. | A declaration of the status of the actor. Only one can be shown at a time. If there are multiple, the latest record should be picked and earlier records should be deleted or tombstoned.', 227 + key: 'literal:self', 228 + record: { 229 + type: 'object', 230 + required: ['time', 'item'], 231 + properties: { 232 + time: { 233 + type: 'string', 234 + format: 'datetime', 235 + description: 'The unix timestamp of when the item was recorded', 236 + }, 237 + item: { 238 + type: 'union', 239 + refs: ['lex:fm.teal.alpha.play#record'], 240 + }, 241 241 }, 242 242 }, 243 243 }, ··· 361 361 export const ids = { 362 362 AppBskyActorProfile: 'app.bsky.actor.profile', 363 363 AppBskyRichtextFacet: 'app.bsky.richtext.facet', 364 - FmTealAlphaActorStatus: 'fm.teal.alpha.actor.status', 365 364 FmTealAlphaActorProfile: 'fm.teal.alpha.actor.profile', 365 + FmTealAlphaActorStatus: 'fm.teal.alpha.actor.status', 366 366 FmTealAlphaPlay: 'fm.teal.alpha.play', 367 367 XyzStatusphereStatus: 'xyz.statusphere.status', 368 368 }
+5 -5
packages/lexicons/generated/server/types/fm/teal/alpha/actor/profile.ts
··· 35 35 return lexicons.validate('fm.teal.alpha.actor.profile#main', v) 36 36 } 37 37 38 - export interface FeaturedPlay { 38 + export interface FeaturedItem { 39 39 /** The Musicbrainz ID of the item */ 40 40 mbid: string 41 41 /** The type of the item. Must be a valid Musicbrainz type, e.g. album, track, recording, etc. */ ··· 43 43 [k: string]: unknown 44 44 } 45 45 46 - export function isFeaturedPlay(v: unknown): v is FeaturedPlay { 46 + export function isFeaturedItem(v: unknown): v is FeaturedItem { 47 47 return ( 48 48 isObj(v) && 49 49 hasProp(v, '$type') && 50 - v.$type === 'fm.teal.alpha.actor.profile#featuredPlay' 50 + v.$type === 'fm.teal.alpha.actor.profile#featuredItem' 51 51 ) 52 52 } 53 53 54 - export function validateFeaturedPlay(v: unknown): ValidationResult { 55 - return lexicons.validate('fm.teal.alpha.actor.profile#featuredPlay', v) 54 + export function validateFeaturedItem(v: unknown): ValidationResult { 55 + return lexicons.validate('fm.teal.alpha.actor.profile#featuredItem', v) 56 56 }
+1 -1
packages/lexicons/generated/server/types/fm/teal/alpha/actor/status.ts
··· 10 10 export interface Record { 11 11 /** The unix timestamp of when the item was recorded */ 12 12 time: string 13 - item: FmTealAlphaPlay.Main | { $type: string; [k: string]: unknown } 13 + item: FmTealAlphaPlay.Record | { $type: string; [k: string]: unknown } 14 14 [k: string]: unknown 15 15 } 16 16
+1 -1
packages/lexicons/src/fm.teal.alpha.actor.currentListen.json packages/lexicons/src/fm.teal.alpha.actor.status.json
··· 15 15 "format": "datetime", 16 16 "description": "The unix timestamp of when the item was recorded" 17 17 }, 18 - "item": { "type": "union", "refs": ["fm.teal.alpha.play#main"] } 18 + "item": { "type": "union", "refs": ["fm.teal.alpha.play#record"] } 19 19 } 20 20 } 21 21 }
+1 -1
packages/lexicons/src/fm.teal.alpha.actor.profile.json
··· 46 46 } 47 47 } 48 48 }, 49 - "featuredPlay": { 49 + "featuredItem": { 50 50 "type": "object", 51 51 "required": ["mbid", "type"], 52 52 "properties": {