PackagesApiReference

api — Types

Type contracts for the api package

Type contracts exported by this package: interfaces, type aliases, and enums.

SDKProperty

A single property extracted from an interface or class symbol.

PropertyTypeRequiredDescription
namestringYesThe property name.
typestringYesThe TypeScript type string of the property.
descriptionstring | undefinedNoTSDoc summary for this property.
requiredbooleanYesWhether the property is required (not optional).
deprecatedstring | undefinedNoDeprecation notice, if present.

SDKType

An SDK type descriptor extracted from the symbol graph.

PropertyTypeRequiredDescription
namestringYesThe symbol name.
kind"class" | "interface" | "type" | "enum"YesSyntactic kind of the type.
signaturestring | undefinedNoHuman-readable type signature.
descriptionstring | undefinedNoTSDoc summary.
deprecatedstring | undefinedNoDeprecation notice, if present.
visibilityVisibilityYesResolved visibility level.
propertiesSDKProperty[]YesExtracted properties (for interfaces, classes) or values (for enums).
sourceFilestringYesAbsolute path to the source file.

ReferenceEntry

A single entry in the generated API reference.

PropertyTypeRequiredDescription
namestringYesSymbol name.
kind"function" | "class" | "interface" | "type" | "enum" | "variable" | "method" | "property" | "file"YesSymbol kind.
summarystring | undefinedNoTSDoc summary.
signaturestring | undefinedNoHuman-readable type signature.
visibilityVisibilityYesResolved visibility level.
deprecatedstring | undefinedNoDeprecation notice, if present.
params{ name: string; description: string; type?: string; }[] | undefinedNoDocumented parameters.
returns{ description: string; type?: string; } | undefinedNoDocumented return value.
throws{ type?: string; description: string; }[] | undefinedNoDocumented thrown exceptions.
examples{ code: string; language: string; }[] | undefinedNoCode examples from TSDoc @example tags.
childrenReferenceEntry[] | undefinedNoNested child symbols (class methods, interface properties, enum members).
location{ filePath: string; line: number; }YesSource file location.

SDKProperty

A single property extracted from an interface or class symbol.

PropertyTypeRequiredDescription
namestringYesThe property name.
typestringYesThe TypeScript type string of the property.
descriptionstring | undefinedNoTSDoc summary for this property.
requiredbooleanYesWhether the property is required (not optional).
deprecatedstring | undefinedNoDeprecation notice, if present.

SDKType

An SDK type descriptor extracted from the symbol graph.

PropertyTypeRequiredDescription
namestringYesThe symbol name.
kind"class" | "interface" | "type" | "enum"YesSyntactic kind of the type.
signaturestring | undefinedNoHuman-readable type signature.
descriptionstring | undefinedNoTSDoc summary.
deprecatedstring | undefinedNoDeprecation notice, if present.
visibilityVisibilityYesResolved visibility level.
propertiesSDKProperty[]YesExtracted properties (for interfaces, classes) or values (for enums).
sourceFilestringYesAbsolute path to the source file.

ReferenceEntry

A single entry in the generated API reference.

PropertyTypeRequiredDescription
namestringYesSymbol name.
kind"function" | "class" | "interface" | "type" | "enum" | "variable" | "method" | "property" | "file"YesSymbol kind.
summarystring | undefinedNoTSDoc summary.
signaturestring | undefinedNoHuman-readable type signature.
visibilityVisibilityYesResolved visibility level.
deprecatedstring | undefinedNoDeprecation notice, if present.
params{ name: string; description: string; type?: string; }[] | undefinedNoDocumented parameters.
returns{ description: string; type?: string; } | undefinedNoDocumented return value.
throws{ type?: string; description: string; }[] | undefinedNoDocumented thrown exceptions.
examples{ code: string; language: string; }[] | undefinedNoCode examples from TSDoc @example tags.
childrenReferenceEntry[] | undefinedNoNested child symbols (class methods, interface properties, enum members).
location{ filePath: string; line: number; }YesSource file location.

On this page