@gameroom/kit
Version:
Node kit for the Gameroom API
19 lines (16 loc) • 394 B
JavaScript
const uuid = require('uuid')
const store = require('../store')
module.exports = store.define(
'Upload',
{
// Upload
id: { type: String, default: uuid.v1 },
data: { type: String, default: null },
content_extension: { type: String, default: null },
content_type: { type: String, default: null },
url: { type: String, default: null }
},
{
strict: false
}
)