Saltearse al contenido

componentRegistry/types

Esta página aún no está disponible en tu idioma.

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:23^

Represents a property of an Astro component.

readonly optional defaultValue: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:28^

An optional default value for the property.

readonly optional description: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:27^

An optional description of the property.

readonly optional jsDocTags: JSDocTag[];

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:29^

readonly name: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:24^

The name of the property.

readonly optional: boolean;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:26^

Indicates whether the property is optional.

readonly type: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:25^

The type of the property as a string.


Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:38^

Represents the properties of an Astro component.

readonly name: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:39^

The unique name of the Astro component.

readonly props: readonly AstroComponentProp[];

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:40^

A readonly array of properties (AstroComponentProp) associated with the component.


Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:50^

Represents an entry in the component registry.

Extends the AstroComponentProps interface to include additional metadata.

readonly name: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:39^

The unique name of the Astro component.

AstroComponentProps.name

readonly props: readonly AstroComponentProp[];

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:40^

A readonly array of properties (AstroComponentProp) associated with the component.

AstroComponentProps.props

readonly safeName: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:51^

A readonly string representing a safe, unique identifier for the component.


Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:7^

Represents a JSDoc tag with its name and optional text content.

optional name: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:10^

tagName: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:8^

The name of the JSDoc tag (e.g., ‘param’, ‘returns’).

optional text: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:9^

Optional text associated with the tag, such as a description or type.

optional type: string;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:11^


Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:60^

Represents the result of validating a set of properties.

readonly errors: readonly string[];

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:62^

A readonly array of error messages describing validation failures.

readonly valid: boolean;

Defined in: studiocms/packages/studiocms/src/componentRegistry/types.ts:61^

Indicates whether the validation was successful.