Skip to content
Source
Sign inSign up
TanStack/router
Open History to see the last commit

users.ts

258 lines5.6 KB

1// dummy data from https://jsonplaceholder.typicode.com/users
2​
3export type User = {
4 id: number
5 name: string
6 username: string
7 email: string
8 address: {
9 street: string
10 suite: string
11 city: string
12 zipcode: string
13 geo: {
14 lat: string
15 lng: string
16 }
17 }
18 phone: string
19 website: string
20 company: {
21 name: string
22 catchPhrase: string
23 bs: string
24 }
26​
27export const users: Array<User> = [
28 {
29 id: 1,
30 name: 'Leanne Graham',
31 username: 'Bret',
32 email: 'Sincere@april.biz',
33 address: {
34 street: 'Kulas Light',
35 suite: 'Apt. 556',
36 city: 'Gwenborough',
37 zipcode: '92998-3874',
38 geo: {
39 lat: '-37.3159',
40 lng: '81.1496',
41 },
42 },
43 phone: '1-770-736-8031 x56442',
44 website: 'hildegard.org',
45 company: {
46 name: 'Romaguera-Crona',
47 catchPhrase: 'Multi-layered client-server neural-net',
48 bs: 'harness real-time e-markets',
49 },
50 },
51 {
52 id: 2,
53 name: 'Ervin Howell',
54 username: 'Antonette',
55 email: 'Shanna@melissa.tv',
56 address: {
57 street: 'Victor Plains',
58 suite: 'Suite 879',
59 city: 'Wisokyburgh',
60 zipcode: '90566-7771',
61 geo: {
62 lat: '-43.9509',
63 lng: '-34.4618',
64 },
65 },
66 phone: '010-692-6593 x09125',
67 website: 'anastasia.net',
68 company: {
69 name: 'Deckow-Crist',
70 catchPhrase: 'Proactive didactic contingency',
71 bs: 'synergize scalable supply-chains',
72 },
73 },
74 {
75 id: 3,
76 name: 'Clementine Bauch',
77 username: 'Samantha',
78 email: 'Nathan@yesenia.net',
79 address: {
80 street: 'Douglas Extension',
81 suite: 'Suite 847',
82 city: 'McKenziehaven',
83 zipcode: '59590-4157',
84 geo: {
85 lat: '-68.6102',
86 lng: '-47.0653',
87 },
88 },
89 phone: '1-463-123-4447',
90 website: 'ramiro.info',
91 company: {
92 name: 'Romaguera-Jacobson',
93 catchPhrase: 'Face to face bifurcated interface',
94 bs: 'e-enable strategic applications',
95 },
96 },
97 {
98 id: 4,
99 name: 'Patricia Lebsack',
100 username: 'Karianne',
101 email: 'Julianne.OConner@kory.org',
102 address: {
103 street: 'Hoeger Mall',
104 suite: 'Apt. 692',
105 city: 'South Elvis',
106 zipcode: '53919-4257',
107 geo: {
108 lat: '29.4572',
109 lng: '-164.2990',
110 },
111 },
112 phone: '493-170-9623 x156',
113 website: 'kale.biz',
114 company: {
115 name: 'Robel-Corkery',
116 catchPhrase: 'Multi-tiered zero tolerance productivity',
117 bs: 'transition cutting-edge web services',
118 },
119 },
120 {
121 id: 5,
122 name: 'Chelsey Dietrich',
123 username: 'Kamren',
124 email: 'Lucio_Hettinger@annie.ca',
125 address: {
126 street: 'Skiles Walks',
127 suite: 'Suite 351',
128 city: 'Roscoeview',
129 zipcode: '33263',
130 geo: {
131 lat: '-31.8129',
132 lng: '62.5342',
133 },
134 },
135 phone: '(254)954-1289',
136 website: 'demarco.info',
137 company: {
138 name: 'Keebler LLC',
139 catchPhrase: 'User-centric fault-tolerant solution',
140 bs: 'revolutionize end-to-end systems',
141 },
142 },
143 {
144 id: 6,
145 name: 'Mrs. Dennis Schulist',
146 username: 'Leopoldo_Corkery',
147 email: 'Karley_Dach@jasper.info',
148 address: {
149 street: 'Norberto Crossing',
150 suite: 'Apt. 950',
151 city: 'South Christy',
152 zipcode: '23505-1337',
153 geo: {
154 lat: '-71.4197',
155 lng: '71.7478',
156 },
157 },
158 phone: '1-477-935-8478 x6430',
159 website: 'ola.org',
160 company: {
161 name: 'Considine-Lockman',
162 catchPhrase: 'Synchronised bottom-line interface',
163 bs: 'e-enable innovative applications',
164 },
165 },
166 {
167 id: 7,
168 name: 'Kurtis Weissnat',
169 username: 'Elwyn.Skiles',
170 email: 'Telly.Hoeger@billy.biz',
171 address: {
172 street: 'Rex Trail',
173 suite: 'Suite 280',
174 city: 'Howemouth',
175 zipcode: '58804-1099',
176 geo: {
177 lat: '24.8918',
178 lng: '21.8984',
179 },
180 },
181 phone: '210.067.6132',
182 website: 'elvis.io',
183 company: {
184 name: 'Johns Group',
185 catchPhrase: 'Configurable multimedia task-force',
186 bs: 'generate enterprise e-tailers',
187 },
188 },
189 {
190 id: 8,
191 name: 'Nicholas Runolfsdottir V',
192 username: 'Maxime_Nienow',
193 email: 'Sherwood@rosamond.me',
194 address: {
195 street: 'Ellsworth Summit',
196 suite: 'Suite 729',
197 city: 'Aliyaview',
198 zipcode: '45169',
199 geo: {
200 lat: '-14.3990',
201 lng: '-120.7677',
202 },
203 },
204 phone: '586.493.6943 x140',
205 website: 'jacynthe.com',
206 company: {
207 name: 'Abernathy Group',
208 catchPhrase: 'Implemented secondary concept',
209 bs: 'e-enable extensible e-tailers',
210 },
211 },
212 {
213 id: 9,
214 name: 'Glenna Reichert',
215 username: 'Delphine',
216 email: 'Chaim_McDermott@dana.io',
217 address: {
218 street: 'Dayna Park',
219 suite: 'Suite 449',
220 city: 'Bartholomebury',
221 zipcode: '76495-3109',
222 geo: {
223 lat: '24.6463',
224 lng: '-168.8889',
225 },
226 },
227 phone: '(775)976-6794 x41206',
228 website: 'conrad.com',
229 company: {
230 name: 'Yost and Sons',
231 catchPhrase: 'Switchable contextually-based project',
232 bs: 'aggregate real-time technologies',
233 },
234 },
235 {
236 id: 10,
237 name: 'Clementina DuBuque',
238 username: 'Moriah.Stanton',
239 email: 'Rey.Padberg@karina.biz',
240 address: {
241 street: 'Kattie Turnpike',
242 suite: 'Suite 198',
243 city: 'Lebsackbury',
244 zipcode: '31428-2261',
245 geo: {
246 lat: '-38.2386',
247 lng: '57.2232',
248 },
249 },
250 phone: '024-648-3804',
251 website: 'ambrose.net',
252 company: {
253 name: 'Hoeger LLC',
254 catchPhrase: 'Centralized empowering task-force',
255 bs: 'target end-to-end models',
256 },
257 },