Publication

data class Publication(val url: Uri, val icon: Blob? = null, val name: String, val labels: PublicationLabelsUnion? = null, val basicTheme: Basic? = null, val description: String? = null, val preferences: PublicationPreferences? = null)

Parameters

url

Base publication url (ex: https://standard.site). The canonical document URL is formed by combining this value with the document path.

icon

Square image to identify the publication. Should be at least 256x256.

name

Name of the publication.

labels

Self-label values for this publication. Effectively content warnings.

basicTheme

Simplified publication theme for tools and apps to utilize when displaying content.

description

Brief description of the publication.

preferences

Object containing platform specific preferences (with a few shared properties).

Constructors

Link copied to clipboard
constructor(url: Uri, icon: Blob? = null, name: String, labels: PublicationLabelsUnion? = null, basicTheme: Basic? = null, description: String? = null, preferences: PublicationPreferences? = null)

Properties

Link copied to clipboard

Simplified publication theme for tools and apps to utilize when displaying content.

Link copied to clipboard

Brief description of the publication.

Link copied to clipboard
val icon: Blob?

Square image to identify the publication. Should be at least 256x256.

Link copied to clipboard

Self-label values for this publication. Effectively content warnings.

Link copied to clipboard

Name of the publication.

Link copied to clipboard

Object containing platform specific preferences (with a few shared properties).

Link copied to clipboard
val url: Uri

Base publication url (ex: https://standard.site). The canonical document URL is formed by combining this value with the document path.