{"size": 407, "ext": "js", "max_stars_repo_path": "server/db/party.js", "max_stars_repo_name": "Frankdal/spotify_app_lets_party_together", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "server/db/party.js", "max_issues_repo_name": "Frankdal/spotify_app_lets_party_together", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "server/db/party.js", "max_forks_repo_name": "Frankdal/spotify_app_lets_party_together", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.380952381, "max_line_length": 73, "alphanum_fraction": 0.6805896806}
const startCounter = 6453;
let counter = startCounter;

class Party {
	constructor(name, creatorUserId, token) {
		if (!creatorUserId || !name || !token) {
			throw new Error("Party constructor: a param or more wasn't supplied");
		}
		this.creatorUserId = creatorUserId;
		this.name = name;
		this.id = counter++;
		this.token = token;
		this.playlistId;
	}
}

module.exports = {
	Party,
	startCounter,
};
