@thepalaceproject/circulation-admin 1.43.0 → 1.44.0-post.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/CLAUDE.md +28 -7
  2. package/README.md +11 -5
  3. package/dist/circulation-admin.js +1 -1
  4. package/eslint.config.mjs +9 -1
  5. package/jest.config.js +22 -8
  6. package/package.json +6 -20
  7. package/tests/jest/actions.test.ts +962 -0
  8. package/tests/jest/components/AccountPage.test.tsx +41 -0
  9. package/tests/jest/components/AdvancedSearchBooleanFilter.test.tsx +231 -0
  10. package/tests/jest/components/AdvancedSearchBuilder.test.tsx +93 -20
  11. package/tests/jest/components/AdvancedSearchFilter.test.tsx +142 -0
  12. package/tests/jest/components/AdvancedSearchFilterInput.test.tsx +212 -0
  13. package/tests/jest/components/AdvancedSearchFilterViewer.test.tsx +52 -0
  14. package/tests/jest/components/AdvancedSearchValueFilter.test.tsx +123 -0
  15. package/tests/jest/components/Announcement.test.tsx +76 -0
  16. package/tests/jest/components/AnnouncementForm.test.tsx +229 -0
  17. package/tests/jest/components/AnnouncementsSection.test.tsx +146 -0
  18. package/tests/jest/components/Autocomplete.test.tsx +67 -0
  19. package/tests/jest/components/BookCoverEditor.test.tsx +393 -0
  20. package/tests/jest/components/BookDetails.test.tsx +133 -0
  21. package/tests/jest/components/BookDetailsContainer.test.tsx +116 -0
  22. package/tests/jest/components/BookDetailsEditor.test.tsx +275 -0
  23. package/tests/jest/components/BookDetailsTabContainer.test.tsx +237 -0
  24. package/tests/jest/components/BookEditForm.test.tsx +352 -0
  25. package/tests/jest/components/BookEditor.test.tsx +20 -21
  26. package/tests/jest/components/CatalogPage.test.tsx +158 -0
  27. package/tests/jest/components/CatalogServices.test.tsx +100 -0
  28. package/tests/jest/components/ChangePasswordForm.test.tsx +163 -0
  29. package/tests/jest/components/CirculationEventsDownloadForm.test.tsx +41 -0
  30. package/tests/jest/components/Classifications.test.tsx +166 -0
  31. package/tests/jest/components/ClassificationsForm.test.tsx +458 -0
  32. package/tests/jest/components/ClassificationsTable.test.tsx +57 -0
  33. package/tests/jest/components/Collections.test.tsx +335 -7
  34. package/tests/jest/components/ColorPicker.test.tsx +58 -0
  35. package/tests/jest/components/ComplaintForm.test.tsx +171 -0
  36. package/tests/jest/components/Complaints.test.tsx +259 -0
  37. package/tests/jest/components/ConfigPage.test.tsx +58 -0
  38. package/tests/jest/components/ConfigTabContainer.test.tsx +196 -0
  39. package/tests/jest/components/ContextProvider.test.tsx +138 -0
  40. package/tests/jest/components/Contributors.test.tsx +157 -0
  41. package/tests/jest/components/CustomListEditor.test.tsx +367 -0
  42. package/tests/jest/components/CustomListEntriesEditor.test.tsx +1240 -0
  43. package/tests/jest/components/CustomListPage.test.tsx +57 -0
  44. package/tests/jest/components/CustomListSearch.test.tsx +275 -0
  45. package/tests/jest/components/CustomLists.test.tsx +621 -4
  46. package/tests/jest/components/CustomListsForBook.test.tsx +353 -0
  47. package/tests/jest/components/CustomListsSidebar.test.tsx +251 -0
  48. package/tests/jest/components/DashboardPage.test.tsx +76 -0
  49. package/tests/jest/components/DebugAuthentication.test.tsx +1 -5
  50. package/tests/jest/components/DiagnosticsServiceTabs.test.tsx +141 -0
  51. package/tests/jest/components/DiagnosticsServiceType.test.tsx +75 -0
  52. package/tests/jest/components/DiagnosticsTabContainer.test.tsx +147 -0
  53. package/tests/jest/components/DiscoveryServices.test.tsx +154 -7
  54. package/tests/jest/components/EditableConfigList.test.tsx +606 -9
  55. package/tests/jest/components/EditableInput.test.tsx +250 -1
  56. package/tests/jest/components/EditorField.test.tsx +95 -0
  57. package/tests/jest/components/EntryPointsContainer.test.tsx +97 -0
  58. package/tests/jest/components/EntryPointsTabs.test.tsx +88 -0
  59. package/tests/jest/components/ErrorMessage.test.tsx +97 -0
  60. package/tests/jest/components/Footer.test.tsx +141 -0
  61. package/tests/jest/components/GenreForm.test.tsx +152 -0
  62. package/tests/jest/components/Header.test.tsx +421 -0
  63. package/tests/jest/components/IndividualAdminEditForm.test.tsx +506 -1
  64. package/tests/jest/components/IndividualAdmins.test.tsx +124 -8
  65. package/tests/jest/components/InputList.test.tsx +493 -0
  66. package/tests/jest/components/InventoryReportRequestModal.test.tsx +16 -42
  67. package/tests/jest/components/JsonField.test.tsx +20 -0
  68. package/tests/jest/components/Lane.test.tsx +132 -10
  69. package/tests/jest/components/LaneCustomListsEditor.test.tsx +450 -0
  70. package/tests/jest/components/LaneEditor.test.tsx +377 -13
  71. package/tests/jest/components/LanePage.test.tsx +68 -0
  72. package/tests/jest/components/Lanes.test.tsx +446 -0
  73. package/tests/jest/components/LanesSidebar.test.tsx +621 -0
  74. package/tests/jest/components/LanguageField.test.tsx +40 -0
  75. package/tests/jest/components/Libraries.test.tsx +48 -0
  76. package/tests/jest/components/LibraryEditForm.test.tsx +383 -0
  77. package/tests/jest/components/LibraryRegistration.test.tsx +354 -0
  78. package/tests/jest/components/LibraryRegistrationForm.test.tsx +203 -0
  79. package/tests/jest/components/LoadButton.test.tsx +49 -0
  80. package/tests/jest/components/ManagePatrons.test.tsx +73 -0
  81. package/tests/jest/components/ManagePatronsForm.test.tsx +180 -0
  82. package/tests/jest/components/ManagePatronsTabContainer.test.tsx +143 -0
  83. package/tests/jest/components/MetadataServices.test.tsx +95 -0
  84. package/tests/jest/components/NeighborhoodAnalyticsForm.test.tsx +167 -0
  85. package/tests/jest/components/PairedMenus.test.tsx +220 -0
  86. package/tests/jest/components/PatronAuthServices.test.tsx +114 -0
  87. package/tests/jest/components/PatronBlockingRulesEditor.test.tsx +3 -1
  88. package/tests/jest/components/PatronInfo.test.tsx +54 -0
  89. package/tests/jest/components/ProtocolFormField.test.tsx +479 -7
  90. package/tests/jest/components/ResetAdobeId.test.tsx +302 -0
  91. package/tests/jest/components/SaveButton.test.tsx +47 -0
  92. package/tests/jest/components/SelfTestResult.test.tsx +164 -0
  93. package/tests/jest/components/SelfTests.test.tsx +601 -0
  94. package/tests/jest/components/SelfTestsCategory.test.tsx +200 -0
  95. package/tests/jest/components/SelfTestsTabContainer.test.tsx +216 -0
  96. package/tests/jest/components/ServiceEditForm.test.tsx +1092 -0
  97. package/tests/jest/components/ServiceWithRegistrationsEditForm.test.tsx +110 -0
  98. package/tests/jest/components/SetupPage.test.tsx +41 -0
  99. package/tests/jest/components/SingleStatListItem.test.tsx +62 -0
  100. package/tests/jest/components/SitewideAnnouncements.test.tsx +134 -0
  101. package/tests/jest/components/Stats.test.tsx +4 -15
  102. package/tests/jest/components/TabContainer.test.tsx +68 -0
  103. package/tests/jest/components/TextWithEditMode.test.tsx +218 -0
  104. package/tests/jest/components/Timestamp.test.tsx +74 -0
  105. package/tests/jest/components/ToolTip.test.tsx +46 -0
  106. package/tests/jest/components/TroubleshootingCategoryPage.test.tsx +69 -0
  107. package/tests/jest/components/TroubleshootingPage.test.tsx +94 -0
  108. package/tests/jest/components/TroubleshootingTabContainer.test.tsx +68 -0
  109. package/tests/jest/components/UpdatingLoader.test.tsx +36 -0
  110. package/tests/jest/components/WelcomePage.test.tsx +43 -0
  111. package/tests/jest/components/WithEditButton.test.tsx +55 -0
  112. package/tests/jest/components/WithRemoveButton.test.tsx +95 -0
  113. package/tests/jest/editorAdapter.test.ts +245 -0
  114. package/tests/jest/features/book.test.ts +75 -80
  115. package/tests/jest/fixtures/classificationsData.ts +45 -0
  116. package/tests/jest/fixtures/genreData.ts +811 -0
  117. package/tests/jest/index.test.tsx +50 -0
  118. package/tests/jest/models/Admin.test.ts +206 -0
  119. package/tests/jest/reducers/bookCoverPreview.test.ts +81 -0
  120. package/tests/jest/reducers/classifications.test.ts +161 -0
  121. package/tests/jest/reducers/collections.test.ts +96 -0
  122. package/tests/jest/reducers/complaints.test.ts +166 -0
  123. package/tests/jest/reducers/createFetchEditReducer.test.ts +220 -0
  124. package/tests/jest/reducers/createRegisterLibraryReducer.test.ts +51 -0
  125. package/tests/jest/reducers/customListDetails.test.ts +120 -0
  126. package/tests/jest/reducers/customListEditor.test.ts +2823 -0
  127. package/tests/jest/reducers/managePatrons.test.ts +71 -0
  128. package/tests/jest/testUtils/formDataShim.test.ts +135 -0
  129. package/tests/jest/testUtils/formDataShim.ts +112 -0
  130. package/tests/jest/utils/sharedFunctions.test.ts +121 -0
  131. package/tsconfig.json +3 -4
  132. package/testReporter.js +0 -29
  133. package/tests/jest/README.md +0 -6
@@ -0,0 +1,811 @@
1
+ import { GenreTree } from "../../../src/interfaces";
2
+
3
+ const genres: GenreTree = {
4
+ Fiction: {
5
+ Adventure: {
6
+ name: "Adventure",
7
+ parents: [],
8
+ subgenres: [],
9
+ },
10
+ "Alternative History": {
11
+ name: "Alternative History",
12
+ parents: ["Science Fiction"],
13
+ subgenres: [],
14
+ },
15
+ Classics: {
16
+ name: "Classics",
17
+ parents: [],
18
+ subgenres: [],
19
+ },
20
+ "Comics & Graphic Novels": {
21
+ name: "Comics & Graphic Novels",
22
+ parents: [],
23
+ subgenres: [],
24
+ },
25
+ "Contemporary Romance": {
26
+ name: "Contemporary Romance",
27
+ parents: ["Romance"],
28
+ subgenres: [],
29
+ },
30
+ "Cozy Mystery": {
31
+ name: "Cozy Mystery",
32
+ parents: ["Mystery"],
33
+ subgenres: [],
34
+ },
35
+ "Crime & Detective Stories": {
36
+ name: "Crime & Detective Stories",
37
+ parents: ["Mystery"],
38
+ subgenres: [],
39
+ },
40
+ Cyberpunk: {
41
+ name: "Cyberpunk",
42
+ parents: ["Science Fiction"],
43
+ subgenres: [],
44
+ },
45
+ Drama: {
46
+ name: "Drama",
47
+ parents: [],
48
+ subgenres: [],
49
+ },
50
+ "Dystopian SF": {
51
+ name: "Dystopian SF",
52
+ parents: ["Science Fiction"],
53
+ subgenres: [],
54
+ },
55
+ "Epic Fantasy": {
56
+ name: "Epic Fantasy",
57
+ parents: ["Fantasy"],
58
+ subgenres: [],
59
+ },
60
+ Erotica: {
61
+ name: "Erotica",
62
+ parents: [],
63
+ subgenres: [],
64
+ },
65
+ Espionage: {
66
+ name: "Espionage",
67
+ parents: ["Suspense/Thriller"],
68
+ subgenres: [],
69
+ },
70
+ Fantasy: {
71
+ name: "Fantasy",
72
+ parents: [],
73
+ subgenres: ["Epic Fantasy", "Historical Fantasy", "Urban Fantasy"],
74
+ },
75
+ Folklore: {
76
+ name: "Folklore",
77
+ parents: [],
78
+ subgenres: [],
79
+ },
80
+ "Ghost Stories": {
81
+ name: "Ghost Stories",
82
+ parents: ["Horror"],
83
+ subgenres: [],
84
+ },
85
+ "Gothic Horror": {
86
+ name: "Gothic Horror",
87
+ parents: ["Horror"],
88
+ subgenres: [],
89
+ },
90
+ "Gothic Romance": {
91
+ name: "Gothic Romance",
92
+ parents: ["Romance"],
93
+ subgenres: [],
94
+ },
95
+ "Hard-Boiled Mystery": {
96
+ name: "Hard-Boiled Mystery",
97
+ parents: ["Mystery"],
98
+ subgenres: [],
99
+ },
100
+ "Historical Fantasy": {
101
+ name: "Historical Fantasy",
102
+ parents: ["Fantasy"],
103
+ subgenres: [],
104
+ },
105
+ "Historical Fiction": {
106
+ name: "Historical Fiction",
107
+ parents: [],
108
+ subgenres: [],
109
+ },
110
+ "Historical Mystery": {
111
+ name: "Historical Mystery",
112
+ parents: ["Mystery"],
113
+ subgenres: [],
114
+ },
115
+ "Historical Romance": {
116
+ name: "Historical Romance",
117
+ parents: ["Romance"],
118
+ subgenres: [],
119
+ },
120
+ "Historical Thriller": {
121
+ name: "Historical Thriller",
122
+ parents: ["Suspense/Thriller"],
123
+ subgenres: [],
124
+ },
125
+ Horror: {
126
+ name: "Horror",
127
+ parents: [],
128
+ subgenres: [
129
+ "Gothic Horror",
130
+ "Ghost Stories",
131
+ "Vampires",
132
+ "Werewolves",
133
+ "Occult Horror",
134
+ ],
135
+ },
136
+ "Humorous Fiction": {
137
+ name: "Humorous Fiction",
138
+ parents: [],
139
+ subgenres: [],
140
+ },
141
+ "LGBTQ Fiction": {
142
+ name: "LGBTQ Fiction",
143
+ parents: [],
144
+ subgenres: [],
145
+ },
146
+ "Legal Thriller": {
147
+ name: "Legal Thriller",
148
+ parents: ["Suspense/Thriller"],
149
+ subgenres: [],
150
+ },
151
+ "Literary Fiction": {
152
+ name: "Literary Fiction",
153
+ parents: [],
154
+ subgenres: [],
155
+ },
156
+ "Media Tie-in SF": {
157
+ name: "Media Tie-in SF",
158
+ parents: ["Science Fiction"],
159
+ subgenres: [],
160
+ },
161
+ "Medical Thriller": {
162
+ name: "Medical Thriller",
163
+ parents: ["Suspense/Thriller"],
164
+ subgenres: [],
165
+ },
166
+ "Military SF": {
167
+ name: "Military SF",
168
+ parents: ["Science Fiction"],
169
+ subgenres: [],
170
+ },
171
+ "Military Thriller": {
172
+ name: "Military Thriller",
173
+ parents: ["Suspense/Thriller"],
174
+ subgenres: [],
175
+ },
176
+ Mystery: {
177
+ name: "Mystery",
178
+ parents: [],
179
+ subgenres: [
180
+ "Crime & Detective Stories",
181
+ "Hard-Boiled Mystery",
182
+ "Police Procedural",
183
+ "Cozy Mystery",
184
+ "Historical Mystery",
185
+ "Paranormal Mystery",
186
+ "Women Detectives",
187
+ ],
188
+ },
189
+ "Occult Horror": {
190
+ name: "Occult Horror",
191
+ parents: ["Horror"],
192
+ subgenres: [],
193
+ },
194
+ "Paranormal Mystery": {
195
+ name: "Paranormal Mystery",
196
+ parents: ["Mystery"],
197
+ subgenres: [],
198
+ },
199
+ "Paranormal Romance": {
200
+ name: "Paranormal Romance",
201
+ parents: ["Romance"],
202
+ subgenres: [],
203
+ },
204
+ Poetry: {
205
+ name: "Poetry",
206
+ parents: [],
207
+ subgenres: [],
208
+ },
209
+ "Police Procedural": {
210
+ name: "Police Procedural",
211
+ parents: ["Mystery"],
212
+ subgenres: [],
213
+ },
214
+ "Political Thriller": {
215
+ name: "Political Thriller",
216
+ parents: ["Suspense/Thriller"],
217
+ subgenres: [],
218
+ },
219
+ "Psychological Thriller": {
220
+ name: "Psychological Thriller",
221
+ parents: ["Suspense/Thriller"],
222
+ subgenres: [],
223
+ },
224
+ "Religious Fiction": {
225
+ name: "Religious Fiction",
226
+ parents: [],
227
+ subgenres: [],
228
+ },
229
+ Romance: {
230
+ name: "Romance",
231
+ parents: [],
232
+ subgenres: [
233
+ "Contemporary Romance",
234
+ "Gothic Romance",
235
+ "Historical Romance",
236
+ "Paranormal Romance",
237
+ "Western Romance",
238
+ "Romantic Suspense",
239
+ ],
240
+ },
241
+ "Romantic SF": {
242
+ name: "Romantic SF",
243
+ parents: ["Science Fiction"],
244
+ subgenres: [],
245
+ },
246
+ "Romantic Suspense": {
247
+ name: "Romantic Suspense",
248
+ parents: ["Romance"],
249
+ subgenres: [],
250
+ },
251
+ "Science Fiction": {
252
+ name: "Science Fiction",
253
+ parents: [],
254
+ subgenres: [
255
+ "Dystopian SF",
256
+ "Space Opera",
257
+ "Cyberpunk",
258
+ "Military SF",
259
+ "Alternative History",
260
+ "Steampunk",
261
+ "Romantic SF",
262
+ "Media Tie-in SF",
263
+ ],
264
+ },
265
+ "Short Stories": {
266
+ name: "Short Stories",
267
+ parents: [],
268
+ subgenres: [],
269
+ },
270
+ "Space Opera": {
271
+ name: "Space Opera",
272
+ parents: ["Science Fiction"],
273
+ subgenres: [],
274
+ },
275
+ Steampunk: {
276
+ name: "Steampunk",
277
+ parents: ["Science Fiction"],
278
+ subgenres: [],
279
+ },
280
+ "Supernatural Thriller": {
281
+ name: "Supernatural Thriller",
282
+ parents: ["Suspense/Thriller"],
283
+ subgenres: [],
284
+ },
285
+ "Suspense/Thriller": {
286
+ name: "Suspense/Thriller",
287
+ parents: [],
288
+ subgenres: [
289
+ "Historical Thriller",
290
+ "Espionage",
291
+ "Supernatural Thriller",
292
+ "Medical Thriller",
293
+ "Political Thriller",
294
+ "Psychological Thriller",
295
+ "Technothriller",
296
+ "Legal Thriller",
297
+ "Military Thriller",
298
+ ],
299
+ },
300
+ Technothriller: {
301
+ name: "Technothriller",
302
+ parents: ["Suspense/Thriller"],
303
+ subgenres: [],
304
+ },
305
+ "Urban Fantasy": {
306
+ name: "Urban Fantasy",
307
+ parents: ["Fantasy"],
308
+ subgenres: [],
309
+ },
310
+ "Urban Fiction": {
311
+ name: "Urban Fiction",
312
+ parents: [],
313
+ subgenres: [],
314
+ },
315
+ Vampires: {
316
+ name: "Vampires",
317
+ parents: ["Horror"],
318
+ subgenres: [],
319
+ },
320
+ Werewolves: {
321
+ name: "Werewolves",
322
+ parents: ["Horror"],
323
+ subgenres: [],
324
+ },
325
+ "Western Romance": {
326
+ name: "Western Romance",
327
+ parents: ["Romance"],
328
+ subgenres: [],
329
+ },
330
+ Westerns: {
331
+ name: "Westerns",
332
+ parents: [],
333
+ subgenres: [],
334
+ },
335
+ "Women Detectives": {
336
+ name: "Women Detectives",
337
+ parents: ["Mystery"],
338
+ subgenres: [],
339
+ },
340
+ "Women's Fiction": {
341
+ name: "Women's Fiction",
342
+ parents: [],
343
+ subgenres: [],
344
+ },
345
+ },
346
+ Nonfiction: {
347
+ "African History": {
348
+ name: "African History",
349
+ parents: ["History"],
350
+ subgenres: [],
351
+ },
352
+ "Ancient History": {
353
+ name: "Ancient History",
354
+ parents: ["History"],
355
+ subgenres: [],
356
+ },
357
+ "Antiques & Collectibles": {
358
+ name: "Antiques & Collectibles",
359
+ parents: ["Hobbies & Home"],
360
+ subgenres: [],
361
+ },
362
+ Architecture: {
363
+ name: "Architecture",
364
+ parents: ["Art & Design"],
365
+ subgenres: [],
366
+ },
367
+ Art: {
368
+ name: "Art",
369
+ parents: ["Art & Design"],
370
+ subgenres: [],
371
+ },
372
+ "Art & Design": {
373
+ name: "Art & Design",
374
+ parents: [],
375
+ subgenres: [
376
+ "Architecture",
377
+ "Art",
378
+ "Art Criticism & Theory",
379
+ "Art History",
380
+ "Design",
381
+ "Fashion",
382
+ "Photography",
383
+ ],
384
+ },
385
+ "Art Criticism & Theory": {
386
+ name: "Art Criticism & Theory",
387
+ parents: ["Art & Design"],
388
+ subgenres: [],
389
+ },
390
+ "Art History": {
391
+ name: "Art History",
392
+ parents: ["Art & Design"],
393
+ subgenres: [],
394
+ },
395
+ "Asian History": {
396
+ name: "Asian History",
397
+ parents: ["History"],
398
+ subgenres: [],
399
+ },
400
+ "Bartending & Cocktails": {
401
+ name: "Bartending & Cocktails",
402
+ parents: ["Food & Health"],
403
+ subgenres: [],
404
+ },
405
+ "Biography & Memoir": {
406
+ name: "Biography & Memoir",
407
+ parents: [],
408
+ subgenres: [],
409
+ },
410
+ "Body, Mind & Spirit": {
411
+ name: "Body, Mind & Spirit",
412
+ parents: ["Religion & Spirituality"],
413
+ subgenres: [],
414
+ },
415
+ Buddhism: {
416
+ name: "Buddhism",
417
+ parents: ["Religion & Spirituality"],
418
+ subgenres: [],
419
+ },
420
+ Business: {
421
+ name: "Business",
422
+ parents: ["Personal Finance & Business"],
423
+ subgenres: [],
424
+ },
425
+ Christianity: {
426
+ name: "Christianity",
427
+ parents: ["Religion & Spirituality"],
428
+ subgenres: [],
429
+ },
430
+ "Civil War History": {
431
+ name: "Civil War History",
432
+ parents: ["History"],
433
+ subgenres: [],
434
+ },
435
+ Computers: {
436
+ name: "Computers",
437
+ parents: ["Science & Technology"],
438
+ subgenres: [],
439
+ },
440
+ Cooking: {
441
+ name: "Cooking",
442
+ parents: ["Food & Health"],
443
+ subgenres: [],
444
+ },
445
+ "Crafts & Hobbies": {
446
+ name: "Crafts & Hobbies",
447
+ parents: ["Hobbies & Home"],
448
+ subgenres: [],
449
+ },
450
+ Design: {
451
+ name: "Design",
452
+ parents: ["Art & Design"],
453
+ subgenres: [],
454
+ },
455
+ Dictionaries: {
456
+ name: "Dictionaries",
457
+ parents: ["Reference & Study Aids"],
458
+ subgenres: [],
459
+ },
460
+ Economics: {
461
+ name: "Economics",
462
+ parents: ["Personal Finance & Business"],
463
+ subgenres: [],
464
+ },
465
+ Education: {
466
+ name: "Education",
467
+ parents: [],
468
+ subgenres: [],
469
+ },
470
+ Entertainment: {
471
+ name: "Entertainment",
472
+ parents: [],
473
+ subgenres: ["Film & TV", "Music", "Performing Arts"],
474
+ },
475
+ "European History": {
476
+ name: "European History",
477
+ parents: ["History"],
478
+ subgenres: [],
479
+ },
480
+ "Family & Relationships": {
481
+ name: "Family & Relationships",
482
+ parents: ["Parenting & Family"],
483
+ subgenres: [],
484
+ },
485
+ Fashion: {
486
+ name: "Fashion",
487
+ parents: ["Art & Design"],
488
+ subgenres: [],
489
+ },
490
+ "Film & TV": {
491
+ name: "Film & TV",
492
+ parents: ["Entertainment"],
493
+ subgenres: [],
494
+ },
495
+ "Food & Health": {
496
+ name: "Food & Health",
497
+ parents: [],
498
+ subgenres: [
499
+ "Bartending & Cocktails",
500
+ "Cooking",
501
+ "Health & Diet",
502
+ "Vegetarian & Vegan",
503
+ ],
504
+ },
505
+ "Foreign Language Study": {
506
+ name: "Foreign Language Study",
507
+ parents: ["Reference & Study Aids"],
508
+ subgenres: [],
509
+ },
510
+ Games: {
511
+ name: "Games",
512
+ parents: ["Hobbies & Home"],
513
+ subgenres: [],
514
+ },
515
+ Gardening: {
516
+ name: "Gardening",
517
+ parents: ["Hobbies & Home"],
518
+ subgenres: [],
519
+ },
520
+ "Health & Diet": {
521
+ name: "Health & Diet",
522
+ parents: ["Food & Health"],
523
+ subgenres: [],
524
+ },
525
+ Hinduism: {
526
+ name: "Hinduism",
527
+ parents: ["Religion & Spirituality"],
528
+ subgenres: [],
529
+ },
530
+ History: {
531
+ name: "History",
532
+ parents: [],
533
+ subgenres: [
534
+ "African History",
535
+ "Ancient History",
536
+ "Asian History",
537
+ "Civil War History",
538
+ "European History",
539
+ "Latin American History",
540
+ "Medieval History",
541
+ "Middle East History",
542
+ "Military History",
543
+ "Modern History",
544
+ "Renaissance & Early Modern History",
545
+ "United States History",
546
+ "World History",
547
+ ],
548
+ },
549
+ "Hobbies & Home": {
550
+ name: "Hobbies & Home",
551
+ parents: [],
552
+ subgenres: [
553
+ "Antiques & Collectibles",
554
+ "Crafts & Hobbies",
555
+ "Gardening",
556
+ "Games",
557
+ "House & Home",
558
+ "Pets",
559
+ ],
560
+ },
561
+ "House & Home": {
562
+ name: "House & Home",
563
+ parents: ["Hobbies & Home"],
564
+ subgenres: [],
565
+ },
566
+ "Humorous Nonfiction": {
567
+ name: "Humorous Nonfiction",
568
+ parents: [],
569
+ subgenres: [],
570
+ },
571
+ Islam: {
572
+ name: "Islam",
573
+ parents: ["Religion & Spirituality"],
574
+ subgenres: [],
575
+ },
576
+ Judaism: {
577
+ name: "Judaism",
578
+ parents: ["Religion & Spirituality"],
579
+ subgenres: [],
580
+ },
581
+ "Latin American History": {
582
+ name: "Latin American History",
583
+ parents: ["History"],
584
+ subgenres: [],
585
+ },
586
+ Law: {
587
+ name: "Law",
588
+ parents: ["Reference & Study Aids"],
589
+ subgenres: [],
590
+ },
591
+ "Life Strategies": {
592
+ name: "Life Strategies",
593
+ parents: [],
594
+ subgenres: [],
595
+ },
596
+ "Literary Criticism": {
597
+ name: "Literary Criticism",
598
+ parents: [],
599
+ subgenres: [],
600
+ },
601
+ "Management & Leadership": {
602
+ name: "Management & Leadership",
603
+ parents: ["Personal Finance & Business"],
604
+ subgenres: [],
605
+ },
606
+ Mathematics: {
607
+ name: "Mathematics",
608
+ parents: ["Science & Technology"],
609
+ subgenres: [],
610
+ },
611
+ Medical: {
612
+ name: "Medical",
613
+ parents: ["Science & Technology"],
614
+ subgenres: [],
615
+ },
616
+ "Medieval History": {
617
+ name: "Medieval History",
618
+ parents: ["History"],
619
+ subgenres: [],
620
+ },
621
+ "Middle East History": {
622
+ name: "Middle East History",
623
+ parents: ["History"],
624
+ subgenres: [],
625
+ },
626
+ "Military History": {
627
+ name: "Military History",
628
+ parents: ["History"],
629
+ subgenres: [],
630
+ },
631
+ "Modern History": {
632
+ name: "Modern History",
633
+ parents: ["History"],
634
+ subgenres: [],
635
+ },
636
+ Music: {
637
+ name: "Music",
638
+ parents: ["Entertainment"],
639
+ subgenres: [],
640
+ },
641
+ Nature: {
642
+ name: "Nature",
643
+ parents: ["Science & Technology"],
644
+ subgenres: [],
645
+ },
646
+ Parenting: {
647
+ name: "Parenting",
648
+ parents: ["Parenting & Family"],
649
+ subgenres: [],
650
+ },
651
+ "Parenting & Family": {
652
+ name: "Parenting & Family",
653
+ parents: [],
654
+ subgenres: ["Family & Relationships", "Parenting"],
655
+ },
656
+ "Performing Arts": {
657
+ name: "Performing Arts",
658
+ parents: ["Entertainment"],
659
+ subgenres: [],
660
+ },
661
+ Periodicals: {
662
+ name: "Periodicals",
663
+ parents: [],
664
+ subgenres: [],
665
+ },
666
+ "Personal Finance & Business": {
667
+ name: "Personal Finance & Business",
668
+ parents: [],
669
+ subgenres: [
670
+ "Business",
671
+ "Economics",
672
+ "Management & Leadership",
673
+ "Personal Finance & Investing",
674
+ "Real Estate",
675
+ ],
676
+ },
677
+ "Personal Finance & Investing": {
678
+ name: "Personal Finance & Investing",
679
+ parents: ["Personal Finance & Business"],
680
+ subgenres: [],
681
+ },
682
+ Pets: {
683
+ name: "Pets",
684
+ parents: ["Hobbies & Home"],
685
+ subgenres: [],
686
+ },
687
+ Philosophy: {
688
+ name: "Philosophy",
689
+ parents: [],
690
+ subgenres: [],
691
+ },
692
+ Photography: {
693
+ name: "Photography",
694
+ parents: ["Art & Design"],
695
+ subgenres: [],
696
+ },
697
+ "Political Science": {
698
+ name: "Political Science",
699
+ parents: [],
700
+ subgenres: [],
701
+ },
702
+ Psychology: {
703
+ name: "Psychology",
704
+ parents: ["Science & Technology"],
705
+ subgenres: [],
706
+ },
707
+ "Real Estate": {
708
+ name: "Real Estate",
709
+ parents: ["Personal Finance & Business"],
710
+ subgenres: [],
711
+ },
712
+ "Reference & Study Aids": {
713
+ name: "Reference & Study Aids",
714
+ parents: [],
715
+ subgenres: [
716
+ "Dictionaries",
717
+ "Foreign Language Study",
718
+ "Law",
719
+ "Study Aids",
720
+ ],
721
+ },
722
+ "Religion & Spirituality": {
723
+ name: "Religion & Spirituality",
724
+ parents: [],
725
+ subgenres: [
726
+ "Body, Mind & Spirit",
727
+ "Buddhism",
728
+ "Christianity",
729
+ "Hinduism",
730
+ "Islam",
731
+ "Judaism",
732
+ ],
733
+ },
734
+ "Renaissance & Early Modern History": {
735
+ name: "Renaissance & Early Modern History",
736
+ parents: ["History"],
737
+ subgenres: [],
738
+ },
739
+ Science: {
740
+ name: "Science",
741
+ parents: ["Science & Technology"],
742
+ subgenres: [],
743
+ },
744
+ "Science & Technology": {
745
+ name: "Science & Technology",
746
+ parents: [],
747
+ subgenres: [
748
+ "Computers",
749
+ "Mathematics",
750
+ "Medical",
751
+ "Nature",
752
+ "Psychology",
753
+ "Science",
754
+ "Social Sciences",
755
+ "Technology",
756
+ ],
757
+ },
758
+ "Self-Help": {
759
+ name: "Self-Help",
760
+ parents: [],
761
+ subgenres: [],
762
+ },
763
+ "Social Sciences": {
764
+ name: "Social Sciences",
765
+ parents: ["Science & Technology"],
766
+ subgenres: [],
767
+ },
768
+ Sports: {
769
+ name: "Sports",
770
+ parents: [],
771
+ subgenres: [],
772
+ },
773
+ "Study Aids": {
774
+ name: "Study Aids",
775
+ parents: ["Reference & Study Aids"],
776
+ subgenres: [],
777
+ },
778
+ Technology: {
779
+ name: "Technology",
780
+ parents: ["Science & Technology"],
781
+ subgenres: [],
782
+ },
783
+ Travel: {
784
+ name: "Travel",
785
+ parents: [],
786
+ subgenres: [],
787
+ },
788
+ "True Crime": {
789
+ name: "True Crime",
790
+ parents: [],
791
+ subgenres: [],
792
+ },
793
+ "United States History": {
794
+ name: "United States History",
795
+ parents: ["History"],
796
+ subgenres: [],
797
+ },
798
+ "Vegetarian & Vegan": {
799
+ name: "Vegetarian & Vegan",
800
+ parents: ["Food & Health"],
801
+ subgenres: [],
802
+ },
803
+ "World History": {
804
+ name: "World History",
805
+ parents: ["History"],
806
+ subgenres: [],
807
+ },
808
+ },
809
+ };
810
+
811
+ export default genres;