in libs/newsletters-data-client/src/lib/draft-storage/DraftStorage.ts [36:71]
abstract read(
listId: number,
): Promise<
| SuccessfulStorageResponse<DraftWithIdButNoMeta>
| UnsuccessfulStorageResponse
>;
abstract readWithMeta(
listId: number,
): Promise<
SuccessfulStorageResponse<DraftWithIdAndMeta> | UnsuccessfulStorageResponse
>;
abstract update(
draft: DraftWithId,
user: UserProfile,
): Promise<
| SuccessfulStorageResponse<DraftWithIdButNoMeta>
| UnsuccessfulStorageResponse
>;
abstract deleteItem(
listId: number,
): Promise<
| SuccessfulStorageResponse<DraftWithIdButNoMeta>
| UnsuccessfulStorageResponse
>;
abstract readAll(): Promise<
| SuccessfulStorageResponse<DraftWithIdButNoMeta[]>
| UnsuccessfulStorageResponse
>;
stripMeta(data: DraftWithIdAndMeta): DraftWithIdButNoMeta {
return stripMeta(data);
}