Lint JS files

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2019-03-22 10:57:14 +01:00
parent e319735ab9
commit b698eb470f
27 changed files with 237 additions and 243 deletions

View File

@@ -1,4 +1,4 @@
export interface ICurrentUser {
id: number,
email: string,
id: number;
email: string;
}

View File

@@ -1,4 +1,4 @@
import {Actor, IActor} from './actor.model';
import { Actor, IActor } from './actor.model';
export enum EventStatus {
TENTATIVE,
@@ -51,17 +51,17 @@ export interface IEvent {
description: string;
category: Category;
begins_on: Date;
ends_on: Date;
publish_at: Date;
beginsOn: Date;
endsOn: Date;
publishAt: Date;
status: EventStatus;
visibility: EventVisibility;
join_options: EventJoinOptions;
joinOptions: EventJoinOptions;
thumbnail: string;
large_image: string;
largeImage: string;
organizerActor: IActor;
attributedTo: IActor;
@@ -73,15 +73,15 @@ export interface IEvent {
export class EventModel implements IEvent {
begins_on: Date = new Date();
beginsOn: Date = new Date();
category: Category = Category.MEETING;
description: string = '';
ends_on: Date = new Date();
join_options: EventJoinOptions = EventJoinOptions.FREE;
large_image: string = '';
endsOn: Date = new Date();
joinOptions: EventJoinOptions = EventJoinOptions.FREE;
largeImage: string = '';
local: boolean = true;
participants: IParticipant[] = [];
publish_at: Date = new Date();
publishAt: Date = new Date();
status: EventStatus = EventStatus.CONFIRMED;
thumbnail: string = '';
title: string = '';
@@ -90,4 +90,4 @@ export class EventModel implements IEvent {
visibility: EventVisibility = EventVisibility.PUBLIC;
attributedTo: IActor = new Actor();
organizerActor: IActor = new Actor();
}
}

View File

@@ -1,7 +1,7 @@
import { ICurrentUser } from '@/types/current-user.model';
export interface ILogin {
user: ICurrentUser,
user: ICurrentUser;
token: string,
token: string;
}