2017-02-06 13:40:28 -05:00
|
|
|
// Classes
|
2017-06-18 18:15:07 -04:00
|
|
|
export class ChangedPrVisibilityEvent {
|
|
|
|
// Properties - Public, Static
|
|
|
|
public static type = 'pr.changedVisibility';
|
|
|
|
|
|
|
|
// Constructor
|
|
|
|
constructor(public pr: number, public shas: string[], public isPublic: boolean) {}
|
|
|
|
}
|
|
|
|
|
2017-06-17 14:24:16 -04:00
|
|
|
export class CreatedBuildEvent {
|
2017-02-06 13:40:28 -05:00
|
|
|
// Properties - Public, Static
|
|
|
|
public static type = 'build.created';
|
|
|
|
|
|
|
|
// Constructor
|
2017-06-18 18:15:07 -04:00
|
|
|
constructor(public pr: number, public sha: string, public isPublic: boolean) {}
|
2017-02-06 13:40:28 -05:00
|
|
|
}
|