diff options
author | mehekj <mehek.jethani@gmail.com> | 2022-08-18 14:08:46 -0400 |
---|---|---|
committer | mehekj <mehek.jethani@gmail.com> | 2022-08-18 14:08:46 -0400 |
commit | dd9f736e7b522be12267f34d35fe7e7993229afc (patch) | |
tree | c15de7fc924ded47550707dbd434b917aef85be8 /src/Utils.ts | |
parent | 330752fa253b61136b78ce7147e09e9d6004f833 (diff) | |
parent | 5a425e5cf18115921ecb4e7cf931e65f45dab8e2 (diff) |
Merge branch 'master' into schema-mehek
Diffstat (limited to 'src/Utils.ts')
-rw-r--r-- | src/Utils.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Utils.ts b/src/Utils.ts index 528a429d0..9e002ebd4 100644 --- a/src/Utils.ts +++ b/src/Utils.ts @@ -111,6 +111,7 @@ export namespace Utils { const isTransparentFunctionHack = 'isTransparent(__value__)'; export const noRecursionHack = '__noRecursion'; + export const noDragsDocFilter = 'noDragDocs:any:check'; export function IsRecursiveFilter(val: string) { return !val.includes(noRecursionHack); } @@ -125,7 +126,7 @@ export namespace Utils { // bcz: isTransparent(__value__) is a hack. it would be nice to have acual functions be parsed, but now Doc.matchFieldValue is hardwired to recognize just this one return `backgroundColor:${isTransparentFunctionHack},${noRecursionHack}:x`; // bcz: hack. noRecursion should probably be either another ':' delimited field, or it should be a modifier to the comparision (eg., check, x, etc) field } - export function PropUnsetFilter(prop: string) { + export function IsPropUnsetFilter(prop: string) { return `${prop}:any,${noRecursionHack}:unset`; } |