Modules§
Structs§
- Parsed
Uri - Pubky
AppBlob - Represents a blob, which backs a file uploaded by the user. URI: /pub/pubky.app/blobs/:blob_id
- Pubky
AppBookmark - Represents raw homeserver bookmark with id URI: /pub/pubky.app/bookmarks/:bookmark_id
- Pubky
AppFeed - Represents a feed configuration.
- Pubky
AppFile - Represents a file uploaded by the user. URI: /pub/pubky.app/files/:file_id
- Pubky
AppFollow - Represents raw homeserver follow object with timestamp
- Pubky
AppLast Read - Represents the last read timestamp for notifications. URI: /pub/pubky.app/last_read
- Pubky
AppMute - Represents raw homeserver Mute object with timestamp URI: /pub/pubky.app/mutes/:user_id
- Pubky
AppPost - Represents raw post in homeserver with content and kind URI: /pub/pubky.app/posts/:post_id Where post_id is CrockfordBase32 encoding of timestamp
- Pubky
AppPost Embed - Represents embedded content within a post
- Pubky
AppTag - Represents raw homeserver tag with id URI: /pub/pubky.app/tags/:tag_id
- Pubky
AppUser - URI: /pub/pubky.app/profile.json
- Pubky
AppUser Link - Represents a user’s single link with a title and URL.
- PubkyId
- Represents user data with name, bio, image, links, and status.
- Validation
Limits - Bundled validation limits for quick consumption.
Enums§
- Pubky
AppFeed Layout - Enum representing the layout of the feed.
- Pubky
AppFeed Reach - Enum representing the reach of the feed.
- Pubky
AppFeed Sort - Enum representing the sort order of the feed.
- Pubky
AppObject - A unified enum wrapping all PubkyApp objects.
- Pubky
AppPost Kind - Represents the type of pubky-app posted data Used primarily to best display the content in UI
- Resource
Constants§
- VALIDATION_
LIMITS - All validation limits in a single bundle.
- VALID_
MIME_ TYPES - Valid MIME types for file attachments.
Statics§
Functions§
- base_
uri_ builder - blob_
uri_ builder - Builds a Blob URI of the form “pubky://<author_id>/pub/pubky.app/blobs/<blob_id>”
- bookmark_
uri_ builder - Builds a Bookmark URI of the form “pubky://<author_id>/pub/pubky.app/bookmarks/<bookmark_id>”
- feed_
uri_ builder - Builds a Feed URI of the form “pubky://<author_id>/pub/pubky.app/feeds/<feed_id>”
- file_
uri_ builder - Builds a File URI of the form “pubky://<author_id>/pub/pubky.app/files/<file_id>”
- follow_
uri_ builder - Builds a Follow URI of the form “pubky://<author_id>/pub/pubky.app/follows/<follow_id>”
- last_
read_ uri_ builder - Builds a LastRead URI of the form “pubky://<author_id>/pub/pubky.app/last_read”
- mute_
uri_ builder - Builds a Mute URI of the form “pubky://<author_id>/pub/pubky.app/mutes/<mute_id>”
- post_
uri_ builder - Builds a Post URI of the form “pubky://<author_id>/pub/pubky.app/posts/<post_id>”
- tag_
uri_ builder - Builds a Tag URI of the form “pubky://<author_id>/pub/pubky.app/tags/<tag_id>”
- user_
uri_ builder - Builds an User URI of the form “pubky://<user_pubky_id>/pub/pubky.app/profile.json”