mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
feat: implement creator_id factor
This commit is contained in:
@@ -9,6 +9,7 @@ import (
|
||||
// MemoFilterCELAttributes are the CEL attributes for memo.
|
||||
var MemoFilterCELAttributes = []cel.EnvOption{
|
||||
cel.Variable("content", cel.StringType),
|
||||
cel.Variable("creator_id", cel.IntType),
|
||||
// As the built-in timestamp type is deprecated, we use string type for now.
|
||||
// e.g., "2021-01-01T00:00:00Z"
|
||||
cel.Variable("create_time", cel.StringType),
|
||||
|
Reference in New Issue
Block a user