package
Version:
v0.0.0-alpha2
Opens a new window with list of versions in this module.
Published: Aug 18, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Action struct {
Name string `json:"name"`
Child Exp `json:"child"`
}
Action -
type Entity struct {
Name string `json:"name"`
Relations []Relation `json:"relations"`
Actions []Action `json:"actions"`
}
Entity -
type Leaf struct {
Exclusion bool `json:"exclusion"`
Type LeafType `json:"type"`
Value string `json:"value"`
}
Leaf -
LeafType -
const (
ComputedUserSetType LeafType = "computed_user_set"
TupleToUserSetType LeafType = "tuple_to_user_set"
)
OPType -
const (
Union OPType = "union"
Intersection OPType = "intersection"
)
type Relation struct {
Name string `json:"name"`
Type string `json:"type"`
}
Relation -
type Rewrite struct {
Type OPType `json:"type"`
Children []Child `json:"children"`
}
Rewrite -
type Schema struct {
Entities map[string]Entity `json:"entities"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.