ATProto Browser

ATProto Browser

Experimental browser for the Atmosphere

Post

100%! For now I need to make classes with a ton of getters for each nested key to get any form of types/autocomplete... When it could just be a nested type and I'd be okay with just a large dictionary. Typescript spoiled us, didn't it (tbf I sometimes just yolo and make a nested dict anyways)

Apr 11, 2025, 7:09 AM

Record data

{
  "uri": "at://did:plc:5o2sx3rn3cd2vz343uidsnpm/app.bsky.feed.post/3lmjhktjhvs23",
  "cid": "bafyreih732i22kwx5ttkpi7cedboglyowhhulmwlrbcpjqopnu6muhizyy",
  "value": {
    "text": "100%!\n\nFor now I need to make classes with a ton of getters for each nested key to get any form of types/autocomplete...\n\nWhen it could just be a nested type and I'd be okay with just a large dictionary. Typescript spoiled us, didn't it\n\n(tbf I sometimes just yolo and make a nested dict anyways)",
    "$type": "app.bsky.feed.post",
    "langs": [
      "en"
    ],
    "reply": {
      "root": {
        "cid": "bafyreihtlyvxqdgzccftq6tuqphudewn3ecpzykzd7dokxln5ntoj7stxa",
        "uri": "at://did:plc:4ko5cifqtivdwi6j356f6ure/app.bsky.feed.post/3lmjglhombc2j"
      },
      "parent": {
        "cid": "bafyreihtlyvxqdgzccftq6tuqphudewn3ecpzykzd7dokxln5ntoj7stxa",
        "uri": "at://did:plc:4ko5cifqtivdwi6j356f6ure/app.bsky.feed.post/3lmjglhombc2j"
      }
    },
    "createdAt": "2025-04-11T07:09:19.964Z"
  }
}