Difference between revisions of "Module:Data/endpoints"
(Add release endpoint.) |
(Add video games namespace endpoint.) |
||
Line 15: | Line 15: | ||
-- Sub-Namespaces: | -- Sub-Namespaces: | ||
− | anime = 'namespaces/anime', | + | anime = 'namespaces/anime', |
− | manga = 'namespaces/manga', | + | manga = 'namespaces/manga', |
+ | videoGames = 'namespaces/videoGames', | ||
} | } | ||
-- </pre> | -- </pre> |
Revision as of 23:21, 1 January 2020
-- <pre>
return {
-- Static data:
getRegion = 'static/region',
getLanguage = 'static/language',
getMedium = 'static/medium', -- TODO: Rename. "medium" could be CG, anime, manga, VG, etc..
getRarity = 'static/rarity',
getEdition = 'static/edition',
getRelease = 'static/release',
-- SMW data:
getName = 'smw/name',
getReleaseDate = 'smw/releaseDate',
getFullCardType = 'smw/cardType', -- TODO: move module?
-- Sub-Namespaces:
anime = 'namespaces/anime',
manga = 'namespaces/manga',
videoGames = 'namespaces/videoGames',
}
-- </pre>