mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 19:14:16 +00:00
added SyncEntry
model
This commit is contained in:
parent
a5b3c72dec
commit
9082ff0b47
@ -41,4 +41,6 @@ export const StreamingCategory = mongoose.model("StreamingCategory", schemas.Str
|
|||||||
|
|
||||||
// others
|
// others
|
||||||
export const FeaturedWallpaper = mongoose.model("FeaturedWallpaper", schemas.FeaturedWallpaper, "featuredWallpapers")
|
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 StreamingKey } from "./streamingKey"
|
||||||
export { default as StreamingInfo } from "./streamingInfo"
|
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