Skip to content

Commit 136e7b8

Browse files
added missing static functions to infer alias map
1 parent 33164fd commit 136e7b8

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/services/models.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,15 @@ export const INFER_ALIAS_MAP = {
3232
build: 1,
3333
create: 1,
3434
aggregate: 2,
35+
all: 0,
3536
findAll: 0,
37+
findAndCount: 0,
38+
findAndCountAll: 0,
3639
findById: 1,
40+
findByPrimary: 1,
41+
find: 0,
3742
findOne: 0,
3843
reload: 0,
39-
find: 0,
4044
};
4145

4246
/**

0 commit comments

Comments
 (0)