Skip to content

Commit

Permalink
v0.1.8
Browse files Browse the repository at this point in the history
  • Loading branch information
Exelord committed Mar 27, 2019
1 parent 52b584d commit 7607bd8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@ebryn/jsonapi-ts",
"version": "0.1.7",
"version": "0.1.8",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
3 changes: 3 additions & 0 deletions src/resource.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ export default abstract class Resource {
attributes: ResourceTypeAttributes;
relationships: ResourceTypeRelationships;

static attributes: ResourceTypeAttributes = {};
static relationships: ResourceTypeRelationships = {};

static get type() {
return camelize(this.name);
}
Expand Down
1 change: 0 additions & 1 deletion tests/dummy/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import * as Koa from "koa";

import { Application, jsonApiKoa, KnexProcessor } from "./jsonapi-ts";
import User from "./resources/user/resource";

Expand Down

0 comments on commit 7607bd8

Please sign in to comment.