platform/packages/websocket/lib/constants.dart

37 lines
938 B
Dart
Raw Normal View History

2019-01-06 02:41:46 +00:00
const String authenticateAction = 'authenticate';
const String indexAction = 'index';
const String readAction = 'read';
const String createAction = 'create';
const String modifyAction = 'modify';
const String updateAction = 'update';
const String removeAction = 'remove';
const String authenticatedEvent = 'authenticated';
const String errorEvent = 'error';
const String indexedEvent = 'indexed';
const String readEvent = 'read';
const String createdEvent = 'created';
const String modifiedEvent = 'modified';
const String updatedEvent = 'updated';
const String removedEvent = 'removed';
/// The standard Angel service actions.
2021-02-21 02:47:23 +00:00
const List<String> actions = <String>[
2019-01-06 02:41:46 +00:00
indexAction,
readAction,
createAction,
modifyAction,
updateAction,
removeAction
];
/// The standard Angel service events.
2021-02-21 02:47:23 +00:00
const List<String> events = <String>[
2019-01-06 02:41:46 +00:00
indexedEvent,
readEvent,
createdEvent,
modifiedEvent,
updatedEvent,
removedEvent
];