(
projectUuid: string,
userUuid: string,
data: CreateSavedChart & {
updatedByUser: UpdatedByUser;
slug: string;
forceSlug?: boolean;
},
)
| 707 | } |
| 708 | |
| 709 | async create( |
| 710 | projectUuid: string, |
| 711 | userUuid: string, |
| 712 | data: CreateSavedChart & { |
| 713 | updatedByUser: UpdatedByUser; |
| 714 | slug: string; |
| 715 | forceSlug?: boolean; |
| 716 | }, |
| 717 | ): Promise<SavedChartDAO> { |
| 718 | const newSavedChartUuid = await createSavedChart( |
| 719 | this.database, |
| 720 | projectUuid, |
| 721 | userUuid, |
| 722 | data, |
| 723 | ); |
| 724 | return this.get(newSavedChartUuid); |
| 725 | } |
| 726 | |
| 727 | async createVersion( |
| 728 | savedChartUuid: string, |
no test coverage detected