dobx_ds 0.5.1

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 50

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

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 Flutter:


$ flutter packages get

Alternatively, your editor might support packages 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 failed Download dobx_ds 0.4.2 archive
0.4.1 Aug 2, 2017 failed Download dobx_ds 0.4.1 archive
0.4.0 Apr 4, 2017 failed Download dobx_ds 0.4.0 archive
0.3.0 Apr 4, 2017 failed Download dobx_ds 0.3.0 archive
0.2.0 Mar 30, 2017 failed Download dobx_ds 0.2.0 archive
0.1.0 Mar 22, 2017 failed Download dobx_ds 0.1.0 archive

Analysis

We analyzed this package on Apr 23, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0-dev.49.0
  • pana: 0.10.6
  • Flutter: 0.3.2

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
0 / 100
Health:
Code health derived from static analysis. [more]
100 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
99 / 100
Overall score:
Weighted score of the above. [more]
50
Learn more about scoring.

Platforms

Detected platforms: Flutter

References Flutter, and has no conflicting libraries.

Suggestions

  • The description is too short.

    Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 20 hints.

    Run flutter format to format lib/ds.dart.

    Run flutter format to format lib/ds/prk/p1.dart.

    Similar analysis of the following files failed:

    • lib/ds/prk/p4.dart (hint)
    • lib/ds/prk/p8.dart (hint)
    • lib/ds/prk/pd.dart (hint)
    • lib/ds/prk/pk.dart (hint)
    • lib/ds/prk/ps.dart (hint)
    • lib/mc.dart (hint)
    • lib/observables.dart (hint)
    • lib/rpc.dart (hint)
    • lib/store.dart (hint)
    • lib/types.dart (hint)
    • lib/util.dart (hint)
    • lib/validation.dart (hint)
  • Package is pre-v1 release.

    While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction API.

  • Maintain an example.

    Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use dobx_ds.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.22.0 <2.0.0
dobx ^0.7.0 0.7.0
dobx_gen ^0.2.0 0.2.0
http ^0.11.3 0.11.3+16
Transitive dependencies
analyzer 0.30.0+4 0.31.1
args 1.4.2
async 2.0.6
build 0.9.3 0.12.2
charcode 1.1.1
cli_util 0.1.2+1
collection 1.14.9
convert 2.0.1
crypto 2.0.2+1
csslib 0.14.1
dart_style 1.0.9+1 1.0.10
front_end 0.1.0-alpha.4.1 0.1.0-alpha.11
glob 1.1.5
html 0.13.3
http_parser 3.1.1
isolate 1.1.0 2.0.0
kernel 0.3.0-alpha.1.1 0.3.0-alpha.11
logging 0.11.3+1
meta 1.1.2
package_config 1.0.3
path 1.5.1
plugin 0.2.0+2
source_gen 0.5.10+1 0.8.1
source_span 1.4.0
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+7
yaml 2.1.13
Dev dependencies
build_runner ^0.3.0+1
flutter