mirror of
https://github.com/Elysola/WebHooker.git
synced 2026-11-20 17:13:49 +00:00
feat(filters): JSONPath field filters, operators, AST groups, fragments, and test-match
Add a field filter type reading any payload value by JSONPath with array expansion, 12 comparison operators (eq/ne/contains/startsWith/endsWith/regex/gt/gte/lt/lte/in/exists), a visual AST builder (all/any/not) in the route editor, chip-based multi-value input, a stateless POST /admin/api/test-match dry-run, and named filter fragments stored in D1 (d1_fragments, migration 0010) inlined into route ASTs on insert.
This commit is contained in:
30 files changed
+1793
-422
No files matched your search
@@ -0,0 +1,12 @@
|
||||
CREATE TABLE IF NOT EXISTS d1_fragments (
|
||||
id TEXT NOT NULL,
|
||||
group_id TEXT NOT NULL DEFAULT '',
|
||||
name TEXT NOT NULL,
|
||||
node TEXT NOT NULL,
|
||||
version INTEGER NOT NULL DEFAULT 1,
|
||||
created_at INTEGER NOT NULL,
|
||||
updated_at INTEGER NOT NULL,
|
||||
PRIMARY KEY (id, group_id)
|
||||
);
|
||||
|
||||
CREATE INDEX IF NOT EXISTS idx_d1_fragments_group_id ON d1_fragments(group_id);
|
||||
Reference in new issue
Block a user