Toggle navigation
Toggle navigation
This project
Loading...
Sign in
digsig
/
digsig-services
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Stefan Huber
2017-03-28 08:46:29 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3ca662687b7d5e90cc50b6a7f8579f5bd1d8b3f4
3ca66268
1 parent
ac96d074
aot preparation
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
dist/index.d.ts
dist/index.js
dist/index.js.map
src/index.ts
dist/index.d.ts
View file @
3ca6626
import
{
Http
}
from
'@angular/http'
;
import
{
ModuleWithProviders
}
from
'@angular/core'
;
import
{
Rest
}
from
'./services/rest'
;
import
{
Repository
}
from
'./services/repository'
;
export
{
Rest
}
from
'./services/rest'
;
export
{
Repository
}
from
'./services/repository'
;
export
{
Device
}
from
'./services/device'
;
export
declare
function
provideRest
(
http
:
Http
):
Rest
;
export
declare
function
provideRepository
(
rest
:
Rest
):
Repository
;
export
declare
class
DigsigServicesModule
{
static
forRoot
():
ModuleWithProviders
;
}
...
...
dist/index.js
View file @
3ca6626
...
...
@@ -19,9 +19,11 @@ exports.Device = device_2.Device;
function
provideRest
(
http
)
{
return
new
rest_1
.
Rest
(
http
);
}
exports
.
provideRest
=
provideRest
;
function
provideRepository
(
rest
)
{
return
new
repository_1
.
Repository
(
rest
,
new
device_1
.
Device
);
}
exports
.
provideRepository
=
provideRepository
;
var
DigsigServicesModule
=
DigsigServicesModule_1
=
(
function
()
{
function
DigsigServicesModule
()
{
}
...
...
dist/index.js.map
View file @
3ca6626
{
"version"
:
3
,
"file"
:
"index.js"
,
"sourceRoot"
:
""
,
"sources"
:[
"../src/index.ts"
],
"names"
:[],
"mappings"
:
";;;;;;;AAAA,sCAAiD;AACjD,sCAA8D;AAC9D,wCAAuC;AACvC,oDAAmD;AACnD,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AEC;AAED,2BAAkC,IAAS;IACvC,MAAM,CAAC,IAAI,uBAAU,CAAC,IAAI,EAAE,IAAI,eAAM,CAAC,CAAC;AAC5C,CAAC;AAFD,8CAEC;AAOD,IAAa,oBAAoB;IAAjC;IAUA,CAAC;IATQ,4BAAO,GAAd;QACE,MAAM,CAAC;YACL,QAAQ,EAAE,sBAAoB;YAC9B,SAAS,EAAE;gBACT,EAAE,OAAO,EAAE,WAAI,EAAE,UAAU,EAAC,WAAW,EAAE,IAAI,EAAC,CAAC,WAAI,CAAC,EAAE;gBACtD,EAAE,OAAO,EAAE,uBAAU,EAAE,UAAU,EAAC,iBAAiB,EAAE,IAAI,EAAC,CAAC,WAAI,CAAC,EAAE;aACnE;SACF,CAAA;IACH,CAAC;IACH,2BAAC;AAAD,CAAC,AAVD,IAUC;AAVY,oBAAoB;IALhC,eAAQ,CAAC;QACN,OAAO,EAAG;YACN,iBAAU;SACb;KACJ,CAAC;GACW,oBAAoB,CAUhC;AAVY,oDAAoB"
}
\ No newline at end of file
...
...
src/index.ts
View file @
3ca6626
...
...
@@ -8,11 +8,11 @@ export { Rest } from './services/rest';
export
{
Repository
}
from
'./services/repository'
;
export
{
Device
}
from
'./services/device'
;
function
provideRest
(
http
:
Http
)
:
Rest
{
export
function
provideRest
(
http
:
Http
)
:
Rest
{
return
new
Rest
(
http
);
}
function
provideRepository
(
rest
:
Rest
)
:
Repository
{
export
function
provideRepository
(
rest
:
Rest
)
:
Repository
{
return
new
Repository
(
rest
,
new
Device
);
}
...
...
Please
register
or
login
to post a comment