elysia
Advanced tools
Comparing version 1.1.0-exp.7 to 1.1.0-exp.8
@@ -5,2 +5,4 @@ import { type Elysia } from '.'; | ||
import type { ComposedHandler, Handler, HookContainer, LifeCycleStore, SchemaValidator } from './types'; | ||
import type { TypeCheck } from './type-system'; | ||
export declare const hasAdditionalProperties: (_schema: TAnySchema | TypeCheck<any>) => any; | ||
export declare const hasType: (type: string, schema: TAnySchema) => any; | ||
@@ -7,0 +9,0 @@ export declare const hasProperty: (expectedProperty: string, schema: TAnySchema) => boolean | undefined; |
@@ -24,3 +24,11 @@ import type { Elysia } from '.'; | ||
scoped?: Scoped; | ||
/** | ||
* Name of the instance for debugging, and plugin deduplication purpose | ||
*/ | ||
name?: string; | ||
/** | ||
* Seed for generating checksum for plugin deduplication | ||
* | ||
* @see https://elysiajs.com/essential/plugin.html#plugin-deduplication | ||
*/ | ||
seed?: unknown; | ||
@@ -75,12 +83,2 @@ /** | ||
/** | ||
* Disable `new Error` thrown marked as Error on Bun 0.6 | ||
*/ | ||
forceErrorEncapsulation?: boolean; | ||
/** | ||
* @deprecated on 1.1, Elysia now use dynamic query by default | ||
* | ||
* Disable sucrose dynamic query inference | ||
*/ | ||
forceDynamicQuery?: boolean; | ||
/** | ||
* Disable Ahead of Time compliation | ||
@@ -121,3 +119,3 @@ * | ||
* This has no effect when the schemas allow additional properties. | ||
* Since this uses dynamic schema it may have an impact on performance. Use with caution. | ||
* Since this uses dynamic schema it may have an impact on performance. | ||
* | ||
@@ -124,0 +122,0 @@ * @default false |
@@ -5,2 +5,4 @@ import { type Elysia } from '.'; | ||
import type { ComposedHandler, Handler, HookContainer, LifeCycleStore, SchemaValidator } from './types'; | ||
import type { TypeCheck } from './type-system'; | ||
export declare const hasAdditionalProperties: (_schema: TAnySchema | TypeCheck<any>) => any; | ||
export declare const hasType: (type: string, schema: TAnySchema) => any; | ||
@@ -7,0 +9,0 @@ export declare const hasProperty: (expectedProperty: string, schema: TAnySchema) => boolean | undefined; |
@@ -24,3 +24,11 @@ import type { Elysia } from '.'; | ||
scoped?: Scoped; | ||
/** | ||
* Name of the instance for debugging, and plugin deduplication purpose | ||
*/ | ||
name?: string; | ||
/** | ||
* Seed for generating checksum for plugin deduplication | ||
* | ||
* @see https://elysiajs.com/essential/plugin.html#plugin-deduplication | ||
*/ | ||
seed?: unknown; | ||
@@ -75,12 +83,2 @@ /** | ||
/** | ||
* Disable `new Error` thrown marked as Error on Bun 0.6 | ||
*/ | ||
forceErrorEncapsulation?: boolean; | ||
/** | ||
* @deprecated on 1.1, Elysia now use dynamic query by default | ||
* | ||
* Disable sucrose dynamic query inference | ||
*/ | ||
forceDynamicQuery?: boolean; | ||
/** | ||
* Disable Ahead of Time compliation | ||
@@ -121,3 +119,3 @@ * | ||
* This has no effect when the schemas allow additional properties. | ||
* Since this uses dynamic schema it may have an impact on performance. Use with caution. | ||
* Since this uses dynamic schema it may have an impact on performance. | ||
* | ||
@@ -124,0 +122,0 @@ * @default false |
{ | ||
"name": "elysia", | ||
"description": "Ergonomic Framework for Human", | ||
"version": "1.1.0-exp.7", | ||
"version": "1.1.0-exp.8", | ||
"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 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 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 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 not supported yet
5338163
150909