mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
added SyncEntry
model
This commit is contained in:
parent
fdd9e382cb
commit
5d9f589b21
@ -41,4 +41,6 @@ export const StreamingCategory = mongoose.model("StreamingCategory", schemas.Str
|
||||
|
||||
// others
|
||||
export const FeaturedWallpaper = mongoose.model("FeaturedWallpaper", schemas.FeaturedWallpaper, "featuredWallpapers")
|
||||
export const FeaturedEvent = mongoose.model("FeaturedEvent", schemas.FeaturedEvent, "featuredEvents")
|
||||
export const FeaturedEvent = mongoose.model("FeaturedEvent", schemas.FeaturedEvent, "featuredEvents")
|
||||
|
||||
export const SyncEntry = mongoose.model("SyncEntry", schemas.SyncEntry, "syncEntries")
|
@ -19,4 +19,5 @@ export { default as FeaturedEvent } from "./featuredEvent"
|
||||
|
||||
export { default as StreamingKey } from "./streamingKey"
|
||||
export { default as StreamingInfo } from "./streamingInfo"
|
||||
export { default as StreamingCategory } from "./streamingCategory"
|
||||
export { default as StreamingCategory } from "./streamingCategory"
|
||||
export { default as SyncEntry } from "./syncEntry"
|
14
packages/server/src/schemas/syncEntry/index.js
Normal file
14
packages/server/src/schemas/syncEntry/index.js
Normal file
@ -0,0 +1,14 @@
|
||||
export default {
|
||||
user_id: {
|
||||
type: "string",
|
||||
required: true,
|
||||
},
|
||||
key: {
|
||||
type: "string",
|
||||
required: true,
|
||||
},
|
||||
value: {
|
||||
type: "string",
|
||||
required: true,
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user