mirror of
https://github.com/directus/directus.git
synced 2026-01-13 22:58:05 -05:00
* Redact additional keys in logs of Flows
* Create moody-poems-pump.md
* Move REDACTED_TEXT to constants package & update tests
* Revert "Move REDACTED_TEXT to constants package & update tests"
This reverts commit 0f5b227253.
* Update redacted value in blackbox test
* Use own redact implementation
* Move REDACTED_TEXT to constants package
* Replace outdated comment
* Fix misleading return type
Since values might change (redacted), output isn't necessarily the same type anymore
6 lines
202 B
TypeScript
6 lines
202 B
TypeScript
import type { UnknownObject } from '@directus/types';
|
|
|
|
export function isObject(input: unknown): input is UnknownObject {
|
|
return typeof input === 'object' && input !== null && !Array.isArray(input);
|
|
}
|