Skip to content

Commit

Permalink
Added Choices constant for the three callback types
Browse files Browse the repository at this point in the history
  • Loading branch information
BenMillar-CGI committed Mar 20, 2024
1 parent 309622d commit 6c23a21
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions cla_common/constants.py
Expand Up @@ -41,6 +41,16 @@
("PROVIDER", "2_provider", "Provider"),
)

CALLBACK_TYPES = Choices(
# constant, db_id, friendly string
# Callback requested by a CHS Operator
("OPERATOR", "chs_operator", "CHS Operator"),
# Callback requested for self via checker
("CHECKER_SELF", "web_form_self", "Web Form - Self"),
# Callback requested for a third-party via checker
("CHECKER_THIRD_PARTY", "web_form_third_party", "Web Form - Third Party"),
)

CALLBACK_WINDOW_TYPES = Choices(
# constant, db_id, friendly string
(
Expand Down

0 comments on commit 6c23a21

Please sign in to comment.