| name | webiny-api-languages-catalog |
| context | webiny-api |
| description | api/languages — 2 abstractions.
|
api/languages
How to Use
- Find the abstraction you need below
- You MUST read the source file to get the exact interface and types!
- Import:
import { Name } from "<importPath>";
- See
webiny-use-case-pattern or webiny-event-handler-pattern skills for implementation patterns
Abstractions
Name: GetLanguageByCodeUseCase
Import: import { GetLanguageByCodeUseCase } from "webiny/api/languages"
Source: @webiny/languages/api/features/GetLanguageByCode/index.ts
Description: Get a language entry by its code.
Name: ListLanguagesUseCase
Import: import { ListLanguagesUseCase } from "webiny/api/languages"
Source: @webiny/languages/api/features/ListLanguages/index.ts
Description: List all language entries.