Sha256: 1b5662e40cfbeaefdfc9a83fc46f8e576a711efeb5ded17cba317ccaba784ac3

Contents?: true

Size: 301 Bytes

Versions: 2

Compression:

Stored size: 301 Bytes

Contents

import BackboneModelResolver from './backbone_model_resolver';

export default function(options, callback) {
  return new BackboneModelResolver({
    collection: () => pageflow.chapters,
    attributesForProps: ['id', 'title', 'position'],
    property: 'chapterId',
    ...options
  }, callback);
};

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
pageflow-react-0.1.1 js/src/resolvers/editor_chapter_resolver.js
pageflow-react-0.1.0 js/src/resolvers/editor_chapter_resolver.js