config

package
v0.564.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ARRIVED_FIELD = "Arrived"
)
View Source
var (
	CLEANED_FIELD_NAME = "Cleaned"
)
View Source
var (
	GOAL_FOLDER_FIELD = "Goal Folder"
)
View Source
var (
	KEEP_FIELD = "Keep"
)
View Source
var (
	LAST_SALE_UPDATE_FIELD = "LastSaleUpdate"
)
View Source
var (
	LISTEN_FIELD = "LastListenDate"
)
View Source
var (
	SLEEVE_FIELD = "Sleeve"
)
View Source
var (
	WEIGHT_FIELD = "Weight"
)
View Source
var (
	WIDTH_FIELD = "Width"
)

Functions

func Apply added in v0.114.0

func Apply(c *pb.GramophileConfig, r *pb.Record) error

func Filter added in v0.199.0

func Filter(filter *pb.Filter, r *pb.Record) bool

func Hash

func Hash(c *pb.GramophileConfig) string

func ValidateConfig added in v0.117.0

func ValidateConfig(ctx context.Context, user *pb.StoredUser, fields []*pbd.Field, c *pb.GramophileConfig) ([]*pbd.Folder, []*pb.FolderMove, error)

Types

type Validator added in v0.190.0

type Validator interface {
	Validate(ctx context.Context, fields []*pbd.Field, c *pb.GramophileConfig) error
	GetMoves(c *pb.GramophileConfig) []*pb.FolderMove
}

Jump to

Keyboard shortcuts

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