about summary refs log tree commit diff
path: root/bskylink/src/cache/rule.ts
diff options
context:
space:
mode:
Diffstat (limited to 'bskylink/src/cache/rule.ts')
-rw-r--r--bskylink/src/cache/rule.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/bskylink/src/cache/rule.ts b/bskylink/src/cache/rule.ts
new file mode 100644
index 000000000..25d2f9f86
--- /dev/null
+++ b/bskylink/src/cache/rule.ts
@@ -0,0 +1,10 @@
+import {type SafelinkRule} from '../db/schema'
+
+export const exampleRule: SafelinkRule = {
+  id: 1,
+  eventType: 'addRule',
+  url: 'https://malicious.example.com/phishing',
+  pattern: 'domain',
+  action: 'block',
+  createdAt: '2024-06-01T12:00:00Z',
+}