init
This commit is contained in:
28
conf/transformConfig.json
Normal file
28
conf/transformConfig.json
Normal file
@ -0,0 +1,28 @@
|
||||
{
|
||||
"fields": {
|
||||
"id": {"from": "id"},
|
||||
"login": {"from": "username"},
|
||||
"full_name": {
|
||||
"from": "name",
|
||||
"fallback": "username"
|
||||
},
|
||||
"email": {
|
||||
"template": "${username}@example.com"
|
||||
},
|
||||
"language": "zh-CN",
|
||||
"is_admin": false,
|
||||
"last_login": {
|
||||
"func": "getCurrentTimestamp"
|
||||
},
|
||||
"created": {
|
||||
"from": "create_date",
|
||||
"func": "getFallbackTimestamp",
|
||||
"params": {"defaultValue": "2023-01-01T00:00:00.000Z"}
|
||||
},
|
||||
"visibility": "public",
|
||||
"followers_count": 0,
|
||||
"following_count": 0,
|
||||
"starred_repos_count": 0,
|
||||
"username": {"from": "username"}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user