UNPKG
@cloudcamp/aws-runtime
Version:
latest (0.0.1)
0.0.1
0.0.1-alpha.9
0.0.1-alpha.8
0.0.1-alpha.7
0.0.1-alpha.6
0.0.1-alpha.5
0.0.1-alpha.0
CloudCamp - Launch faster by building scalable infrastructure in few lines of code.
cloudcamphq.com
@cloudcamp/aws-runtime
/
lib
/
utils.d.ts
9 lines
(8 loc)
•
290 B
TypeScript
View Raw
1
2
3
4
5
6
7
8
9
import
{
RepositoryHost
}
from
"./types"
;
export
declare
function
setDefaults<T>(
props
: T |
undefined
,
defaults
:
any
): T;
export
declare
function
parseRepositoryUrl
(
url
:
string
): {
host
:
RepositoryHost
;
owner
:
string
;
repo
:
string
; };
export
declare
function
version
(
):
string
;