Skip to content

Commit c107d85

Browse files
committed
Remove unused getMethodologiesByApproach method in ProductService
1 parent 52b0432 commit c107d85

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/components/product/product.service.ts

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,12 @@ import {
2828
DerivativeScriptureProduct,
2929
DirectScriptureProduct,
3030
getAvailableSteps,
31-
MethodologyToApproach,
3231
OtherProduct,
3332
ProducibleType,
3433
Product,
35-
type ProductApproach,
3634
type ProductCompletionDescriptionSuggestionsInput,
3735
type ProductListInput,
3836
type ProductListOutput,
39-
type ProductMethodology,
4037
resolveProductType,
4138
type UpdateDerivativeScriptureProduct,
4239
type UpdateDirectScriptureProduct,
@@ -501,14 +498,6 @@ export class ProductService {
501498
return mapEntries(refs, ({ id, name }) => [name, id]).asMap;
502499
}
503500

504-
protected getMethodologiesByApproach(
505-
approach: ProductApproach,
506-
): ProductMethodology[] {
507-
return Object.keys(MethodologyToApproach).filter(
508-
(key) => MethodologyToApproach[key as ProductMethodology] === approach,
509-
) as ProductMethodology[];
510-
}
511-
512501
async suggestCompletionDescriptions(
513502
input: ProductCompletionDescriptionSuggestionsInput,
514503
) {

0 commit comments

Comments
 (0)