@regle/rules 1.0.7 → 1.0.9
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-rules.d.cts +1 -9
- package/dist/regle-rules.d.ts +1 -9
- package/package.json +3 -3
package/dist/regle-rules.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RegleRuleMetadataDefinition, RegleRuleWithParamsDefinition, RegleRuleDefinitionWithMetadataProcessor, RegleRuleMetadataConsumer, RegleRuleDefinition, InlineRuleDeclaration, UnwrapRegleUniversalParams, Maybe, FormRuleDeclaration } from '@regle/core';
|
|
1
|
+
import { RegleRuleMetadataDefinition, RegleRuleWithParamsDefinition, RegleRuleDefinitionWithMetadataProcessor, RegleRuleMetadataConsumer, RegleRuleDefinition, InlineRuleDeclaration, UnwrapRegleUniversalParams, Maybe, FormRuleDeclaration, CommonComparationOptions } from '@regle/core';
|
|
2
2
|
import { Ref, MaybeRefOrGetter, MaybeRef } from 'vue';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -239,14 +239,6 @@ declare function not<TValue, TParams extends any[] = [], TReturn extends RegleRu
|
|
|
239
239
|
*/
|
|
240
240
|
declare const required: RegleRuleDefinition<unknown, [], false, boolean, unknown>;
|
|
241
241
|
|
|
242
|
-
interface CommonComparationOptions {
|
|
243
|
-
/**
|
|
244
|
-
* Change the behaviour of the rule to check only if the value is equal in addition to be strictly superior or inferior
|
|
245
|
-
* @default true
|
|
246
|
-
*/
|
|
247
|
-
allowEqual?: boolean;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
242
|
/**
|
|
251
243
|
* Requires the input value to have a maximum specified length, inclusive. Works with arrays, objects and strings.
|
|
252
244
|
*
|
package/dist/regle-rules.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RegleRuleMetadataDefinition, RegleRuleWithParamsDefinition, RegleRuleDefinitionWithMetadataProcessor, RegleRuleMetadataConsumer, RegleRuleDefinition, InlineRuleDeclaration, UnwrapRegleUniversalParams, Maybe, FormRuleDeclaration } from '@regle/core';
|
|
1
|
+
import { RegleRuleMetadataDefinition, RegleRuleWithParamsDefinition, RegleRuleDefinitionWithMetadataProcessor, RegleRuleMetadataConsumer, RegleRuleDefinition, InlineRuleDeclaration, UnwrapRegleUniversalParams, Maybe, FormRuleDeclaration, CommonComparationOptions } from '@regle/core';
|
|
2
2
|
import { Ref, MaybeRefOrGetter, MaybeRef } from 'vue';
|
|
3
3
|
|
|
4
4
|
/**
|
|
@@ -239,14 +239,6 @@ declare function not<TValue, TParams extends any[] = [], TReturn extends RegleRu
|
|
|
239
239
|
*/
|
|
240
240
|
declare const required: RegleRuleDefinition<unknown, [], false, boolean, unknown>;
|
|
241
241
|
|
|
242
|
-
interface CommonComparationOptions {
|
|
243
|
-
/**
|
|
244
|
-
* Change the behaviour of the rule to check only if the value is equal in addition to be strictly superior or inferior
|
|
245
|
-
* @default true
|
|
246
|
-
*/
|
|
247
|
-
allowEqual?: boolean;
|
|
248
|
-
}
|
|
249
|
-
|
|
250
242
|
/**
|
|
251
243
|
* Requires the input value to have a maximum specified length, inclusive. Works with arrays, objects and strings.
|
|
252
244
|
*
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@regle/rules",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.9",
|
|
4
4
|
"description": "Collection of rules and helpers for Regle",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@regle/core": "1.0.
|
|
6
|
+
"@regle/core": "1.0.9"
|
|
7
7
|
},
|
|
8
8
|
"devDependencies": {
|
|
9
9
|
"@typescript-eslint/eslint-plugin": "8.28.0",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"prettier": "3.3.3",
|
|
20
20
|
"tsup": "8.4.0",
|
|
21
21
|
"type-fest": "4.38.0",
|
|
22
|
-
"typescript": "5.
|
|
22
|
+
"typescript": "5.8.2",
|
|
23
23
|
"vitest": "3.0.9",
|
|
24
24
|
"vue": "3.5.13",
|
|
25
25
|
"vue-eslint-parser": "9.4.3",
|