From 08c1b4fd4b25cac3f9ff475d64104202713b92ea Mon Sep 17 00:00:00 2001 From: Cue <1493221+cuebit@users.noreply.github.com> Date: Mon, 24 May 2021 15:54:00 +0100 Subject: [PATCH] fix(decorator): export `HasManyBy` decorator (#71) --- src/index.cjs.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/index.cjs.ts b/src/index.cjs.ts index 6cf31f5..06b5f86 100644 --- a/src/index.cjs.ts +++ b/src/index.cjs.ts @@ -14,6 +14,7 @@ import { Uid } from './model/decorators/attributes/types/Uid' import { HasOne } from './model/decorators/attributes/relations/HasOne' import { BelongsTo } from './model/decorators/attributes/relations/BelongsTo' import { HasMany } from './model/decorators/attributes/relations/HasMany' +import { HasManyBy } from './model/decorators/attributes/relations/HasManyBy' import { Attribute } from './model/attributes/Attribute' import { Type } from './model/attributes/types/Type' import { Attr as AttrAttr } from './model/attributes/types/Attr' @@ -45,6 +46,7 @@ export default { HasOne, BelongsTo, HasMany, + HasManyBy, Attribute, Type, AttrAttr,