Skills Development Language API Abstractions

Language API Abstractions

v20260507
webiny-api-languages-catalog
This module provides core use case abstractions for interacting with a standardized language catalog. It offers two key functionalities: retrieving a specific language entry using its unique code (GetLanguageByCodeUseCase), and listing all available language entries (ListLanguagesUseCase). These abstractions ensure consistent and structured data access across the application.
Get Skill
102 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 v20260507
Size 900B
Updated At 2026-05-08
Language