@staffbase/widget-sdk 3.3.5 → 3.4.0-alpha.13

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 (53) hide show
  1. package/dist/base-block.d.ts +98 -0
  2. package/{index.d.ts → dist/base-block.js} +2 -11
  3. package/{lib/block-attributes.ts → dist/block-attributes.d.ts} +2 -3
  4. package/dist/block-attributes.js +13 -0
  5. package/dist/block-definition.d.ts +91 -0
  6. package/dist/block-definition.js +13 -0
  7. package/dist/block-element.d.ts +45 -0
  8. package/dist/block-element.js +13 -0
  9. package/{lib/block-factory.ts → dist/block-factory.d.ts} +2 -6
  10. package/dist/block-factory.js +13 -0
  11. package/{lib/external-block-definition.ts → dist/external-block-definition.d.ts} +15 -19
  12. package/dist/external-block-definition.js +13 -0
  13. package/{lib → dist}/global.d.ts +6 -9
  14. package/dist/global.js +13 -0
  15. package/dist/index.d.ts +9 -0
  16. package/dist/index.js +9 -0
  17. package/{lib/widget-api-types.ts → dist/widget-api-types.d.ts} +92 -76
  18. package/dist/widget-api-types.js +21 -0
  19. package/{lib/widget-api.ts → dist/widget-api.d.ts} +18 -8
  20. package/dist/widget-api.js +13 -0
  21. package/docs/BaseBlock.md +1259 -1
  22. package/docs/BlockAttributes.md +4 -0
  23. package/docs/BlockDefinition.md +36 -0
  24. package/docs/BlockElement.md +20 -0
  25. package/docs/ColorTheme.md +32 -0
  26. package/docs/ExternalBlockDefinition.md +12 -0
  27. package/docs/Home.md +25 -0
  28. package/docs/IntegrationInformation.md +70 -0
  29. package/docs/IntegrationState.md +41 -0
  30. package/docs/IntegrationToken.md +30 -0
  31. package/docs/SBColors.md +224 -0
  32. package/docs/SBFileType.md +24 -0
  33. package/docs/SBImageEntity.md +24 -0
  34. package/docs/SBUserAvatar.md +16 -0
  35. package/docs/SBUserProfile.md +32 -0
  36. package/docs/UserListItem.md +16 -0
  37. package/docs/UserListRequestQuery.md +16 -0
  38. package/docs/UserListResponse.md +16 -0
  39. package/docs/WidgetApi.md +50 -0
  40. package/package.json +17 -12
  41. package/.commitlintrc.json +0 -28
  42. package/.github/CODEOWNERS +0 -1
  43. package/.github/workflows/ci.yaml +0 -61
  44. package/.github/workflows/dependency-update.yml +0 -24
  45. package/.husky/commit-msg +0 -6
  46. package/.releaserc +0 -38
  47. package/CHANGELOG.md +0 -295
  48. package/CONTRIBUTING.md +0 -10
  49. package/catalog-info.yaml +0 -11
  50. package/lib/base-block.ts +0 -110
  51. package/lib/block-definition.ts +0 -101
  52. package/lib/block-element.ts +0 -56
  53. package/tsconfig.json +0 -13
package/docs/SBColors.md CHANGED
@@ -84,332 +84,556 @@ a foreground color on a white background.
84
84
 
85
85
  • **backdrop**: `string`
86
86
 
87
+ #### Defined in
88
+
89
+ [lib/widget-api-types.ts:41](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L41)
90
+
87
91
  ___
88
92
 
89
93
  ### backgroundBase
90
94
 
91
95
  • **backgroundBase**: `string`
92
96
 
97
+ #### Defined in
98
+
99
+ [lib/widget-api-types.ts:61](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L61)
100
+
93
101
  ___
94
102
 
95
103
  ### backgroundField
96
104
 
97
105
  • **backgroundField**: `string`
98
106
 
107
+ #### Defined in
108
+
109
+ [lib/widget-api-types.ts:42](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L42)
110
+
99
111
  ___
100
112
 
101
113
  ### backgroundFieldLight
102
114
 
103
115
  • **backgroundFieldLight**: `string`
104
116
 
117
+ #### Defined in
118
+
119
+ [lib/widget-api-types.ts:43](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L43)
120
+
105
121
  ___
106
122
 
107
123
  ### backgroundLevel1
108
124
 
109
125
  • **backgroundLevel1**: `string`
110
126
 
127
+ #### Defined in
128
+
129
+ [lib/widget-api-types.ts:62](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L62)
130
+
111
131
  ___
112
132
 
113
133
  ### backgroundLevel2
114
134
 
115
135
  • **backgroundLevel2**: `string`
116
136
 
137
+ #### Defined in
138
+
139
+ [lib/widget-api-types.ts:63](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L63)
140
+
117
141
  ___
118
142
 
119
143
  ### backgroundLevel3
120
144
 
121
145
  • **backgroundLevel3**: `string`
122
146
 
147
+ #### Defined in
148
+
149
+ [lib/widget-api-types.ts:64](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L64)
150
+
123
151
  ___
124
152
 
125
153
  ### backgroundLevel4
126
154
 
127
155
  • **backgroundLevel4**: `string`
128
156
 
157
+ #### Defined in
158
+
159
+ [lib/widget-api-types.ts:65](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L65)
160
+
129
161
  ___
130
162
 
131
163
  ### backgroundPrimary
132
164
 
133
165
  • **backgroundPrimary**: `string`
134
166
 
167
+ #### Defined in
168
+
169
+ [lib/widget-api-types.ts:44](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L44)
170
+
135
171
  ___
136
172
 
137
173
  ### backgroundSecondary
138
174
 
139
175
  • **backgroundSecondary**: `string`
140
176
 
177
+ #### Defined in
178
+
179
+ [lib/widget-api-types.ts:45](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L45)
180
+
141
181
  ___
142
182
 
143
183
  ### backgroundTertiary
144
184
 
145
185
  • **backgroundTertiary**: `string`
146
186
 
187
+ #### Defined in
188
+
189
+ [lib/widget-api-types.ts:46](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L46)
190
+
147
191
  ___
148
192
 
149
193
  ### black
150
194
 
151
195
  • **black**: `string`
152
196
 
197
+ #### Defined in
198
+
199
+ [lib/widget-api-types.ts:47](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L47)
200
+
153
201
  ___
154
202
 
155
203
  ### blue
156
204
 
157
205
  • **blue**: `string`
158
206
 
207
+ #### Defined in
208
+
209
+ [lib/widget-api-types.ts:66](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L66)
210
+
159
211
  ___
160
212
 
161
213
  ### blueDark
162
214
 
163
215
  • **blueDark**: `string`
164
216
 
217
+ #### Defined in
218
+
219
+ [lib/widget-api-types.ts:67](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L67)
220
+
165
221
  ___
166
222
 
167
223
  ### blueLight
168
224
 
169
225
  • **blueLight**: `string`
170
226
 
227
+ #### Defined in
228
+
229
+ [lib/widget-api-types.ts:68](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L68)
230
+
171
231
  ___
172
232
 
173
233
  ### borderSolid
174
234
 
175
235
  • **borderSolid**: `string`
176
236
 
237
+ #### Defined in
238
+
239
+ [lib/widget-api-types.ts:48](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L48)
240
+
177
241
  ___
178
242
 
179
243
  ### borderTranslucent
180
244
 
181
245
  • **borderTranslucent**: `string`
182
246
 
247
+ #### Defined in
248
+
249
+ [lib/widget-api-types.ts:49](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L49)
250
+
183
251
  ___
184
252
 
185
253
  ### clientForeground
186
254
 
187
255
  • **clientForeground**: `string`
188
256
 
257
+ #### Defined in
258
+
259
+ [lib/widget-api-types.ts:50](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L50)
260
+
189
261
  ___
190
262
 
191
263
  ### clientPrimary
192
264
 
193
265
  • **clientPrimary**: `string`
194
266
 
267
+ #### Defined in
268
+
269
+ [lib/widget-api-types.ts:51](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L51)
270
+
195
271
  ___
196
272
 
197
273
  ### clientPrimaryA11y
198
274
 
199
275
  • **clientPrimaryA11y**: `string`
200
276
 
277
+ #### Defined in
278
+
279
+ [lib/widget-api-types.ts:52](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L52)
280
+
201
281
  ___
202
282
 
203
283
  ### clientSecondary
204
284
 
205
285
  • **clientSecondary**: `string`
206
286
 
287
+ #### Defined in
288
+
289
+ [lib/widget-api-types.ts:53](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L53)
290
+
207
291
  ___
208
292
 
209
293
  ### clientSecondaryA11y
210
294
 
211
295
  • **clientSecondaryA11y**: `string`
212
296
 
297
+ #### Defined in
298
+
299
+ [lib/widget-api-types.ts:54](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L54)
300
+
213
301
  ___
214
302
 
215
303
  ### fileType
216
304
 
217
305
  • **fileType**: [`SBFileType`](../wiki/SBFileType)
218
306
 
307
+ #### Defined in
308
+
309
+ [lib/widget-api-types.ts:40](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L40)
310
+
219
311
  ___
220
312
 
221
313
  ### green
222
314
 
223
315
  • **green**: `string`
224
316
 
317
+ #### Defined in
318
+
319
+ [lib/widget-api-types.ts:69](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L69)
320
+
225
321
  ___
226
322
 
227
323
  ### greenDark
228
324
 
229
325
  • **greenDark**: `string`
230
326
 
327
+ #### Defined in
328
+
329
+ [lib/widget-api-types.ts:70](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L70)
330
+
231
331
  ___
232
332
 
233
333
  ### greenLight
234
334
 
235
335
  • **greenLight**: `string`
236
336
 
337
+ #### Defined in
338
+
339
+ [lib/widget-api-types.ts:71](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L71)
340
+
237
341
  ___
238
342
 
239
343
  ### grey
240
344
 
241
345
  • **grey**: `string`
242
346
 
347
+ #### Defined in
348
+
349
+ [lib/widget-api-types.ts:72](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L72)
350
+
243
351
  ___
244
352
 
245
353
  ### greyDark
246
354
 
247
355
  • **greyDark**: `string`
248
356
 
357
+ #### Defined in
358
+
359
+ [lib/widget-api-types.ts:73](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L73)
360
+
249
361
  ___
250
362
 
251
363
  ### greyLight
252
364
 
253
365
  • **greyLight**: `string`
254
366
 
367
+ #### Defined in
368
+
369
+ [lib/widget-api-types.ts:74](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L74)
370
+
255
371
  ___
256
372
 
257
373
  ### hairline
258
374
 
259
375
  • **hairline**: `string`
260
376
 
377
+ #### Defined in
378
+
379
+ [lib/widget-api-types.ts:75](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L75)
380
+
261
381
  ___
262
382
 
263
383
  ### hairlineDark
264
384
 
265
385
  • **hairlineDark**: `string`
266
386
 
387
+ #### Defined in
388
+
389
+ [lib/widget-api-types.ts:76](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L76)
390
+
267
391
  ___
268
392
 
269
393
  ### hoverState
270
394
 
271
395
  • **hoverState**: `string`
272
396
 
397
+ #### Defined in
398
+
399
+ [lib/widget-api-types.ts:60](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L60)
400
+
273
401
  ___
274
402
 
275
403
  ### neutral
276
404
 
277
405
  • **neutral**: `string`
278
406
 
407
+ #### Defined in
408
+
409
+ [lib/widget-api-types.ts:77](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L77)
410
+
279
411
  ___
280
412
 
281
413
  ### neutralDark
282
414
 
283
415
  • **neutralDark**: `string`
284
416
 
417
+ #### Defined in
418
+
419
+ [lib/widget-api-types.ts:78](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L78)
420
+
285
421
  ___
286
422
 
287
423
  ### neutralLight
288
424
 
289
425
  • **neutralLight**: `string`
290
426
 
427
+ #### Defined in
428
+
429
+ [lib/widget-api-types.ts:79](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L79)
430
+
291
431
  ___
292
432
 
293
433
  ### orange
294
434
 
295
435
  • **orange**: `string`
296
436
 
437
+ #### Defined in
438
+
439
+ [lib/widget-api-types.ts:80](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L80)
440
+
297
441
  ___
298
442
 
299
443
  ### orangeDark
300
444
 
301
445
  • **orangeDark**: `string`
302
446
 
447
+ #### Defined in
448
+
449
+ [lib/widget-api-types.ts:81](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L81)
450
+
303
451
  ___
304
452
 
305
453
  ### orangeLight
306
454
 
307
455
  • **orangeLight**: `string`
308
456
 
457
+ #### Defined in
458
+
459
+ [lib/widget-api-types.ts:82](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L82)
460
+
309
461
  ___
310
462
 
311
463
  ### overlay
312
464
 
313
465
  • **overlay**: `string`
314
466
 
467
+ #### Defined in
468
+
469
+ [lib/widget-api-types.ts:83](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L83)
470
+
315
471
  ___
316
472
 
317
473
  ### overlayDark
318
474
 
319
475
  • **overlayDark**: `string`
320
476
 
477
+ #### Defined in
478
+
479
+ [lib/widget-api-types.ts:84](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L84)
480
+
321
481
  ___
322
482
 
323
483
  ### pressedState
324
484
 
325
485
  • **pressedState**: `string`
326
486
 
487
+ #### Defined in
488
+
489
+ [lib/widget-api-types.ts:59](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L59)
490
+
327
491
  ___
328
492
 
329
493
  ### red
330
494
 
331
495
  • **red**: `string`
332
496
 
497
+ #### Defined in
498
+
499
+ [lib/widget-api-types.ts:85](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L85)
500
+
333
501
  ___
334
502
 
335
503
  ### redDark
336
504
 
337
505
  • **redDark**: `string`
338
506
 
507
+ #### Defined in
508
+
509
+ [lib/widget-api-types.ts:86](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L86)
510
+
339
511
  ___
340
512
 
341
513
  ### redLight
342
514
 
343
515
  • **redLight**: `string`
344
516
 
517
+ #### Defined in
518
+
519
+ [lib/widget-api-types.ts:87](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L87)
520
+
345
521
  ___
346
522
 
347
523
  ### text
348
524
 
349
525
  • **text**: `string`
350
526
 
527
+ #### Defined in
528
+
529
+ [lib/widget-api-types.ts:88](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L88)
530
+
351
531
  ___
352
532
 
353
533
  ### textGreyBase
354
534
 
355
535
  • **textGreyBase**: `string`
356
536
 
537
+ #### Defined in
538
+
539
+ [lib/widget-api-types.ts:89](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L89)
540
+
357
541
  ___
358
542
 
359
543
  ### textGreyLevel1
360
544
 
361
545
  • **textGreyLevel1**: `string`
362
546
 
547
+ #### Defined in
548
+
549
+ [lib/widget-api-types.ts:90](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L90)
550
+
363
551
  ___
364
552
 
365
553
  ### textGreyLevel2
366
554
 
367
555
  • **textGreyLevel2**: `string`
368
556
 
557
+ #### Defined in
558
+
559
+ [lib/widget-api-types.ts:91](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L91)
560
+
369
561
  ___
370
562
 
371
563
  ### textGreyLevel3
372
564
 
373
565
  • **textGreyLevel3**: `string`
374
566
 
567
+ #### Defined in
568
+
569
+ [lib/widget-api-types.ts:92](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L92)
570
+
375
571
  ___
376
572
 
377
573
  ### textGreyLevel4
378
574
 
379
575
  • **textGreyLevel4**: `string`
380
576
 
577
+ #### Defined in
578
+
579
+ [lib/widget-api-types.ts:93](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L93)
580
+
381
581
  ___
382
582
 
383
583
  ### textLight
384
584
 
385
585
  • **textLight**: `string`
386
586
 
587
+ #### Defined in
588
+
589
+ [lib/widget-api-types.ts:94](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L94)
590
+
387
591
  ___
388
592
 
389
593
  ### textPlaceholder
390
594
 
391
595
  • **textPlaceholder**: `string`
392
596
 
597
+ #### Defined in
598
+
599
+ [lib/widget-api-types.ts:55](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L55)
600
+
393
601
  ___
394
602
 
395
603
  ### textPrimary
396
604
 
397
605
  • **textPrimary**: `string`
398
606
 
607
+ #### Defined in
608
+
609
+ [lib/widget-api-types.ts:56](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L56)
610
+
399
611
  ___
400
612
 
401
613
  ### textSecondary
402
614
 
403
615
  • **textSecondary**: `string`
404
616
 
617
+ #### Defined in
618
+
619
+ [lib/widget-api-types.ts:57](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L57)
620
+
405
621
  ___
406
622
 
407
623
  ### textTertiary
408
624
 
409
625
  • **textTertiary**: `string`
410
626
 
627
+ #### Defined in
628
+
629
+ [lib/widget-api-types.ts:58](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L58)
630
+
411
631
  ___
412
632
 
413
633
  ### warningYellow
414
634
 
415
635
  • **warningYellow**: `string`
636
+
637
+ #### Defined in
638
+
639
+ [lib/widget-api-types.ts:95](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L95)
@@ -19,32 +19,56 @@ File type entity
19
19
 
20
20
  • **default**: `string`
21
21
 
22
+ #### Defined in
23
+
24
+ [lib/widget-api-types.ts:18](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L18)
25
+
22
26
  ___
23
27
 
24
28
  ### doc
25
29
 
26
30
  • **doc**: `string`
27
31
 
32
+ #### Defined in
33
+
34
+ [lib/widget-api-types.ts:21](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L21)
35
+
28
36
  ___
29
37
 
30
38
  ### img
31
39
 
32
40
  • **img**: `string`
33
41
 
42
+ #### Defined in
43
+
44
+ [lib/widget-api-types.ts:23](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L23)
45
+
34
46
  ___
35
47
 
36
48
  ### pdf
37
49
 
38
50
  • **pdf**: `string`
39
51
 
52
+ #### Defined in
53
+
54
+ [lib/widget-api-types.ts:22](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L22)
55
+
40
56
  ___
41
57
 
42
58
  ### ppt
43
59
 
44
60
  • **ppt**: `string`
45
61
 
62
+ #### Defined in
63
+
64
+ [lib/widget-api-types.ts:19](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L19)
65
+
46
66
  ___
47
67
 
48
68
  ### xls
49
69
 
50
70
  • **xls**: `string`
71
+
72
+ #### Defined in
73
+
74
+ [lib/widget-api-types.ts:20](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L20)
@@ -19,32 +19,56 @@ Image entity definition
19
19
 
20
20
  • `Optional` **format**: `string`
21
21
 
22
+ #### Defined in
23
+
24
+ [lib/widget-api-types.ts:117](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L117)
25
+
22
26
  ___
23
27
 
24
28
  ### height
25
29
 
26
30
  • **height**: `number`
27
31
 
32
+ #### Defined in
33
+
34
+ [lib/widget-api-types.ts:118](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L118)
35
+
28
36
  ___
29
37
 
30
38
  ### mimeType
31
39
 
32
40
  • `Optional` **mimeType**: `string`
33
41
 
42
+ #### Defined in
43
+
44
+ [lib/widget-api-types.ts:119](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L119)
45
+
34
46
  ___
35
47
 
36
48
  ### size
37
49
 
38
50
  • `Optional` **size**: `number`
39
51
 
52
+ #### Defined in
53
+
54
+ [lib/widget-api-types.ts:120](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L120)
55
+
40
56
  ___
41
57
 
42
58
  ### url
43
59
 
44
60
  • **url**: `string`
45
61
 
62
+ #### Defined in
63
+
64
+ [lib/widget-api-types.ts:121](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L121)
65
+
46
66
  ___
47
67
 
48
68
  ### width
49
69
 
50
70
  • **width**: `number`
71
+
72
+ #### Defined in
73
+
74
+ [lib/widget-api-types.ts:122](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L122)
@@ -17,20 +17,36 @@ User avatar definition
17
17
 
18
18
  • **icon**: [`SBImageEntity`](../wiki/SBImageEntity)
19
19
 
20
+ #### Defined in
21
+
22
+ [lib/widget-api-types.ts:129](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L129)
23
+
20
24
  ___
21
25
 
22
26
  ### original
23
27
 
24
28
  • **original**: [`SBImageEntity`](../wiki/SBImageEntity)
25
29
 
30
+ #### Defined in
31
+
32
+ [lib/widget-api-types.ts:130](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L130)
33
+
26
34
  ___
27
35
 
28
36
  ### publicID
29
37
 
30
38
  • **publicID**: `string`
31
39
 
40
+ #### Defined in
41
+
42
+ [lib/widget-api-types.ts:131](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L131)
43
+
32
44
  ___
33
45
 
34
46
  ### thumb
35
47
 
36
48
  • **thumb**: [`SBImageEntity`](../wiki/SBImageEntity)
49
+
50
+ #### Defined in
51
+
52
+ [lib/widget-api-types.ts:132](https://github.com/Staffbase/widget-sdk/blob/7bb16cc/lib/widget-api-types.ts#L132)