2023-02-21 13:23:07 -06:00
|
|
|
import { CreatedWithIdResponse } from './CreatedWithIdResponse.js';
|
2023-02-13 20:21:28 -06:00
|
|
|
|
2023-02-17 14:27:33 -06:00
|
|
|
export class SaveRecordResponse extends CreatedWithIdResponse<number> {
|
2023-02-13 20:21:28 -06:00
|
|
|
public warnings: string[];
|
|
|
|
|
|
|
|
|
|
constructor(id: number, warnings: string[] = []) {
|
|
|
|
|
super(id);
|
|
|
|
|
this.warnings = warnings;
|
|
|
|
|
}
|
|
|
|
|
}
|