The communications platform that puts data protection first.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
Rocket.Chat/app/importer/server/classes/ImporterProgress.js

16 lines
408 B

import { ProgressStep } from '../../lib/ImporterProgressStep';
export class Progress {
/**
* Creates a new progress container for the importer.
*
* @param {string} key The unique key of the importer.
* @param {string} name The name of the importer.
*/
constructor(key, name) {
this.key = key;
this.name = name;
this.step = ProgressStep.NEW;
this.count = { completed: 0, total: 0 };
}
}