299 lines
10 KiB
Plaintext
299 lines
10 KiB
Plaintext
// This file is automatically generated by Keystone, do not modify it manually.
|
|
// Modify your Keystone config when you want to change this.
|
|
|
|
datasource sqlite {
|
|
url = env("DATABASE_URL")
|
|
shadowDatabaseUrl = env("SHADOW_DATABASE_URL")
|
|
provider = "sqlite"
|
|
}
|
|
|
|
generator client {
|
|
provider = "prisma-client-js"
|
|
}
|
|
|
|
model User {
|
|
id String @id @default(cuid())
|
|
name String @default("")
|
|
email String @unique @default("")
|
|
password String
|
|
createdAt DateTime? @default(now())
|
|
}
|
|
|
|
model System {
|
|
id String @id @default(cuid())
|
|
siteTitle String @default("")
|
|
linedUrl String @default("")
|
|
headerLogo_id String?
|
|
headerLogo_filesize Int?
|
|
headerLogo_width Int?
|
|
headerLogo_height Int?
|
|
headerLogo_extension String?
|
|
footerLogo_id String?
|
|
footerLogo_filesize Int?
|
|
footerLogo_width Int?
|
|
footerLogo_height Int?
|
|
footerLogo_extension String?
|
|
footerDisclaimer String @default("[{\"type\":\"paragraph\",\"children\":[{\"text\":\"\"}]}]")
|
|
updatedAt DateTime? @default(now())
|
|
}
|
|
|
|
model NavItem {
|
|
id String @id @default(cuid())
|
|
label String @default("")
|
|
href String @default("")
|
|
order Int? @default(0)
|
|
isExternal Boolean @default(false)
|
|
enabled Boolean @default(true)
|
|
parent NavItem? @relation("NavItem_parent", fields: [parentId], references: [id])
|
|
parentId String? @map("parent")
|
|
children NavItem[] @relation("NavItem_parent")
|
|
|
|
@@index([parentId])
|
|
}
|
|
|
|
model HeroSection {
|
|
id String @id @default(cuid())
|
|
title String @default("")
|
|
description String @default("")
|
|
backgroundImage_id String?
|
|
backgroundImage_filesize Int?
|
|
backgroundImage_width Int?
|
|
backgroundImage_height Int?
|
|
backgroundImage_extension String?
|
|
buttonText String @default("")
|
|
buttonLink String @default("")
|
|
}
|
|
|
|
model FinanceRow {
|
|
id String @id @default(cuid())
|
|
value String @default("")
|
|
label String @default("")
|
|
trend String? @default("none")
|
|
order Int? @default(0)
|
|
section ScreenSecondSection? @relation("FinanceRow_section", fields: [sectionId], references: [id])
|
|
sectionId String? @map("section")
|
|
|
|
@@index([sectionId])
|
|
}
|
|
|
|
model ScreenSecondSection {
|
|
id String @id @default(cuid())
|
|
title String @default("")
|
|
description String @default("")
|
|
logo_id String?
|
|
logo_filesize Int?
|
|
logo_width Int?
|
|
logo_height Int?
|
|
logo_extension String?
|
|
rows FinanceRow[] @relation("FinanceRow_section")
|
|
footnote String @default("")
|
|
}
|
|
|
|
model ScreenThreeStatCard {
|
|
id String @id @default(cuid())
|
|
value String @default("")
|
|
label String @default("")
|
|
color String @default("")
|
|
order Int? @default(0)
|
|
section ScreenThreeSection? @relation("ScreenThreeStatCard_section", fields: [sectionId], references: [id])
|
|
sectionId String? @map("section")
|
|
|
|
@@index([sectionId])
|
|
}
|
|
|
|
model ScreenThreeIndex {
|
|
id String @id @default(cuid())
|
|
text String @default("")
|
|
order Int? @default(0)
|
|
section ScreenThreeSection? @relation("ScreenThreeIndex_section", fields: [sectionId], references: [id])
|
|
sectionId String? @map("section")
|
|
|
|
@@index([sectionId])
|
|
}
|
|
|
|
model ScreenThreeSection {
|
|
id String @id @default(cuid())
|
|
title String @default("")
|
|
description String @default("")
|
|
statCards ScreenThreeStatCard[] @relation("ScreenThreeStatCard_section")
|
|
indexes ScreenThreeIndex[] @relation("ScreenThreeIndex_section")
|
|
footnote String @default("")
|
|
}
|
|
|
|
model KeyBusinessSegmentsSection {
|
|
id String @id @default(cuid())
|
|
title String @default("")
|
|
segments KeySegment[] @relation("KeySegment_section")
|
|
}
|
|
|
|
model KeySegment {
|
|
id String @id @default(cuid())
|
|
key String @unique @default("")
|
|
name String @default("")
|
|
order Int? @default(0)
|
|
logo_id String?
|
|
logo_filesize Int?
|
|
logo_width Int?
|
|
logo_height Int?
|
|
logo_extension String?
|
|
section KeyBusinessSegmentsSection? @relation("KeySegment_section", fields: [sectionId], references: [id])
|
|
sectionId String? @map("section")
|
|
info KeySegmentInfo[] @relation("KeySegmentInfo_segment")
|
|
|
|
@@index([sectionId])
|
|
}
|
|
|
|
model KeySegmentInfo {
|
|
id String @id @default(cuid())
|
|
title String @default("")
|
|
order Int? @default(0)
|
|
colSpan String? @default("ONE")
|
|
segment KeySegment? @relation("KeySegmentInfo_segment", fields: [segmentId], references: [id])
|
|
segmentId String? @map("segment")
|
|
brandLink String @default("")
|
|
brandLogo_id String?
|
|
brandLogo_filesize Int?
|
|
brandLogo_width Int?
|
|
brandLogo_height Int?
|
|
brandLogo_extension String?
|
|
items KeySegmentInfoItem[] @relation("KeySegmentInfoItem_info")
|
|
|
|
@@index([segmentId])
|
|
}
|
|
|
|
model KeySegmentInfoItem {
|
|
id String @id @default(cuid())
|
|
text String @default("")
|
|
infoLogo_id String?
|
|
infoLogo_filesize Int?
|
|
infoLogo_width Int?
|
|
infoLogo_height Int?
|
|
infoLogo_extension String?
|
|
order Int? @default(0)
|
|
info KeySegmentInfo? @relation("KeySegmentInfoItem_info", fields: [infoId], references: [id])
|
|
infoId String? @map("info")
|
|
|
|
@@index([infoId])
|
|
}
|
|
|
|
model WhyChooseUsItem {
|
|
id String @id @default(cuid())
|
|
text String @default("")
|
|
order Int? @default(0)
|
|
section WhyChooseUsSection? @relation("WhyChooseUsItem_section", fields: [sectionId], references: [id])
|
|
sectionId String? @map("section")
|
|
createdAt DateTime? @default(now())
|
|
|
|
@@index([sectionId])
|
|
}
|
|
|
|
model WhyChooseUsSection {
|
|
id String @id @default(cuid())
|
|
title String @default("Why Choose Us")
|
|
leftTitle String @default("")
|
|
leftBackground_id String?
|
|
leftBackground_filesize Int?
|
|
leftBackground_width Int?
|
|
leftBackground_height Int?
|
|
leftBackground_extension String?
|
|
ctaText String @default("Partner with us")
|
|
ctaLink String @default("")
|
|
items WhyChooseUsItem[] @relation("WhyChooseUsItem_section")
|
|
}
|
|
|
|
model InnovationSection {
|
|
id String @id @default(cuid())
|
|
title String @default("Innovation at the intersection of telecom and fintech")
|
|
topLeftTitle String @default("")
|
|
topLeftText String @default("")
|
|
topLeftImage_id String?
|
|
topLeftImage_filesize Int?
|
|
topLeftImage_width Int?
|
|
topLeftImage_height Int?
|
|
topLeftImage_extension String?
|
|
topRightTitle String @default("")
|
|
topRightText String @default("")
|
|
bottom1Title String @default("")
|
|
bottom1Text String @default("")
|
|
bottom2Title String @default("")
|
|
bottom2Text String @default("")
|
|
createdAt DateTime? @default(now())
|
|
updatedAt DateTime? @updatedAt
|
|
}
|
|
|
|
model SolutionsSection {
|
|
id String @id @default(cuid())
|
|
title String @default("Solutions")
|
|
buttonText String @default("Partner with us")
|
|
buttonHref String @default("")
|
|
items SolutionItem[] @relation("SolutionItem_section")
|
|
}
|
|
|
|
model SolutionItem {
|
|
id String @id @default(cuid())
|
|
title String @default("")
|
|
text String @default("")
|
|
href String @default("")
|
|
image_id String?
|
|
image_filesize Int?
|
|
image_width Int?
|
|
image_height Int?
|
|
image_extension String?
|
|
order Int? @default(0)
|
|
section SolutionsSection? @relation("SolutionItem_section", fields: [sectionId], references: [id])
|
|
sectionId String? @map("section")
|
|
|
|
@@index([sectionId])
|
|
}
|
|
|
|
model CountriesMapSection {
|
|
id String @id @default(cuid())
|
|
title String @default("")
|
|
countries MapCountry[] @relation("MapCountry_section")
|
|
}
|
|
|
|
model MapCountry {
|
|
id String @id @default(cuid())
|
|
section CountriesMapSection? @relation("MapCountry_section", fields: [sectionId], references: [id])
|
|
sectionId String? @map("section")
|
|
code String @unique @default("kaz")
|
|
name String @default("")
|
|
isEnabled Boolean @default(true)
|
|
flag_id String?
|
|
flag_filesize Int?
|
|
flag_width Int?
|
|
flag_height Int?
|
|
flag_extension String?
|
|
items MapCountryItem[] @relation("MapCountryItem_country")
|
|
order Int? @default(0)
|
|
|
|
@@index([sectionId])
|
|
}
|
|
|
|
model MapCountryItem {
|
|
id String @id @default(cuid())
|
|
country MapCountry? @relation("MapCountryItem_country", fields: [countryId], references: [id])
|
|
countryId String? @map("country")
|
|
text String @default("")
|
|
order Int? @default(0)
|
|
|
|
@@index([countryId])
|
|
}
|
|
|
|
model ContactRequest {
|
|
id String @id @default(cuid())
|
|
name String @default("")
|
|
company String @default("")
|
|
position String @default("")
|
|
email String @default("")
|
|
phone String @default("")
|
|
countryCode String @default("")
|
|
createdAt DateTime? @default(now())
|
|
}
|
|
|
|
model Privacy {
|
|
id String @id @default(cuid())
|
|
title String @default("Privacy Policy")
|
|
content String @default("[{\"type\":\"paragraph\",\"children\":[{\"text\":\"\"}]}]")
|
|
}
|