Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Dspace7 Angular
Manage
Activity
Members
Labels
Plan
Issues
42
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package Registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
vtechworks
Dspace7 Angular
Commits
c59ad14c
Commit
c59ad14c
authored
7 years ago
by
William Welling
Browse files
Options
Downloads
Patches
Plain Diff
Reduced the tree to app directory.
parent
bf4e6f1c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+9
-101
9 additions, 101 deletions
README.md
with
9 additions
and
101 deletions
README.md
+
9
−
101
View file @
c59ad14c
...
...
@@ -85,8 +85,8 @@ Default configuration file is located in `config/` folder.
To change the default configuration values, create local files that override the parameters you need to change:
-
Create a new
`environment.dev.js`
file in
`config/`
for
`devel`
environment;
-
Create a new
`environment.prod.js`
file in
`config/`
for
`production`
environment;
-
Create a new
`environment.dev.js`
file in
`config/`
for
`devel`
environment;
-
Create a new
`environment.prod.js`
file in
`config/`
for
`production`
environment;
To use the configuration parameters in your component:
...
...
@@ -241,102 +241,10 @@ dspace-angular
│ │ ├── app.module.ts *
│ │ ├── app.reducers.ts *
│ │ ├── core *
│ │ │ ├── cache *
│ │ │ │ ├── cache-entry.ts *
│ │ │ │ ├── cache.reducers.ts *
│ │ │ │ ├── object-cache.actions.ts *
│ │ │ │ ├── object-cache.reducer.spec.ts *
│ │ │ │ ├── object-cache.reducer.ts *
│ │ │ │ ├── object-cache.service.spec.ts *
│ │ │ │ ├── object-cache.service.ts *
│ │ │ │ ├── request-cache.actions.ts *
│ │ │ │ ├── request-cache.reducer.spec.ts *
│ │ │ │ ├── request-cache.reducer.ts *
│ │ │ │ ├── request-cache.service.spec.ts *
│ │ │ │ └── request-cache.service.ts *
│ │ │ ├── core.effects.ts *
│ │ │ ├── core.module.ts *
│ │ │ ├── core.reducers.ts *
│ │ │ ├── data-services *
│ │ │ │ ├── collection-data.effects.ts *
│ │ │ │ ├── collection-data.service.ts *
│ │ │ │ ├── data.effects.ts *
│ │ │ │ ├── data.service.ts *
│ │ │ │ ├── item-data.effects.ts *
│ │ │ │ ├── item-data.service.ts *
│ │ │ │ ├── object-cache.effects.ts *
│ │ │ │ ├── remote-data.ts *
│ │ │ │ └── request-cache.effects.ts *
│ │ │ ├── dspace-rest-v2 *
│ │ │ │ ├── dspace-rest-v2-response.model.ts *
│ │ │ │ ├── dspace-rest-v2.schema.json *
│ │ │ │ ├── dspace-rest-v2.serializer.spec.ts *
│ │ │ │ ├── dspace-rest-v2.serializer.ts *
│ │ │ │ ├── dspace-rest-v2.service.ts *
│ │ │ │ └── dspace-rest-v2.validator.ts *
│ │ │ ├── footer *
│ │ │ │ ├── footer.component.css *
│ │ │ │ ├── footer.component.css.shim.ts *
│ │ │ │ ├── footer.component.html *
│ │ │ │ ├── footer.component.scss *
│ │ │ │ ├── footer.component.spec.ts *
│ │ │ │ └── footer.component.ts *
│ │ │ ├── serializer.ts *
│ │ │ ├── shared *
│ │ │ │ ├── bitstream.model.ts *
│ │ │ │ ├── bundle.model.ts *
│ │ │ │ ├── collection.model.ts *
│ │ │ │ ├── dspace-object.model.ts *
│ │ │ │ ├── generic-constructor.ts *
│ │ │ │ ├── item.model.ts *
│ │ │ │ ├── metadatum.model.ts *
│ │ │ │ ├── pagination-options.model.ts *
│ │ │ │ ├── param-hash.spec.ts *
│ │ │ │ ├── param-hash.ts *
│ │ │ │ └── sort-options.model.ts *
│ │ │ └── url-combiner *
│ │ │ ├── rest-url-combiner.ts *
│ │ │ ├── ui-url-combiner.ts *
│ │ │ ├── url-combiner.spec.ts *
│ │ │ └── url-combiner.ts *
│ │ ├── header *
│ │ │ ├── header.actions.ts *
│ │ │ ├── header.component.css *
│ │ │ ├── header.component.css.shim.ts *
│ │ │ ├── header.component.html *
│ │ │ ├── header.component.scss *
│ │ │ ├── header.component.spec.ts *
│ │ │ ├── header.component.ts *
│ │ │ ├── header.effects.spec.ts *
│ │ │ ├── header.effects.ts *
│ │ │ ├── header.reducer.spec.ts *
│ │ │ └── header.reducer.ts *
│ │ ├── home *
│ │ │ ├── home-routing.module.ts *
│ │ │ ├── home.component.css *
│ │ │ ├── home.component.css.shim.ts *
│ │ │ ├── home.component.html *
│ │ │ ├── home.component.scss *
│ │ │ ├── home.component.ts *
│ │ │ └── home.module.ts *
│ │ ├── pagenotfound *
│ │ │ ├── pagenotfound.component.css *
│ │ │ ├── pagenotfound.component.css.shim.ts *
│ │ │ ├── pagenotfound.component.html *
│ │ │ ├── pagenotfound.component.scss *
│ │ │ └── pagenotfound.component.ts *
│ │ ├── shared *
│ │ │ ├── api.service.ts *
│ │ │ ├── empty.util.spec.ts *
│ │ │ ├── empty.util.ts *
│ │ │ ├── host-window.actions.ts *
│ │ │ ├── host-window.reducer.spec.ts *
│ │ │ ├── host-window.reducer.ts *
│ │ │ ├── ngrx *
│ │ │ │ └── type.ts *
│ │ │ ├── shared.module.ts *
│ │ │ └── testing *
│ │ │ └── mock-translate-loader.ts *
│ │ └── store.actions.ts *
│ ├── backend * Folder containing a mock of the REST API, hosted by the express server
│ │ ├── api.ts *
...
...
@@ -392,16 +300,16 @@ If the library doesn't have typings available at `@types/`, you can still use it
1.
In
`src/typings.d.ts`
, add the following code:
```
typescript
declare
module
'
typeless-package
'
;
```
```typescript
declare module 'typeless-package';
```
2.
Then, in the component or file that uses the library, add the following code:
```
typescript
import
*
as
typelessPackage
from
'
typeless-package
'
;
typelessPackage
.
method
();
```
```typescript
import * as typelessPackage from 'typeless-package';
typelessPackage.method();
```
Done. Note: you might need or find useful to define more typings for the library that you're trying to use.
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment