contentbridge

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package contentbridge serves published content to plugins over the sdk seam.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(store content.Store, types Types) sdk.ContentReader

New returns an sdk.ContentReader backed by store, reading its field definitions through types.

Types

type Types added in v0.11.0

type Types interface {
	ByKey(ctx context.Context, key string) (content.Type, error)
}

Types reads the content type a published item stands under.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL