Skip to content
Snippets Groups Projects
Commit e6877047 authored by vincent.steinman's avatar vincent.steinman
Browse files

split tag managers with tag submit manager

parent 9f8f4e6e
No related branches found
No related tags found
1 merge request!2Tags
interface TagSubmit {
name: string;
type: 'Language' | 'Framework' | 'Theme' | 'UserDefined';
state: 'PendingApproval' | 'Declined' | 'Approved';
}
export default TagSubmit;
...@@ -14,7 +14,7 @@ enum ApiRoute { ...@@ -14,7 +14,7 @@ enum ApiRoute {
EXERCISE_RESULTS = '/exercises/{{id}}/results', EXERCISE_RESULTS = '/exercises/{{id}}/results',
ADD_TAG = '/tags', ADD_TAG = '/tags',
DELETE_TAG = '/tags/{{tageName}}', DELETE_TAG = '/tags/{{tageName}}',
PROPOSE_TAG = '/tags/proposals/{{state}}', PROPOSE_TAG = '/tags/proposals/{{tagState}}',
ANSWER_TAG_PROPOSAL = '/tags/proposals/{{tagProposalName}}' ANSWER_TAG_PROPOSAL = '/tags/proposals/{{tagProposalName}}'
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment