1package tinyclient23import (4 "github.com/FelineStateMachine/tinyrelay/internal/policy"5 "github.com/FelineStateMachine/tinyrelay/internal/views"6)78// Policy contains the relay settings displayed by the client. These aliases9// let embedders implement Backend without importing a relay-internal package.10type Policy = policy.Policy11type Features = policy.Features12type Sites = policy.Sites13type CustomHost = policy.CustomHost14type Succession = policy.Succession15type Notify = policy.Notify16type MemberInvites = policy.MemberInvites17type Delivery = policy.Delivery18type Inbox = policy.Inbox19type FileLimits = policy.FileLimits20type RetentionRule = policy.RetentionRule2122// CustomView describes a fenced-block renderer offered by the backend.23type CustomView = views.View2425// DefaultPolicy returns the standard presentation and feature settings.26func DefaultPolicy(owner string) Policy { return policy.Defaults(owner) }