first commit
This commit is contained in:
15
backend/app/repositories/directus/goals.py
Normal file
15
backend/app/repositories/directus/goals.py
Normal file
@@ -0,0 +1,15 @@
|
||||
from app.repositories.directus.base import DirectusCollectionRepository
|
||||
|
||||
|
||||
class GoalRepository(DirectusCollectionRepository):
|
||||
"""Directus-backed repository for goal definitions."""
|
||||
|
||||
collection_name = "goals"
|
||||
default_fields = [
|
||||
"id",
|
||||
"site_id",
|
||||
"goal_key",
|
||||
"name",
|
||||
"goal_type",
|
||||
"match_rule",
|
||||
]
|
||||
Reference in New Issue
Block a user