Function
Static Public Summary | ||
public |
compare(expected: *, hashedValue: *): * |
|
public |
hash(password: *, salt: *): * |
|
public |
importData(knex: *, table: *, data: *) |
|
public |
loadZips(file: *): * |
|
public |
|
Static Public
public compare(expected: *, hashedValue: *): * source
import {compare} from 'ground-control/backend/bcrypt-promise.js'
Params:
Name | Type | Attribute | Description |
expected | * | ||
hashedValue | * |
Return:
* |
public hash(password: *, salt: *): * source
import {hash} from 'ground-control/backend/bcrypt-promise.js'
Params:
Name | Type | Attribute | Description |
password | * | ||
salt | * |
Return:
* |
public importData(knex: *, table: *, data: *) source
import importData from 'ground-control/backend/data/import-data.js'
Params:
Name | Type | Attribute | Description |
knex | * | ||
table | * | ||
data | * |
public loadZips(file: *): * source
import loadZips from 'ground-control/backend/data/seeds/shared/load-zips.js'
Params:
Name | Type | Attribute | Description |
file | * |
Return:
* |