Documentation ¶
Overview ¶
Package db contains database junk.
Index ¶
- Constants
- Variables
- func AddFlags(fl *flag.FlagSet, name, usage string) (q *Queries, tx *Txable)
- func CreateTestDatabase(dbURL string) (p *pgxpool.Pool, err error)
- func GetRolesForEmail(ctx context.Context, q *Queries, email string) (roles []string, err error)
- func IsNotFound(err error) bool
- func NoRowsAs404(err error, format string, a ...any) error
- func Open(dbURL string) (p *pgxpool.Pool, err error)
- type AddressRole
- type AppendRoleToDomainParams
- type Arc
- type CreateFilePlaceholderParams
- type CreateGDocsDocParams
- type CreatePageParams
- type DBTX
- type DomainRole
- type Embed
- type EmbedImage
- type File
- type GDocsDoc
- type GDocsImage
- type GDocsMetadata
- type GetSharedArticleBySourceParams
- type Image
- type ImageType
- type ListAllPagesRow
- type ListArcByLastUpdatedParams
- type ListArcByLastUpdatedRow
- type ListFilesParams
- type ListGDocsImagesByExternalIDRow
- type ListImagesByFTSParams
- type ListImagesParams
- type ListNewslettersWithoutPageParams
- type ListPageIDsParams
- type ListPagesByFTSParams
- type ListPagesByInternalIDParams
- type ListPagesByPublishedParams
- type ListPagesByURLPathsRow
- type ListPagesParams
- type ListPagesRow
- type ListSharedArticlesParams
- type ListSharedArticlesWhereActiveParams
- type Map
- type Newsletter
- type NewsletterType
- type Option
- type Page
- func (page *Page) FromTOML(content string) (err error)
- func (page *Page) FullURL() string
- func (page *Page) IsNewsPage() bool
- func (page *Page) IsNewsyPage() bool
- func (page *Page) IsStateCollegePage() bool
- func (page *Page) SetURLPath()
- func (page *Page) ShouldNotify(oldPage *Page) bool
- func (page *Page) ShouldPublish() bool
- func (page *Page) ToIndex() any
- func (page *Page) ToTOML() (string, error)
- type Queries
- func (q *Queries) AppendRoleToDomain(ctx context.Context, arg AppendRoleToDomainParams) (DomainRole, error)
- func (q *Queries) CleanSiteData(ctx context.Context, key string) error
- func (q *Queries) CreateFilePlaceholder(ctx context.Context, arg CreateFilePlaceholderParams) (int64, error)
- func (q *Queries) CreateGDocsDoc(ctx context.Context, arg CreateGDocsDocParams) (GDocsDoc, error)
- func (q *Queries) CreatePage(ctx context.Context, arg CreatePageParams) error
- func (q *Queries) DeleteGDocsDocWhereUnunused(ctx context.Context) error
- func (q *Queries) DeleteSiteData(ctx context.Context, key string) error
- func (q *Queries) GetArcByArcID(ctx context.Context, arcID string) (Arc, error)
- func (q *Queries) GetArchiveURLForPageID(ctx context.Context, id int64) (string, error)
- func (q *Queries) GetGDocsByExternalIDWhereProcessed(ctx context.Context, externalID string) (GDocsDoc, error)
- func (q *Queries) GetGDocsByID(ctx context.Context, id int64) (GDocsDoc, error)
- func (q *Queries) GetImageByMD5(ctx context.Context, md5 []byte) (Image, error)
- func (q *Queries) GetImageByPath(ctx context.Context, path string) (Image, error)
- func (q *Queries) GetImageBySourceURL(ctx context.Context, srcUrl string) (Image, error)
- func (q *Queries) GetImageTypeForExtension(ctx context.Context, extension string) (ImageType, error)
- func (q *Queries) GetOption(ctx context.Context, key string) (string, error)
- func (q *Queries) GetPageByFilePath(ctx context.Context, filePath string) (Page, error)
- func (q *Queries) GetPageByID(ctx context.Context, id int64) (Page, error)
- func (q *Queries) GetPageByURLPath(ctx context.Context, urlPath string) (Page, error)
- func (q *Queries) GetRolesForAddress(ctx context.Context, emailAddress string) ([]string, error)
- func (q *Queries) GetRolesForDomain(ctx context.Context, domain string) ([]string, error)
- func (q *Queries) GetSharedArticleByID(ctx context.Context, id int64) (SharedArticle, error)
- func (q *Queries) GetSharedArticleBySource(ctx context.Context, arg GetSharedArticleBySourceParams) (SharedArticle, error)
- func (q *Queries) GetSiteData(ctx context.Context, key string) ([]SiteDatum, error)
- func (q *Queries) ListAddressesWithRole(ctx context.Context, role string) ([]string, error)
- func (q *Queries) ListAllPages(ctx context.Context) ([]ListAllPagesRow, error)
- func (q *Queries) ListAllSeries(ctx context.Context) ([]string, error)
- func (q *Queries) ListAllTopics(ctx context.Context) ([]string, error)
- func (q *Queries) ListArcByLastUpdated(ctx context.Context, arg ListArcByLastUpdatedParams) ([]ListArcByLastUpdatedRow, error)
- func (q *Queries) ListDomainsWithRole(ctx context.Context, role string) ([]string, error)
- func (q *Queries) ListFiles(ctx context.Context, arg ListFilesParams) ([]File, error)
- func (q *Queries) ListFilesWhereNoMD5(ctx context.Context, limit int32) ([]File, error)
- func (q *Queries) ListGDocsImagesByExternalID(ctx context.Context, externalID string) ([]ListGDocsImagesByExternalIDRow, error)
- func (q *Queries) ListGDocsWhereUnprocessed(ctx context.Context) ([]GDocsDoc, error)
- func (q *Queries) ListImageWhereNotUploaded(ctx context.Context) ([]Image, error)
- func (q *Queries) ListImages(ctx context.Context, arg ListImagesParams) ([]Image, error)
- func (q *Queries) ListImagesByFTS(ctx context.Context, arg ListImagesByFTSParams) ([]Image, error)
- func (q *Queries) ListImagesWhereNoMD5(ctx context.Context, limit int32) ([]Image, error)
- func (q *Queries) ListNewsletterTypes(ctx context.Context) ([]NewsletterType, error)
- func (q *Queries) ListNewslettersWithoutPage(ctx context.Context, arg ListNewslettersWithoutPageParams) ([]Newsletter, error)
- func (q *Queries) ListPageIDs(ctx context.Context, arg ListPageIDsParams) ([]int64, error)
- func (q *Queries) ListPages(ctx context.Context, arg ListPagesParams) ([]ListPagesRow, error)
- func (q *Queries) ListPagesByFTS(ctx context.Context, arg ListPagesByFTSParams) ([]Page, error)
- func (q *Queries) ListPagesByInternalID(ctx context.Context, arg ListPagesByInternalIDParams) ([]Page, error)
- func (q *Queries) ListPagesByPublished(ctx context.Context, arg ListPagesByPublishedParams) ([]Page, error)
- func (q *Queries) ListPagesByURLPaths(ctx context.Context, paths []string) ([]ListPagesByURLPathsRow, error)
- func (q *Queries) ListSharedArticles(ctx context.Context, arg ListSharedArticlesParams) ([]SharedArticle, error)
- func (q *Queries) ListSharedArticlesWhereActive(ctx context.Context, arg ListSharedArticlesWhereActiveParams) ([]SharedArticle, error)
- func (q *Queries) PopScheduledPages(ctx context.Context) ([]Page, error)
- func (q *Queries) PopScheduledSiteChanges(ctx context.Context, key string) ([]SiteDatum, error)
- func (q *Queries) SetNewsletterPage(ctx context.Context, arg SetNewsletterPageParams) (Newsletter, error)
- func (q *Queries) UpdateArc(ctx context.Context, arcItems []byte) error
- func (q *Queries) UpdateFile(ctx context.Context, arg UpdateFileParams) (File, error)
- func (q *Queries) UpdateFileMD5Size(ctx context.Context, arg UpdateFileMD5SizeParams) (File, error)
- func (q *Queries) UpdateGDocsDoc(ctx context.Context, arg UpdateGDocsDocParams) (GDocsDoc, error)
- func (q *Queries) UpdateImage(ctx context.Context, arg UpdateImageParams) (Image, error)
- func (q *Queries) UpdateImageMD5Size(ctx context.Context, arg UpdateImageMD5SizeParams) (Image, error)
- func (q *Queries) UpdateNewsletterArchives(ctx context.Context, arg UpdateNewsletterArchivesParams) (int64, error)
- func (q *Queries) UpdatePage(ctx context.Context, arg UpdatePageParams) (Page, error)
- func (q *Queries) UpdatePageRawContent(ctx context.Context, arg UpdatePageRawContentParams) (Page, error)
- func (q *Queries) UpdateSharedArticle(ctx context.Context, arg UpdateSharedArticleParams) (SharedArticle, error)
- func (q *Queries) UpdateSharedArticleFromGDocs(ctx context.Context, arg UpdateSharedArticleFromGDocsParams) (SharedArticle, error)
- func (q *Queries) UpdateSharedArticlePage(ctx context.Context, arg UpdateSharedArticlePageParams) (SharedArticle, error)
- func (q *Queries) UpsertGDocsImage(ctx context.Context, arg UpsertGDocsImageParams) error
- func (q *Queries) UpsertImage(ctx context.Context, arg UpsertImageParams) (Image, error)
- func (q *Queries) UpsertImageWithMD5(ctx context.Context, arg UpsertImageWithMD5Params) (Image, error)
- func (q *Queries) UpsertRolesForAddress(ctx context.Context, arg UpsertRolesForAddressParams) (AddressRole, error)
- func (q *Queries) UpsertRolesForDomain(ctx context.Context, arg UpsertRolesForDomainParams) (DomainRole, error)
- func (q *Queries) UpsertSharedArticleFromArc(ctx context.Context, arcID string) (SharedArticle, error)
- func (q *Queries) UpsertSharedArticleFromGDocs(ctx context.Context, arg UpsertSharedArticleFromGDocsParams) (SharedArticle, error)
- func (q *Queries) UpsertSiteData(ctx context.Context, arg UpsertSiteDataParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SetNewsletterPageParams
- type SharedArticle
- type SharedStatus
- type SiteDatum
- type Txable
- type UpdateFileMD5SizeParams
- type UpdateFileParams
- type UpdateGDocsDocParams
- type UpdateImageMD5SizeParams
- type UpdateImageParams
- type UpdateNewsletterArchivesParams
- type UpdatePageParams
- type UpdatePageRawContentParams
- type UpdateSharedArticleFromGDocsParams
- type UpdateSharedArticlePageParams
- type UpdateSharedArticleParams
- type UpsertGDocsImageParams
- type UpsertImageParams
- type UpsertImageWithMD5Params
- type UpsertRolesForAddressParams
- type UpsertRolesForDomainParams
- type UpsertSharedArticleFromGDocsParams
- type UpsertSiteDataParams
Constants ¶
View Source
const ( ImageEmbedTag = "image" RawEmbedTag = "raw" ToCEmbedTag = "toc" SpotlightEmbedTag = "spl" )
Variables ¶
View Source
var ( NullTime = pgtype.Timestamptz{} NullText = pgtype.Text{} )
Functions ¶
func GetRolesForEmail ¶
func IsNotFound ¶
Types ¶
type AddressRole ¶
type Arc ¶
type Arc struct { ID int64 `json:"id"` ArcID string `json:"arc_id"` RawData json.RawMessage `json:"raw_data"` LastUpdated pgtype.Timestamptz `json:"last_updated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` }
type CreateGDocsDocParams ¶
type CreatePageParams ¶
type DomainRole ¶
type Embed ¶
func (*Embed) UnmarshalJSON ¶
type EmbedImage ¶
type File ¶
type File struct { ID int64 `json:"id"` URL string `json:"url"` Filename string `json:"filename"` MimeType string `json:"mime_type"` Description string `json:"description"` IsUploaded bool `json:"is_uploaded"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` MD5 []byte `json:"md5"` Bytes int64 `json:"bytes"` DeletedAt pgtype.Timestamptz `json:"deleted_at"` }
type GDocsDoc ¶
type GDocsDoc struct { ID int64 `json:"id"` ExternalID string `json:"external_id"` Document docs.Document `json:"document"` Metadata GDocsMetadata `json:"metadata"` Embeds []Embed `json:"embeds"` RichText string `json:"rich_text"` RawHtml string `json:"raw_html"` ArticleMarkdown string `json:"article_markdown"` WordCount int32 `json:"word_count"` Warnings []string `json:"warnings"` ProcessedAt pgtype.Timestamptz `json:"processed_at"` CreatedAt time.Time `json:"created_at"` }
type GDocsImage ¶
type GDocsMetadata ¶
type GDocsMetadata struct { PublicationDate pgtype.Timestamptz `json:"publication_date"` InternalID string `json:"internal_id"` Byline string `json:"byline"` Budget string `json:"budget"` Hed string `json:"hed"` Description string `json:"description"` LedeImage string `json:"lede_image"` LedeImageCredit string `json:"lede_image_credit"` LedeImageDescription string `json:"lede_image_description"` LedeImageCaption string `json:"lede_image_caption"` Eyebrow string `json:"eyebrow"` URLSlug string `json:"url_slug"` Blurb string `json:"blurb"` LinkTitle string `json:"link_title"` SEOTitle string `json:"seo_title"` OGTitle string `json:"og_title"` TwitterTitle string `json:"twitter_title"` }
type GetSharedArticleBySourceParams ¶
type GetSharedArticleBySourceParams struct {}
type Image ¶
type Image struct { ID int64 `json:"id"` Path string `json:"path"` Type string `json:"type"` Description string `json:"description"` Credit string `json:"credit"` SourceURL string `json:"src_url"` IsUploaded bool `json:"is_uploaded"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` MD5 []byte `json:"md5"` Bytes int64 `json:"bytes"` Keywords string `json:"keywords"` DeletedAt pgtype.Timestamptz `json:"deleted_at"` IsLicensed bool `json:"is_licensed"` }
type ListAllPagesRow ¶
type ListArcByLastUpdatedRow ¶
type ListArcByLastUpdatedRow struct { ID int64 `json:"id"` ArcID string `json:"arc_id"` RawData json.RawMessage `json:"raw_data"` LastUpdated pgtype.Timestamptz `json:"last_updated"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` Status string `json:"status"` EmbargoUntil pgtype.Timestamptz `json:"embargo_until"` }
type ListFilesParams ¶
type ListImagesByFTSParams ¶
type ListImagesParams ¶
type ListPageIDsParams ¶
type ListPagesByFTSParams ¶
type ListPagesByURLPathsRow ¶
type ListPagesByURLPathsRow struct { FilePath string `json:"file_path"` InternalID string `json:"internal_id"` Title string `json:"title"` LinkTitle string `json:"link_title"` Description string `json:"description"` Blurb string `json:"blurb"` Image string `json:"image"` URLPath string `json:"url_path"` PublicationDate time.Time `json:"publication_date"` }
type ListPagesParams ¶
type ListPagesRow ¶
type ListPagesRow struct { ID int64 `json:"id"` FilePath string `json:"file_path"` InternalID string `json:"internal_id"` Title string `json:"title"` Description string `json:"description"` Blurb string `json:"blurb"` Image string `json:"image"` URLPath string `json:"url_path"` LastPublished pgtype.Timestamptz `json:"last_published"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` ScheduleFor pgtype.Timestamptz `json:"schedule_for"` PublicationDate pgtype.Timestamptz `json:"publication_date"` }
type ListSharedArticlesParams ¶
type ListSharedArticlesParams struct {}
type ListSharedArticlesWhereActiveParams ¶
type ListSharedArticlesWhereActiveParams struct {}
type Newsletter ¶
type Newsletter struct { Subject string `json:"subject"` ArchiveURL string `json:"archive_url"` PublishedAt time.Time `json:"published_at"` Type string `json:"type"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` ID int64 `json:"id"` Description string `json:"description"` Blurb string `json:"blurb"` SpotlightPAPath pgtype.Text `json:"spotlightpa_path"` }
type NewsletterType ¶
type Page ¶
type Page struct { ID int64 `json:"id"` FilePath string `json:"file_path"` Frontmatter Map `json:"frontmatter"` Body string `json:"body"` ScheduleFor pgtype.Timestamptz `json:"schedule_for"` LastPublished pgtype.Timestamptz `json:"last_published"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` URLPath pgtype.Text `json:"url_path"` SourceType string `json:"source_type"` SourceID string `json:"source_id"` PublicationDate pgtype.Timestamptz `json:"publication_date"` }
func (*Page) IsNewsPage ¶
func (*Page) IsNewsyPage ¶
func (*Page) IsStateCollegePage ¶
func (*Page) SetURLPath ¶
func (page *Page) SetURLPath()
func (*Page) ShouldNotify ¶
func (*Page) ShouldPublish ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AppendRoleToDomain ¶
func (q *Queries) AppendRoleToDomain(ctx context.Context, arg AppendRoleToDomainParams) (DomainRole, error)
func (*Queries) CleanSiteData ¶
func (*Queries) CreateFilePlaceholder ¶
func (*Queries) CreateGDocsDoc ¶
func (*Queries) CreatePage ¶
func (q *Queries) CreatePage(ctx context.Context, arg CreatePageParams) error
func (*Queries) DeleteGDocsDocWhereUnunused ¶
func (*Queries) DeleteSiteData ¶
DeleteSiteData only removes future scheduled items. To remove past scheduled items, use CleanSiteData
func (*Queries) GetArcByArcID ¶
func (*Queries) GetArchiveURLForPageID ¶
func (*Queries) GetGDocsByExternalIDWhereProcessed ¶
func (*Queries) GetGDocsByID ¶
func (*Queries) GetImageByMD5 ¶
func (*Queries) GetImageByPath ¶
func (*Queries) GetImageBySourceURL ¶
func (*Queries) GetImageTypeForExtension ¶
func (*Queries) GetPageByFilePath ¶
func (*Queries) GetPageByID ¶
func (*Queries) GetPageByURLPath ¶
func (*Queries) GetRolesForAddress ¶
func (*Queries) GetRolesForDomain ¶
func (*Queries) GetSharedArticleByID ¶
func (*Queries) GetSharedArticleBySource ¶
func (q *Queries) GetSharedArticleBySource(ctx context.Context, arg GetSharedArticleBySourceParams) (SharedArticle, error)
func (*Queries) GetSiteData ¶
func (*Queries) ListAddressesWithRole ¶
func (*Queries) ListAllPages ¶
func (q *Queries) ListAllPages(ctx context.Context) ([]ListAllPagesRow, error)
func (*Queries) ListAllSeries ¶
func (*Queries) ListAllTopics ¶
func (*Queries) ListArcByLastUpdated ¶
func (q *Queries) ListArcByLastUpdated(ctx context.Context, arg ListArcByLastUpdatedParams) ([]ListArcByLastUpdatedRow, error)
func (*Queries) ListDomainsWithRole ¶
func (*Queries) ListFilesWhereNoMD5 ¶
func (*Queries) ListGDocsImagesByExternalID ¶
func (*Queries) ListGDocsWhereUnprocessed ¶
func (*Queries) ListImageWhereNotUploaded ¶
ListImageWhereNotUploaded has no limit because we want them all uploaded, but revisit if queue gets too long.
func (*Queries) ListImages ¶
func (*Queries) ListImagesByFTS ¶
func (*Queries) ListImagesWhereNoMD5 ¶
func (*Queries) ListNewsletterTypes ¶
func (q *Queries) ListNewsletterTypes(ctx context.Context) ([]NewsletterType, error)
func (*Queries) ListNewslettersWithoutPage ¶
func (q *Queries) ListNewslettersWithoutPage(ctx context.Context, arg ListNewslettersWithoutPageParams) ([]Newsletter, error)
func (*Queries) ListPageIDs ¶
func (*Queries) ListPages ¶
func (q *Queries) ListPages(ctx context.Context, arg ListPagesParams) ([]ListPagesRow, error)
func (*Queries) ListPagesByFTS ¶
func (*Queries) ListPagesByInternalID ¶
func (*Queries) ListPagesByPublished ¶
func (*Queries) ListPagesByURLPaths ¶
func (*Queries) ListSharedArticles ¶
func (q *Queries) ListSharedArticles(ctx context.Context, arg ListSharedArticlesParams) ([]SharedArticle, error)
func (*Queries) ListSharedArticlesWhereActive ¶
func (q *Queries) ListSharedArticlesWhereActive(ctx context.Context, arg ListSharedArticlesWhereActiveParams) ([]SharedArticle, error)
func (*Queries) PopScheduledPages ¶
func (*Queries) PopScheduledSiteChanges ¶
func (*Queries) SetNewsletterPage ¶
func (q *Queries) SetNewsletterPage(ctx context.Context, arg SetNewsletterPageParams) (Newsletter, error)
func (*Queries) UpdateFile ¶
func (*Queries) UpdateFileMD5Size ¶
func (*Queries) UpdateGDocsDoc ¶
func (*Queries) UpdateImage ¶
func (*Queries) UpdateImageMD5Size ¶
func (*Queries) UpdateNewsletterArchives ¶
func (*Queries) UpdatePage ¶
func (*Queries) UpdatePageRawContent ¶
func (*Queries) UpdateSharedArticle ¶
func (q *Queries) UpdateSharedArticle(ctx context.Context, arg UpdateSharedArticleParams) (SharedArticle, error)
func (*Queries) UpdateSharedArticleFromGDocs ¶
func (q *Queries) UpdateSharedArticleFromGDocs(ctx context.Context, arg UpdateSharedArticleFromGDocsParams) (SharedArticle, error)
func (*Queries) UpdateSharedArticlePage ¶
func (q *Queries) UpdateSharedArticlePage(ctx context.Context, arg UpdateSharedArticlePageParams) (SharedArticle, error)
func (*Queries) UpsertGDocsImage ¶
func (q *Queries) UpsertGDocsImage(ctx context.Context, arg UpsertGDocsImageParams) error
func (*Queries) UpsertImage ¶
func (*Queries) UpsertImageWithMD5 ¶
func (*Queries) UpsertRolesForAddress ¶
func (q *Queries) UpsertRolesForAddress(ctx context.Context, arg UpsertRolesForAddressParams) (AddressRole, error)
func (*Queries) UpsertRolesForDomain ¶
func (q *Queries) UpsertRolesForDomain(ctx context.Context, arg UpsertRolesForDomainParams) (DomainRole, error)
func (*Queries) UpsertSharedArticleFromArc ¶
func (*Queries) UpsertSharedArticleFromGDocs ¶
func (q *Queries) UpsertSharedArticleFromGDocs(ctx context.Context, arg UpsertSharedArticleFromGDocsParams) (SharedArticle, error)
func (*Queries) UpsertSiteData ¶
func (q *Queries) UpsertSiteData(ctx context.Context, arg UpsertSiteDataParams) error
type SetNewsletterPageParams ¶
type SharedArticle ¶
type SharedArticle struct {}
type SharedStatus ¶
type SharedStatus struct {}
type UpdateFileMD5SizeParams ¶
type UpdateFileParams ¶
type UpdateGDocsDocParams ¶
type UpdateGDocsDocParams struct { Metadata GDocsMetadata `json:"metadata"` Embeds []Embed `json:"embeds"` RichText string `json:"rich_text"` RawHtml string `json:"raw_html"` ArticleMarkdown string `json:"article_markdown"` WordCount int32 `json:"word_count"` Warnings []string `json:"warnings"` ID int64 `json:"id"` }
type UpdateImageParams ¶
type UpdateImageParams struct { SetCredit bool `json:"set_credit"` Credit string `json:"credit"` SetDescription bool `json:"set_description"` Description string `json:"description"` SetKeywords bool `json:"set_keywords"` Keywords string `json:"keywords"` SetIsLicensed bool `json:"set_is_licensed"` IsLicensed bool `json:"is_licensed"` Path string `json:"path"` }
type UpdatePageParams ¶
type UpdatePageParams struct { SetFrontmatter bool `json:"set_frontmatter"` Frontmatter Map `json:"frontmatter"` SetBody bool `json:"set_body"` Body string `json:"body"` SetScheduleFor bool `json:"set_schedule_for"` ScheduleFor pgtype.Timestamptz `json:"schedule_for"` URLPath string `json:"url_path"` SetLastPublished bool `json:"set_last_published"` FilePath string `json:"file_path"` }
type UpdateSharedArticleFromGDocsParams ¶
type UpdateSharedArticleFromGDocsParams struct {}
type UpdateSharedArticlePageParams ¶
type UpdateSharedArticlePageParams struct {}
type UpdateSharedArticleParams ¶
type UpdateSharedArticleParams struct {}
type UpsertGDocsImageParams ¶
type UpsertImageParams ¶
type UpsertSharedArticleFromGDocsParams ¶
type UpsertSharedArticleFromGDocsParams struct {}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.