Webiny-js webiny-api-graphql-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/graphql" ~/.claude/skills/webiny-webiny-js-webiny-api-graphql-catalog && rm -rf "$T"
manifest:
skills/user-skills/generated/api/graphql/SKILL.mdsource content
api/graphql
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:
ErrorResponse
Import: import { ErrorResponse } from "webiny/api/graphql"
Source: @webiny/handler-graphql/responses.ts
Description: GraphQL error response helper.
Name:
GraphQLSchemaFactory
Import: import { GraphQLSchemaFactory } from "webiny/api/graphql"
Source: @webiny/handler-graphql/graphql/abstractions.ts
Description: Define custom GraphQL schema extensions.
Name:
ListErrorResponse
Import: import { ListErrorResponse } from "webiny/api/graphql"
Source: @webiny/handler-graphql/responses.ts
Description: GraphQL list error response helper.
Name:
ListResponse
Import: import { ListResponse } from "webiny/api/graphql"
Source: @webiny/handler-graphql/responses.ts
Description: GraphQL list response helper.
Name:
NotAuthorizedResponse
Import: import { NotAuthorizedResponse } from "webiny/api/graphql"
Source: @webiny/api-core/graphql/security/NotAuthorizedResponse.ts
Description: GraphQL not-authorized response helper.
Name:
NotFoundResponse
Import: import { NotFoundResponse } from "webiny/api/graphql"
Source: @webiny/handler-graphql/responses.ts
Description: GraphQL not-found response helper.
Name:
Response
Import: import { Response } from "webiny/api/graphql"
Source: @webiny/handler-graphql/responses.ts
Description: GraphQL response helper.