Service - CssStyles
Revision as of 13:22, 7 March 2023 by Sven the Barbarian (talk | contribs) (Created page with "= Overview = Manages styles created by users and used in different areas of the project. = Repository = https://bitbucket.org/izara-core-shared/izara-core-shared-cssstyles = DynamoDB tables = == Standard Config Table Per Service == === Configuration tags === <syntaxhighlight lang="JavaScript"> { configKey: "xx", configTag: "xx", configValue: "xx", }, </syntaxhighlight> == CssStyleMain == <syntaxhighlight lang="JavaScript"> { cssStyleId: "xx", // {useCase...")
Overview
Manages styles created by users and used in different areas of the project.
Repository
https://bitbucket.org/izara-core-shared/izara-core-shared-cssstyles
DynamoDB tables
Standard Config Table Per Service
Configuration tags
{
configKey: "xx",
configTag: "xx",
configValue: "xx",
},
CssStyleMain
{
cssStyleId: "xx", // {useCase}_{random uuid}
cssStyle: "xx", // block of css formatting
}
- partition key: cssStyleId
- sort key: {none}
- save cssStyles according to useCase, eg cssStyles for each tabled data element type (tableDataMain/tableDataGrouping/tableDataRow/tableDataCell/tableDataElement)
UsersCssStyles
{
userId: "xx" // user who owns the cssStyle
cssStyleId: "xx",
}
- partition key: userId
- sort key: {none}