kinesalite
Version:
An implementation of Amazon's Kinesis built on LevelDB
20 lines (19 loc) • 367 B
JavaScript
exports.types = {
TagKeys: {
type: 'List',
notNull: true,
lengthGreaterThanOrEqual: 1,
lengthLessThanOrEqual: 10,
childLengths: [1, 128],
children: {
type: 'String',
},
},
StreamName: {
type: 'String',
notNull: true,
regex: '[a-zA-Z0-9_.-]+',
lengthGreaterThanOrEqual: 1,
lengthLessThanOrEqual: 128,
},
}