Sha256: fed4bfee593a9ad6bead10fddd78c6f47df8916c81c73fdcf68bf0e08f2f3182

Contents?: true

Size: 250 Bytes

Versions: 2

Compression:

Stored size: 250 Bytes

Contents

import SeedResolver from './seed_resolver';

export default function(options, callback) {
  return new SeedResolver({
    seedProperty: 'chapters',
    attributesForProps: ['id', 'title'],
    property: 'chapterId',
    ...options
  }, callback);
};

Version data entries

2 entries across 2 versions & 1 rubygems

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