-
Notifications
You must be signed in to change notification settings - Fork 635
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Detach] Lexicons #2664
[Detach] Lexicons #2664
Conversation
Snuck in some protos here too 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
added some comments after the fact! can do a follow-up PR based on responses
"main": { | ||
"type": "record", | ||
"key": "tid", | ||
"description": "Record defining post URIs detached from a root post. The record key (rkey) of the detach record must match the record key of the root post in question, and that record must be in the same repository.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"detaching" works against both replies and quote-posts, right? either way we should probably clarify here in the description was "detatch" actually means.
"post": { | ||
"type": "string", | ||
"format": "at-uri", | ||
"description": "Reference (AT-URI) to the post record." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Reference (AT-URI) to the original post record"
}, | ||
"description": "List of detached post URIs." | ||
}, | ||
"updatedAt": { "type": "string", "format": "datetime" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I assume this should get updated every time posts are added or removed from the targets
array? should clarify in description.
}, | ||
"targets": { | ||
"type": "array", | ||
"maxLength": 50, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you said "1k" in the PR description, but only 50 here; was that intentional? either is probably ok/plausible to me, if I was painting the bike shed i'd probably go with 200
Adds a
app.bsky.feed.detach
lexicon and codegens.targets
limit set to 1k for now.