tinyrelayfile
tinyrelay/tinyclient/contracts.go/

tinyclient/contracts.go raw
1package tinyclient
2
3import (
4 "github.com/FelineStateMachine/tinyrelay/internal/policy"
5 "github.com/FelineStateMachine/tinyrelay/internal/views"
6)
7
8// Policy contains the relay settings displayed by the client. These aliases
9// let embedders implement Backend without importing a relay-internal package.
10type Policy = policy.Policy
11type Features = policy.Features
12type Sites = policy.Sites
13type CustomHost = policy.CustomHost
14type Succession = policy.Succession
15type Notify = policy.Notify
16type MemberInvites = policy.MemberInvites
17type Delivery = policy.Delivery
18type Inbox = policy.Inbox
19type FileLimits = policy.FileLimits
20type RetentionRule = policy.RetentionRule
21
22// CustomView describes a fenced-block renderer offered by the backend.
23type CustomView = views.View
24
25// DefaultPolicy returns the standard presentation and feature settings.
26func DefaultPolicy(owner string) Policy { return policy.Defaults(owner) }

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs