Skip to content

Commit 938395d

Browse files
committed
add ukrainian data
TODO: convert it all into latin symbols
1 parent 64fd050 commit 938395d

File tree

7 files changed

+10710
-0
lines changed

7 files changed

+10710
-0
lines changed

api/.nextRelease/data/UA/inject.js

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
const {random, randomItem, include,} = require('../../api');
2+
3+
module.exports = (inc, contents) => {
4+
const mobileProviders = ['066', '067', '068', '096', '097', '098', '099'];
5+
6+
const pic = contents.picture;
7+
delete contents.picture;
8+
9+
include(inc, contents, 'phone', '(' + randomItem(mobileProviders) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4));
10+
include(inc, contents, 'cell', '(' + random(4, 1) + random(3, 2) + ') ' + random(4, 1) + random(3, 2) + '-' + random(3, 4));
11+
include(inc, contents, 'id', {
12+
name: '',
13+
value: null
14+
});
15+
include(inc, contents, 'picture', pic);
16+
};

0 commit comments

Comments
 (0)