savvato-software / tribe-app-backend

3 stars 20 forks source link

Add Get List of Rule Types endpoint #280

Open haxwell opened 1 week ago

haxwell commented 1 week ago

There are three rule types, and what should be displayed in the UI is different for each..

message announcements:

inTheTribe - stores a tribe id cosigned - stores a tribe id cosigned by - stores user id

seeking announcements:

seeking - stores a tribe id

{ id: 1 name: "cosigned" requiredValue: "tribeId" }

We need an endpoint that will return info about these rules.