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

package org

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

Index

Package Files

meta.go org.go

type Organization Uses

type Organization struct {
    model.BaseEntity
    Company              string `json:"company"`
    Title                string `json:"title"`
    Message              string `json:"message"`
    Domain               string `json:"domain"`
    Email                string `json:"email"`
    AllowAnonymousAccess bool   `json:"allowAnonymousAccess"`
    AuthProvider         string `json:"authProvider"`
    AuthConfig           string `json:"authConfig"`
    ConversionEndpoint   string `json:"conversionEndpoint"`
    MaxTags              int    `json:"maxTags"`
    Serial               string `json:"serial"`
    Active               bool   `json:"active"`
    Subscription         string `json:"subscription"`
    Theme                string `json:"theme"`
}

Organization defines a tenant that uses this app.

func (*Organization) StripSecrets Uses

func (o *Organization) StripSecrets()

StripSecrets removes sensitive information.

type SiteMeta Uses

type SiteMeta struct {
    OrgID                string         `json:"orgId"`
    Title                string         `json:"title"`
    Message              string         `json:"message"`
    URL                  string         `json:"url"`
    AllowAnonymousAccess bool           `json:"allowAnonymousAccess"`
    AuthProvider         string         `json:"authProvider"`
    AuthConfig           string         `json:"authConfig"`
    Version              string         `json:"version"`
    Revision             string         `json:"revision"`
    MaxTags              int            `json:"maxTags"`
    Edition              domain.Edition `json:"edition"`
    ConversionEndpoint   string         `json:"conversionEndpoint"`
    Storage              env.StoreType  `json:"storageProvider"`
    Location             string         `json:"location"`   // reserved for internal use
    Theme                string         `json:"theme"`      // default side-wide theme, user overrideble
    Configured           bool           `json:"configured"` // is Documize instance configured
}

SiteMeta holds information associated with an Organization.

type SitemapDocument Uses

type SitemapDocument struct {
    DocumentID string
    Document   string
    SpaceID    string
    Folder     string
    Revised    time.Time
}

SitemapDocument details a document that can be exposed via Sitemap.

Package org imports 4 packages (graph) and is imported by 7 packages. Updated 2019-07-16. Refresh now. Tools for package owners.