NewsletterRecord is the data structure that is stored in the newsletter program. It contains the newsletter's title, template and content. These are represented onchain and replaced via processing in the client. The title, template and content are encrypted with a group symmetric key. Each NewsletterRecord holder has access to this group symmetric key.

Hierarchy

  • NewsletterRecord

Properties

data: {
    base: string | boolean;
    content: null | string | string[];
    content_nonce: string | string[];
    group_symmetric_key: string | string[];
    id: string;
    individual_private_key: string | string[];
    member_sequence: string;
    op: string;
    revision: string | boolean;
    template: null | string | string[];
    template_nonce: string | string[];
    title: null | string | string[];
    title_nonce: string | string[];
}

Type declaration

  • base: string | boolean
  • content: null | string | string[]
  • content_nonce: string | string[]
  • group_symmetric_key: string | string[]
  • id: string
  • individual_private_key: string | string[]
  • member_sequence: string
  • op: string
  • revision: string | boolean
  • template: null | string | string[]
  • template_nonce: string | string[]
  • title: null | string | string[]
  • title_nonce: string | string[]
id: string
owner: string
program_id: string
spent: boolean

Generated using TypeDoc