chore: commit prototype

This commit is contained in:
DecDuck
2025-06-09 13:52:42 +10:00
parent 60abc03091
commit b487ed4346
25 changed files with 506 additions and 203 deletions

View File

@ -157,6 +157,7 @@ model Company {
mShortDescription String
mDescription String
mLogoObjectId String
mCoverObjectId String
mBannerObjectId String
mWebsite String

View File

@ -0,0 +1,21 @@
model StorePage {
url String @id
components StoreComponent[]
acls String[] @default([]) // Empty ACL means just "store:read"
}
enum StoreComponentType {
BigCarousel
SmallCarousel
}
model StoreComponent {
id String @id
type StoreComponentType
configuration Json
pageUrl String?
page StorePage? @relation(fields: [pageUrl], references: [url])
}