MCPcopy Index your code
hub / github.com/simstudioai/sim / mapTag

Function mapTag

apps/sim/tools/emailbison/utils.ts:180–190  ·  view source on GitHub ↗
(value: unknown)

Source from the content-addressed store, hash-verified

178}
179
180export function mapTag(value: unknown): EmailBisonTag {
181 const record = toRecord(value)
182
183 return {
184 id: toNullableNumber(record.id),
185 name: toStringOrNull(record.name),
186 default: toNullableBoolean(record.default),
187 created_at: toStringOrNull(record.created_at),
188 updated_at: toStringOrNull(record.updated_at),
189 }
190}
191
192export function mapReply(value: unknown): EmailBisonReply {
193 const record = toRecord(value)

Callers 1

create_tag.tsFile · 0.90

Calls 4

toRecordFunction · 0.85
toNullableNumberFunction · 0.85
toNullableBooleanFunction · 0.85
toStringOrNullFunction · 0.70

Tested by

no test coverage detected