community: github.com/documize/community/model/block Index | Files

package block

import "github.com/documize/community/model/block"

Index

Package Files

block.go

type Block Uses

type Block struct {
    model.BaseEntity
    OrgID          string `json:"orgId"`
    SpaceID        string `json:"spaceId"`
    UserID         string `json:"userId"`
    ContentType    string `json:"contentType"`
    Type           string `json:"pageType"`
    Name           string `json:"title"`
    Body           string `json:"body"`
    Excerpt        string `json:"excerpt"`
    RawBody        string `json:"rawBody"`        // a blob of data
    Config         string `json:"config"`         // JSON based custom config for this type
    ExternalSource bool   `json:"externalSource"` // true indicates data sourced externally
    Used           uint64 `json:"used"`
    Firstname      string `json:"firstname"`
    Lastname       string `json:"lastname"`
}

Block represents a section that has been published as a reusable content block.

Package block imports 1 packages (graph) and is imported by 3 packages. Updated 2018-11-08. Refresh now. Tools for package owners.