@nhtio/validation 2.20251202.0 → 2.20251202.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.cjs +1 -1
- package/index.cjs.map +1 -1
- package/index.d.mts +9 -4
- package/index.mjs +1 -1
- package/index.mjs.map +1 -1
- package/package.json +1 -1
package/index.d.mts
CHANGED
|
@@ -7906,7 +7906,10 @@ declare namespace Knex {
|
|
|
7906
7906
|
readOnly?: boolean
|
|
7907
7907
|
}
|
|
7908
7908
|
|
|
7909
|
-
interface Transaction<TRecord extends {} = any, TResult = any[]> extends
|
|
7909
|
+
interface Transaction<TRecord extends {} = any, TResult = any[]> extends KnexInstance<
|
|
7910
|
+
TRecord,
|
|
7911
|
+
TResult
|
|
7912
|
+
> {
|
|
7910
7913
|
executionPromise: Promise<TResult>
|
|
7911
7914
|
parentTransaction?: Transaction
|
|
7912
7915
|
isCompleted: () => boolean
|
|
@@ -11716,7 +11719,7 @@ declare namespace StandardSchemaV1 {
|
|
|
11716
11719
|
type InferInput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["input"];
|
|
11717
11720
|
/** Infers the output type of a Standard Schema. */
|
|
11718
11721
|
type InferOutput<Schema extends StandardSchemaV1> = NonNullable<Schema["~standard"]["types"]>["output"];
|
|
11719
|
-
|
|
11722
|
+
|
|
11720
11723
|
}
|
|
11721
11724
|
|
|
11722
11725
|
declare type StartOfOptions = _UseLocaleWeekOption;
|
|
@@ -12356,9 +12359,11 @@ IsValid extends boolean | undefined = undefined,
|
|
|
12356
12359
|
: CanBeInvalid extends false ? _ToObjectOutput<IncludeConfig>
|
|
12357
12360
|
: Partial<_ToObjectOutput<IncludeConfig>>;
|
|
12358
12361
|
|
|
12359
|
-
|
|
12362
|
+
export type _ToObjectOutput<IncludeConfig extends boolean | undefined = undefined> =
|
|
12363
|
+
& Record<_ToObjectUnit, number>
|
|
12364
|
+
& (IncludeConfig extends true ? LocaleOptions : unknown);
|
|
12360
12365
|
|
|
12361
|
-
|
|
12366
|
+
export type _ToObjectUnit = Exclude<DateTimeUnit, "quarter" | "week">;
|
|
12362
12367
|
|
|
12363
12368
|
declare interface TopLevelDomainOptions {
|
|
12364
12369
|
/**
|