@regle/schemas 1.4.0 → 1.4.1-beta.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/dist/regle-schemas.d.ts +77 -15
- package/package.json +4 -4
package/dist/regle-schemas.d.ts
CHANGED
|
@@ -331,6 +331,56 @@ const anyA = get(anyObject, 'a');
|
|
|
331
331
|
*/
|
|
332
332
|
type IsAny$1<T> = 0 extends 1 & NoInfer$1<T> ? true : false;
|
|
333
333
|
//#endregion
|
|
334
|
+
//#region ../../node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/is-equal.d.ts
|
|
335
|
+
/**
|
|
336
|
+
Returns a boolean for whether the two given types are equal.
|
|
337
|
+
|
|
338
|
+
@link https://github.com/microsoft/TypeScript/issues/27024#issuecomment-421529650
|
|
339
|
+
@link https://stackoverflow.com/questions/68961864/how-does-the-equals-work-in-typescript/68963796#68963796
|
|
340
|
+
|
|
341
|
+
Use-cases:
|
|
342
|
+
- If you want to make a conditional branch based on the result of a comparison of two types.
|
|
343
|
+
|
|
344
|
+
@example
|
|
345
|
+
```
|
|
346
|
+
import type {IsEqual} from 'type-fest';
|
|
347
|
+
|
|
348
|
+
// This type returns a boolean for whether the given array includes the given item.
|
|
349
|
+
// `IsEqual` is used to compare the given array at position 0 and the given item and then return true if they are equal.
|
|
350
|
+
type Includes<Value extends readonly any[], Item> =
|
|
351
|
+
Value extends readonly [Value[0], ...infer rest]
|
|
352
|
+
? IsEqual<Value[0], Item> extends true
|
|
353
|
+
? true
|
|
354
|
+
: Includes<rest, Item>
|
|
355
|
+
: false;
|
|
356
|
+
```
|
|
357
|
+
|
|
358
|
+
@category Type Guard
|
|
359
|
+
@category Utilities
|
|
360
|
+
*/
|
|
361
|
+
type IsEqual<A, B> = (<G>() => G extends A & G | G ? 1 : 2) extends (<G>() => G extends B & G | G ? 1 : 2) ? true : false;
|
|
362
|
+
//#endregion
|
|
363
|
+
//#region ../../node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/or.d.ts
|
|
364
|
+
/**
|
|
365
|
+
Returns a boolean for whether either of two given types are true.
|
|
366
|
+
|
|
367
|
+
Use-case: Constructing complex conditional types where multiple conditions must be satisfied.
|
|
368
|
+
|
|
369
|
+
@example
|
|
370
|
+
```
|
|
371
|
+
import type {Or} from 'type-fest';
|
|
372
|
+
|
|
373
|
+
Or<true, false>;
|
|
374
|
+
//=> true
|
|
375
|
+
|
|
376
|
+
Or<false, false>;
|
|
377
|
+
//=> false
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
@see {@link And}
|
|
381
|
+
*/
|
|
382
|
+
type Or<A extends boolean, B extends boolean> = [A, B][number] extends false ? false : true extends [IsEqual<A, true>, IsEqual<B, true>][number] ? true : never;
|
|
383
|
+
//#endregion
|
|
334
384
|
//#region ../../node_modules/.pnpm/type-fest@4.41.0/node_modules/type-fest/source/internal/keys.d.ts
|
|
335
385
|
/**
|
|
336
386
|
Disallows any of the given keys.
|
|
@@ -1647,9 +1697,9 @@ type MismatchInfo<Actual, Expected> = And<[Extends<PrintType<Actual>, '...'>, No
|
|
|
1647
1697
|
//#endregion
|
|
1648
1698
|
//#region src/types/core/variants.types.d.ts
|
|
1649
1699
|
|
|
1650
|
-
type MaybeVariantStatus<TState extends Record<string, any> | undefined = Record<string, any>, TRules extends ReglePartialRuleTree<NonNullable<TState>> = Record<string, any>, TShortcuts extends RegleShortcutDefinition = {}> = IsUnion<NonNullable<TState>> extends true ? Omit<RegleStatus<TState, TRules, TShortcuts>, '$fields'> & {
|
|
1700
|
+
type MaybeVariantStatus<TState extends Record<string, any> | undefined = Record<string, any>, TRules extends ReglePartialRuleTree<NonNullable<TState>> = Record<string, any>, TShortcuts extends RegleShortcutDefinition = {}> = IsUnion<NonNullable<TState>> extends true ? Omit<RegleStatus<TState, TRules, TShortcuts>, '$fields' | keyof RegleStatus<TState, TRules, TShortcuts>['$fields']> & {
|
|
1651
1701
|
$fields: ProcessChildrenFields<TState, TRules, TShortcuts>[keyof ProcessChildrenFields<TState, TRules, TShortcuts>];
|
|
1652
|
-
} : RegleStatus<TState, TRules, TShortcuts>;
|
|
1702
|
+
} & (HasNamedKeys<TState> extends true ? ProcessChildrenFields<TState, TRules, TShortcuts>[keyof ProcessChildrenFields<TState, TRules, TShortcuts>] : {}) : RegleStatus<TState, TRules, TShortcuts>;
|
|
1653
1703
|
type ProcessChildrenFields<TState extends Record<string, any> | undefined, TRules extends ReglePartialRuleTree<NonNullable<TState>>, TShortcuts extends RegleShortcutDefinition = {}> = { [TIndex in keyof TupleToPlainObj<UnionToTuple<TState>>]: TIndex extends `${infer TIndexInt extends number}` ? { [TKey in keyof UnionToTuple<TState>[TIndexInt] as IsEmptyObject$1<FindCorrespondingVariant<UnionToTuple<TState>[TIndexInt] extends Record<string, any> ? UnionToTuple<TState>[TIndexInt] : never, UnionToTuple<TRules>> extends [infer U] ? TKey extends keyof U ? U[TKey] : EmptyObject$1 : EmptyObject$1> extends true ? TKey extends keyof TState ? TState[TKey] extends NonNullable<TState[TKey]> ? TKey : never : never : TKey]-?: InferRegleStatusType<FindCorrespondingVariant<UnionToTuple<TState>[TIndexInt] extends Record<string, any> ? UnionToTuple<TState>[TIndexInt] : never, UnionToTuple<TRules>> extends [infer U] ? TKey extends keyof U ? U[TKey] : EmptyObject$1 : EmptyObject$1, NonNullable<UnionToTuple<TState>[TIndexInt]>, TKey, TShortcuts> } & { [TKey in keyof UnionToTuple<TState>[TIndexInt] as IsEmptyObject$1<FindCorrespondingVariant<UnionToTuple<TState>[TIndexInt] extends Record<string, any> ? UnionToTuple<TState>[TIndexInt] : never, UnionToTuple<TRules>> extends [infer U] ? TKey extends keyof U ? U[TKey] : EmptyObject$1 : EmptyObject$1> extends true ? TKey extends keyof TState ? TState[TKey] extends NonNullable<TState[TKey]> ? never : TKey : TKey : never]?: InferRegleStatusType<FindCorrespondingVariant<UnionToTuple<TState>[TIndexInt] extends Record<string, any> ? UnionToTuple<TState>[TIndexInt] : never, UnionToTuple<TRules>> extends [infer U] ? TKey extends keyof U ? U[TKey] : EmptyObject$1 : EmptyObject$1, NonNullable<UnionToTuple<TState>[TIndexInt]>, TKey, TShortcuts> } : {} };
|
|
1654
1704
|
type FindCorrespondingVariant<TState extends Record<string, any>, TRules extends any[]> = TRules extends [infer F, ...infer R] ? F extends ReglePartialRuleTree<TState> ? [F] : FindCorrespondingVariant<TState, R> : [];
|
|
1655
1705
|
//#endregion
|
|
@@ -1721,6 +1771,7 @@ type EnumLike = {
|
|
|
1721
1771
|
};
|
|
1722
1772
|
type UnwrapMaybeRef<T extends MaybeRef<any> | DeepReactiveState<any>> = T extends Ref<any> ? UnwrapRef<T> : UnwrapNestedRefs<T>;
|
|
1723
1773
|
type TupleToPlainObj<T> = { [I in keyof T & `${number}`]: T[I] };
|
|
1774
|
+
type HasNamedKeys<T> = { [K in keyof NonNullable<T>]: K extends string ? (string extends K ? never : K) : never }[keyof NonNullable<T>] extends never ? false : true;
|
|
1724
1775
|
//#endregion
|
|
1725
1776
|
//#region src/types/utils/mismatch.types.d.ts
|
|
1726
1777
|
type isDeepExact<TRules, TTree> = { [K in keyof TRules]-?: CheckDeepExact<NonNullable<TRules[K]>, K extends keyof JoinDiscriminatedUnions<TTree> ? NonNullable<JoinDiscriminatedUnions<TTree>[K]> : never> }[keyof TRules] extends true ? true : false;
|
|
@@ -2013,12 +2064,13 @@ type RegleRoot<TState extends Record<string, any> = {}, TRules extends ReglePart
|
|
|
2013
2064
|
*/
|
|
2014
2065
|
$groups: { readonly [TKey in keyof TValidationGroups]: RegleValidationGroupOutput };
|
|
2015
2066
|
});
|
|
2067
|
+
type ProcessNestedFields$1<TState extends Record<string, any> | undefined, TRules extends ReglePartialRuleTree<NonNullable<TState>>, TShortcuts extends RegleShortcutDefinition = {}, TIsFields extends boolean = false> = Or<HasNamedKeys<TState>, TIsFields> extends true ? { readonly [TKey in keyof TState as TRules[TKey] extends NonNullable<TRules[TKey]> ? NonNullable<TRules[TKey]> extends RegleRuleDecl ? IsEmptyObject$1<TRules[TKey]> extends true ? TKey : never : never : TKey]: IsUnion<NonNullable<TRules[TKey]>> extends true ? ExtendOnlyRealRecord<TState[TKey]> extends true ? MaybeVariantStatus<NonNullable<TState>[TKey], NonNullable<TRules[TKey]>, TShortcuts> : InferRegleStatusType<NonNullable<TRules[TKey]>, NonNullable<TState>, TKey, TShortcuts> : InferRegleStatusType<NonNullable<TRules[TKey]>, NonNullable<TState>, TKey, TShortcuts> } & { readonly [TKey in keyof TState as TRules[TKey] extends NonNullable<TRules[TKey]> ? NonNullable<TRules[TKey]> extends RegleRuleDecl ? IsEmptyObject$1<TRules[TKey]> extends true ? never : TKey : TKey : never]-?: IsUnion<NonNullable<TRules[TKey]>> extends true ? ExtendOnlyRealRecord<TState[TKey]> extends true ? MaybeVariantStatus<NonNullable<TState>[TKey], NonNullable<TRules[TKey]>, TShortcuts> : InferRegleStatusType<NonNullable<TRules[TKey]>, NonNullable<TState>, TKey, TShortcuts> : InferRegleStatusType<NonNullable<TRules[TKey]>, NonNullable<TState>, TKey, TShortcuts> } : {};
|
|
2016
2068
|
/**
|
|
2017
2069
|
* @public
|
|
2018
2070
|
*/
|
|
2019
2071
|
type RegleStatus<TState extends Record<string, any> | undefined = Record<string, any>, TRules extends ReglePartialRuleTree<NonNullable<TState>> = Record<string, any>, TShortcuts extends RegleShortcutDefinition = {}> = RegleCommonStatus<TState> & {
|
|
2020
2072
|
/** Represents all the children of your object. You can access any nested child at any depth to get the relevant data you need for your form. */
|
|
2021
|
-
readonly $fields:
|
|
2073
|
+
readonly $fields: ProcessNestedFields$1<TState, TRules, TShortcuts, true>;
|
|
2022
2074
|
/**
|
|
2023
2075
|
* Collection of all the issues, collected for all children properties and nested forms.
|
|
2024
2076
|
*
|
|
@@ -2037,7 +2089,7 @@ type RegleStatus<TState extends Record<string, any> | undefined = Record<string,
|
|
|
2037
2089
|
$extractDirtyFields: (filterNullishValues?: boolean) => PartialDeep$1<TState>;
|
|
2038
2090
|
/** Sets all properties as dirty, triggering all rules. It returns a promise that will either resolve to false or a type safe copy of your form state. Values that had the required rule will be transformed into a non-nullable value (type only). */
|
|
2039
2091
|
$validate: () => Promise<RegleResult<JoinDiscriminatedUnions<TState>, TRules>>;
|
|
2040
|
-
} & ([TShortcuts['nested']] extends [never] ? {} : { [K in keyof TShortcuts['nested']]: ReturnType<NonNullable<TShortcuts['nested']>[K]> });
|
|
2092
|
+
} & ProcessNestedFields$1<TState, TRules, TShortcuts> & ([TShortcuts['nested']] extends [never] ? {} : { [K in keyof TShortcuts['nested']]: ReturnType<NonNullable<TShortcuts['nested']>[K]> });
|
|
2041
2093
|
/**
|
|
2042
2094
|
* @internal
|
|
2043
2095
|
* @reference {@link RegleStatus}
|
|
@@ -2262,10 +2314,10 @@ type RegleCollectionStatus<TState extends any[] = any[], TRules extends ReglePar
|
|
|
2262
2314
|
|
|
2263
2315
|
//#endregion
|
|
2264
2316
|
//#region src/types/rules/rule.errors.types.d.ts
|
|
2265
|
-
type RegleErrorTree<TState = MaybeRef<Record<string, any> | any[]
|
|
2317
|
+
type RegleErrorTree<TState = MaybeRef<Record<string, any> | any[]>, TIssue extends boolean = false> = { readonly [K in keyof JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>]: RegleValidationErrors<JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>[K], false, TIssue> };
|
|
2266
2318
|
type RegleIssuesTree<TState = MaybeRef<Record<string, any> | any[]>> = { readonly [K in keyof JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>]: RegleValidationErrors<JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>[K], false, true> };
|
|
2267
2319
|
type RegleExternalErrorTree<TState = MaybeRef<Record<string, any> | any[]>> = { readonly [K in keyof JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>]?: RegleValidationErrors<JoinDiscriminatedUnions<UnwrapMaybeRef<TState>>[K], true> };
|
|
2268
|
-
type RegleValidationErrors<TState extends Record<string, any> | any[] | unknown = never, TExternal extends boolean = false, TIssue extends boolean = false> = NonNullable<TState> extends Array<infer U extends Record<string, any>> ? ExtendOnlyRealRecord<U> extends true ? TExternal extends false ? RegleCollectionErrors<U> : RegleExternalCollectionErrors<U> : TIssue extends true ? RegleFieldIssue[] : string[] : NonNullable<TState> extends Date | File ? TIssue extends true ? RegleFieldIssue[] : string[] : NonNullable<TState> extends Record<string, any> ? TExternal extends false ? RegleErrorTree<TState> : RegleExternalErrorTree<TState> : TIssue extends true ? RegleFieldIssue[] : string[];
|
|
2320
|
+
type RegleValidationErrors<TState extends Record<string, any> | any[] | unknown = never, TExternal extends boolean = false, TIssue extends boolean = false> = NonNullable<TState> extends Array<infer U extends Record<string, any>> ? ExtendOnlyRealRecord<U> extends true ? TExternal extends false ? RegleCollectionErrors<U, TIssue> : RegleExternalCollectionErrors<U, TIssue> : TIssue extends true ? RegleFieldIssue[] : string[] : NonNullable<TState> extends Date | File ? TIssue extends true ? RegleFieldIssue[] : string[] : NonNullable<TState> extends Record<string, any> ? TExternal extends false ? RegleErrorTree<TState, TIssue> : RegleExternalErrorTree<TState> : TIssue extends true ? RegleFieldIssue[] : string[];
|
|
2269
2321
|
type RegleCollectionErrors<TState extends Record<string, any>, TIssue extends boolean = false> = {
|
|
2270
2322
|
readonly $self: TIssue extends true ? RegleFieldIssue[] : string[];
|
|
2271
2323
|
readonly $each: RegleValidationErrors<TState, false, TIssue>[];
|
|
@@ -2284,17 +2336,16 @@ type SuperCompatibleRegleRoot = SuperCompatibleRegleStatus & {
|
|
|
2284
2336
|
$validate: () => Promise<SuperCompatibleRegleResult>;
|
|
2285
2337
|
};
|
|
2286
2338
|
type SuperCompatibleRegleResult = $InternalRegleResult;
|
|
2287
|
-
|
|
2288
|
-
$fields: {
|
|
2289
|
-
[x: string]:
|
|
2339
|
+
type SuperCompatibleRegleStatus = {
|
|
2340
|
+
readonly $fields: {
|
|
2341
|
+
[x: string]: any;
|
|
2290
2342
|
};
|
|
2343
|
+
readonly $issues: Record<string, RegleValidationErrors<any, false, true>>;
|
|
2291
2344
|
readonly $errors: Record<string, RegleValidationErrors<any, false>>;
|
|
2292
2345
|
readonly $silentErrors: Record<string, RegleValidationErrors<any, false>>;
|
|
2293
2346
|
$extractDirtyFields: (filterNullishValues?: boolean) => Record<string, any>;
|
|
2294
2347
|
$validate?: () => Promise<SuperCompatibleRegleResult>;
|
|
2295
|
-
|
|
2296
|
-
type SuperCompatibleRegleCommonStatus = Omit<RegleCommonStatus, '$pending'> & {
|
|
2297
|
-
$pending?: boolean;
|
|
2348
|
+
[x: string]: any;
|
|
2298
2349
|
};
|
|
2299
2350
|
//#endregion
|
|
2300
2351
|
//#region src/core/mergeRegles.d.ts
|
|
@@ -2345,7 +2396,7 @@ type MergedReglesResult<TRegles extends Record<string, SuperCompatibleRegleRoot>
|
|
|
2345
2396
|
//#endregion
|
|
2346
2397
|
//#region src/core/createScopedUseRegle/useCollectScope.d.ts
|
|
2347
2398
|
type useCollectScopeFn<TNamedScoped extends boolean = false> = TNamedScoped extends true ? <const TValue extends Record<string, Record<string, any>>>(namespace?: MaybeRefOrGetter<string>) => {
|
|
2348
|
-
r$: MergedRegles<{ [K in keyof TValue]: RegleRoot<TValue[K]> }>;
|
|
2399
|
+
r$: MergedRegles<{ [K in keyof TValue]: RegleRoot<TValue[K]> & SuperCompatibleRegleRoot }>;
|
|
2349
2400
|
} : <TValue extends Record<string, unknown>[] = Record<string, unknown>[]>(namespace?: MaybeRefOrGetter<string>) => {
|
|
2350
2401
|
r$: MergedScopedRegles<TValue>;
|
|
2351
2402
|
};
|
|
@@ -3113,12 +3164,17 @@ type RegleSchemaResult<TSchema extends unknown> = {
|
|
|
3113
3164
|
valid: true;
|
|
3114
3165
|
data: TSchema;
|
|
3115
3166
|
};
|
|
3167
|
+
type ProcessNestedFields<TState extends Record<string, any>, TSchema extends Record<string, any>, TShortcuts extends RegleShortcutDefinition> = HasNamedKeys<TState> extends true ? { readonly [TKey in keyof JoinDiscriminatedUnions<TState>]: TKey extends keyof JoinDiscriminatedUnions<TSchema> ? InferRegleSchemaStatusType<NonNullable<JoinDiscriminatedUnions<TSchema>[TKey]>, JoinDiscriminatedUnions<TState>[TKey], TShortcuts> : never } & { readonly [TKey in keyof JoinDiscriminatedUnions<TState> as TKey extends keyof JoinDiscriminatedUnions<TSchema> ? JoinDiscriminatedUnions<TSchema>[TKey] extends NonNullable<JoinDiscriminatedUnions<TSchema>[TKey]> ? TKey : never : never]-?: TKey extends keyof JoinDiscriminatedUnions<TSchema> ? InferRegleSchemaStatusType<NonNullable<JoinDiscriminatedUnions<TSchema>[TKey]>, JoinDiscriminatedUnions<TState>[TKey], TShortcuts> : never } : {};
|
|
3116
3168
|
/**
|
|
3117
3169
|
* @public
|
|
3118
3170
|
*/
|
|
3119
3171
|
type RegleSchemaStatus<TState extends Record<string, any> = Record<string, any>, TSchema extends Record<string, any> = Record<string, any>, TShortcuts extends RegleShortcutDefinition = {}, IsRoot extends boolean = false> = Omit<RegleCommonStatus<TState>, IsRoot extends false ? '$pending' : ''> & {
|
|
3120
3172
|
/** Represents all the children of your object. You can access any nested child at any depth to get the relevant data you need for your form. */
|
|
3121
|
-
readonly $fields:
|
|
3173
|
+
readonly $fields: ProcessNestedFields<TState, TSchema, TShortcuts>;
|
|
3174
|
+
/** Collection of all issues, collected for all children properties and nested forms.
|
|
3175
|
+
*
|
|
3176
|
+
* Only contains errors from properties where $dirty equals true. */
|
|
3177
|
+
readonly $issues: RegleIssuesTree<TState>;
|
|
3122
3178
|
/** Collection of all the error messages, collected for all children properties and nested forms.
|
|
3123
3179
|
*
|
|
3124
3180
|
* Only contains errors from properties where $dirty equals true. */
|
|
@@ -3127,7 +3183,7 @@ type RegleSchemaStatus<TState extends Record<string, any> = Record<string, any>,
|
|
|
3127
3183
|
readonly $silentErrors: RegleErrorTree<TState>;
|
|
3128
3184
|
/** Will return a copy of your state with only the fields that are dirty. By default it will filter out nullish values or objects, but you can override it with the first parameter $extractDirtyFields(false). */
|
|
3129
3185
|
$extractDirtyFields: (filterNullishValues?: boolean) => PartialDeep<TState>;
|
|
3130
|
-
} & (IsRoot extends true ? {
|
|
3186
|
+
} & ProcessNestedFields<TState, TSchema, TShortcuts> & (IsRoot extends true ? {
|
|
3131
3187
|
/** Sets all properties as dirty, triggering all rules. It returns a promise that will either resolve to false or a type safe copy of your form state. Values that had the required rule will be transformed into a non-nullable value (type only). */
|
|
3132
3188
|
$validate: () => Promise<RegleSchemaResult<TSchema>>;
|
|
3133
3189
|
} : {}) & ([TShortcuts['nested']] extends [never] ? {} : { [K in keyof TShortcuts['nested']]: ReturnType<NonNullable<TShortcuts['nested']>[K]> });
|
|
@@ -3172,6 +3228,12 @@ type RegleSchemaCollectionStatus<TSchema extends Record<string, any>, TState ext
|
|
|
3172
3228
|
readonly $each: Array<InferRegleSchemaStatusType<NonNullable<TSchema>, ArrayElement<TState>, TShortcuts>>;
|
|
3173
3229
|
/** Represents the status of the collection itself. You can have validation rules on the array like minLength, this field represents the isolated status of the collection. */
|
|
3174
3230
|
readonly $self: RegleSchemaFieldStatus<TSchema, TState, TShortcuts>;
|
|
3231
|
+
/**
|
|
3232
|
+
* Collection of all the issues, collected for all children properties and nested forms.
|
|
3233
|
+
*
|
|
3234
|
+
* Only contains issues from properties where $dirty equals true.
|
|
3235
|
+
*/
|
|
3236
|
+
readonly $issues: RegleCollectionErrors<TSchema, true>;
|
|
3175
3237
|
/** Collection of all the error messages, collected for all children properties and nested forms.
|
|
3176
3238
|
*
|
|
3177
3239
|
* Only contains errors from properties where $dirty equals true. */
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regle/schemas",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.1-beta.1",
|
|
4
4
|
"description": "Schemas adapter for Regle",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@standard-schema/spec": "1.0.0",
|
|
7
|
-
"@regle/core": "1.4.
|
|
8
|
-
"@regle/rules": "1.4.
|
|
7
|
+
"@regle/core": "1.4.1-beta.1",
|
|
8
|
+
"@regle/rules": "1.4.1-beta.1"
|
|
9
9
|
},
|
|
10
10
|
"peerDependencies": {
|
|
11
11
|
"valibot": "^1.0.0",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
"eslint-config-prettier": "10.1.5",
|
|
34
34
|
"eslint-plugin-vue": "10.1.0",
|
|
35
35
|
"prettier": "3.5.3",
|
|
36
|
-
"tsdown": "0.12.
|
|
36
|
+
"tsdown": "0.12.8",
|
|
37
37
|
"type-fest": "4.41.0",
|
|
38
38
|
"typescript": "5.8.3",
|
|
39
39
|
"valibot": "1.1.0",
|