UNPKG

kinesalite

Version:

An implementation of Amazon's Kinesis built on LevelDB

22 lines (21 loc) 433 B
exports.types = { NewStartingHashKey: { type: 'String', notNull: true, regex: '0|([1-9]\\d{0,38})', }, StreamName: { type: 'String', notNull: true, regex: '[a-zA-Z0-9_.-]+', lengthGreaterThanOrEqual: 1, lengthLessThanOrEqual: 128, }, ShardToSplit: { type: 'String', notNull: true, regex: '[a-zA-Z0-9_.-]+', lengthGreaterThanOrEqual: 1, lengthLessThanOrEqual: 128, }, }