@form-flow/core 2.0.1 → 2.0.2
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.
|
@@ -3,16 +3,16 @@ export declare const OperatorRegistry: {
|
|
|
3
3
|
/**
|
|
4
4
|
* Get the definition of a specific operator by key.
|
|
5
5
|
*/
|
|
6
|
-
get: (key: RuleOperatorKey) => RuleOperatorMeta | undefined;
|
|
6
|
+
get: <TCustom extends string = never>(key: RuleOperatorKey) => RuleOperatorMeta<TCustom> | undefined;
|
|
7
7
|
/**
|
|
8
8
|
* Get all operator definitions (e.g., for building UI pickers).
|
|
9
9
|
*/
|
|
10
|
-
getAll: () => RuleOperatorsMap
|
|
10
|
+
getAll: <TCustom extends string = never>() => RuleOperatorsMap<TCustom>;
|
|
11
11
|
/**
|
|
12
12
|
* Register one or more operator overrides or additions.
|
|
13
13
|
* Existing operators with the same key will be replaced.
|
|
14
14
|
*/
|
|
15
|
-
register: (overrides: RuleOperatorsMap) => void;
|
|
15
|
+
register: <TCustom extends string = never>(overrides: RuleOperatorsMap<TCustom>) => void;
|
|
16
16
|
/**
|
|
17
17
|
* Reset the registry to the original default operator map.
|
|
18
18
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operator-registry.d.ts","sourceRoot":"","sources":["../../src/models/operator-registry.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAK3G,eAAO,MAAM,gBAAgB;IACzB;;OAEG;
|
|
1
|
+
{"version":3,"file":"operator-registry.d.ts","sourceRoot":"","sources":["../../src/models/operator-registry.ts"],"names":[],"mappings":"AACA,OAAO,EAA2B,eAAe,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAK3G,eAAO,MAAM,gBAAgB;IACzB;;OAEG;UACG,OAAO,SAAS,MAAM,eAAe,eAAe,KAAG,gBAAgB,CAAC,OAAO,CAAC,GAAG,SAAS;IAElG;;OAEG;aACM,OAAO,SAAS,MAAM,eAAa,gBAAgB,CAAC,OAAO,CAAC;IAErE;;;OAGG;eACQ,OAAO,SAAS,MAAM,qBAAqB,gBAAgB,CAAC,OAAO,CAAC;IAI/E;;OAEG;;CAIN,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"operator-registry.js","sourceRoot":"","sources":["../../src/models/operator-registry.ts"],"names":[],"mappings":";;;AAAA,uBAAuB;AACvB,2CAA2G;AAE3G,4CAA4C;AAC5C,IAAI,QAAQ,
|
|
1
|
+
{"version":3,"file":"operator-registry.js","sourceRoot":"","sources":["../../src/models/operator-registry.ts"],"names":[],"mappings":";;;AAAA,uBAAuB;AACvB,2CAA2G;AAE3G,4CAA4C;AAC5C,IAAI,QAAQ,GAA6B,EAAE,GAAG,mCAAuB,EAAE,CAAC;AAE3D,QAAA,gBAAgB,GAAG;IAC5B;;OAEG;IACH,GAAG,EAAE,CAAiC,GAAoB,EAAyC,EAAE,CAAC,QAAQ,CAAC,GAAG,CAA8B;IAEhJ;;OAEG;IACH,MAAM,EAAE,GAA8D,EAAE,CAAC,QAAqC;IAE9G;;;OAGG;IACH,QAAQ,EAAE,CAAiC,SAAoC,EAAE,EAAE;QAC/E,QAAQ,GAAG,EAAE,GAAG,QAAQ,EAAE,GAAG,SAAS,EAAE,CAAC;IAC7C,CAAC;IAED;;OAEG;IACH,KAAK,EAAE,GAAG,EAAE;QACR,QAAQ,GAAG,EAAE,GAAG,mCAAuB,EAAE,CAAC;IAC9C,CAAC;CACJ,CAAC"}
|
package/package.json
CHANGED