Skip to main content
Home

@murat/yelix@0.1.47
Built and signed on GitHub Actions

Yelix is a powerful web server library built specifically for Deno, leveraging the Hono framework in the background. Including built-in data validation, OpenAPI 3.1 support, and auto-generated backend documentation.

This package works with Deno
This package works with Deno
JSR Score
82%
Published
3 months ago (0.1.47)
class ObjectZod

Constructors

new
ObjectZod(
_input: YelixInput,
obj?: T,
)

Type Parameters

T extends Record<string, AbstractValidationBase<any>>

Properties

Methods

exactKeys(
keys: string[],
failedMessage?: FailedMessage,
): this
hasKey(
key: string,
failedMessage?: FailedMessage,
): this
isValidType(failedMessage?: FailedMessage): this
private
loadKeys(obj?: T): void
maxKeys(
count: number,
failedMessage?: FailedMessage,
): this
minKeys(
count: number,
failedMessage?: FailedMessage,
): this
optional(): this
required(failedMessage?: FailedMessage): this
private
setSubField<K extends keyof T>(
key: K,
value: YelixValidationBase<any>,
): void

New Ticket: Report package

Please provide a reason for reporting this package. We will review your report and take appropriate action.

Please review the JSR usage policy before submitting a report.

Add Package

deno add jsr:@murat/yelix

Import symbol

import { ObjectZod } from "@murat/yelix";
or

Import directly with a jsr specifier

import { ObjectZod } from "jsr:@murat/yelix";