faf7e12c13eaaaa19677086fd5b2f06c4bca86a5
Christian Fraß [add] typescript logic

Christian Fraß authored 3 years ago

source/services/type.ts  1) namespace services.type
source/services/type.ts  2) {
source/services/type.ts  3) 	
source/services/type.ts  4) 	export function give(value : string) : Promise<int>
source/services/type.ts  5) 	{
Christian Fraß [mod] makefile

Christian Fraß authored 3 years ago

source/services/type.ts  6) 		return (
source/services/type.ts  7) 			repositories.type.identify(value)
source/services/type.ts  8) 			.catch(() => repositories.type.create({"value": value}))
source/services/type.ts  9) 		);