01a09c2d - Add optional free-text profile location - #131
Draft
TaprootFreakAI wants to merge 2 commits into
Draft
Conversation
Store location on the account, return it on owner, member, and view JSON, and accept POST /me/location to set or clear it.
Document ten/fourteen/six serialized fields including location, list location.test.ts in CONTRIBUTING, and drop empty from the rejected-input list in the location module comment.
Collaborator
Author
|
EN: DE: DetailsHead |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
EN:
Adds an optional free-text
locationon the account. Owners set or clear it withPOST /me/location. Member and public view cards include the same field.DE:
Legt ein optionales Freitext-Feld
locationauf dem Konto an. Eigentümer setzen oder leeren es mitPOST /me/location. Mitglieder- und Public-View enthalten dasselbe Feld.Details
Stores
account.location(nullable text, max 80, no C0/DEL). Empty or whitespace clears to null. Not a setup step, not inmissing, not a posting requirement, not a profile note, and not Nostr kind:0.GET /meand other owner writes) includeslocation: string | null.GET /members/:accountIdandGET /view/:viewKeyincludelocation.POST /me/locationbody{ location }.