Files
kredits-web/app/models/contributor.js
2022-05-21 18:16:26 +02:00

26 lines
426 B
JavaScript

import EmberObject from '@ember/object';
export default EmberObject.extend({
// Contract
id: null,
account: null,
balance: 0,
totalKreditsEarned: 0,
contributionsCount: 0,
isCore: false,
ipfsHash: null,
// IPFS
kind: null,
name: null,
url: null,
github_username: null,
github_uid: null,
wiki_username: null,
zoom_display_name: null,
serialize () {
return JSON.stringify(this);
}
});