MCPcopy Index your code
hub / github.com/TanStack/table / newPerson

Function newPerson

examples/react/row-dnd/src/makeData.ts:22–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20}
21
22const newPerson = (): Person => {
23 return {
24 userId: faker.string.uuid(),
25 firstName: faker.person.firstName(),
26 lastName: faker.person.lastName(),
27 age: faker.number.int(40),
28 visits: faker.number.int(1000),
29 progress: faker.number.int(100),
30 status: faker.helpers.shuffle<Person['status']>([
31 'relationship',
32 'complicated',
33 'single',
34 ])[0]!,
35 }
36}
37
38export function makeData(...lens: number[]) {
39 const makeDataLevel = (depth = 0): Person[] => {

Callers 1

makeDataLevelFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…