Skip to content

[RulesDashboard] - useAllRulesetTypes Hook and useRulesetsByRulesetTypes Hook #3841

@Zwendle

Description

@Zwendle

Description

We need the hook/api/route functions that call the getAllRulesetTypes and getRulesetsByRulesetTypes endpoints in the backend. The hooks will be used to populate the RulesetTypesPage and RulesetPage, respectively.

Acceptance Criteria

Hook, api, and route functions exist as described, and the RulesetType and Ruleset pages should (in theory) be populated by our seed data instead of mocked data

Proposed Solution

Plenty of examples to choose from

Mocks

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions