Remove unused policy metadata and helpers
This commit is contained in:
@@ -17,7 +17,6 @@ import (
|
||||
const (
|
||||
Key = "extract/dnd/spells/catalog"
|
||||
ReasonCode = "unknown_spell"
|
||||
policy = "dnd.spells.validator.catalog.v2"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
@@ -14,7 +14,6 @@ import (
|
||||
const (
|
||||
Key = "extract/dnd/spells/shape"
|
||||
ReasonCode = "invalid_spell_shape"
|
||||
policy = "dnd.spells.validator.shape.v2"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
@@ -16,7 +16,6 @@ import (
|
||||
const (
|
||||
Key = "extract/dnd/spells/source_refs"
|
||||
ReasonCode = "invalid_source_refs"
|
||||
policy = "dnd.spells.validator.source_refs.v3"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
@@ -16,7 +16,6 @@ import (
|
||||
const (
|
||||
Key = "extract/dnd/spells/source_relatedness"
|
||||
ReasonCode = "spell_not_near_source"
|
||||
policy = "dnd.spells.validator.source_relatedness.v1"
|
||||
)
|
||||
|
||||
type Options struct{}
|
||||
|
||||
Reference in New Issue
Block a user