Skip to content

Instantly share code, notes, and snippets.

@andy3520
Created April 17, 2020 15:16
Show Gist options
  • Save andy3520/f30a2013286cbbf60bfa658ebb139240 to your computer and use it in GitHub Desktop.
Save andy3520/f30a2013286cbbf60bfa658ebb139240 to your computer and use it in GitHub Desktop.
Stackoverflow Modal
{
"Models": {
"PostTypeId": {
"1": "Question",
"2": "Answer",
"3": "Wiki",
"4": "TagWikiExcerpt",
"5": "TagWiki",
"6": "ModeratorNomination",
"7": "WikiPlaceholder",
"8": "PrivilegeWiki",
"9": "Article",
"10": "HelpArticle",
"Question": 1,
"Answer": 2,
"Wiki": 3,
"TagWikiExcerpt": 4,
"TagWiki": 5,
"ModeratorNomination": 6,
"WikiPlaceholder": 7,
"PrivilegeWiki": 8,
"Article": 9,
"HelpArticle": 10
},
"NotificationFrequencyTypeId": {
"0": "None",
"1": "FifteenMinutes",
"2": "Daily",
"None": 0,
"FifteenMinutes": 1,
"Daily": 2
},
"UserFlags": {
"0": "None",
"1": "TeamGuide",
"2": "DismissMarkdownEditorHelp",
"4": "HideLeftNavigation",
"8": "DismissMentionsCallout",
"16": "DismissQuestionPageProductBanner",
"32": "DismissWelcomeModal",
"64": "DismissCloseReopenPrivilegePopover",
"128": "DismissCloseReopenPrivilegeExplanationModal",
"256": "DismissPostReactionIntroPopover",
"512": "DismissFollowQuestionIntroPopover",
"1073741824": "DisableSideNav",
"None": 0,
"TeamGuide": 1,
"DismissMarkdownEditorHelp": 2,
"HideLeftNavigation": 4,
"DismissMentionsCallout": 8,
"DismissQuestionPageProductBanner": 16,
"DismissWelcomeModal": 32,
"DismissCloseReopenPrivilegePopover": 64,
"DismissCloseReopenPrivilegeExplanationModal": 128,
"DismissPostReactionIntroPopover": 256,
"DismissFollowQuestionIntroPopover": 512,
"DisableSideNav": 1073741824
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment