Crate pubky_app_specs

Source

Modules§

traits

Structs§

ParsedUri
PubkyAppBlob
Represents a file uploaded by the user. URI: /pub/pubky.app/files/:file_id
PubkyAppBookmark
Represents raw homeserver bookmark with id URI: /pub/pubky.app/bookmarks/:bookmark_id
PubkyAppFeed
Represents a feed configuration.
PubkyAppFile
Represents a file uploaded by the user. URI: /pub/pubky.app/files/:file_id
PubkyAppFollow
Represents raw homeserver follow object with timestamp
PubkyAppLastRead
Represents the last read timestamp for notifications. URI: /pub/pubky.app/last_read
PubkyAppMute
Represents raw homeserver Mute object with timestamp URI: /pub/pubky.app/mutes/:user_id
PubkyAppPost
Represents raw post in homeserver with content and kind URI: /pub/pubky.app/posts/:post_id Where post_id is CrockfordBase32 encoding of timestamp
PubkyAppPostEmbed
Represents embedded content within a post
PubkyAppTag
Represents raw homeserver tag with id URI: /pub/pubky.app/tags/:tag_id
PubkyAppUser
URI: /pub/pubky.app/profile.json
PubkyAppUserLink
Represents a user’s single link with a title and URL.
PubkyId
Represents user data with name, bio, image, links, and status.

Enums§

PubkyAppFeedLayout
Enum representing the layout of the feed.
PubkyAppFeedReach
Enum representing the reach of the feed.
PubkyAppFeedSort
Enum representing the sort order of the feed.
PubkyAppObject
A unified enum wrapping all PubkyApp objects.
PubkyAppPostKind
Represents the type of pubky-app posted data Used primarily to best display the content in UI
Resource

Statics§

APP_PATH
PROTOCOL
PUBLIC_PATH
VERSION

Functions§

base_uri_builder
post_uri_builder
user_uri_builder