@appsemble/utils 0.24.8 → 0.24.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.
package/README.md CHANGED
@@ -1,9 +1,9 @@
1
- # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.24.8/config/assets/logo.svg) Appsemble Utilities
1
+ # ![](https://gitlab.com/appsemble/appsemble/-/raw/0.24.10/config/assets/logo.svg) Appsemble Utilities
2
2
 
3
3
  > Internal utility functions used across multiple Appsemble projects.
4
4
 
5
5
  [![npm](https://img.shields.io/npm/v/@appsemble/utils)](https://www.npmjs.com/package/@appsemble/utils)
6
- [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.24.8/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.8)
6
+ [![GitLab CI](https://gitlab.com/appsemble/appsemble/badges/0.24.10/pipeline.svg)](https://gitlab.com/appsemble/appsemble/-/releases/0.24.10)
7
7
  [![Prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://prettier.io)
8
8
 
9
9
  ## Table of Contents
@@ -26,5 +26,5 @@ not guaranteed.
26
26
 
27
27
  ## License
28
28
 
29
- [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.24.8/LICENSE.md) ©
29
+ [LGPL-3.0-only](https://gitlab.com/appsemble/appsemble/-/blob/0.24.10/LICENSE.md) ©
30
30
  [Appsemble](https://appsemble.com)
@@ -17,6 +17,7 @@ const referenceActionTrigger = {
17
17
  type: 'object',
18
18
  additionalProperties: false,
19
19
  description: 'Defines the type of trigger and the cascading strategy for it',
20
+ required: ['type'],
20
21
  properties: {
21
22
  type: {
22
23
  enum: ['create', 'update', 'delete'],
package/api/paths/apps.js CHANGED
@@ -587,13 +587,13 @@ export const paths = {
587
587
  security: [{ studio: [] }, { app: ['openid'] }],
588
588
  },
589
589
  },
590
- '/api/apps/{appId}/members/{memberId}': {
590
+ '/api/apps/{appId}/members/{userId}': {
591
591
  parameters: [
592
592
  { $ref: '#/components/parameters/appId' },
593
593
  {
594
- name: 'memberId',
594
+ name: 'userId',
595
595
  in: 'path',
596
- description: 'The ID of the member on which to perform an operation',
596
+ description: 'The user ID of the member on which to perform an operation',
597
597
  required: true,
598
598
  schema: { $ref: '#/components/schemas/User/properties/id' },
599
599
  },
@@ -5,21 +5,31 @@
5
5
  */
6
6
  export const googleFonts = [
7
7
  'ABeeZee',
8
+ 'ADLaM Display',
9
+ 'AR One Sans',
8
10
  'Abel',
9
11
  'Abhaya Libre',
12
+ 'Aboreto',
10
13
  'Abril Fatface',
14
+ 'Abyssinica SIL',
11
15
  'Aclonica',
12
16
  'Acme',
13
17
  'Actor',
14
18
  'Adamina',
15
19
  'Advent Pro',
20
+ 'Afacad',
21
+ 'Agbalumo',
22
+ 'Agdasima',
16
23
  'Aguafina Script',
24
+ 'Akatab',
17
25
  'Akaya Kanadaka',
18
26
  'Akaya Telivigala',
19
27
  'Akronim',
28
+ 'Akshar',
20
29
  'Aladin',
21
30
  'Alata',
22
31
  'Alatsi',
32
+ 'Albert Sans',
23
33
  'Aldrich',
24
34
  'Alef',
25
35
  'Alegreya',
@@ -28,10 +38,13 @@ export const googleFonts = [
28
38
  'Alegreya Sans SC',
29
39
  'Aleo',
30
40
  'Alex Brush',
41
+ 'Alexandria',
31
42
  'Alfa Slab One',
32
43
  'Alice',
33
44
  'Alike',
34
45
  'Alike Angular',
46
+ 'Alkalami',
47
+ 'Alkatra',
35
48
  'Allan',
36
49
  'Allerta',
37
50
  'Allerta Stencil',
@@ -42,17 +55,30 @@ export const googleFonts = [
42
55
  'Almendra Display',
43
56
  'Almendra SC',
44
57
  'Alumni Sans',
58
+ 'Alumni Sans Collegiate One',
59
+ 'Alumni Sans Inline One',
60
+ 'Alumni Sans Pinstripe',
45
61
  'Amarante',
46
62
  'Amaranth',
47
63
  'Amatic SC',
48
64
  'Amethysta',
49
65
  'Amiko',
50
66
  'Amiri',
67
+ 'Amiri Quran',
51
68
  'Amita',
52
69
  'Anaheim',
53
70
  'Andada Pro',
54
71
  'Andika',
55
- 'Andika New Basic',
72
+ 'Anek Bangla',
73
+ 'Anek Devanagari',
74
+ 'Anek Gujarati',
75
+ 'Anek Gurmukhi',
76
+ 'Anek Kannada',
77
+ 'Anek Latin',
78
+ 'Anek Malayalam',
79
+ 'Anek Odia',
80
+ 'Anek Tamil',
81
+ 'Anek Telugu',
56
82
  'Angkor',
57
83
  'Annie Use Your Telescope',
58
84
  'Anonymous Pro',
@@ -61,6 +87,9 @@ export const googleFonts = [
61
87
  'Antic Slab',
62
88
  'Anton',
63
89
  'Antonio',
90
+ 'Anuphan',
91
+ 'Anybody',
92
+ 'Aoboshi One',
64
93
  'Arapey',
65
94
  'Arbutus',
66
95
  'Arbutus Slab',
@@ -70,7 +99,8 @@ export const googleFonts = [
70
99
  'Archivo Narrow',
71
100
  'Are You Serious',
72
101
  'Aref Ruqaa',
73
- 'Arima Madurai',
102
+ 'Aref Ruqaa Ink',
103
+ 'Arima',
74
104
  'Arimo',
75
105
  'Arizonia',
76
106
  'Armata',
@@ -101,13 +131,22 @@ export const googleFonts = [
101
131
  'Azeret Mono',
102
132
  'B612',
103
133
  'B612 Mono',
134
+ 'BIZ UDGothic',
135
+ 'BIZ UDMincho',
136
+ 'BIZ UDPGothic',
137
+ 'BIZ UDPMincho',
138
+ 'Babylonica',
139
+ 'Bacasime Antique',
104
140
  'Bad Script',
141
+ 'Bagel Fat One',
105
142
  'Bahiana',
106
143
  'Bahianita',
107
144
  'Bai Jamjuree',
145
+ 'Bakbak One',
108
146
  'Ballet',
109
147
  'Baloo 2',
110
148
  'Baloo Bhai 2',
149
+ 'Baloo Bhaijaan 2',
111
150
  'Baloo Bhaina 2',
112
151
  'Baloo Chettan 2',
113
152
  'Baloo Da 2',
@@ -128,9 +167,10 @@ export const googleFonts = [
128
167
  'Battambang',
129
168
  'Baumans',
130
169
  'Bayon',
131
- 'Be Vietnam',
132
170
  'Be Vietnam Pro',
171
+ 'Beau Rivage',
133
172
  'Bebas Neue',
173
+ 'Belanosima',
134
174
  'Belgrano',
135
175
  'Bellefair',
136
176
  'Belleza',
@@ -143,6 +183,7 @@ export const googleFonts = [
143
183
  'Besley',
144
184
  'Beth Ellen',
145
185
  'Bevan',
186
+ 'BhuTuka Expanded One',
146
187
  'Big Shoulders Display',
147
188
  'Big Shoulders Inline Display',
148
189
  'Big Shoulders Inline Text',
@@ -162,6 +203,9 @@ export const googleFonts = [
162
203
  'Black And White Picture',
163
204
  'Black Han Sans',
164
205
  'Black Ops One',
206
+ 'Blaka',
207
+ 'Blaka Hollow',
208
+ 'Blaka Ink',
165
209
  'Blinker',
166
210
  'Bodoni Moda',
167
211
  'Bokor',
@@ -169,10 +213,15 @@ export const googleFonts = [
169
213
  'Bonbon',
170
214
  'Bonheur Royale',
171
215
  'Boogaloo',
216
+ 'Borel',
172
217
  'Bowlby One',
173
218
  'Bowlby One SC',
219
+ 'Braah One',
174
220
  'Brawler',
175
221
  'Bree Serif',
222
+ 'Bricolage Grotesque',
223
+ 'Bruno Ace',
224
+ 'Bruno Ace SC',
176
225
  'Brygada 1918',
177
226
  'Bubblegum Sans',
178
227
  'Bubbler One',
@@ -183,6 +232,7 @@ export const googleFonts = [
183
232
  'Bungee Inline',
184
233
  'Bungee Outline',
185
234
  'Bungee Shade',
235
+ 'Bungee Spice',
186
236
  'Butcherman',
187
237
  'Butterfly Kids',
188
238
  'Cabin',
@@ -191,6 +241,7 @@ export const googleFonts = [
191
241
  'Caesar Dressing',
192
242
  'Cagliostro',
193
243
  'Cairo',
244
+ 'Cairo Play',
194
245
  'Caladea',
195
246
  'Calistoga',
196
247
  'Calligraffitti',
@@ -200,15 +251,18 @@ export const googleFonts = [
200
251
  'Cantarell',
201
252
  'Cantata One',
202
253
  'Cantora One',
254
+ 'Caprasimo',
203
255
  'Capriola',
204
256
  'Caramel',
205
257
  'Carattere',
206
258
  'Cardo',
259
+ 'Carlito',
207
260
  'Carme',
208
261
  'Carrois Gothic',
209
262
  'Carrois Gothic SC',
210
263
  'Carter One',
211
264
  'Castoro',
265
+ 'Castoro Titling',
212
266
  'Catamaran',
213
267
  'Caudex',
214
268
  'Caveat',
@@ -219,6 +273,7 @@ export const googleFonts = [
219
273
  'Changa',
220
274
  'Changa One',
221
275
  'Chango',
276
+ 'Charis SIL',
222
277
  'Charm',
223
278
  'Charmonman',
224
279
  'Chathura',
@@ -227,24 +282,30 @@ export const googleFonts = [
227
282
  'Chelsea Market',
228
283
  'Chenla',
229
284
  'Cherish',
285
+ 'Cherry Bomb One',
230
286
  'Cherry Cream Soda',
231
287
  'Cherry Swash',
232
288
  'Chewy',
233
289
  'Chicle',
234
290
  'Chilanka',
235
291
  'Chivo',
292
+ 'Chivo Mono',
293
+ 'Chokokutai',
236
294
  'Chonburi',
237
295
  'Cinzel',
238
296
  'Cinzel Decorative',
239
297
  'Clicker Script',
298
+ 'Climate Crisis',
240
299
  'Coda',
241
- 'Coda Caption',
242
300
  'Codystar',
243
301
  'Coiny',
244
302
  'Combo',
245
303
  'Comfortaa',
304
+ 'Comforter',
305
+ 'Comforter Brush',
246
306
  'Comic Neue',
247
307
  'Coming Soon',
308
+ 'Comme',
248
309
  'Commissioner',
249
310
  'Concert One',
250
311
  'Condiment',
@@ -254,6 +315,7 @@ export const googleFonts = [
254
315
  'Cookie',
255
316
  'Copse',
256
317
  'Corben',
318
+ 'Corinthia',
257
319
  'Cormorant',
258
320
  'Cormorant Garamond',
259
321
  'Cormorant Infant',
@@ -280,15 +342,18 @@ export const googleFonts = [
280
342
  'DM Sans',
281
343
  'DM Serif Display',
282
344
  'DM Serif Text',
345
+ 'Dai Banna SIL',
283
346
  'Damion',
284
347
  'Dancing Script',
285
348
  'Dangrek',
286
349
  'Darker Grotesque',
350
+ 'Darumadrop One',
287
351
  'David Libre',
288
352
  'Dawning of a New Day',
289
353
  'Days One',
290
354
  'Dekko',
291
355
  'Dela Gothic One',
356
+ 'Delicious Handrawn',
292
357
  'Delius',
293
358
  'Delius Swash Caps',
294
359
  'Delius Unicase',
@@ -297,18 +362,21 @@ export const googleFonts = [
297
362
  'Devonshire',
298
363
  'Dhurjati',
299
364
  'Didact Gothic',
365
+ 'Diphylleia',
300
366
  'Diplomata',
301
367
  'Diplomata SC',
302
368
  'Do Hyeon',
303
369
  'Dokdo',
304
370
  'Domine',
305
371
  'Donegal One',
372
+ 'Dongle',
306
373
  'Doppio One',
307
374
  'Dorsa',
308
375
  'Dosis',
309
376
  'DotGothic16',
310
377
  'Dr Sugiyama',
311
378
  'Duru Sans',
379
+ 'DynaPuff',
312
380
  'Dynalight',
313
381
  'EB Garamond',
314
382
  'Eagle Lake',
@@ -316,6 +384,11 @@ export const googleFonts = [
316
384
  'Eater',
317
385
  'Economica',
318
386
  'Eczar',
387
+ 'Edu NSW ACT Foundation',
388
+ 'Edu QLD Beginner',
389
+ 'Edu SA Beginner',
390
+ 'Edu TAS Beginner',
391
+ 'Edu VIC WA NT Beginner',
319
392
  'El Messiri',
320
393
  'Electrolize',
321
394
  'Elsie',
@@ -335,6 +408,7 @@ export const googleFonts = [
335
408
  'Epilogue',
336
409
  'Erica One',
337
410
  'Esteban',
411
+ 'Estonia',
338
412
  'Euphoria Script',
339
413
  'Ewert',
340
414
  'Exo',
@@ -342,6 +416,7 @@ export const googleFonts = [
342
416
  'Expletus Sans',
343
417
  'Explora',
344
418
  'Fahkwang',
419
+ 'Familjen Grotesk',
345
420
  'Fanwood Text',
346
421
  'Farro',
347
422
  'Farsan',
@@ -356,7 +431,9 @@ export const googleFonts = [
356
431
  'Felipa',
357
432
  'Fenix',
358
433
  'Festive',
434
+ 'Figtree',
359
435
  'Finger Paint',
436
+ 'Finlandica',
360
437
  'Fira Code',
361
438
  'Fira Mono',
362
439
  'Fira Sans',
@@ -367,36 +444,48 @@ export const googleFonts = [
367
444
  'Flamenco',
368
445
  'Flavors',
369
446
  'Fleur De Leah',
447
+ 'Flow Block',
448
+ 'Flow Circular',
449
+ 'Flow Rounded',
450
+ 'Foldit',
370
451
  'Fondamento',
371
452
  'Fontdiner Swanky',
372
453
  'Forum',
454
+ 'Fragment Mono',
373
455
  'Francois One',
374
456
  'Frank Ruhl Libre',
375
457
  'Fraunces',
376
458
  'Freckle Face',
377
459
  'Fredericka the Great',
378
- 'Fredoka One',
460
+ 'Fredoka',
379
461
  'Freehand',
380
462
  'Fresca',
381
463
  'Frijole',
382
464
  'Fruktur',
383
465
  'Fugaz One',
384
466
  'Fuggles',
467
+ 'Fuzzy Bubbles',
385
468
  'GFS Didot',
386
469
  'GFS Neohellenic',
470
+ 'Gabarito',
387
471
  'Gabriela',
388
472
  'Gaegu',
389
473
  'Gafata',
474
+ 'Gajraj One',
390
475
  'Galada',
391
476
  'Galdeano',
392
477
  'Galindo',
393
478
  'Gamja Flower',
479
+ 'Gantari',
480
+ 'Gasoek One',
394
481
  'Gayathri',
395
482
  'Gelasio',
396
483
  'Gemunu Libre',
397
- 'Gentium Basic',
398
- 'Gentium Book Basic',
484
+ 'Genos',
485
+ 'Gentium Book Plus',
486
+ 'Gentium Plus',
399
487
  'Geo',
488
+ 'Geologica',
400
489
  'Georama',
401
490
  'Geostar',
402
491
  'Geostar Fill',
@@ -408,12 +497,14 @@ export const googleFonts = [
408
497
  'Give You Glory',
409
498
  'Glass Antiqua',
410
499
  'Glegoo',
500
+ 'Gloock',
411
501
  'Gloria Hallelujah',
412
502
  'Glory',
413
503
  'Gluten',
414
504
  'Goblin One',
415
505
  'Gochi Hand',
416
506
  'Goldman',
507
+ 'Golos Text',
417
508
  'Gorditas',
418
509
  'Gothic A1',
419
510
  'Gotu',
@@ -422,7 +513,9 @@ export const googleFonts = [
422
513
  'Gowun Dodum',
423
514
  'Graduate',
424
515
  'Grand Hotel',
516
+ 'Grandiflora One',
425
517
  'Grandstander',
518
+ 'Grape Nuts',
426
519
  'Gravitas One',
427
520
  'Great Vibes',
428
521
  'Grechen Fuemen',
@@ -433,8 +526,10 @@ export const googleFonts = [
433
526
  'Gruppo',
434
527
  'Gudea',
435
528
  'Gugi',
529
+ 'Gulzar',
436
530
  'Gupter',
437
531
  'Gurajada',
532
+ 'Gwendolyn',
438
533
  'Habibi',
439
534
  'Hachi Maru Pop',
440
535
  'Hahmlet',
@@ -442,11 +537,15 @@ export const googleFonts = [
442
537
  'Hammersmith One',
443
538
  'Hanalei',
444
539
  'Hanalei Fill',
540
+ 'Handjet',
445
541
  'Handlee',
542
+ 'Hanken Grotesk',
446
543
  'Hanuman',
447
544
  'Happy Monkey',
448
545
  'Harmattan',
449
546
  'Headland One',
547
+ 'Hedvig Letters Sans',
548
+ 'Hedvig Letters Serif',
450
549
  'Heebo',
451
550
  'Henny Penny',
452
551
  'Hepta Slab',
@@ -461,12 +560,16 @@ export const googleFonts = [
461
560
  'Holtwood One SC',
462
561
  'Homemade Apple',
463
562
  'Homenaje',
563
+ 'Honk',
564
+ 'Hubballi',
565
+ 'Hurricane',
464
566
  'IBM Plex Mono',
465
567
  'IBM Plex Sans',
466
568
  'IBM Plex Sans Arabic',
467
569
  'IBM Plex Sans Condensed',
468
570
  'IBM Plex Sans Devanagari',
469
571
  'IBM Plex Sans Hebrew',
572
+ 'IBM Plex Sans JP',
470
573
  'IBM Plex Sans KR',
471
574
  'IBM Plex Sans Thai',
472
575
  'IBM Plex Sans Thai Looped',
@@ -485,16 +588,24 @@ export const googleFonts = [
485
588
  'Iceberg',
486
589
  'Iceland',
487
590
  'Imbue',
591
+ 'Imperial Script',
488
592
  'Imprima',
593
+ 'Inclusive Sans',
489
594
  'Inconsolata',
490
595
  'Inder',
491
596
  'Indie Flower',
597
+ 'Ingrid Darling',
492
598
  'Inika',
493
599
  'Inknut Antiqua',
494
600
  'Inria Sans',
495
601
  'Inria Serif',
602
+ 'Inspiration',
603
+ 'Instrument Sans',
604
+ 'Instrument Serif',
496
605
  'Inter',
606
+ 'Inter Tight',
497
607
  'Irish Grover',
608
+ 'Island Moments',
498
609
  'Istok Web',
499
610
  'Italiana',
500
611
  'Italianno',
@@ -504,6 +615,7 @@ export const googleFonts = [
504
615
  'Jaldi',
505
616
  'JetBrains Mono',
506
617
  'Jim Nightshade',
618
+ 'Joan',
507
619
  'Jockey One',
508
620
  'Jolly Lodger',
509
621
  'Jomhuria',
@@ -521,15 +633,17 @@ export const googleFonts = [
521
633
  'Just Another Hand',
522
634
  'Just Me Again Down Here',
523
635
  'K2D',
636
+ 'Kablammo',
524
637
  'Kadwa',
525
638
  'Kaisei Decol',
526
639
  'Kaisei HarunoUmi',
527
640
  'Kaisei Opti',
528
641
  'Kaisei Tokumin',
529
642
  'Kalam',
643
+ 'Kalnia',
530
644
  'Kameron',
531
645
  'Kanit',
532
- 'Kantumruy',
646
+ 'Kantumruy Pro',
533
647
  'Karantina',
534
648
  'Karla',
535
649
  'Karma',
@@ -537,13 +651,15 @@ export const googleFonts = [
537
651
  'Kaushan Script',
538
652
  'Kavivanar',
539
653
  'Kavoon',
540
- 'Kdam Thmor',
654
+ 'Kay Pho Du',
655
+ 'Kdam Thmor Pro',
541
656
  'Keania One',
542
657
  'Kelly Slab',
543
658
  'Kenia',
544
659
  'Khand',
545
660
  'Khmer',
546
661
  'Khula',
662
+ 'Kings',
547
663
  'Kirang Haerang',
548
664
  'Kite One',
549
665
  'Kiwi Maru',
@@ -552,6 +668,8 @@ export const googleFonts = [
552
668
  'KoHo',
553
669
  'Kodchasan',
554
670
  'Koh Santepheap',
671
+ 'Kolker Brush',
672
+ 'Konkhmer Sleokchher',
555
673
  'Kosugi',
556
674
  'Kosugi Maru',
557
675
  'Kotta One',
@@ -568,6 +686,7 @@ export const googleFonts = [
568
686
  'Kumbh Sans',
569
687
  'Kurale',
570
688
  'La Belle Aurore',
689
+ 'Labrada',
571
690
  'Lacquer',
572
691
  'Laila',
573
692
  'Lakki Reddy',
@@ -576,7 +695,10 @@ export const googleFonts = [
576
695
  'Langar',
577
696
  'Lateef',
578
697
  'Lato',
698
+ 'Lavishly Yours',
699
+ 'League Gothic',
579
700
  'League Script',
701
+ 'League Spartan',
580
702
  'Leckerli One',
581
703
  'Ledger',
582
704
  'Lekton',
@@ -598,14 +720,18 @@ export const googleFonts = [
598
720
  'Libre Barcode 39 Text',
599
721
  'Libre Barcode EAN13 Text',
600
722
  'Libre Baskerville',
723
+ 'Libre Bodoni',
601
724
  'Libre Caslon Display',
602
725
  'Libre Caslon Text',
603
726
  'Libre Franklin',
727
+ 'Licorice',
604
728
  'Life Savers',
605
729
  'Lilita One',
606
730
  'Lily Script One',
607
731
  'Limelight',
608
732
  'Linden Hill',
733
+ 'Linefont',
734
+ 'Lisu Bosa',
609
735
  'Literata',
610
736
  'Liu Jian Mao Cao',
611
737
  'Livvic',
@@ -617,13 +743,23 @@ export const googleFonts = [
617
743
  'Londrina Solid',
618
744
  'Long Cang',
619
745
  'Lora',
746
+ 'Love Light',
620
747
  'Love Ya Like A Sister',
621
748
  'Loved by the King',
622
749
  'Lovers Quarrel',
623
750
  'Luckiest Guy',
751
+ 'Lugrasimo',
752
+ 'Lumanosimo',
753
+ 'Lunasima',
624
754
  'Lusitana',
625
755
  'Lustria',
756
+ 'Luxurious Roman',
757
+ 'Luxurious Script',
758
+ 'M PLUS 1',
759
+ 'M PLUS 1 Code',
626
760
  'M PLUS 1p',
761
+ 'M PLUS 2',
762
+ 'M PLUS Code Latin',
627
763
  'M PLUS Rounded 1c',
628
764
  'Ma Shan Zheng',
629
765
  'Macondo',
@@ -645,24 +781,35 @@ export const googleFonts = [
645
781
  'Marcellus SC',
646
782
  'Marck Script',
647
783
  'Margarine',
784
+ 'Marhey',
648
785
  'Markazi Text',
649
786
  'Marko One',
650
787
  'Marmelad',
651
788
  'Martel',
652
789
  'Martel Sans',
790
+ 'Martian Mono',
653
791
  'Marvel',
654
792
  'Mate',
655
793
  'Mate SC',
794
+ 'Material Icons',
795
+ 'Material Icons Outlined',
796
+ 'Material Icons Round',
797
+ 'Material Icons Sharp',
798
+ 'Material Icons Two Tone',
799
+ 'Material Symbols Outlined',
800
+ 'Material Symbols Rounded',
801
+ 'Material Symbols Sharp',
656
802
  'Maven Pro',
657
803
  'McLaren',
804
+ 'Mea Culpa',
658
805
  'Meddon',
659
806
  'MedievalSharp',
660
807
  'Medula One',
661
808
  'Meera Inimai',
662
809
  'Megrim',
663
810
  'Meie Script',
811
+ 'Meow Script',
664
812
  'Merienda',
665
- 'Merienda One',
666
813
  'Merriweather',
667
814
  'Merriweather Sans',
668
815
  'Metal',
@@ -674,26 +821,36 @@ export const googleFonts = [
674
821
  'Miltonian',
675
822
  'Miltonian Tattoo',
676
823
  'Mina',
824
+ 'Mingzat',
677
825
  'Miniver',
678
826
  'Miriam Libre',
679
827
  'Mirza',
680
828
  'Miss Fajardose',
681
829
  'Mitr',
830
+ 'Mochiy Pop One',
831
+ 'Mochiy Pop P One',
682
832
  'Modak',
683
833
  'Modern Antiqua',
684
834
  'Mogra',
835
+ 'Mohave',
836
+ 'Moirai One',
685
837
  'Molengo',
686
838
  'Molle',
687
839
  'Monda',
688
840
  'Monofett',
841
+ 'Monomaniac One',
689
842
  'Monoton',
690
843
  'Monsieur La Doulaise',
691
844
  'Montaga',
845
+ 'Montagu Slab',
692
846
  'MonteCarlo',
693
847
  'Montez',
694
848
  'Montserrat',
695
849
  'Montserrat Alternates',
696
850
  'Montserrat Subrayada',
851
+ 'Moo Lah Lah',
852
+ 'Mooli',
853
+ 'Moon Dance',
697
854
  'Moul',
698
855
  'Moulpali',
699
856
  'Mountains of Christmas',
@@ -703,19 +860,26 @@ export const googleFonts = [
703
860
  'Mr De Haviland',
704
861
  'Mrs Saint Delafield',
705
862
  'Mrs Sheppards',
863
+ 'Ms Madi',
706
864
  'Mukta',
707
865
  'Mukta Mahee',
708
866
  'Mukta Malar',
709
867
  'Mukta Vaani',
710
868
  'Mulish',
869
+ 'Murecho',
711
870
  'MuseoModerno',
871
+ 'My Soul',
872
+ 'Mynerve',
712
873
  'Mystery Quest',
713
874
  'NTR',
875
+ 'Nabla',
714
876
  'Nanum Brush Script',
715
877
  'Nanum Gothic',
716
878
  'Nanum Gothic Coding',
717
879
  'Nanum Myeongjo',
718
880
  'Nanum Pen Script',
881
+ 'Narnoor',
882
+ 'Neonderthaw',
719
883
  'Nerko One',
720
884
  'Neucha',
721
885
  'Neuton',
@@ -733,6 +897,8 @@ export const googleFonts = [
733
897
  'Notable',
734
898
  'Nothing You Could Do',
735
899
  'Noticia Text',
900
+ 'Noto Color Emoji',
901
+ 'Noto Emoji',
736
902
  'Noto Kufi Arabic',
737
903
  'Noto Music',
738
904
  'Noto Naskh Arabic',
@@ -760,9 +926,11 @@ export const googleFonts = [
760
926
  'Noto Sans Chakma',
761
927
  'Noto Sans Cham',
762
928
  'Noto Sans Cherokee',
929
+ 'Noto Sans Chorasmian',
763
930
  'Noto Sans Coptic',
764
931
  'Noto Sans Cuneiform',
765
932
  'Noto Sans Cypriot',
933
+ 'Noto Sans Cypro Minoan',
766
934
  'Noto Sans Deseret',
767
935
  'Noto Sans Devanagari',
768
936
  'Noto Sans Display',
@@ -770,6 +938,7 @@ export const googleFonts = [
770
938
  'Noto Sans Egyptian Hieroglyphs',
771
939
  'Noto Sans Elbasan',
772
940
  'Noto Sans Elymaic',
941
+ 'Noto Sans Ethiopic',
773
942
  'Noto Sans Georgian',
774
943
  'Noto Sans Glagolitic',
775
944
  'Noto Sans Gothic',
@@ -791,12 +960,14 @@ export const googleFonts = [
791
960
  'Noto Sans KR',
792
961
  'Noto Sans Kaithi',
793
962
  'Noto Sans Kannada',
963
+ 'Noto Sans Kawi',
794
964
  'Noto Sans Kayah Li',
795
965
  'Noto Sans Kharoshthi',
796
966
  'Noto Sans Khmer',
797
967
  'Noto Sans Khojki',
798
968
  'Noto Sans Khudawadi',
799
969
  'Noto Sans Lao',
970
+ 'Noto Sans Lao Looped',
800
971
  'Noto Sans Lepcha',
801
972
  'Noto Sans Limbu',
802
973
  'Noto Sans Linear A',
@@ -813,6 +984,8 @@ export const googleFonts = [
813
984
  'Noto Sans Math',
814
985
  'Noto Sans Mayan Numerals',
815
986
  'Noto Sans Medefaidrin',
987
+ 'Noto Sans Meetei Mayek',
988
+ 'Noto Sans Mende Kikakui',
816
989
  'Noto Sans Meroitic',
817
990
  'Noto Sans Miao',
818
991
  'Noto Sans Modi',
@@ -821,8 +994,11 @@ export const googleFonts = [
821
994
  'Noto Sans Mro',
822
995
  'Noto Sans Multani',
823
996
  'Noto Sans Myanmar',
824
- 'Noto Sans N Ko',
997
+ 'Noto Sans NKo',
998
+ 'Noto Sans NKo Unjoined',
825
999
  'Noto Sans Nabataean',
1000
+ 'Noto Sans Nag Mundari',
1001
+ 'Noto Sans Nandinagari',
826
1002
  'Noto Sans New Tai Lue',
827
1003
  'Noto Sans Newa',
828
1004
  'Noto Sans Nushu',
@@ -853,6 +1029,7 @@ export const googleFonts = [
853
1029
  'Noto Sans Sharada',
854
1030
  'Noto Sans Shavian',
855
1031
  'Noto Sans Siddham',
1032
+ 'Noto Sans SignWriting',
856
1033
  'Noto Sans Sinhala',
857
1034
  'Noto Sans Sogdian',
858
1035
  'Noto Sans Sora Sompeng',
@@ -862,6 +1039,7 @@ export const googleFonts = [
862
1039
  'Noto Sans Symbols',
863
1040
  'Noto Sans Symbols 2',
864
1041
  'Noto Sans Syriac',
1042
+ 'Noto Sans Syriac Eastern',
865
1043
  'Noto Sans TC',
866
1044
  'Noto Sans Tagalog',
867
1045
  'Noto Sans Tagbanwa',
@@ -871,6 +1049,7 @@ export const googleFonts = [
871
1049
  'Noto Sans Takri',
872
1050
  'Noto Sans Tamil',
873
1051
  'Noto Sans Tamil Supplement',
1052
+ 'Noto Sans Tangsa',
874
1053
  'Noto Sans Telugu',
875
1054
  'Noto Sans Thaana',
876
1055
  'Noto Sans Thai',
@@ -879,6 +1058,7 @@ export const googleFonts = [
879
1058
  'Noto Sans Tirhuta',
880
1059
  'Noto Sans Ugaritic',
881
1060
  'Noto Sans Vai',
1061
+ 'Noto Sans Vithkuqi',
882
1062
  'Noto Sans Wancho',
883
1063
  'Noto Sans Warang Citi',
884
1064
  'Noto Sans Yi',
@@ -896,15 +1076,22 @@ export const googleFonts = [
896
1076
  'Noto Serif Grantha',
897
1077
  'Noto Serif Gujarati',
898
1078
  'Noto Serif Gurmukhi',
1079
+ 'Noto Serif HK',
899
1080
  'Noto Serif Hebrew',
900
1081
  'Noto Serif JP',
901
1082
  'Noto Serif KR',
902
1083
  'Noto Serif Kannada',
1084
+ 'Noto Serif Khitan Small Script',
903
1085
  'Noto Serif Khmer',
1086
+ 'Noto Serif Khojki',
904
1087
  'Noto Serif Lao',
1088
+ 'Noto Serif Makasar',
905
1089
  'Noto Serif Malayalam',
906
1090
  'Noto Serif Myanmar',
907
- 'Noto Serif Nyiakeng Puachue Hmong',
1091
+ 'Noto Serif NP Hmong',
1092
+ 'Noto Serif Old Uyghur',
1093
+ 'Noto Serif Oriya',
1094
+ 'Noto Serif Ottoman Siyaq',
908
1095
  'Noto Serif SC',
909
1096
  'Noto Serif Sinhala',
910
1097
  'Noto Serif TC',
@@ -913,6 +1100,8 @@ export const googleFonts = [
913
1100
  'Noto Serif Telugu',
914
1101
  'Noto Serif Thai',
915
1102
  'Noto Serif Tibetan',
1103
+ 'Noto Serif Toto',
1104
+ 'Noto Serif Vithkuqi',
916
1105
  'Noto Serif Yezidi',
917
1106
  'Noto Traditional Nushu',
918
1107
  'Nova Cut',
@@ -926,24 +1115,28 @@ export const googleFonts = [
926
1115
  'Numans',
927
1116
  'Nunito',
928
1117
  'Nunito Sans',
1118
+ 'Nuosu SIL',
929
1119
  'Odibee Sans',
930
1120
  'Odor Mean Chey',
931
1121
  'Offside',
932
1122
  'Oi',
933
1123
  'Old Standard TT',
934
1124
  'Oldenburg',
1125
+ 'Ole',
935
1126
  'Oleo Script',
936
1127
  'Oleo Script Swash Caps',
1128
+ 'Onest',
1129
+ 'Oooh Baby',
937
1130
  'Open Sans',
938
- 'Open Sans Condensed',
939
1131
  'Oranienbaum',
1132
+ 'Orbit',
940
1133
  'Orbitron',
941
1134
  'Oregano',
942
1135
  'Orelega One',
943
1136
  'Orienta',
944
1137
  'Original Surfer',
945
1138
  'Oswald',
946
- 'Otomanopee One',
1139
+ 'Outfit',
947
1140
  'Over the Rainbow',
948
1141
  'Overlock',
949
1142
  'Overlock SC',
@@ -961,6 +1154,7 @@ export const googleFonts = [
961
1154
  'PT Serif Caption',
962
1155
  'Pacifico',
963
1156
  'Padauk',
1157
+ 'Padyakke Expanded One',
964
1158
  'Palanquin',
965
1159
  'Palanquin Dark',
966
1160
  'Palette Mosaic',
@@ -969,6 +1163,8 @@ export const googleFonts = [
969
1163
  'Parisienne',
970
1164
  'Passero One',
971
1165
  'Passion One',
1166
+ 'Passions Conflict',
1167
+ 'Pathway Extreme',
972
1168
  'Pathway Gothic One',
973
1169
  'Patrick Hand',
974
1170
  'Patrick Hand SC',
@@ -979,21 +1175,28 @@ export const googleFonts = [
979
1175
  'Peddana',
980
1176
  'Peralta',
981
1177
  'Permanent Marker',
1178
+ 'Petemoss',
982
1179
  'Petit Formal Script',
983
1180
  'Petrona',
984
1181
  'Philosopher',
1182
+ 'Phudu',
985
1183
  'Piazzolla',
986
1184
  'Piedra',
987
1185
  'Pinyon Script',
988
1186
  'Pirata One',
1187
+ 'Pixelify Sans',
989
1188
  'Plaster',
990
1189
  'Play',
991
1190
  'Playball',
1191
+ 'Playfair',
992
1192
  'Playfair Display',
993
1193
  'Playfair Display SC',
1194
+ 'Playpen Sans',
1195
+ 'Plus Jakarta Sans',
994
1196
  'Podkova',
995
1197
  'Poiret One',
996
1198
  'Poller One',
1199
+ 'Poltawski Nowy',
997
1200
  'Poly',
998
1201
  'Pompiere',
999
1202
  'Pontano Sans',
@@ -1003,6 +1206,7 @@ export const googleFonts = [
1003
1206
  'Port Lligat Slab',
1004
1207
  'Potta One',
1005
1208
  'Pragati Narrow',
1209
+ 'Praise',
1006
1210
  'Prata',
1007
1211
  'Preahvihear',
1008
1212
  'Press Start 2P',
@@ -1013,6 +1217,7 @@ export const googleFonts = [
1013
1217
  'Prosto One',
1014
1218
  'Proza Libre',
1015
1219
  'Public Sans',
1220
+ 'Puppies Play',
1016
1221
  'Puritan',
1017
1222
  'Purple Purse',
1018
1223
  'Qahiri',
@@ -1024,7 +1229,10 @@ export const googleFonts = [
1024
1229
  'Quicksand',
1025
1230
  'Quintessential',
1026
1231
  'Qwigley',
1232
+ 'Qwitcher Grypen',
1233
+ 'REM',
1027
1234
  'Racing Sans One',
1235
+ 'Radio Canada',
1028
1236
  'Radley',
1029
1237
  'Rajdhani',
1030
1238
  'Rakkas',
@@ -1041,25 +1249,36 @@ export const googleFonts = [
1041
1249
  'Rasa',
1042
1250
  'Rationale',
1043
1251
  'Ravi Prakash',
1252
+ 'Readex Pro',
1044
1253
  'Recursive',
1045
1254
  'Red Hat Display',
1255
+ 'Red Hat Mono',
1046
1256
  'Red Hat Text',
1047
1257
  'Red Rose',
1258
+ 'Redacted',
1259
+ 'Redacted Script',
1048
1260
  'Redressed',
1049
1261
  'Reem Kufi',
1262
+ 'Reem Kufi Fun',
1263
+ 'Reem Kufi Ink',
1050
1264
  'Reenie Beanie',
1051
1265
  'Reggae One',
1266
+ 'Rethink Sans',
1052
1267
  'Revalia',
1053
1268
  'Rhodium Libre',
1054
1269
  'Ribeye',
1055
1270
  'Ribeye Marrow',
1056
1271
  'Righteous',
1057
1272
  'Risque',
1273
+ 'Road Rage',
1058
1274
  'Roboto',
1059
1275
  'Roboto Condensed',
1276
+ 'Roboto Flex',
1060
1277
  'Roboto Mono',
1278
+ 'Roboto Serif',
1061
1279
  'Roboto Slab',
1062
1280
  'Rochester',
1281
+ 'Rock 3D',
1063
1282
  'Rock Salt',
1064
1283
  'RocknRoll One',
1065
1284
  'Rokkitt',
@@ -1071,8 +1290,33 @@ export const googleFonts = [
1071
1290
  'Rowdies',
1072
1291
  'Rozha One',
1073
1292
  'Rubik',
1293
+ 'Rubik 80s Fade',
1074
1294
  'Rubik Beastly',
1295
+ 'Rubik Broken Fax',
1296
+ 'Rubik Bubbles',
1297
+ 'Rubik Burned',
1298
+ 'Rubik Dirt',
1299
+ 'Rubik Distressed',
1300
+ 'Rubik Doodle Shadow',
1301
+ 'Rubik Doodle Triangles',
1302
+ 'Rubik Gemstones',
1303
+ 'Rubik Glitch',
1304
+ 'Rubik Glitch Pop',
1305
+ 'Rubik Iso',
1306
+ 'Rubik Lines',
1307
+ 'Rubik Maps',
1308
+ 'Rubik Marker Hatch',
1309
+ 'Rubik Maze',
1310
+ 'Rubik Microbe',
1075
1311
  'Rubik Mono One',
1312
+ 'Rubik Moonrocks',
1313
+ 'Rubik Pixels',
1314
+ 'Rubik Puddles',
1315
+ 'Rubik Scribble',
1316
+ 'Rubik Spray Paint',
1317
+ 'Rubik Storm',
1318
+ 'Rubik Vinyl',
1319
+ 'Rubik Wet Paint',
1076
1320
  'Ruda',
1077
1321
  'Rufina',
1078
1322
  'Ruge Boogie',
@@ -1081,6 +1325,7 @@ export const googleFonts = [
1081
1325
  'Ruslan Display',
1082
1326
  'Russo One',
1083
1327
  'Ruthie',
1328
+ 'Ruwudu',
1084
1329
  'Rye',
1085
1330
  'STIX Two Text',
1086
1331
  'Sacramento',
@@ -1100,12 +1345,13 @@ export const googleFonts = [
1100
1345
  'Sarala',
1101
1346
  'Sarina',
1102
1347
  'Sarpanch',
1348
+ 'Sassy Frass',
1103
1349
  'Satisfy',
1104
1350
  'Sawarabi Gothic',
1105
1351
  'Sawarabi Mincho',
1106
1352
  'Scada',
1107
- 'Scheherazade',
1108
1353
  'Scheherazade New',
1354
+ 'Schibsted Grotesk',
1109
1355
  'Schoolbell',
1110
1356
  'Scope One',
1111
1357
  'Seaweed Script',
@@ -1113,57 +1359,79 @@ export const googleFonts = [
1113
1359
  'Sedgwick Ave',
1114
1360
  'Sedgwick Ave Display',
1115
1361
  'Sen',
1362
+ 'Send Flowers',
1116
1363
  'Sevillana',
1117
1364
  'Seymour One',
1118
1365
  'Shadows Into Light',
1119
1366
  'Shadows Into Light Two',
1367
+ 'Shalimar',
1368
+ 'Shantell Sans',
1120
1369
  'Shanti',
1121
1370
  'Share',
1122
1371
  'Share Tech',
1123
1372
  'Share Tech Mono',
1373
+ 'Shippori Antique',
1374
+ 'Shippori Antique B1',
1124
1375
  'Shippori Mincho',
1125
1376
  'Shippori Mincho B1',
1377
+ 'Shizuru',
1126
1378
  'Shojumaru',
1127
1379
  'Short Stack',
1128
1380
  'Shrikhand',
1129
1381
  'Siemreap',
1382
+ 'Sigmar',
1130
1383
  'Sigmar One',
1131
1384
  'Signika',
1132
1385
  'Signika Negative',
1386
+ 'Silkscreen',
1133
1387
  'Simonetta',
1134
1388
  'Single Day',
1135
1389
  'Sintony',
1136
1390
  'Sirin Stencil',
1137
1391
  'Six Caps',
1392
+ 'Sixtyfour',
1138
1393
  'Skranji',
1139
1394
  'Slabo 13px',
1140
1395
  'Slabo 27px',
1141
1396
  'Slackey',
1397
+ 'Slackside One',
1142
1398
  'Smokum',
1399
+ 'Smooch',
1400
+ 'Smooch Sans',
1143
1401
  'Smythe',
1144
1402
  'Sniglet',
1145
1403
  'Snippet',
1146
1404
  'Snowburst One',
1147
1405
  'Sofadi One',
1148
1406
  'Sofia',
1407
+ 'Sofia Sans',
1408
+ 'Sofia Sans Condensed',
1409
+ 'Sofia Sans Extra Condensed',
1410
+ 'Sofia Sans Semi Condensed',
1411
+ 'Solitreo',
1149
1412
  'Solway',
1413
+ 'Sometype Mono',
1150
1414
  'Song Myung',
1415
+ 'Sono',
1151
1416
  'Sonsie One',
1152
1417
  'Sora',
1153
1418
  'Sorts Mill Goudy',
1154
1419
  'Source Code Pro',
1155
- 'Source Sans Pro',
1156
- 'Source Serif Pro',
1420
+ 'Source Sans 3',
1421
+ 'Source Serif 4',
1157
1422
  'Space Grotesk',
1158
1423
  'Space Mono',
1159
- 'Spartan',
1160
1424
  'Special Elite',
1161
1425
  'Spectral',
1162
1426
  'Spectral SC',
1163
1427
  'Spicy Rice',
1164
1428
  'Spinnaker',
1165
1429
  'Spirax',
1430
+ 'Splash',
1431
+ 'Spline Sans',
1432
+ 'Spline Sans Mono',
1166
1433
  'Squada One',
1434
+ 'Square Peg',
1167
1435
  'Sree Krushnadevaraya',
1168
1436
  'Sriracha',
1169
1437
  'Srisakdi',
@@ -1195,12 +1463,15 @@ export const googleFonts = [
1195
1463
  'Syne',
1196
1464
  'Syne Mono',
1197
1465
  'Syne Tactile',
1466
+ 'Tai Heritage Pro',
1198
1467
  'Tajawal',
1199
1468
  'Tangerine',
1469
+ 'Tapestry',
1200
1470
  'Taprom',
1201
1471
  'Tauri',
1202
1472
  'Taviraj',
1203
1473
  'Teko',
1474
+ 'Tektur',
1204
1475
  'Telex',
1205
1476
  'Tenali Ramakrishna',
1206
1477
  'Tenor Sans',
@@ -1208,10 +1479,22 @@ export const googleFonts = [
1208
1479
  'Texturina',
1209
1480
  'Thasadith',
1210
1481
  'The Girl Next Door',
1482
+ 'The Nautigal',
1211
1483
  'Tienne',
1212
1484
  'Tillana',
1485
+ 'Tilt Neon',
1486
+ 'Tilt Prism',
1487
+ 'Tilt Warp',
1213
1488
  'Timmana',
1214
1489
  'Tinos',
1490
+ 'Tiro Bangla',
1491
+ 'Tiro Devanagari Hindi',
1492
+ 'Tiro Devanagari Marathi',
1493
+ 'Tiro Devanagari Sanskrit',
1494
+ 'Tiro Gurmukhi',
1495
+ 'Tiro Kannada',
1496
+ 'Tiro Tamil',
1497
+ 'Tiro Telugu',
1215
1498
  'Titan One',
1216
1499
  'Titillium Web',
1217
1500
  'Tomorrow',
@@ -1224,13 +1507,16 @@ export const googleFonts = [
1224
1507
  'Trochut',
1225
1508
  'Truculenta',
1226
1509
  'Trykker',
1510
+ 'Tsukimi Rounded',
1227
1511
  'Tulpen One',
1228
1512
  'Turret Road',
1513
+ 'Twinkle Star',
1229
1514
  'Ubuntu',
1230
1515
  'Ubuntu Condensed',
1231
1516
  'Ubuntu Mono',
1232
1517
  'Uchen',
1233
1518
  'Ultra',
1519
+ 'Unbounded',
1234
1520
  'Uncial Antiqua',
1235
1521
  'Underdog',
1236
1522
  'Unica One',
@@ -1239,6 +1525,7 @@ export const googleFonts = [
1239
1525
  'Unkempt',
1240
1526
  'Unlock',
1241
1527
  'Unna',
1528
+ 'Updock',
1242
1529
  'Urbanist',
1243
1530
  'VT323',
1244
1531
  'Vampiro One',
@@ -1246,26 +1533,37 @@ export const googleFonts = [
1246
1533
  'Varela Round',
1247
1534
  'Varta',
1248
1535
  'Vast Shadow',
1536
+ 'Vazirmatn',
1249
1537
  'Vesper Libre',
1250
1538
  'Viaoda Libre',
1251
1539
  'Vibes',
1252
1540
  'Vibur',
1541
+ 'Victor Mono',
1253
1542
  'Vidaloka',
1254
1543
  'Viga',
1544
+ 'Vina Sans',
1255
1545
  'Voces',
1256
1546
  'Volkhov',
1257
1547
  'Vollkorn',
1258
1548
  'Vollkorn SC',
1259
1549
  'Voltaire',
1550
+ 'Vujahday Script',
1260
1551
  'Waiting for the Sunrise',
1261
1552
  'Wallpoet',
1262
1553
  'Walter Turncoat',
1263
1554
  'Warnes',
1555
+ 'Water Brush',
1556
+ 'Waterfall',
1557
+ 'Wavefont',
1264
1558
  'Wellfleet',
1265
1559
  'Wendy One',
1560
+ 'Whisper',
1266
1561
  'WindSong',
1267
1562
  'Wire One',
1563
+ 'Wix Madefor Display',
1564
+ 'Wix Madefor Text',
1268
1565
  'Work Sans',
1566
+ 'Workbench',
1269
1567
  'Xanh Mono',
1270
1568
  'Yaldevi',
1271
1569
  'Yanone Kaffeesatz',
@@ -1276,13 +1574,30 @@ export const googleFonts = [
1276
1574
  'Yeseva One',
1277
1575
  'Yesteryear',
1278
1576
  'Yomogi',
1577
+ 'Young Serif',
1279
1578
  'Yrsa',
1579
+ 'Ysabeau',
1580
+ 'Ysabeau Infant',
1581
+ 'Ysabeau Office',
1582
+ 'Ysabeau SC',
1583
+ 'Yuji Boku',
1584
+ 'Yuji Hentaigana Akari',
1585
+ 'Yuji Hentaigana Akebono',
1586
+ 'Yuji Mai',
1587
+ 'Yuji Syuku',
1280
1588
  'Yusei Magic',
1281
1589
  'ZCOOL KuaiLe',
1282
1590
  'ZCOOL QingKe HuangYou',
1283
1591
  'ZCOOL XiaoWei',
1592
+ 'Zen Antique',
1593
+ 'Zen Antique Soft',
1284
1594
  'Zen Dots',
1595
+ 'Zen Kaku Gothic Antique',
1596
+ 'Zen Kaku Gothic New',
1597
+ 'Zen Kurenaido',
1285
1598
  'Zen Loop',
1599
+ 'Zen Maru Gothic',
1600
+ 'Zen Old Mincho',
1286
1601
  'Zen Tokyo Zoo',
1287
1602
  'Zeyada',
1288
1603
  'Zhi Mang Xing',
package/miscellaneous.js CHANGED
@@ -30,6 +30,9 @@ export function stripNullValues(value, { depth = Number.POSITIVE_INFINITY, ...op
30
30
  if (typeof value !== 'object') {
31
31
  return value;
32
32
  }
33
+ if (value instanceof Blob) {
34
+ return value;
35
+ }
33
36
  if (depth <= 0) {
34
37
  return value;
35
38
  }
@@ -36,6 +36,18 @@ describe('stripNullValues', () => {
36
36
  const input = [, undefined, null];
37
37
  expect(stripNullValues(input)).toStrictEqual([]);
38
38
  });
39
+ it('should not remove Blob values', () => {
40
+ const blob = new Blob([], { type: 'image/jpeg' });
41
+ const input = {
42
+ foo: null,
43
+ bar: blob,
44
+ baz: 'hello',
45
+ };
46
+ expect(stripNullValues(input)).toStrictEqual({
47
+ bar: blob,
48
+ baz: 'hello',
49
+ });
50
+ });
39
51
  it('should remove undefined, and null values from objects', () => {
40
52
  const input = {
41
53
  foo: null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appsemble/utils",
3
- "version": "0.24.8",
3
+ "version": "0.24.10",
4
4
  "description": "Utility functions used in Appsemble internally",
5
5
  "keywords": [
6
6
  "app",
@@ -37,7 +37,7 @@
37
37
  "test": "vitest"
38
38
  },
39
39
  "dependencies": {
40
- "@appsemble/types": "0.24.8",
40
+ "@appsemble/types": "0.24.10",
41
41
  "axios": "^1.0.0",
42
42
  "cron-parser": "^4.0.0",
43
43
  "date-fns": "^2.0.0",
@@ -361,6 +361,32 @@ Example:
361
361
  "sub": "5c6270e2-ad31-414f-bcab-6752a2c4dcfd",
362
362
  "properties": {}
363
363
  }
364
+ \`\`\`
365
+ `,
366
+ },
367
+ appMember: {
368
+ enum: ['userId', 'memberId', 'name', 'primary_email', 'role'],
369
+ description: `
370
+ > **Note:** For this remapper to work, the user that activated the remapper has to be logged in to
371
+ > the app
372
+
373
+ Provides some fields of the appMember object.
374
+
375
+ - \`userId\`: The id of the user to which the appMember object belongs.
376
+ - \`memberId\`: The id of the appMember object itself. This value should be used when fetching resources created by the current user.
377
+ - \`primary_email\`: User’s **primary** email address.
378
+ - \`name\`: The user’s name.
379
+ - \`role\`: User's role in the context of the app.
380
+ Example:
381
+
382
+ \`\`\`json
383
+ {
384
+ "memberId": "1f433c7a-54ea-466e-89f7-5dbb8f324b12",
385
+ "name": "Test User"
386
+ "primaryEmail": "example@hotmail.nl",
387
+ "role": "Medewerker",
388
+ "userId": "5c6270e2-ad31-414f-bcab-6752a2c4dcfd"
389
+ }
364
390
  \`\`\`
365
391
  `,
366
392
  },
package/remap.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { type Remapper, type UserInfo } from '@appsemble/types';
1
+ import { type AppMember, type Remapper, type UserInfo } from '@appsemble/types';
2
2
  import { type IntlMessageFormat } from 'intl-messageformat';
3
3
  export interface IntlMessage {
4
4
  id?: string;
@@ -48,6 +48,10 @@ export interface RemapperContext {
48
48
  * A custom context passed to the remap function.
49
49
  */
50
50
  context: Record<string, any>;
51
+ /**
52
+ * The appMember object for the current user in the app.
53
+ */
54
+ appMember: AppMember;
51
55
  }
52
56
  interface InternalContext extends RemapperContext {
53
57
  root?: unknown;
package/remap.js CHANGED
@@ -347,5 +347,6 @@ const mapperImplementations = {
347
347
  return message.format() || `{${messageId}}`;
348
348
  },
349
349
  user: (property, input, context) => { var _a; return (_a = context.userInfo) === null || _a === void 0 ? void 0 : _a[property]; },
350
+ appMember: (property, input, context) => { var _a, _b; return (_b = (_a = context.userInfo) === null || _a === void 0 ? void 0 : _a.appMember) === null || _b === void 0 ? void 0 : _b[property]; },
350
351
  };
351
352
  //# sourceMappingURL=remap.js.map
package/remap.test.js CHANGED
@@ -13,6 +13,7 @@ function runTests(tests) {
13
13
  appId: 6789,
14
14
  locale: 'en',
15
15
  pageData: { hello: 'Page data' },
16
+ appMember: userInfo === null || userInfo === void 0 ? void 0 : userInfo.appMember,
16
17
  });
17
18
  expect(result).toStrictEqual(expected);
18
19
  });
@@ -234,6 +235,7 @@ describe('log', () => {
234
235
  appId: 6789,
235
236
  locale: 'en',
236
237
  pageData: { hello: 'Page data' },
238
+ appMember: userInfo === null || userInfo === void 0 ? void 0 : userInfo.appMember,
237
239
  });
238
240
  expect(console[mappers.log]).toHaveBeenCalledWith(expected);
239
241
  });