Gitiles
Code Review
Sign In
gerrit.opencord.org
/
xos-gui
/
cb466edcfc7b4ac5cf03f3e2fe985e1472145c09
/
.
/
src
/
app
/
datasources
/
helpers
/
model.helpers.ts
blob: 81825d388fb4d83c2881a5fb13303c704bb5c65d [
file
] [
log
] [
blame
]
export
interface
IXosModelHelpersService
{
urlFromCoreModel
(
name
:
string
):
string
;
}
export
class
ModelHelpers
{
urlFromCoreModel
(
name
:
string
):
string
{
return
`/core/${name.toLowerCase()}s`
;
}
}