angular-cn/aio/aio-builds-setup/dockerbuild/scripts-js/lib/upload-server/build-events.ts

16 lines
368 B
TypeScript
Raw Normal View History

// Classes
export class BuildEvent {
// Constructor
constructor(public type: string, public pr: number, public sha: string) {}
}
export class CreatedBuildEvent extends BuildEvent {
// Properties - Public, Static
public static type = 'build.created';
// Constructor
constructor(pr: number, sha: string) {
super(CreatedBuildEvent.type, pr, sha);
}
}