ApiIntegrationConfig
Defined in: packages/core/src/types.ts:470
Properties
Section titled “Properties”clientPackages?
Section titled “clientPackages?”
optionalclientPackages:string[]
Defined in: packages/core/src/types.ts:477
Package names to scan for API client imports. These should match the import paths used in your code.
Examples
Section titled “Examples”["@/api/generated"]["@company/backend-client", "@company/auth-client"]extractApiName()?
Section titled “extractApiName()?”
optionalextractApiName: (importName) =>string
Defined in: packages/core/src/types.ts:485
Optional transform function to convert import name to dependsOn format. If not provided, the import name is used as-is.
Parameters
Section titled “Parameters”importName
Section titled “importName”string
Returns
Section titled “Returns”string
Examples
Section titled “Examples”(name) => name.replace(/^use/, "")(name) => `API.${name}`openapi?
Section titled “openapi?”
optionalopenapi:OpenApiConfig
Defined in: packages/core/src/types.ts:493
OpenAPI specification configuration for validating dependsOn references.
When configured, screenbook lint will validate that dependsOn values
match operationIds or HTTP method + path from the OpenAPI spec.
Example
Section titled “Example”{ sources: ["./openapi.yaml"] }