dobx_ds 0.5.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 0

dobx lib for protostuffdb

Generate code (optional, generated code is checked in)

mkdir -p target
wget -O target/fbsgen-ds.jar https://repo1.maven.org/maven2/com/dyuproject/fbsgen/ds/fbsgen-ds-fatjar/1.0.1/fbsgen-ds-fatjar-1.0.1.jar
git clone https://gitlab.com/dyu/ds-proto.git p
./codegen.sh

Install deps

pub get

0.5.1

  • Fix 'subtype' errors for collection addAll/insertAll when used with list.map(fn)

0.5.0

  • Fix http dependency

0.4.2

  • Add Store.page_info method

0.4.1

  • Fix append/prepend bug

0.4.0

  • Fix update/reload diff

0.3.0

  • Updated flutter (2017-04-04) and fixed broken imports caused by the update.

0.2.0

  • Added MultiCAS methods for update ops.
  • Added store with fetch and update with pubsub on loading/desc state.

0.1.0

  • json rpc over http

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  dobx_ds: ^0.5.1

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:dobx_ds/ds.dart';
import 'package:dobx_ds/ds/prk/p1.dart';
import 'package:dobx_ds/ds/prk/p4.dart';
import 'package:dobx_ds/ds/prk/p8.dart';
import 'package:dobx_ds/ds/prk/pd.dart';
import 'package:dobx_ds/ds/prk/pk.dart';
import 'package:dobx_ds/ds/prk/ps.dart';
import 'package:dobx_ds/mc.dart';
import 'package:dobx_ds/observables.dart';
import 'package:dobx_ds/observables.g.dart';
import 'package:dobx_ds/rpc.dart';
import 'package:dobx_ds/store.dart';
import 'package:dobx_ds/types.dart';
import 'package:dobx_ds/util.dart';
import 'package:dobx_ds/validation.dart';
  
Version Uploaded Documentation Archive
0.5.1 Apr 12, 2018 Go to the documentation of dobx_ds 0.5.1 Download dobx_ds 0.5.1 archive
0.5.0 Apr 11, 2018 Go to the documentation of dobx_ds 0.5.0 Download dobx_ds 0.5.0 archive
0.4.2 Aug 2, 2017 Go to the documentation of dobx_ds 0.4.2 Download dobx_ds 0.4.2 archive
0.4.1 Aug 2, 2017 Go to the documentation of dobx_ds 0.4.1 Download dobx_ds 0.4.1 archive
0.4.0 Apr 4, 2017 Go to the documentation of dobx_ds 0.4.0 Download dobx_ds 0.4.0 archive
0.3.0 Apr 4, 2017 Go to the documentation of dobx_ds 0.3.0 Download dobx_ds 0.3.0 archive
0.2.0 Mar 30, 2017 Go to the documentation of dobx_ds 0.2.0 Download dobx_ds 0.2.0 archive
0.1.0 Mar 22, 2017 Go to the documentation of dobx_ds 0.1.0 Download dobx_ds 0.1.0 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
0
Health:
Code health derived from static analysis. [more]
0
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
0
Overall:
Weighted score of the above. [more]
0
Learn more about scoring.

The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.

Issues and suggestions

Support Dart 2 in pubspec.yaml.

The SDK constraint in pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.22.0 <2.0.0