MCPcopy Create free account
hub / github.com/simstudioai/sim / getMetadataEntries

Function getMetadataEntries

apps/sim/ee/audit-logs/components/audit-logs.tsx:140–147  ·  view source on GitHub ↗
(metadata: unknown)

Source from the content-addressed store, hash-verified

138}
139
140function getMetadataEntries(metadata: unknown) {
141 if (!isRecordLike(metadata)) return []
142
143 return Object.entries(metadata).filter(([key, value]) => {
144 if (value === undefined) return false
145 return !['name', 'description'].includes(key)
146 })
147}
148
149interface ActionBadgeProps {
150 action: string

Callers 1

AuditLogRowFunction · 0.85

Calls 1

isRecordLikeFunction · 0.90

Tested by

no test coverage detected