mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-11 03:24:16 +00:00
added StreamingProfile
model
This commit is contained in:
parent
69ffa93227
commit
15b0b0c5cd
36
packages/server/src/models/streamingProfile/index.js
Normal file
36
packages/server/src/models/streamingProfile/index.js
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
export default {
|
||||||
|
name: "StreamingProfile",
|
||||||
|
collection: "streamingProfiles",
|
||||||
|
schema: {
|
||||||
|
user_id: {
|
||||||
|
type: String,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
profile_name: {
|
||||||
|
type: String,
|
||||||
|
required: true,
|
||||||
|
},
|
||||||
|
stream_key: {
|
||||||
|
type: String,
|
||||||
|
required: true,
|
||||||
|
select: false,
|
||||||
|
},
|
||||||
|
info: {
|
||||||
|
type: Object,
|
||||||
|
default: {
|
||||||
|
title: "Untitled",
|
||||||
|
description: "No description",
|
||||||
|
category: "other",
|
||||||
|
thumbnail: null,
|
||||||
|
}
|
||||||
|
},
|
||||||
|
options: {
|
||||||
|
type: Object,
|
||||||
|
default: {
|
||||||
|
private: false,
|
||||||
|
chatEnabled: true,
|
||||||
|
drvEnabled: false,
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user