Comparing version 1.1.0-exp.10 to 1.1.0-exp.11
@@ -53,3 +53,3 @@ import type { Server } from 'bun'; | ||
headers: undefined extends Route['headers'] ? Record<string, string | undefined> : Route['headers']; | ||
cookie: undefined extends Route['cookie'] ? Record<string, Cookie<any>> : Record<string, Cookie<any>> & Prettify<WithoutNullableKeys<{ | ||
cookie: undefined extends Route['cookie'] ? Record<string, Cookie<unknown>> : Record<string, Cookie<unknown>> & Prettify<WithoutNullableKeys<{ | ||
[key in keyof Route['cookie']]: Cookie<Route['cookie'][key]>; | ||
@@ -56,0 +56,0 @@ }>>; |
import type { BunFile } from 'bun'; | ||
import { TSchema } from '@sinclair/typebox'; | ||
import { type TSchema } from '@sinclair/typebox'; | ||
import { TypeCheck } from '@sinclair/typebox/compiler'; | ||
@@ -22,2 +22,6 @@ import type { Sucrose } from './sucrose'; | ||
}) => LifeCycleStore; | ||
export declare const replaceSchemaType: (schema: TSchema, options: { | ||
from: TSchema; | ||
to(): TSchema; | ||
}) => TSchema; | ||
export declare const getSchemaValidator: <T extends TSchema | string | undefined>(s: T, { models, dynamic, normalize, additionalProperties }?: { | ||
@@ -24,0 +28,0 @@ models?: Record<string, TSchema>; |
@@ -53,3 +53,3 @@ import type { Server } from 'bun'; | ||
headers: undefined extends Route['headers'] ? Record<string, string | undefined> : Route['headers']; | ||
cookie: undefined extends Route['cookie'] ? Record<string, Cookie<any>> : Record<string, Cookie<any>> & Prettify<WithoutNullableKeys<{ | ||
cookie: undefined extends Route['cookie'] ? Record<string, Cookie<unknown>> : Record<string, Cookie<unknown>> & Prettify<WithoutNullableKeys<{ | ||
[key in keyof Route['cookie']]: Cookie<Route['cookie'][key]>; | ||
@@ -56,0 +56,0 @@ }>>; |
import type { BunFile } from 'bun'; | ||
import { TSchema } from '@sinclair/typebox'; | ||
import { type TSchema } from '@sinclair/typebox'; | ||
import { TypeCheck } from '@sinclair/typebox/compiler'; | ||
@@ -22,2 +22,6 @@ import type { Sucrose } from './sucrose'; | ||
}) => LifeCycleStore; | ||
export declare const replaceSchemaType: (schema: TSchema, options: { | ||
from: TSchema; | ||
to(): TSchema; | ||
}) => TSchema; | ||
export declare const getSchemaValidator: <T extends TSchema | string | undefined>(s: T, { models, dynamic, normalize, additionalProperties }?: { | ||
@@ -24,0 +28,0 @@ models?: Record<string, TSchema>; |
{ | ||
"name": "elysia", | ||
"description": "Ergonomic Framework for Human", | ||
"version": "1.1.0-exp.10", | ||
"version": "1.1.0-exp.11", | ||
"author": { | ||
@@ -6,0 +6,0 @@ "name": "saltyAom", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5394042
154123
67