github.com/weaviate/weaviate@v1.24.6/entities/moduletools/config.go (about) 1 // _ _ 2 // __ _____ __ ___ ___ __ _| |_ ___ 3 // \ \ /\ / / _ \/ _` \ \ / / |/ _` | __/ _ \ 4 // \ V V / __/ (_| |\ V /| | (_| | || __/ 5 // \_/\_/ \___|\__,_| \_/ |_|\__,_|\__\___| 6 // 7 // Copyright © 2016 - 2024 Weaviate B.V. All rights reserved. 8 // 9 // CONTACT: hello@weaviate.io 10 // 11 12 package moduletools 13 14 // ClassConfig is a helper type which is passed to the module to read it's 15 // per-class config. This is - among other places - used when vectorizing and 16 // when validation schema config 17 type ClassConfig interface { 18 TargetVector() string 19 Tenant() string 20 Class() map[string]interface{} 21 ClassByModuleName(moduleName string) map[string]interface{} 22 Property(propName string) map[string]interface{} 23 }