Vulcan/packages/vulcan-events-internal/lib/modules/schema.js

28 lines
435 B
JavaScript
Raw Normal View History

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;