@rebasepro/admin 0.9.1-canary.7dddf96 → 0.9.1-canary.a57c262
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/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rebasepro/admin",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.9.1-canary.
|
|
4
|
+
"version": "0.9.1-canary.a57c262",
|
|
5
5
|
"description": "Rebase CMS — content management views, forms, and routing",
|
|
6
6
|
"funding": {
|
|
7
7
|
"url": "https://github.com/sponsors/rebaseco"
|
|
@@ -83,13 +83,13 @@
|
|
|
83
83
|
"react-dropzone": "^15.0.0",
|
|
84
84
|
"react-use-measure": "^2.1.7",
|
|
85
85
|
"zod": "^4.4.3",
|
|
86
|
-
"@rebasepro/
|
|
87
|
-
"@rebasepro/forms": "0.9.1-canary.
|
|
88
|
-
"@rebasepro/
|
|
89
|
-
"@rebasepro/
|
|
90
|
-
"@rebasepro/
|
|
91
|
-
"@rebasepro/
|
|
92
|
-
"@rebasepro/
|
|
86
|
+
"@rebasepro/common": "0.9.1-canary.a57c262",
|
|
87
|
+
"@rebasepro/forms": "0.9.1-canary.a57c262",
|
|
88
|
+
"@rebasepro/app": "0.9.1-canary.a57c262",
|
|
89
|
+
"@rebasepro/inference": "0.9.1-canary.a57c262",
|
|
90
|
+
"@rebasepro/types": "0.9.1-canary.a57c262",
|
|
91
|
+
"@rebasepro/ui": "0.9.1-canary.a57c262",
|
|
92
|
+
"@rebasepro/utils": "0.9.1-canary.a57c262"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
95
95
|
"react": ">=19.0.0",
|
|
@@ -8,6 +8,24 @@ import { resolveFilterOperators } from "@rebasepro/common";
|
|
|
8
8
|
import { useCollectionScope, useTranslation } from "@rebasepro/app";
|
|
9
9
|
import { FilterFieldBinding } from "../SelectableTable/filters/FilterFieldBinding";
|
|
10
10
|
|
|
11
|
+
/**
|
|
12
|
+
* `WhereFilterOp` is declared twice: once in `@rebasepro/types` as the canonical
|
|
13
|
+
* operator set every driver translates, and once in `@rebasepro/ui` for the
|
|
14
|
+
* table's own props. That is deliberate — `ui` is a standalone design system and
|
|
15
|
+
* depends on no Rebase package, so it cannot import the canonical one (and a
|
|
16
|
+
* type-only import would not help: `ui` emits declarations with `tsc`, which
|
|
17
|
+
* references external types rather than inlining them, so its published `.d.ts`
|
|
18
|
+
* would demand `@rebasepro/types` from every consumer).
|
|
19
|
+
*
|
|
20
|
+
* This file is where the two meet and get cast into each other, so it is where
|
|
21
|
+
* their agreement is checked. Adding an operator to one and not the other stops
|
|
22
|
+
* this line compiling instead of silently producing a filter the table can build
|
|
23
|
+
* and no driver can run — or one a driver supports and the table cannot offer.
|
|
24
|
+
*/
|
|
25
|
+
type MutuallyAssignable<A, B> = [A] extends [B] ? ([B] extends [A] ? true : never) : never;
|
|
26
|
+
const _whereFilterOpDefinitionsAgree: MutuallyAssignable<WhereFilterOp, VirtualTableWhereFilterOp> = true;
|
|
27
|
+
void _whereFilterOpDefinitionsAgree;
|
|
28
|
+
|
|
11
29
|
export interface FiltersDialogProps {
|
|
12
30
|
open: boolean;
|
|
13
31
|
onOpenChange: (open: boolean) => void;
|