Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add defaultMessage example to README #1077

Closed
wants to merge 161 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
161 commits
Select commit Hold shift + click to select a range
26e1525
build(deps-dev): bump ts-jest from 26.5.3 to 26.5.4 (#985)
dependabot[bot] Mar 23, 2021
8cc1bd7
build(deps): bump libphonenumber-js from 1.9.12 to 1.9.14 (#984)
dependabot[bot] Mar 23, 2021
1505416
build(deps-dev): bump @typescript-eslint/eslint-plugin (#981)
dependabot[bot] Mar 23, 2021
5d21e42
build(deps-dev): bump @types/jest from 26.0.20 to 26.0.21 (#983)
dependabot[bot] Mar 23, 2021
c611de9
build(deps-dev): bump eslint from 7.21.0 to 7.22.0 (#986)
dependabot[bot] Mar 23, 2021
82e9e67
build(deps-dev): bump @typescript-eslint/parser from 4.16.1 to 4.19.0…
dependabot[bot] Mar 23, 2021
f87ba6c
build(deps-dev): bump rollup from 2.42.3 to 2.42.4 (#987)
dependabot[bot] Mar 25, 2021
5b2910f
build(deps-dev): bump @types/jest from 26.0.21 to 26.0.22 (#989)
dependabot[bot] Mar 26, 2021
5d05e67
build(deps-dev): bump @types/node from 14.14.35 to 14.14.36 (#990)
dependabot[bot] Mar 26, 2021
25be325
build(deps-dev): bump @rollup/plugin-node-resolve from 11.2.0 to 11.2…
dependabot[bot] Mar 29, 2021
0dcb0f2
build(deps-dev): bump @types/node from 14.14.36 to 14.14.37 (#992)
dependabot[bot] Mar 29, 2021
2b5f354
build(deps-dev): bump eslint from 7.22.0 to 7.23.0 (#995)
dependabot[bot] Mar 29, 2021
70fa7d2
build(deps-dev): bump rollup from 2.42.4 to 2.43.1 (#994)
dependabot[bot] Mar 29, 2021
55ae9be
build(deps-dev): bump @rollup/plugin-commonjs from 17.1.0 to 18.0.0 (…
dependabot[bot] Mar 29, 2021
1bd7b0d
build(deps-dev): bump rollup from 2.43.1 to 2.44.0 (#998)
dependabot[bot] Mar 30, 2021
c1b5094
build(deps-dev): bump @typescript-eslint/parser from 4.19.0 to 4.20.0…
dependabot[bot] Mar 30, 2021
dccbde8
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1000)
dependabot[bot] Mar 30, 2021
615931e
build(deps): bump libphonenumber-js from 1.9.14 to 1.9.15 (#1001)
dependabot[bot] Mar 31, 2021
0ecbd0f
build(deps-dev): bump eslint-plugin-jest from 24.3.2 to 24.3.4 (#1004)
dependabot[bot] Apr 5, 2021
de0c673
build(deps): bump libphonenumber-js from 1.9.15 to 1.9.16 (#1006)
dependabot[bot] Apr 6, 2021
dac243b
build(deps-dev): bump @typescript-eslint/parser from 4.20.0 to 4.21.0…
dependabot[bot] Apr 6, 2021
1f612b5
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1008)
dependabot[bot] Apr 6, 2021
3d668a6
build(deps-dev): bump typescript from 4.2.3 to 4.2.4 (#1012)
dependabot[bot] Apr 8, 2021
88ae8d9
build(deps-dev): bump rollup from 2.44.0 to 2.45.0 (#1015)
dependabot[bot] Apr 9, 2021
7a8b192
build(deps-dev): bump eslint-plugin-jest from 24.3.4 to 24.3.5 (#1016)
dependabot[bot] Apr 12, 2021
3f5b7e2
build(deps-dev): bump eslint from 7.23.0 to 7.24.0 (#1017)
dependabot[bot] Apr 12, 2021
75f6757
build(deps-dev): bump rollup from 2.45.0 to 2.45.1 (#1018)
dependabot[bot] Apr 12, 2021
42842d8
build(deps-dev): bump @typescript-eslint/parser from 4.21.0 to 4.22.0…
dependabot[bot] Apr 13, 2021
29abff6
build(deps-dev): bump rollup from 2.45.1 to 2.45.2 (#1021)
dependabot[bot] Apr 13, 2021
4251428
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1020)
dependabot[bot] Apr 13, 2021
7a9248d
build(deps-dev): bump eslint-config-prettier from 8.1.0 to 8.2.0 (#1022)
dependabot[bot] Apr 14, 2021
9e68074
build(deps-dev): bump @types/node from 14.14.37 to 14.14.39 (#1023)
dependabot[bot] Apr 15, 2021
91cd9b5
build(deps-dev): bump @types/node from 14.14.39 to 14.14.41 (#1026)
dependabot[bot] Apr 16, 2021
ab68d25
build(deps-dev): bump ts-jest from 26.5.4 to 26.5.5 (#1027)
dependabot[bot] Apr 16, 2021
c8c077b
build(deps): bump validator from 13.5.2 to 13.6.0 (#1030)
dependabot[bot] Apr 21, 2021
5a71a97
build(deps-dev): bump eslint-config-prettier from 8.2.0 to 8.3.0 (#1034)
dependabot[bot] Apr 26, 2021
1f88415
build(deps-dev): bump eslint from 7.24.0 to 7.25.0 (#1035)
dependabot[bot] Apr 26, 2021
78016a7
build(deps-dev): bump eslint-plugin-jest from 24.3.5 to 24.3.6 (#1036)
dependabot[bot] Apr 26, 2021
a3a4ee3
build(deps-dev): bump @types/jest from 26.0.22 to 26.0.23 (#1038)
dependabot[bot] Apr 27, 2021
03d1a39
build(deps-dev): bump @types/node from 14.14.41 to 15.0.0 (#1039)
dependabot[bot] Apr 27, 2021
7fcc8a8
build(deps-dev): bump @types/node from 15.0.0 to 15.0.1 (#1040)
dependabot[bot] Apr 28, 2021
b613a90
build(deps-dev): bump rollup from 2.45.2 to 2.46.0 (#1042)
dependabot[bot] Apr 29, 2021
1f89dfd
build(deps): bump libphonenumber-js from 1.9.16 to 1.9.17 (#1052)
dependabot[bot] May 4, 2021
65494d8
build(deps-dev): bump rollup from 2.46.0 to 2.47.0 (#1053)
dependabot[bot] May 4, 2021
a0aec07
build(deps-dev): bump @types/node from 15.0.1 to 15.0.2 (#1055)
dependabot[bot] May 5, 2021
1196bb3
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1058)
dependabot[bot] May 5, 2021
c66324e
build(deps-dev): bump @rollup/plugin-commonjs from 18.0.0 to 18.1.0 (…
dependabot[bot] May 5, 2021
52b7403
build(deps-dev): bump @typescript-eslint/parser from 4.22.0 to 4.22.1…
dependabot[bot] May 5, 2021
6d7875d
build(deps-dev): bump @rollup/plugin-node-resolve from 11.2.1 to 13.0…
dependabot[bot] May 5, 2021
98d3b39
build(deps-dev): bump ts-jest from 26.5.5 to 26.5.6 (#1063)
dependabot[bot] May 6, 2021
cde84b6
build(deps): bump lodash from 4.17.19 to 4.17.21 (#1065)
dependabot[bot] May 6, 2021
051662a
build(deps): bump hosted-git-info from 2.8.8 to 2.8.9 (#1067)
dependabot[bot] May 9, 2021
0a0d39c
build(deps-dev): bump lint-staged from 10.5.4 to 11.0.0 (#1069)
dependabot[bot] May 10, 2021
322bb8a
build(deps-dev): bump eslint from 7.25.0 to 7.26.0 (#1070)
dependabot[bot] May 10, 2021
23cefc2
build(deps-dev): bump @rollup/plugin-commonjs from 18.1.0 to 19.0.0 (…
dependabot[bot] May 10, 2021
3ba8007
build(deps-dev): bump @typescript-eslint/parser from 4.22.1 to 4.23.0…
dependabot[bot] May 11, 2021
f8db01e
build(deps-dev): bump @types/node from 15.0.2 to 15.0.3 (#1076)
dependabot[bot] May 13, 2021
0384bd6
build(deps-dev): bump @typescript-eslint/eslint-plugin (#1075)
dependabot[bot] May 13, 2021
033ab33
docs: add defaultMessage example to README
dsbert May 13, 2021
3e0b95f
build(deps-dev): bump rollup from 2.60.0 to 2.60.1 (#1415)
dependabot[bot] Nov 22, 2021
cbcc0bb
build(deps-dev): bump lint-staged from 12.0.3 to 12.1.2 (#1416)
dependabot[bot] Nov 22, 2021
81f93d0
build(deps-dev): bump eslint-plugin-jest from 25.2.4 to 25.3.0 (#1419)
dependabot[bot] Nov 23, 2021
3d392a7
build(deps-dev): bump @types/node from 16.11.9 to 16.11.10 (#1420)
dependabot[bot] Nov 24, 2021
7adbc06
build(deps-dev): bump prettier from 2.4.1 to 2.5.0 (#1425)
dependabot[bot] Nov 26, 2021
701f9b9
build(deps-dev): bump rollup from 2.60.1 to 2.60.2 (#1429)
dependabot[bot] Nov 30, 2021
699c906
build(deps-dev): bump @types/node from 16.11.10 to 16.11.11 (#1430)
dependabot[bot] Nov 30, 2021
3552c4c
build(deps): bump libphonenumber-js from 1.9.43 to 1.9.44 (#1434)
dependabot[bot] Dec 3, 2021
a35537a
build(deps-dev): bump prettier from 2.5.0 to 2.5.1 (#1436)
dependabot[bot] Dec 6, 2021
b546ca5
build(deps-dev): bump @types/node from 16.11.11 to 16.11.12 (#1437)
dependabot[bot] Dec 7, 2021
071fb68
build(deps-dev): bump rollup from 2.60.2 to 2.61.0 (#1442)
dependabot[bot] Dec 9, 2021
645bc8d
build(deps-dev): bump typescript from 4.5.2 to 4.5.3 (#1446)
dependabot[bot] Dec 10, 2021
aad3fea
build(deps-dev): bump rollup from 2.61.0 to 2.61.1 (#1447)
dependabot[bot] Dec 13, 2021
e38968a
build(deps-dev): bump typescript from 4.5.3 to 4.5.4 (#1448)
dependabot[bot] Dec 14, 2021
e238714
build(deps-dev): bump @rollup/plugin-node-resolve from 13.0.6 to 13.1…
dependabot[bot] Dec 14, 2021
392eaa6
build(deps-dev): bump @types/node from 16.11.12 to 16.11.13 (#1452)
dependabot[bot] Dec 15, 2021
57cff6d
build(deps-dev): bump @types/node from 16.11.13 to 17.0.0 (#1453)
dependabot[bot] Dec 16, 2021
f560b16
build(deps-dev): bump @types/node from 17.0.0 to 17.0.1 (#1456)
dependabot[bot] Dec 20, 2021
4e39a04
build(deps-dev): bump lint-staged from 12.1.2 to 12.1.3 (#1458)
dependabot[bot] Dec 20, 2021
f3b1daa
build(deps-dev): bump @types/node from 17.0.1 to 17.0.2 (#1459)
dependabot[bot] Dec 21, 2021
d8835a9
build(deps-dev): bump @types/node from 17.0.2 to 17.0.4 (#1461)
dependabot[bot] Dec 24, 2021
89280f7
build(deps-dev): bump rollup from 2.61.1 to 2.62.0 (#1462)
dependabot[bot] Dec 24, 2021
d9ab052
build(deps-dev): bump @types/validator from 13.7.0 to 13.7.1 (#1463)
dependabot[bot] Dec 24, 2021
6b126e3
build(deps-dev): bump @types/node from 17.0.4 to 17.0.5 (#1466)
dependabot[bot] Dec 27, 2021
03e0f4d
build(deps-dev): bump lint-staged from 12.1.3 to 12.1.4 (#1465)
dependabot[bot] Dec 27, 2021
e34028a
build(deps-dev): bump eslint-plugin-jest from 25.3.0 to 25.3.2 (#1468)
dependabot[bot] Dec 28, 2021
4d93bde
build(deps-dev): bump eslint-plugin-jest from 25.3.2 to 25.3.3 (#1470)
dependabot[bot] Dec 31, 2021
7123007
build(deps-dev): bump @types/jest from 27.0.3 to 27.4.0 (#1472)
dependabot[bot] Dec 31, 2021
a7fe601
build(deps-dev): bump @rollup/plugin-node-resolve from 13.1.1 to 13.1…
dependabot[bot] Dec 31, 2021
d59502f
build(deps-dev): bump @types/node from 17.0.5 to 17.0.8 (#1481)
dependabot[bot] Jan 5, 2022
87b0701
build(deps-dev): bump rollup from 2.62.0 to 2.63.0 (#1483)
dependabot[bot] Jan 5, 2022
57b8182
build(deps-dev): bump lint-staged from 12.1.4 to 12.1.5 (#1476)
dependabot[bot] Jan 5, 2022
79558ad
build(deps-dev): bump eslint-plugin-jest from 25.3.3 to 25.3.4 (#1479)
dependabot[bot] Jan 5, 2022
fe1546d
build(deps-dev): bump @rollup/plugin-node-resolve from 13.1.2 to 13.1…
dependabot[bot] Jan 6, 2022
2c0fba0
build(deps-dev): bump lint-staged from 12.1.5 to 12.1.7 (#1488)
dependabot[bot] Jan 10, 2022
3925674
build(deps-dev): bump rollup from 2.63.0 to 2.64.0 (#1493)
dependabot[bot] Jan 17, 2022
1dfdd4c
build(deps-dev): bump @types/node from 17.0.8 to 17.0.9 (#1494)
dependabot[bot] Jan 17, 2022
8753936
build(deps-dev): bump eslint-plugin-jest from 25.3.4 to 25.7.0 (#1495)
dependabot[bot] Jan 17, 2022
9fe272f
build(deps-dev): bump @types/node from 17.0.9 to 17.0.10 (#1498)
dependabot[bot] Jan 19, 2022
2c68316
build(deps-dev): bump lint-staged from 12.1.7 to 12.2.0 (#1499)
dependabot[bot] Jan 19, 2022
ce1a782
build(deps-dev): bump lint-staged from 12.2.0 to 12.2.1 (#1501)
dependabot[bot] Jan 20, 2022
5fb4911
build(deps-dev): bump lint-staged from 12.2.1 to 12.2.2 (#1504)
dependabot[bot] Jan 21, 2022
d54b7b8
build(deps-dev): bump typescript from 4.5.4 to 4.5.5 (#1505)
dependabot[bot] Jan 21, 2022
347d49b
build(deps-dev): bump rollup from 2.64.0 to 2.65.0 (#1506)
dependabot[bot] Jan 21, 2022
294c498
build(deps-dev): bump rollup from 2.65.0 to 2.66.0 (#1507)
dependabot[bot] Jan 24, 2022
4fd13ae
build(deps-dev): bump lint-staged from 12.2.2 to 12.3.1 (#1508)
dependabot[bot] Jan 24, 2022
5aaa3f0
build(deps-dev): bump rollup from 2.66.0 to 2.66.1 (#1511)
dependabot[bot] Jan 25, 2022
f41d107
build(deps-dev): bump @types/node from 17.0.10 to 17.0.12 (#1512)
dependabot[bot] Jan 25, 2022
f375a1a
build(deps-dev): bump eslint-plugin-jest from 25.7.0 to 26.0.0 (#1513)
dependabot[bot] Jan 25, 2022
e762627
build(deps-dev): bump lint-staged from 12.3.1 to 12.3.2 (#1515)
dependabot[bot] Jan 27, 2022
d8982d2
build(deps): bump libphonenumber-js from 1.9.44 to 1.9.46 (#1516)
dependabot[bot] Jan 27, 2022
75e135c
build(deps-dev): bump @types/node from 17.0.12 to 17.0.13 (#1518)
dependabot[bot] Jan 28, 2022
ad877db
build(deps-dev): bump @types/node from 17.0.13 to 17.0.14 (#1525)
dependabot[bot] Feb 1, 2022
8212872
build(deps-dev): bump rollup from 2.66.1 to 2.67.0 (#1526)
dependabot[bot] Feb 2, 2022
1f0028e
build(deps): bump libphonenumber-js from 1.9.46 to 1.9.47 (#1528)
dependabot[bot] Feb 2, 2022
e0ec613
build(deps-dev): bump lint-staged from 12.3.2 to 12.3.3 (#1527)
dependabot[bot] Feb 2, 2022
a5e33c4
build(deps-dev): bump @types/node from 17.0.14 to 17.0.15 (#1530)
dependabot[bot] Feb 7, 2022
e5b3e1b
build(deps-dev): bump rollup from 2.67.0 to 2.67.1 (#1534)
dependabot[bot] Feb 7, 2022
14e3955
build(deps): bump libphonenumber-js from 1.9.47 to 1.9.48 (#1531)
dependabot[bot] Feb 7, 2022
42255c8
build(deps-dev): bump eslint-plugin-jest from 26.0.0 to 26.1.0 (#1532)
dependabot[bot] Feb 7, 2022
56b1c24
build(deps-dev): bump ts-node from 10.4.0 to 10.5.0 (#1536)
dependabot[bot] Feb 8, 2022
dfaae24
build(deps-dev): bump @types/node from 17.0.15 to 17.0.16 (#1537)
dependabot[bot] Feb 8, 2022
1c51579
build(deps-dev): bump @types/node from 17.0.16 to 17.0.17 (#1541)
dependabot[bot] Feb 10, 2022
4017036
build(deps-dev): bump rollup from 2.67.1 to 2.67.2 (#1542)
dependabot[bot] Feb 10, 2022
9a0c7dc
build(deps): bump libphonenumber-js from 1.9.48 to 1.9.49 (#1544)
dependabot[bot] Feb 11, 2022
907bc22
build(deps-dev): bump lint-staged from 12.3.3 to 12.3.4 (#1548)
dependabot[bot] Feb 14, 2022
bf0632b
build(deps-dev): bump @types/node from 17.0.17 to 17.0.18 (#1552)
dependabot[bot] Feb 15, 2022
b4796a8
build(deps-dev): bump eslint-plugin-jest from 26.1.0 to 26.1.1 (#1553)
dependabot[bot] Feb 16, 2022
91f8f07
build(deps-dev): bump rollup from 2.67.2 to 2.67.3 (#1556)
dependabot[bot] Feb 18, 2022
29cfc20
build(deps-dev): bump eslint-config-prettier from 8.3.0 to 8.4.0 (#1557)
dependabot[bot] Feb 21, 2022
6930eca
build(deps-dev): bump rollup from 2.67.3 to 2.68.0 (#1560)
dependabot[bot] Feb 22, 2022
597786c
build(deps-dev): bump @types/node from 17.0.18 to 17.0.19 (#1561)
dependabot[bot] Feb 22, 2022
651b723
build(deps-dev): bump @types/jest from 27.4.0 to 27.4.1 (#1563)
dependabot[bot] Feb 23, 2022
f2bc6aa
build(deps-dev): bump @types/node from 17.0.19 to 17.0.21 (#1564)
dependabot[bot] Feb 24, 2022
142af75
build(deps-dev): bump @rollup/plugin-commonjs from 21.0.1 to 21.0.2 (…
dependabot[bot] Feb 24, 2022
e693778
build(deps-dev): bump typescript from 4.5.5 to 4.6.2 (#1570)
dependabot[bot] Mar 1, 2022
89c4a9e
build(deps-dev): bump ts-node from 10.5.0 to 10.6.0 (#1571)
dependabot[bot] Mar 2, 2022
44c07f9
build(deps-dev): bump rollup from 2.68.0 to 2.69.0 (#1572)
dependabot[bot] Mar 3, 2022
5aeca12
build(deps-dev): bump eslint-config-prettier from 8.4.0 to 8.5.0 (#1573)
dependabot[bot] Mar 3, 2022
176fb90
build(deps-dev): bump rollup from 2.69.0 to 2.70.0 (#1577)
dependabot[bot] Mar 7, 2022
d721eb7
build(deps-dev): bump lint-staged from 12.3.4 to 12.3.5 (#1576)
dependabot[bot] Mar 7, 2022
77ef375
build(deps-dev): bump ts-node from 10.6.0 to 10.7.0 (#1578)
dependabot[bot] Mar 7, 2022
c72d1be
build(deps-dev): bump rollup from 2.70.0 to 2.70.1 (#1582)
dependabot[bot] Mar 14, 2022
4d71476
build(deps-dev): bump lint-staged from 12.3.5 to 12.3.6 (#1584)
dependabot[bot] Mar 16, 2022
7d8bd5f
build(deps-dev): bump prettier from 2.5.1 to 2.6.0 (#1585)
dependabot[bot] Mar 16, 2022
303edfd
build(deps): bump libphonenumber-js from 1.9.49 to 1.9.50 (#1589)
dependabot[bot] Mar 18, 2022
fd67e22
build(deps-dev): bump lint-staged from 12.3.6 to 12.3.7 (#1590)
dependabot[bot] Mar 18, 2022
397473b
build(deps-dev): bump eslint-plugin-jest from 26.1.1 to 26.1.2 (#1591)
dependabot[bot] Mar 21, 2022
363a314
build(deps-dev): bump @types/node from 17.0.21 to 17.0.22 (#1592)
dependabot[bot] Mar 22, 2022
4b0114d
build(deps-dev): bump @types/node from 17.0.22 to 17.0.23 (#1594)
dependabot[bot] Mar 24, 2022
dc20354
build(deps): bump minimist from 1.2.5 to 1.2.6 (#1595)
dependabot[bot] Mar 24, 2022
0262804
build(deps-dev): bump typescript from 4.6.2 to 4.6.3 (#1598)
dependabot[bot] Mar 25, 2022
e993a33
build(deps-dev): bump prettier from 2.6.0 to 2.6.1 (#1599)
dependabot[bot] Mar 25, 2022
7098bf0
build(deps-dev): bump eslint-plugin-jest from 26.1.2 to 26.1.3 (#1600)
dependabot[bot] Mar 25, 2022
8927baa
build(deps-dev): bump @types/validator from 13.7.1 to 13.7.2 (#1602)
dependabot[bot] Mar 28, 2022
b00838c
build(deps-dev): bump @rollup/plugin-commonjs from 21.0.2 to 21.0.3 (…
dependabot[bot] Mar 28, 2022
ba43ec3
build(deps-dev): bump prettier from 2.6.1 to 2.6.2 (#1607)
dependabot[bot] Apr 4, 2022
7befb18
build(deps-dev): bump eslint-plugin-jest from 26.1.3 to 26.1.4 (#1613)
dependabot[bot] Apr 8, 2022
10eb3b2
build(deps): bump libphonenumber-js from 1.9.50 to 1.9.51 (#1615)
dependabot[bot] Apr 11, 2022
1dd1012
build(deps-dev): bump @rollup/plugin-node-resolve from 13.1.3 to 13.2…
dependabot[bot] Apr 12, 2022
2ef8ff0
build(deps-dev): bump @types/node from 17.0.23 to 17.0.24 (#1619)
dependabot[bot] Apr 14, 2022
856e3dd
Merge branch 'develop' into patch-1
dsbert Oct 4, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -721,6 +721,11 @@ Lets create another custom validation decorator called `IsUserAlreadyExist`:
return true;
});
}

// Optionally provide a default validation message
public defaultMessage(args: ValidationArguments) {
return `$property not valid`;
}
}

export function IsUserAlreadyExist(validationOptions?: ValidationOptions) {
Expand Down
Loading