MCPcopy
hub / github.com/tinyplex/tinybase / objNew

Function objNew

src/common/obj.ts:29–31  ·  view source on GitHub ↗
(
  entries: [id: string, value: Value][] = [],
)

Source from the content-addressed store, hash-verified

27export const objFreeze = object.freeze;
28
29export const objNew = <Value>(
30 entries: [id: string, value: Value][] = [],
31): IdObj<Value> => object.fromEntries(entries);
32
33export const objMerge = (...objs: IdObj<unknown>[]) =>
34 object.assign({}, ...objs);

Callers 15

AddRowFunction · 0.90
childrenFunction · 0.90
getCellsFunction · 0.90
toTablesSchemaFunction · 0.90
toValuesSchemaFunction · 0.90
getPropertiesFunction · 0.90
useCellsFunction · 0.90
getPersistedFunction · 0.90
index.tsFile · 0.90
loadTableFunction · 0.90
getValuesSubsetFunction · 0.90
loadTablesFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…