Webiny-js webiny-api-opensearch-catalog
install
source · Clone the upstream repo
git clone https://github.com/webiny/webiny-js
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/webiny/webiny-js "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/user-skills/generated/api/opensearch" ~/.claude/skills/webiny-webiny-js-webiny-api-opensearch-catalog && rm -rf "$T"
manifest:
skills/user-skills/generated/api/opensearch/SKILL.mdsource content
api/opensearch
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
orwebiny-use-case-pattern
skills for implementation patternswebiny-event-handler-pattern
Abstractions
Name:
createOpenSearchClient
Import: import { createOpenSearchClient } from "webiny/api/opensearch"
Source: @webiny/api-opensearch/client.ts
Name:
OpenSearchClient
Import: import { OpenSearchClient } from "webiny/api/opensearch"
Source: @webiny/api-opensearch/features/OpenSearchClient/abstraction.ts
Name:
OpenSearchClientFactory
Import: import { OpenSearchClientFactory } from "webiny/api/opensearch"
Source: @webiny/api-opensearch/features/OpenSearchClientFactory/abstraction.ts
Name:
OpenSearchContext
Import: import { OpenSearchContext } from "webiny/api/opensearch"
Source: @webiny/api-opensearch/features/OpenSearchContext/abstraction.ts