UNPKG

ember-alexandria

Version:

Document management frontend for the alexandria backend

12 lines (9 loc) 338 B
import Model, { attr, belongsTo } from "@ember-data/model"; export default class SearchResultModel extends Model { @attr searchRank; @attr searchContext; @attr fileName; @attr documentName; @belongsTo("document", { inverse: null, async: false }) document; @belongsTo("matched-file", { inverse: null, async: false }) file; }