Skills Development Language Abstraction API Use Cases

Language Abstraction API Use Cases

v20260424
webiny-api-languages-catalog
This catalog provides core API abstractions for managing language data within the webiny ecosystem. It defines standardized, type-safe use cases for common language operations, such as retrieving a single language entry by its unique code (GetLanguageByCodeUseCase) and listing all available language entries (ListLanguagesUseCase). Developers should utilize these pre-built patterns to ensure consistent, robust, and modular language handling across the application.
Get Skill
257 downloads
Overview

api/languages

How to Use

  1. Find the abstraction you need below
  2. You MUST read the source file to get the exact interface and types!
  3. Import: import { Name } from "<importPath>";
  4. 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.


Info
Category Development
Name webiny-api-languages-catalog
Version v20260424
Size 900B
Updated At 2026-04-28
Language