mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
28 lines
435 B
JavaScript
28 lines
435 B
JavaScript
![]() |
const schema = {
|
||
|
createdAt: {
|
||
|
type: Date,
|
||
|
},
|
||
|
name: {
|
||
|
type: String,
|
||
|
},
|
||
|
description: {
|
||
|
type: String,
|
||
|
optional: true,
|
||
|
},
|
||
|
unique: {
|
||
|
type: Boolean,
|
||
|
optional: true,
|
||
|
},
|
||
|
important: {
|
||
|
// marking an event as important means it should never be erased
|
||
|
type: Boolean,
|
||
|
optional: true,
|
||
|
},
|
||
|
properties: {
|
||
|
type: Object,
|
||
|
optional: true,
|
||
|
blackbox: true,
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default schema;
|