Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Mastering-Node.js-Web-Development
/ functions
Functions
1,390 in github.com/PacktPublishing/Mastering-Node.js-Web-Development
⨍
Functions
1,390
◇
Types & classes
606
↓ 111 callers
Method
get
(id: Id)
Chapter 15/End of Chapter/part2app/src/server/api/feathers_adapter.ts:8
↓ 20 callers
Method
delete
(id: any)
Chapter 14/End of Chapter/part2app/src/server/api/http_adapter.ts:8
↓ 19 callers
Method
replace
(id: any, data: any)
Chapter 14/End of Chapter/part2app/src/server/api/http_adapter.ts:9
↓ 19 callers
Method
update
(r: Result)
Chapter 14/End of Chapter/part2app/src/server/data/repository.ts:24
↓ 16 callers
Method
getProductDetails
(ids: number[])
Chapter 17/End of Chapter/sportsstore/src/data/catalog_repository.ts:8
↓ 13 callers
Method
getAllResults
(limit: number)
Chapter 12/End of Chapter/part2app/src/server/data/repository.ts:13
↓ 12 callers
Method
find
(params: Params)
Chapter 15/End of Chapter/part2app/src/server/api/feathers_adapter.ts:12
↓ 12 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 21/End of Chapter/sportsstore/src/config/index.ts:23
↓ 11 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 21/Beginning of Chapter/sportsstore/src/config/index.ts:21
↓ 11 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 20/End of Chapter/sportsstore/src/config/index.ts:21
↓ 11 callers
Method
getProducts
()
Chapter 17/Beginning of Chapter/sportsstore/src/data/catalog_repository.ts:5
↓ 11 callers
Method
storeCategory
(c: Category)
Chapter 17/Beginning of Chapter/sportsstore/src/data/catalog_repository.ts:11
↓ 11 callers
Method
storeSupplier
(s: Supplier)
Chapter 17/Beginning of Chapter/sportsstore/src/data/catalog_repository.ts:15
↓ 10 callers
Method
get
(id: Id)
Chapter 14/End of Chapter/part2app/src/server/api/feathers_adapter.ts:8
↓ 10 callers
Method
saveResult
(r: Result)
Chapter 12/End of Chapter/part2app/src/server/data/repository.ts:11
↓ 9 callers
Method
getCategories
()
Chapter 17/Beginning of Chapter/sportsstore/src/data/catalog_repository.ts:9
↓ 9 callers
Method
getMany
(query: any)
Chapter 14/End of Chapter/part2app/src/server/api/http_adapter.ts:6
↓ 9 callers
Method
getOne
(id: any)
Chapter 14/End of Chapter/part2app/src/server/api/http_adapter.ts:5
↓ 9 callers
Method
modify
(id: any, data: any)
Chapter 14/End of Chapter/part2app/src/server/api/http_adapter.ts:10
↓ 9 callers
Method
store
(data: any)
Chapter 14/End of Chapter/part2app/src/server/api/http_adapter.ts:7
↓ 8 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 20/Beginning of Chapter/sportsstore/src/config/index.ts:21
↓ 8 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 19/End of Chapter/sportsstore/src/config/index.ts:21
↓ 8 callers
Function
sendRequest
(method, url, body, contentType)
Chapter 15/End of Chapter/part2app/src/cmdline/operations.mjs:77
↓ 7 callers
Method
create
(data: any, params: Params)
Chapter 15/End of Chapter/part2app/src/server/api/feathers_adapter.ts:16
↓ 7 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 18/End of Chapter/sportsstore/src/config/index.ts:21
↓ 7 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 18/Beginning of Chapter/sportsstore/src/config/index.ts:21
↓ 7 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 19/Beginning of Chapter/sportsstore/src/config/index.ts:21
↓ 7 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 17/End of Chapter/sportsstore/src/config/index.ts:21
↓ 7 callers
Function
sendRequest
(method, url, body, contentType)
Chapter 15/Beginning of Chapter/part2app/src/cmdline/operations.mjs:61
↓ 7 callers
Function
sendRequest
(method, url, body, contentType)
Chapter 14/End of Chapter/part2app/src/cmdline/operations.mjs:61
↓ 7 callers
Method
storeOrder
(order: Order)
Chapter 19/Beginning of Chapter/sportsstore/src/data/order_repository.ts:9
↓ 7 callers
Method
validate
(data: any)
Chapter 21/End of Chapter/sportsstore/src/data/validation/validator.ts:9
↓ 7 callers
Method
validate
(data: any)
Chapter 21/Beginning of Chapter/sportsstore/src/data/validation/validator.ts:9
↓ 7 callers
Method
validate
(data: any)
Chapter 20/End of Chapter/sportsstore/src/data/validation/validator.ts:9
↓ 6 callers
Method
get
(id: Id)
Chapter 15/Beginning of Chapter/part2app/src/server/api/feathers_adapter.ts:8
↓ 6 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 16/sportsstore/src/config/index.ts:16
↓ 6 callers
Function
getConfig
(path: string, defaultVal: any = undefined)
Chapter 17/Beginning of Chapter/sportsstore/src/config/index.ts:16
↓ 6 callers
Method
getResultById
(id: number)
Chapter 14/End of Chapter/part2app/src/server/data/repository.ts:20
↓ 6 callers
Function
writeErrorResponse
(err: any, resp: Response)
Chapter 15/End of Chapter/part2app/src/server/api/http_adapter.ts:63
↓ 6 callers
Function
writeErrorResponse
(err: any, resp: Response)
Chapter 15/Beginning of Chapter/part2app/src/server/api/http_adapter.ts:63
↓ 6 callers
Function
writeErrorResponse
(err: any, resp: Response)
Chapter 14/End of Chapter/part2app/src/server/api/http_adapter.ts:63
↓ 5 callers
Method
getCustomer
(id: number)
Chapter 19/End of Chapter/sportsstore/src/data/customer_repository.ts:6
↓ 5 callers
Method
getCustomerAddress
(id: number)
Chapter 19/End of Chapter/sportsstore/src/data/customer_repository.ts:10
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 18/End of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 18/Beginning of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 21/End of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 21/Beginning of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 20/End of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 20/Beginning of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 19/End of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 19/Beginning of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getData
(options:HelperOptions)
Chapter 17/End of Chapter/sportsstore/src/helpers/catalog_helpers.ts:5
↓ 5 callers
Function
getEnvironment
()
Chapter 21/End of Chapter/sportsstore/src/config/environment.ts:5
↓ 5 callers
Method
getResultsByName
(name: string, limit: number)
Chapter 12/End of Chapter/part2app/src/server/data/repository.ts:15
↓ 5 callers
Method
setInvalid
(newValue: boolean)
Chapter 21/End of Chapter/sportsstore/src/data/validation/validation_types.ts:10
↓ 5 callers
Method
setInvalid
(newValue: boolean)
Chapter 21/Beginning of Chapter/sportsstore/src/data/validation/validation_types.ts:10
↓ 5 callers
Method
setInvalid
(newValue: boolean)
Chapter 20/End of Chapter/sportsstore/src/data/validation/validation_types.ts:10
↓ 5 callers
Method
storeCustomer
(customer: Customer)
Chapter 19/End of Chapter/sportsstore/src/data/customer_repository.ts:12
↓ 5 callers
Function
validate
(data: any, reqs: ValidationRequirements)
Chapter 15/End of Chapter/part2app/src/server/api/validation_functions.ts:6
↓ 5 callers
Function
validate
(data: any, reqs: ValidationRequirements)
Chapter 15/Beginning of Chapter/part2app/src/server/api/validation_functions.ts:6
↓ 5 callers
Function
validate
(data: any, reqs: ValidationRequirements)
Chapter 14/End of Chapter/part2app/src/server/api/validation_functions.ts:6
↓ 4 callers
Method
add
(sql: string, params: any)
Chapter 15/End of Chapter/part2app/src/server/data/sql_helpers.ts:6
↓ 4 callers
Function
getData
(result: ValidationResults<T>)
Chapter 21/End of Chapter/sportsstore/src/data/validation/validator.ts:44
↓ 4 callers
Function
getData
(result: ValidationResults<T>)
Chapter 21/Beginning of Chapter/sportsstore/src/data/validation/validator.ts:44
↓ 4 callers
Function
getData
(result: ValidationResults<T>)
Chapter 20/End of Chapter/sportsstore/src/data/validation/validator.ts:44
↓ 4 callers
Function
getEnvironment
()
Chapter 21/Beginning of Chapter/sportsstore/src/config/environment.ts:5
↓ 4 callers
Function
getEnvironment
()
Chapter 20/End of Chapter/sportsstore/src/config/environment.ts:5
↓ 4 callers
Function
isValid
(result: ValidationResults<T>)
Chapter 21/End of Chapter/sportsstore/src/data/validation/validator.ts:39
↓ 4 callers
Function
isValid
(result: ValidationResults<T>)
Chapter 21/Beginning of Chapter/sportsstore/src/data/validation/validator.ts:39
↓ 4 callers
Function
isValid
(result: ValidationResults<T>)
Chapter 20/End of Chapter/sportsstore/src/data/validation/validator.ts:39
↓ 4 callers
Function
roleHook
(role: string)
Chapter 15/End of Chapter/part2app/src/server/auth/index.ts:97
↓ 4 callers
Method
run
(db: Database)
Chapter 15/End of Chapter/part2app/src/server/data/sql_helpers.ts:11
↓ 4 callers
Method
run
(db: Database)
Chapter 15/Beginning of Chapter/part2app/src/server/data/sql_helpers.ts:11
↓ 4 callers
Method
run
(db: Database)
Chapter 13/End of Chapter/part2app/src/server/data/sql_helpers.ts:11
↓ 4 callers
Method
run
(db: Database)
Chapter 13/Beginning of Chapter/part2app/src/server/data/sql_helpers.ts:11
↓ 4 callers
Method
run
(db: Database)
Chapter 14/End of Chapter/part2app/src/server/data/sql_helpers.ts:11
↓ 4 callers
Method
run
(db: Database)
Chapter 14/Beginning of Chapter/part2app/src/server/data/sql_helpers.ts:11
↓ 4 callers
Method
run
(db: Database)
Chapter 12/End of Chapter/part2app/src/server/data/sql_helpers.ts:11
↓ 4 callers
Method
validate
(data: any)
Chapter 20/Beginning of Chapter/sportsstore/src/data/validation/validator.ts:9
↓ 4 callers
Method
validate
(data: any)
Chapter 19/End of Chapter/sportsstore/src/data/validation/validator.ts:9
↓ 4 callers
Method
validateId
(val: any)
Chapter 15/End of Chapter/part2app/src/server/api/validation_adapter.ts:46
↓ 4 callers
Method
validateId
(val: any)
Chapter 15/Beginning of Chapter/part2app/src/server/api/validation_adapter.ts:46
↓ 4 callers
Method
validateId
(val: any)
Chapter 14/End of Chapter/part2app/src/server/api/validation_adapter.ts:46
↓ 3 callers
Method
add
(sql: string, params: any)
Chapter 15/Beginning of Chapter/part2app/src/server/data/sql_helpers.ts:6
↓ 3 callers
Method
add
(sql: string, params: any)
Chapter 13/End of Chapter/part2app/src/server/data/sql_helpers.ts:6
↓ 3 callers
Method
add
(sql: string, params: any)
Chapter 13/Beginning of Chapter/part2app/src/server/data/sql_helpers.ts:6
↓ 3 callers
Method
add
(sql: string, params: any)
Chapter 14/End of Chapter/part2app/src/server/data/sql_helpers.ts:6
↓ 3 callers
Method
add
(sql: string, params: any)
Chapter 14/Beginning of Chapter/part2app/src/server/data/sql_helpers.ts:6
↓ 3 callers
Method
add
(sql: string, params: any)
Chapter 12/End of Chapter/part2app/src/server/data/sql_helpers.ts:6
↓ 3 callers
Function
applyRule
(val: any, rule: ValidationRule)
Chapter 15/End of Chapter/part2app/src/server/api/validation_functions.ts:19
↓ 3 callers
Function
applyRule
(val: any, rule: ValidationRule)
Chapter 15/Beginning of Chapter/part2app/src/server/api/validation_functions.ts:19
↓ 3 callers
Function
applyRule
(val: any, rule: ValidationRule)
Chapter 14/End of Chapter/part2app/src/server/api/validation_functions.ts:19
↓ 3 callers
Function
fromOrmModel
(model: ResultModel | null)
Chapter 15/End of Chapter/part2app/src/server/data/orm_helpers.ts:55
↓ 3 callers
Function
fromOrmModel
(model: ResultModel | null)
Chapter 15/Beginning of Chapter/part2app/src/server/data/orm_helpers.ts:55
↓ 3 callers
Function
fromOrmModel
(model: ResultModel | null)
Chapter 14/End of Chapter/part2app/src/server/data/orm_helpers.ts:55
↓ 3 callers
Function
getEnvironment
()
Chapter 18/End of Chapter/sportsstore/src/config/environment.ts:5
↓ 3 callers
Function
getEnvironment
()
Chapter 18/Beginning of Chapter/sportsstore/src/config/environment.ts:5
↓ 3 callers
Function
getEnvironment
()
Chapter 20/Beginning of Chapter/sportsstore/src/config/environment.ts:5
↓ 3 callers
Function
getEnvironment
()
Chapter 19/End of Chapter/sportsstore/src/config/environment.ts:5
↓ 3 callers
Function
getEnvironment
()
Chapter 19/Beginning of Chapter/sportsstore/src/config/environment.ts:5
next →
1–100 of 1,390, ranked by callers