@signageos/events

1.2.125 • Public • Published

Events library

External module composing all private events of CQRS architecture. On frontend is not available

Convention

Events

26.01.2022 e.g.:

export const LocationCreated = 'Location.LocationCreated';
export interface LocationCreated extends IOriginatorAwareEvent<typeof LocationCreated> {
	uid: string;
	name: string;
	address: string;
	floor: string;
	coordinates: {
		lat: number;
		long: number;
	};
	additionalNote: string;
}
  • const and interface are together without new line
  • const and interface are named same
  • interface is without I prefix
  • id is as uid

Readme

Keywords

none

Package Sidebar

Install

npm i @signageos/events

Weekly Downloads

2

Version

1.2.125

License

ICS

Unpacked Size

1.83 kB

Total Files

2

Last publish

Collaborators

  • misak113
  • kytart
  • petrbily
  • signageos.io
  • vasekboch