Service - CssStyles: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
 
(One intermediate revision by the same user not shown)
Line 27: Line 27:
cssStyleId: "xx", // {useCase}_{random uuid}
cssStyleId: "xx", // {useCase}_{random uuid}
cssStyle: "xx", // block of css formatting
cssStyle: "xx", // block of css formatting
cssStyleName: "yy", // user specified name for the css style
userId: "xx"
userId: "xx"
}
}
Line 45: Line 46:


* partition key: userId
* partition key: userId
* sort key: {none}
* sort key: cssStyleId


= Working documents =
= Working documents =

Latest revision as of 08:44, 17 March 2023

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
	cssStyleName: "yy", // user specified name for the css style
	userId: "xx"
}
  • 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: cssStyleId

Working documents

CssStyles