aboutsummaryrefslogtreecommitdiff
path: root/src/background/domains/completion-item.js
blob: c7ad8a1020a7c7f34199867e7f8b83f4efddc01b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
export default class CompletionItem {
  constructor({ caption, content, url, icon }) {
    this.caption0 = caption;
    this.content0 = content;
    this.url0 = url;
    this.icon0 = icon;
  }

  get caption() {
    return this.caption0;
  }

  get content() {
    return this.content0;
  }

  get url() {
    return this.url0;
  }

  get icon() {
    return this.icon0;
  }
}