Master Data
Overview
The Master Data is designed to handle various entities within the application. This includes managing modules, tenants, boundaries, and schemas.
Components
Sidebar Component
Component:
SidebarAttributes:
actionId: string
order: number
path: string
navigationURL: string
iconName: string
name: string// Some code
Functionality:
Based on logged in user and roles we get list of actions user can perform,
Fetches navigation data based on
actionId,Renders navigation links in order based on
orderattribute.Uses
navigationURLfor navigation andiconNamefor displaying icons.
Signup Component
Component:
SignupAttributes:
screenName: stringsteps: Array<{bannerImage: string, text: string}>
Functionality:
Renders steps of the signup process.
Handles user input for each step.
Validates input and progresses to the next step.
SignIn Component
Component:
SignInAttributes:
type: 'password' | 'otp'fields: {username: string, password?: string, otp?: string}
Functionality:
Renders login form based on
type.Handles OTP resend logic if
typeisotp.
Home (Help) Component
Component:
HomeHelpAttributes:
youtubeLink: stringlocale: string
Functionality:
Fetches and displays YouTube help link.
Provides localized help content.
Setup Sandbox Home Component
Component:
SetupSandboxHomeAttributes:
actionId: stringorder: numberbuttonName: stringnavigationURL: stringiconName: stringname: stringmodule: string
Functionality:
Fetches setup data from Role Action service.
Renders buttons and links for initial sandbox setup.
Application Home Component
Component:
ApplicationHomeAttributes:
actionId: stringorder: numberbuttonName: stringnavigationURL: stringiconName: stringname: stringmodule: string
Functionality:
Fetches application features from Role Action service.
Displays dashboard for managing active applications.
ModuleMaster Component
Component:
ModuleMasterAttributes:
moduleName: stringschemas: Array<{schemaCode: string, type: 'common' | 'module' | 'other', canShowDefaultData: boolean}>
Functionality:
Links modules to master data schemas.
Displays list of schemas and their attributes.
Master Home Screen Info Component
Component:
MasterHomeScreenInfoAttributes:
masterName: stringcontent: {headerCode: string, data: any}helpVideo: stringbuttonName: stringbuttonLink: stringicon: string
Functionality:
Fetches and displays master data entities.
Provides navigation links and help videos.
ModuleBoundaryTenant Component
Component:
ModuleBoundaryTenantAttributes:
moduleName: stringtenant: stringsubTenant: stringboundaryHierarchyType: stringboundaryHierarchyLevel: number
Functionality:
Links modules to boundaries and tenants.
Displays hierarchy and levels for each boundary and tenant.
Last updated
Was this helpful?