Skip to content
This repository was archived by the owner on Aug 18, 2018. It is now read-only.

Commit db73a7c

Browse files
committed
typings and index.d.ts removed. We only use import
1 parent b141880 commit db73a7c

12 files changed

Lines changed: 6 additions & 31 deletions

CHANGELOG.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
## Localstorage cache
44

5-
Save on localstore all data. When you request a resource or collection, firt check memory. If its empty, read from store. If is empty, get the data from back-end.
5+
- Save on localstore all data. When you request a resource or collection, first check memory. If its empty, read from store. If is empty, get the data from back-end.
6+
- typings and index.d.ts removed. We only use `import`
67

78
# 0.5.x
89

9-
All data is merged on one sigle resource. If you request a request a single related resource, and on this request not include any another resource, related resources come from memory cache (if exists)
10+
All data is merged on one single resource. If you request a request a single related resource, and on this request not include any another resource, related resources come from memory cache (if exists)

src/demo/_all.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +0,0 @@
1-
/// <reference path="../library/index.d.ts" />

src/library/index.d.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

src/library/interfaces/data-resource.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { IAttributes } from '../interfaces';
2+
import { ILinks } from '../interfaces/links.d';
23

34
interface IDataResource {
45
type: string;

src/library/interfaces/document.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { IDataResource } from '../interfaces/data-resource';
2+
import { ILinks } from '../interfaces/links.d';
23

34
// http://org/format/#document-top-level
45
interface IDocument {

src/library/interfaces/links.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// http://org/format/#document-links
2-
interface ILinks {
2+
export interface ILinks {
33
self?: string;
44
related?: {
55
href: string;

src/library/resource.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/// <reference path="./index.d.ts" />
21
import * as angular from 'angular';
32
import { Core } from './core';
43
import { Base } from './services/base';

src/library/service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/// <reference path="./index.d.ts" />
21
import * as angular from 'angular';
32
import { Core } from './core';
43
import { Base } from './services/base';

src/library/services/core-services.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/// <reference path="../index.d.ts" />
21
import * as angular from 'angular';
32
import './http.service';
43
import './http-storage.service';

src/library/services/http-storage.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/// <reference path="../index.d.ts" />
21
import * as angular from 'angular';
32

43
export class HttpStorage {

0 commit comments

Comments
 (0)