Api reference
components.manager_training.public.actions ¶
update_progress ¶
update_progress ¶
Source code in components/manager_training/public/actions/update_progress.py
components.manager_training.public.queries ¶
dato_module ¶
FIND_MANAGER_TRAINING_MODULE
module-attribute
¶
FIND_MANAGER_TRAINING_MODULE = "\nquery findManagerTrainingModule($slug: String!, $locale: SiteLocale!) {\n managerTrainingModule(\n locale: $locale,\n filter: {\n slug: {eq: $slug},\n translationIsReady: {eq: true}\n }\n ) {\n readingTime\n author {\n id\n firstName\n lastName\n description {\n value\n links\n blocks\n }\n languages {\n name\n id\n }\n professions {\n id\n content\n }\n profilePicture {\n alt\n url\n }\n specialties {\n name\n id\n }\n }\n slug\n title\n summary\n sections {\n title\n content {\n value\n blocks {\n ... on ArticleImageRecord {\n __typename\n id\n image {\n url\n blurhash\n }\n isOversized\n }\n ... on TipRecord {\n __typename\n id\n title\n content\n iconBackgroundColor\n murrayIcon {\n id\n variant\n visual\n }\n }\n ... on MurrayIconRecord {\n __typename\n id\n variant\n visual\n }\n ... on NumberIconRecord {\n __typename\n id\n number\n variant\n }\n ... on TwoColumnRecord {\n __typename\n id\n firstColumn {\n value\n blocks {\n ... on ColoredTagRecord {\n __typename\n id\n content\n }\n }\n }\n secondColumn {\n value\n blocks {\n ... on ColoredTagRecord {\n __typename\n id\n content\n }\n }\n }\n }\n }\n }\n }\n questionSections {\n id\n question\n answers {\n content\n isCorrectAnswer\n explanation\n id\n }\n }\n questionSectionTitle\n coverPicture {\n blurhash\n url\n }\n skills {\n name\n }\n pdfUrl {\n url\n }\n }\n}\n"
get_manager_training_module ¶
Source code in components/manager_training/public/queries/dato_module.py
modules ¶
get_modules ¶
Source code in components/manager_training/public/queries/modules.py
get_modules_for_company_ids ¶
Source code in components/manager_training/public/queries/modules.py
update_progress ¶
get_progress_for_user ¶
Returns the progress of the given user for the given module.