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-patternorwebiny-event-handler-patternskills 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.