rules

package
v0.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProjectSaveChangesRules

type ProjectSaveChangesRules struct {
	RoleIDs               []string  `yaml:"roleIds,omitempty" json:"roleIds,omitempty"` //nolint:tagliatelle
	DisallowedRuleSet     []RuleSet `yaml:"disallowedRuleSet,omitempty" json:"disallowedRuleSet,omitempty"`
	IsInheritedFromTenant bool      `yaml:"isInheritedFromTenant,omitempty" json:"isInheritedFromTenant,omitempty"`
}

type RuleOptions

type RuleOptions struct {
	Action     string `yaml:"action,omitempty" json:"action,omitempty"`
	PrimaryKey string `yaml:"primaryKey,omitempty" json:"primaryKey,omitempty"`
}

type RuleSet

type RuleSet struct {
	JSONPath string       `yaml:"jsonPath,omitempty" json:"jsonPath,omitempty"`
	Options  *RuleOptions `yaml:"processingOptions,omitempty" json:"processingOptions,omitempty"` //nolint:tagliatelle
	RuleID   string       `yaml:"ruleId,omitempty" json:"ruleId,omitempty"`                       //nolint:tagliatelle
}

type SaveChangesRules

type SaveChangesRules struct {
	RoleIDs           []string  `yaml:"roleIds,omitempty" json:"roleIds,omitempty"` //nolint:tagliatelle
	DisallowedRuleSet []RuleSet `yaml:"disallowedRuleSet,omitempty" json:"disallowedRuleSet,omitempty"`
}

Jump to

Keyboard shortcuts

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