From 7f83004e07e1e4972ad6f3bec2102c721ff7e14e Mon Sep 17 00:00:00 2001 From: thosakwe Date: Sat, 4 Mar 2017 16:05:56 -0500 Subject: [PATCH] 1.0.1 --- README.md | 8 +++++--- lib/angel_relations.dart | 2 ++ pubspec.yaml | 2 +- 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9d8e5d0d..ea8a4e74 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ # relations -[![version 1.0.0](https://img.shields.io/badge/pub-v1.0.0-brightgreen.svg)](https://pub.dartlang.org/packages/angel_relations) +[![version 1.0.1](https://img.shields.io/badge/pub-v1.0.1-brightgreen.svg)](https://pub.dartlang.org/packages/angel_relations) [![build status](https://travis-ci.org/angel-dart/relations.svg)](https://travis-ci.org/angel-dart/relations) Database-agnostic relations between Angel services. @@ -17,7 +17,9 @@ app.service('authors').afterAll( app.service('books').afterAll(relations.belongsTo('authors')); ``` -Currently supports: +Supports: * `hasOne` * `hasMany` -* `belongsTo` \ No newline at end of file +* `hasManyThrough` +* `belongsTo` +* `belongsToMany` \ No newline at end of file diff --git a/lib/angel_relations.dart b/lib/angel_relations.dart index f359f819..5f2b6a7e 100644 --- a/lib/angel_relations.dart +++ b/lib/angel_relations.dart @@ -2,6 +2,8 @@ /// reminiscent of a relational database. library angel_relations; +export 'src/belongs_to_many.dart'; export 'src/belongs_to.dart'; export 'src/has_many.dart'; +export 'src/has_many_through.dart'; export 'src/has_one.dart'; \ No newline at end of file diff --git a/pubspec.yaml b/pubspec.yaml index 171ba028..f2ecb253 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ author: Tobe O description: Database-agnostic relations between Angel services. homepage: "https://github.com/angel-dart/relations.git" name: angel_relations -version: 1.0.0 +version: 1.0.1 environment: sdk: ">=1.19.0" dependencies: