File size: 426 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package nfydest

import "context"

type Provider interface {
	ID() string
	TypeInfo(ctx context.Context) (*TypeInfo, error)

	ValidateField(ctx context.Context, fieldID, value string) error
	DisplayInfo(ctx context.Context, args map[string]string) (*DisplayInfo, error)
}

type DisplayInfo struct {
	Text        string
	IconURL     string
	IconAltText string
	LinkURL     string
}

func (DisplayInfo) IsInlineDisplayInfo() {}