Skip to content

@nhtio/lucid-resourceful/definitions

Column Data Type Definition Helpers for Resourceful Lucid Models

Interfaces

InterfaceDescription
ResourcefulArrayTypeInstance type for ResourcefulArrayType with validated properties. Represents arrays with typed items and validation constraints as defined in the OpenAPI 3.0 specification.
ResourcefulBigintTypeInstance type for ResourcefulBigintType with validated properties. Represents 64-bit signed integers as defined in the OpenAPI 3.0 specification.
ResourcefulBinaryTypeInstance type for ResourcefulBinaryType with validated properties. Represents binary data as base64-encoded string as defined in the OpenAPI 3.0 specification.
ResourcefulBooleanTypeInstance type for ResourcefulBooleanType with validated properties. Represents boolean true/false values as defined in the OpenAPI 3.0 specification.
ResourcefulDateTimeTypeInstance type for ResourcefulDateTimeType with validated properties. Represents a date-time value formatted as ISO 8601 date-time string as defined in the OpenAPI 3.0 specification.
ResourcefulDateTypeInstance type for ResourcefulDateType with validated properties. Represents a date-only value formatted as ISO 8601 date string as defined in the OpenAPI 3.0 specification.
ResourcefulIntegerTypeInstance type for ResourcefulIntegerType with validated properties. Represents 32-bit signed integers as defined in the OpenAPI 3.0 specification.
ResourcefulNumberTypeInstance type for ResourcefulNumberType with validated properties. Represents floating-point numbers as defined in the OpenAPI 3.0 specification.
ResourcefulObjectTypeInstance type for ResourcefulObjectType with validated properties. Represents complex object schemas with typed properties as defined in the OpenAPI 3.0 specification.
ResourcefulStringTypeInstance type for ResourcefulStringType with validated properties. Represents a string data type with validation constraints as defined in the OpenAPI 3.0 specification.
ResourcefulUnsignedIntegerTypeInstance type for ResourcefulUnsignedIntegerType with validated properties. Represents unsigned integers as defined in the OpenAPI 3.0 specification.

Variables

VariableDescription
ResourcefulArrayTypeCallable constructor for creating validated array type instances. Supports arrays with typed items and validation constraints like minimum/maximum length.
ResourcefulBigintTypeCallable constructor for creating validated bigint type instances. Automatically sets the OpenAPI format to 'int64' for 64-bit signed integers.
ResourcefulBinaryTypeCallable constructor for creating validated binary type instances. Automatically sets the OpenAPI format to 'binary' for base64-encoded binary data.
ResourcefulBooleanTypeCallable constructor for creating validated boolean type instances. Represents simple true/false values in OpenAPI schemas.
ResourcefulDateTimeTypeCallable constructor for creating validated date-time type instances. Automatically sets the OpenAPI format to 'date-time' for ISO 8601 date-time strings.
ResourcefulDateTypeCallable constructor for creating validated date type instances. Automatically sets the OpenAPI format to 'date' for ISO 8601 date strings.
ResourcefulIntegerTypeCallable constructor for creating validated integer type instances. Automatically sets the OpenAPI format to 'int32' for 32-bit signed integers.
ResourcefulNumberTypeCallable constructor for creating validated number type instances. Supports floating-point numbers with configurable precision and range constraints.
ResourcefulObjectTypeCallable constructor for creating validated object type instances. Supports complex nested object schemas with property validation and constraints.
ResourcefulStringTypeCallable constructor for creating validated string type instances. Supports both constructor and function call patterns for flexible usage.
ResourcefulUnsignedIntegerTypeCallable constructor for creating validated unsigned integer type instances. Represents unsigned integers without a specific OpenAPI format constraint.