@ynput/ayon-frontend-shared 0.7.5 → 0.8.0

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 (74) hide show
  1. package/dist/DetailsPanel.es.js +471 -469
  2. package/dist/Feed.es.js +1 -1
  3. package/dist/ListTable.es.js +20 -20
  4. package/dist/NewEntity.es.js +7 -7
  5. package/dist/ProjectTreeTable.es.js +2523 -2502
  6. package/dist/ProjectsTable.es.js +5 -5
  7. package/dist/Slicer.es.js +28 -25
  8. package/dist/Views.es.js +150 -151
  9. package/dist/api.es.js +166 -165
  10. package/dist/chunks/Actions.es.js +9 -10
  11. package/dist/chunks/ColumnDropIndicator.es.js +4 -4
  12. package/dist/chunks/ColumnHeaderMenuUI.es.js +4 -5
  13. package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +2 -2
  14. package/dist/chunks/DetailsDialog.es.js +3 -3
  15. package/dist/chunks/EmptyPlaceholder.es.js +7 -7
  16. package/dist/chunks/EntityPath.es.js +38 -39
  17. package/dist/chunks/EntityPickerDialog.es.js +482 -462
  18. package/dist/chunks/EntityTooltip.es.js +18 -19
  19. package/dist/chunks/Feed.es.js +1382 -1355
  20. package/dist/chunks/FilmstripEntityCard.es.js +5201 -0
  21. package/dist/chunks/FilterErrorActions.es.js +3 -4
  22. package/dist/chunks/GroupSettingsFallback.es.js +4 -4
  23. package/dist/chunks/Menu.es.js +242 -240
  24. package/dist/chunks/MetaWidget.es.js +1948 -1875
  25. package/dist/chunks/ProjectFoldersContext.es.js +237 -0
  26. package/dist/chunks/RepresentationsList.es.js +1 -1
  27. package/dist/chunks/ReviewablesSelector.es.js +1260 -1190
  28. package/dist/chunks/SimpleTable.es.js +303 -297
  29. package/dist/chunks/Slicer.es.js +420 -413
  30. package/dist/chunks/TableExportContextInstance.es.js +622 -378
  31. package/dist/chunks/TableSettingsFallback.es.js +3 -4
  32. package/dist/chunks/ThumbnailSimple.es.js +114 -99
  33. package/dist/chunks/ThumbnailUploaderContext.es.js +48 -0
  34. package/dist/chunks/VideoPlayer.es.js +8 -9
  35. package/dist/chunks/Watchers.es.js +929 -872
  36. package/dist/chunks/{ColumnDropIndicator.styled.es.js → addonColumnTags.es.js} +60 -47
  37. package/dist/chunks/expandRelativeDates.es.js +1 -1
  38. package/dist/chunks/getThumbnailUrl.es.js +33 -21
  39. package/dist/chunks/getUris.es.js +1580 -1610
  40. package/dist/chunks/queryFilterToClientFilter.es.js +1 -1
  41. package/dist/chunks/realtimeUpdatesUtils.es.js +15 -15
  42. package/dist/chunks/searchTerms.es.js +773 -696
  43. package/dist/chunks/useAttributeEnums.es.js +22 -22
  44. package/dist/chunks/useDateRangeFilter.es.js +1 -1
  45. package/dist/chunks/useHierarchySelection.es.js +3 -4
  46. package/dist/chunks/useLoadModule.es.js +3 -4
  47. package/dist/components.es.js +1391 -1253
  48. package/dist/context.es.js +645 -668
  49. package/dist/hooks.es.js +193 -171
  50. package/dist/index.es.js +4 -4
  51. package/dist/types/Actions.d.ts +10 -8
  52. package/dist/types/DetailsPanel.d.ts +54 -76
  53. package/dist/types/EntityPickerDialog.d.ts +51 -2
  54. package/dist/types/Feed.d.ts +24 -24
  55. package/dist/types/ListTable.d.ts +33 -27
  56. package/dist/types/NewEntity.d.ts +26 -39
  57. package/dist/types/ProjectTreeTable.d.ts +318 -212
  58. package/dist/types/ProjectsTable.d.ts +6 -6
  59. package/dist/types/RepresentationsList.d.ts +4 -0
  60. package/dist/types/Slicer.d.ts +63 -246
  61. package/dist/types/Views.d.ts +71 -298
  62. package/dist/types/api.d.ts +3164 -2363
  63. package/dist/types/components.d.ts +537 -497
  64. package/dist/types/context.d.ts +293 -572
  65. package/dist/types/hooks.d.ts +76 -47
  66. package/dist/types/index.d.ts +6 -0
  67. package/dist/types/util.d.ts +141 -120
  68. package/dist/util.es.js +71 -68
  69. package/package.json +6 -6
  70. package/dist/chunks/EntityUpdatesContext.es.js +0 -61
  71. package/dist/chunks/PlayableIcon.es.js +0 -5020
  72. package/dist/chunks/ProjectContext.es.js +0 -158
  73. package/dist/chunks/useQueryArgumentChangeLoading.es.js +0 -11
  74. package/dist/chunks/viewUpdateHelper.es.js +0 -153
@@ -46,6 +46,8 @@ declare type DetailsPanelEntityData = {
46
46
  status: string;
47
47
  updatedAt: string;
48
48
  createdAt: string;
49
+ createdBy?: string | null;
50
+ updatedBy?: string | null;
49
51
  thumbnailHash: string;
50
52
  attrib: Record<string, string | number>;
51
53
  hasReviewables?: boolean;
@@ -198,7 +200,7 @@ export declare type EntityTypeIcons = {
198
200
 
199
201
  declare type FolderType_2 = {
200
202
  name: string;
201
- original_name?: string;
203
+ original_name?: string | null;
202
204
  shortName?: string;
203
205
  color?: string;
204
206
  icon?: string;
@@ -206,7 +208,7 @@ declare type FolderType_2 = {
206
208
 
207
209
  declare type FolderType_2_2 = {
208
210
  name: string;
209
- original_name?: string;
211
+ original_name?: string | null;
210
212
  shortName?: string;
211
213
  color?: string;
212
214
  icon?: string;
@@ -229,6 +231,8 @@ declare type GetDetailsPanelTaskQuery = {
229
231
  assignees: Array<string>;
230
232
  updatedAt: unknown;
231
233
  createdAt: unknown;
234
+ createdBy: string | null;
235
+ updatedBy: string | null;
232
236
  thumbnailHash: string;
233
237
  folderId: string;
234
238
  thumbnailId: string | null;
@@ -288,7 +292,9 @@ declare type LinkTypeModel_2 = {
288
292
  /** Output entity type */
289
293
  outputType: string;
290
294
  /** Additional link type data */
291
- data?: object;
295
+ data?: {
296
+ [key: string]: any;
297
+ };
292
298
  };
293
299
 
294
300
  declare type LinkTypeModel_2_2 = {
@@ -301,7 +307,9 @@ declare type LinkTypeModel_2_2 = {
301
307
  /** Output entity type */
302
308
  outputType: string;
303
309
  /** Additional link type data */
304
- data?: object;
310
+ data?: {
311
+ [key: string]: any;
312
+ };
305
313
  };
306
314
 
307
315
  /**
@@ -325,74 +333,36 @@ export declare const PriorityEnumDropdown: IStyledComponentBase<"web", FastOmit<
325
333
 
326
334
  declare type ProductTypeListItem = {
327
335
  name: string;
328
- baseType?: string;
329
- color?: string;
330
- icon?: string;
331
- };
332
-
333
- declare type ProjectAttribModel2 = {
334
- priority?: 'urgent' | 'high' | 'normal' | 'low';
335
- /** Frame rate */
336
- fps?: number;
337
- /** Horizontal resolution */
338
- resolutionWidth?: number;
339
- /** Vertical resolution */
340
- resolutionHeight?: number;
341
- pixelAspect?: number;
342
- clipIn?: number;
343
- clipOut?: number;
344
- frameStart?: number;
345
- frameEnd?: number;
346
- handleStart?: number;
347
- handleEnd?: number;
348
- /** Date and time when the project or task or asset was started */
349
- startDate?: string;
350
- /** Deadline date and time */
351
- endDate?: string;
352
- /** Textual description of the entity */
353
- description?: string;
354
- };
355
-
356
- declare type ProjectAttribModel2_2 = {
357
- priority?: 'urgent' | 'high' | 'normal' | 'low';
358
- /** Frame rate */
359
- fps?: number;
360
- /** Horizontal resolution */
361
- resolutionWidth?: number;
362
- /** Vertical resolution */
363
- resolutionHeight?: number;
364
- pixelAspect?: number;
365
- clipIn?: number;
366
- clipOut?: number;
367
- frameStart?: number;
368
- frameEnd?: number;
369
- handleStart?: number;
370
- handleEnd?: number;
371
- /** Date and time when the project or task or asset was started */
372
- startDate?: string;
373
- /** Deadline date and time */
374
- endDate?: string;
375
- /** Textual description of the entity */
376
- description?: string;
336
+ baseType?: string | null;
337
+ color?: string | null;
338
+ icon?: string | null;
377
339
  };
378
340
 
379
341
  declare type ProjectModel = {
380
- /** Name is an unique id of the {entity_name} */
342
+ /** Unique name of the project */
381
343
  name: string;
382
344
  code: string;
383
- label?: string;
345
+ label?: string | null;
384
346
  library?: boolean;
385
347
  folderTypes?: FolderType_2[];
386
348
  taskTypes?: TaskType_2[];
387
349
  linkTypes?: LinkTypeModel_2[];
388
350
  statuses?: Status_2[];
389
351
  tags?: Tag_2[];
390
- config?: object;
391
- skeleton?: boolean;
392
- attrib?: ProjectAttribModel2;
393
- data?: object;
394
- /** Whether the project is active */
352
+ config?: {
353
+ [key: string]: any;
354
+ };
355
+ skeleton?: boolean | null;
356
+ /** Attribute values of the entity */
357
+ attrib?: {
358
+ [key: string]: any;
359
+ };
360
+ data?: {
361
+ [key: string]: any;
362
+ };
363
+ /** Whether the entity is active */
395
364
  active?: boolean;
365
+ /** List of attributes explicitly set on the entity itself (not inherited) */
396
366
  ownAttrib?: string[];
397
367
  /** Time of creation */
398
368
  createdAt?: string;
@@ -401,22 +371,30 @@ declare type ProjectModel = {
401
371
  };
402
372
 
403
373
  declare type ProjectModel_2 = {
404
- /** Name is an unique id of the {entity_name} */
374
+ /** Unique name of the project */
405
375
  name: string;
406
376
  code: string;
407
- label?: string;
377
+ label?: string | null;
408
378
  library?: boolean;
409
379
  folderTypes?: FolderType_2_2[];
410
380
  taskTypes?: TaskType_2_2[];
411
381
  linkTypes?: LinkTypeModel_2_2[];
412
382
  statuses?: Status_2_2[];
413
383
  tags?: Tag_2_2[];
414
- config?: object;
415
- skeleton?: boolean;
416
- attrib?: ProjectAttribModel2_2;
417
- data?: object;
418
- /** Whether the project is active */
384
+ config?: {
385
+ [key: string]: any;
386
+ };
387
+ skeleton?: boolean | null;
388
+ /** Attribute values of the entity */
389
+ attrib?: {
390
+ [key: string]: any;
391
+ };
392
+ data?: {
393
+ [key: string]: any;
394
+ };
395
+ /** Whether the entity is active */
419
396
  active?: boolean;
397
+ /** List of attributes explicitly set on the entity itself (not inherited) */
420
398
  ownAttrib?: string[];
421
399
  /** Time of creation */
422
400
  createdAt?: string;
@@ -434,24 +412,24 @@ declare type ResolveVersionJump = (versionId: string) => (() => void) | undefine
434
412
 
435
413
  declare type Status_2 = {
436
414
  name: string;
437
- original_name?: string;
415
+ original_name?: string | null;
438
416
  shortName?: string;
439
417
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
440
418
  icon?: string;
441
419
  color?: string;
442
420
  /** Limit the status to specific entity types. */
443
- scope?: string[];
421
+ scope?: string[] | null;
444
422
  };
445
423
 
446
424
  declare type Status_2_2 = {
447
425
  name: string;
448
- original_name?: string;
426
+ original_name?: string | null;
449
427
  shortName?: string;
450
428
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
451
429
  icon?: string;
452
430
  color?: string;
453
431
  /** Limit the status to specific entity types. */
454
- scope?: string[];
432
+ scope?: string[] | null;
455
433
  };
456
434
 
457
435
  export declare const StatusSelect: IStyledComponentBase<"web", FastOmit< FastOmit<Omit< StatusSelectProps & RefAttributes<DropdownRef>, "ref"> & {
@@ -462,19 +440,19 @@ export declare const StatusSelect: IStyledComponentBase<"web", FastOmit< FastOmi
462
440
 
463
441
  declare type Tag = {
464
442
  name: string;
465
- original_name?: string;
443
+ original_name?: string | null;
466
444
  color?: string;
467
445
  };
468
446
 
469
447
  declare type Tag_2 = {
470
448
  name: string;
471
- original_name?: string;
449
+ original_name?: string | null;
472
450
  color?: string;
473
451
  };
474
452
 
475
453
  declare type Tag_2_2 = {
476
454
  name: string;
477
- original_name?: string;
455
+ original_name?: string | null;
478
456
  color?: string;
479
457
  };
480
458
 
@@ -486,7 +464,7 @@ export declare const TagsSelect: IStyledComponentBase<"web", FastOmit<Omit< Tags
486
464
 
487
465
  declare type TaskType_2 = {
488
466
  name: string;
489
- original_name?: string;
467
+ original_name?: string | null;
490
468
  shortName?: string;
491
469
  color?: string;
492
470
  icon?: string;
@@ -494,7 +472,7 @@ declare type TaskType_2 = {
494
472
 
495
473
  declare type TaskType_2_2 = {
496
474
  name: string;
497
- original_name?: string;
475
+ original_name?: string | null;
498
476
  shortName?: string;
499
477
  color?: string;
500
478
  icon?: string;
@@ -2,14 +2,20 @@ import { DialogProps } from '@ynput/ayon-react-components';
2
2
  import { FC } from 'react';
3
3
  import { RowSelectionState } from '@tanstack/react-table';
4
4
 
5
+ declare type EntityLinkThumbnail = {
6
+ entityType: string;
7
+ entityId: string;
8
+ thumbnailHash?: string;
9
+ };
10
+
5
11
  export declare const EntityPickerDialog: FC<EntityPickerDialogProps>;
6
12
 
7
- declare interface EntityPickerDialogProps extends Pick<DialogProps, 'onClose'> {
13
+ export declare interface EntityPickerDialogProps extends Pick<DialogProps, 'onClose'> {
8
14
  projectName: string;
9
15
  entityType: PickerEntityType;
10
16
  initialSelection?: Partial<PickerSelection>;
11
17
  isMultiSelect?: boolean;
12
- onSubmit: (selection: string[]) => void;
18
+ onSubmit: (selection: string[], entities: PickedEntity[]) => void;
13
19
  showMoveToRoot?: boolean;
14
20
  onMoveToRoot?: () => void;
15
21
  disabledIds?: string[];
@@ -22,12 +28,55 @@ declare interface EntityPickerDialogProps extends Pick<DialogProps, 'onClose'> {
22
28
  isLoading?: boolean;
23
29
  }
24
30
 
31
+ declare type FolderListItem = {
32
+ id: string;
33
+ path: string;
34
+ parentId?: string | null;
35
+ parents: string[];
36
+ name: string;
37
+ label?: string | null;
38
+ folderType: string;
39
+ hasTasks?: boolean;
40
+ hasChildren?: boolean;
41
+ hasReviewables?: boolean;
42
+ thumbnailHash: string;
43
+ taskNames?: string[] | null;
44
+ tags?: string[] | null;
45
+ status: string;
46
+ attrib?: {
47
+ [key: string]: any;
48
+ } | null;
49
+ active?: boolean;
50
+ visible?: boolean;
51
+ ownAttrib?: string[] | null;
52
+ createdAt: string;
53
+ updatedAt: string;
54
+ createdBy?: string | null;
55
+ updatedBy?: string | null;
56
+ };
57
+
58
+ /** a picked entity as the picker loaded it, `undefined` when it isn't loaded (a later page) */
59
+ export declare type PickedEntity = SearchEntityLink | FolderListItem | undefined;
60
+
25
61
  export declare type PickerEntityType = 'folder' | 'task' | 'product' | 'version' | 'representation' | 'workfile';
26
62
 
27
63
  export declare type PickerSearch = Record<PickerEntityType, string | undefined>;
28
64
 
29
65
  export declare type PickerSelection = Record<PickerEntityType, RowSelectionState>;
30
66
 
67
+ declare type SearchEntityLink = {
68
+ id: string;
69
+ name: string;
70
+ entityType: string;
71
+ parents: string[];
72
+ label: string;
73
+ icon: string | undefined;
74
+ subType: string | undefined;
75
+ hasReviewables?: boolean;
76
+ taskName?: string;
77
+ thumbnail?: EntityLinkThumbnail;
78
+ };
79
+
31
80
  export { }
32
81
 
33
82
 
@@ -178,14 +178,14 @@ declare interface FileUploadPreviewProps {
178
178
 
179
179
  declare type FolderSuggestionItem = {
180
180
  /** The date and time when the suggested entity was created */
181
- createdAt?: string;
181
+ createdAt?: string | null;
182
182
  /** The relevance score of the suggestion */
183
- relevance?: number;
183
+ relevance?: number | null;
184
184
  id: string;
185
185
  folderType: string;
186
186
  name: string;
187
- label?: string;
188
- thumbnailId?: string;
187
+ label?: string | null;
188
+ thumbnailId?: string | null;
189
189
  };
190
190
 
191
191
  export declare const getMultiSelection: (selection: {
@@ -238,22 +238,22 @@ declare type PowerpackFeature = 'slicer' | 'annotations' | 'releases' | 'advance
238
238
 
239
239
  declare type ProductSuggestionItem = {
240
240
  /** The date and time when the suggested entity was created */
241
- createdAt?: string;
241
+ createdAt?: string | null;
242
242
  /** The relevance score of the suggestion */
243
- relevance?: number;
243
+ relevance?: number | null;
244
244
  id: string;
245
245
  name: string;
246
246
  productType: string;
247
- parent?: FolderSuggestionItem;
247
+ parent?: FolderSuggestionItem | null;
248
248
  };
249
249
 
250
250
  declare type QueryCondition = {
251
251
  /** Path to the key separated by slashes */
252
252
  key: string;
253
253
  /** Value to compare against */
254
- value?: string | number | number | boolean | string[] | number[] | number[];
255
- /** Comparison operator */
256
- operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
254
+ value?: string | number | number | boolean | string[] | number[] | number[] | null;
255
+ /** Comparison operator. like and notlike perform case-insensitive substring matching. One surrounding pair of % is treated as a substring wrapper; %, _ and backslashes within it are literal. */
256
+ operator?: 'eq' | 'like' | 'notlike' | 're' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
257
257
  };
258
258
 
259
259
  declare type QueryFilter = {
@@ -313,22 +313,22 @@ declare type SuggestResponse = {
313
313
 
314
314
  declare type TaskSuggestionItem = {
315
315
  /** The date and time when the suggested entity was created */
316
- createdAt?: string;
316
+ createdAt?: string | null;
317
317
  /** The relevance score of the suggestion */
318
- relevance?: number;
318
+ relevance?: number | null;
319
319
  id: string;
320
320
  taskType: string;
321
321
  name: string;
322
- label?: string;
323
- thumbnailId?: string;
324
- parent?: FolderSuggestionItem;
322
+ label?: string | null;
323
+ thumbnailId?: string | null;
324
+ parent?: FolderSuggestionItem | null;
325
325
  };
326
326
 
327
327
  declare type TeamSuggestionItem = {
328
328
  /** The date and time when the suggested entity was created */
329
- createdAt?: string;
329
+ createdAt?: string | null;
330
330
  /** The relevance score of the suggestion */
331
- relevance?: number;
331
+ relevance?: number | null;
332
332
  name: string;
333
333
  };
334
334
 
@@ -336,11 +336,11 @@ export declare const useFeedContext: () => FeedContextType;
336
336
 
337
337
  declare type UserSuggestionItem = {
338
338
  /** The date and time when the suggested entity was created */
339
- createdAt?: string;
339
+ createdAt?: string | null;
340
340
  /** The relevance score of the suggestion */
341
- relevance?: number;
341
+ relevance?: number | null;
342
342
  name: string;
343
- fullName?: string;
343
+ fullName?: string | null;
344
344
  };
345
345
 
346
346
  export declare const useTableKeyboardNavigation: ({ tableRef, treeData, selection, onSelectionChange, config: { multiSelect }, }: UseTableNavigationProps) => (event: React.KeyboardEvent<HTMLDivElement>) => void;
@@ -362,13 +362,13 @@ export declare interface UseTableNavigationProps {
362
362
 
363
363
  declare type VersionSuggestionItem = {
364
364
  /** The date and time when the suggested entity was created */
365
- createdAt?: string;
365
+ createdAt?: string | null;
366
366
  /** The relevance score of the suggestion */
367
- relevance?: number;
367
+ relevance?: number | null;
368
368
  id: string;
369
369
  version: number;
370
- parent?: ProductSuggestionItem;
371
- name?: string;
370
+ parent?: ProductSuggestionItem | null;
371
+ name?: string | null;
372
372
  };
373
373
 
374
374
  export { }
@@ -15,36 +15,40 @@ declare type AttributeData = {
15
15
  /** Type of attribute value */
16
16
  type?: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list_of_strings' | 'list_of_integers' | 'list_of_any' | 'list_of_submodels' | 'dict';
17
17
  /** Nice, human readable title of the attribute */
18
- title?: string;
19
- description?: string;
18
+ title?: string | null;
19
+ description?: string | null;
20
20
  /** Example value of the field. */
21
21
  example?: any;
22
22
  /** Default value for the attribute. Do not set for list types. */
23
23
  default?: any;
24
- gt?: number | number;
25
- ge?: number | number;
26
- lt?: number | number;
27
- le?: number | number;
28
- minLength?: number;
29
- maxLength?: number;
24
+ gt?: number | number | null;
25
+ ge?: number | number | null;
26
+ lt?: number | number | null;
27
+ le?: number | number | null;
28
+ minLength?: number | null;
29
+ maxLength?: number | null;
30
30
  /** Minimum number of items in list type. */
31
- minItems?: number;
31
+ minItems?: number | null;
32
32
  /** Only for list types. Maximum number of items in the list. */
33
- maxItems?: number;
33
+ maxItems?: number | null;
34
34
  /** Only for string types. The value must match this regex. */
35
- regex?: string;
35
+ regex?: string | null;
36
36
  /** List of enum items used for displaying select widgets */
37
- enum?: EnumItem[];
37
+ enum?: EnumItem[] | null;
38
38
  /** Name of the function that provides enum values dynamically. */
39
- enumResolver?: string;
39
+ enumResolver?: string | null;
40
40
  /** Settings passed to the enum resolver function. */
41
- enumResolverSettings?: object;
41
+ enumResolverSettings?: {
42
+ [key: string]: any;
43
+ } | null;
42
44
  /** Inherit the attribute value from the parent entity. */
43
45
  inherit?: boolean;
44
46
  /** Specific widget style this field should use. */
45
- widget?: string;
47
+ widget?: string | null;
46
48
  /** Any additional config specific for the widget style.(Date formats, precision etc.) */
47
- widgetSettings?: object;
49
+ widgetSettings?: {
50
+ [key: string]: any;
51
+ } | null;
48
52
  };
49
53
 
50
54
  /**
@@ -108,19 +112,21 @@ export declare const defaultListTableDataTypeWidgets: ListTableDataTypeWidgets<a
108
112
  declare type EnumItem = {
109
113
  value: string | number | number | boolean;
110
114
  label: string;
111
- description?: string;
112
- fulltext?: string[];
113
- group?: string;
115
+ description?: string | null;
116
+ fulltext?: string[] | null;
117
+ group?: string | null;
114
118
  /** Icon name (material symbol) or IconModel object */
115
- icon?: string | IconModel;
116
- color?: string;
117
- shortName?: string;
119
+ icon?: string | IconModel | null;
120
+ color?: string | null;
121
+ shortName?: string | null;
118
122
  /** Enum item is visible, but not selectable */
119
123
  disabled?: boolean;
120
124
  /** Message to show when the option is disabled */
121
- disabledMessage?: string;
122
- /** Enum item is not offered for selection, but resolves when already used */
125
+ disabledMessage?: string | null;
126
+ /** Enum item is not visible in the dropdown */
123
127
  hidden?: boolean;
128
+ /** Extra badge labels to display next to the item */
129
+ badges?: string[] | null;
124
130
  };
125
131
 
126
132
  export declare const getDefaultListTableDataTypeWidgets: <TData extends RowData>() => ListTableDataTypeWidgets<TData>;
@@ -136,11 +142,11 @@ export declare type GetRowColumnValue<TData> = (row: TData, columnId: string) =>
136
142
  declare type IconModel = {
137
143
  type?: 'material-symbols' | 'url';
138
144
  /** The name of the icon (for type material-symbols) */
139
- name?: string;
145
+ name?: string | null;
140
146
  /** The color of the icon (for type material-symbols) */
141
- color?: string;
147
+ color?: string | null;
142
148
  /** The URL of the icon (for type url) */
143
- url?: string;
149
+ url?: string | null;
144
150
  };
145
151
 
146
152
  export declare const isListTableGroupDisplayObject: (value: unknown) => value is ListTableGroupDisplay;
@@ -24,7 +24,7 @@ declare type EntityNaming = {
24
24
 
25
25
  declare type FolderType_2 = {
26
26
  name: string;
27
- original_name?: string;
27
+ original_name?: string | null;
28
28
  shortName?: string;
29
29
  color?: string;
30
30
  icon?: string;
@@ -46,7 +46,9 @@ declare type LinkTypeModel_2 = {
46
46
  /** Output entity type */
47
47
  outputType: string;
48
48
  /** Additional link type data */
49
- data?: object;
49
+ data?: {
50
+ [key: string]: any;
51
+ };
50
52
  };
51
53
 
52
54
  export declare const NameRow: IStyledComponentBase<"web", FastOmit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never> & Partial<Pick< DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>>> & string;
@@ -111,53 +113,38 @@ declare type OperationResponseModel = {
111
113
  id: string;
112
114
  type: 'create' | 'update' | 'delete';
113
115
  entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
114
- entityId?: string;
116
+ entityId?: string | null;
115
117
  success: boolean;
116
118
  status: number;
117
- errorCode?: string;
118
- detail?: string;
119
- };
120
-
121
- declare type ProjectAttribModel2 = {
122
- priority?: 'urgent' | 'high' | 'normal' | 'low';
123
- /** Frame rate */
124
- fps?: number;
125
- /** Horizontal resolution */
126
- resolutionWidth?: number;
127
- /** Vertical resolution */
128
- resolutionHeight?: number;
129
- pixelAspect?: number;
130
- clipIn?: number;
131
- clipOut?: number;
132
- frameStart?: number;
133
- frameEnd?: number;
134
- handleStart?: number;
135
- handleEnd?: number;
136
- /** Date and time when the project or task or asset was started */
137
- startDate?: string;
138
- /** Deadline date and time */
139
- endDate?: string;
140
- /** Textual description of the entity */
141
- description?: string;
119
+ errorCode?: string | null;
120
+ detail?: string | null;
142
121
  };
143
122
 
144
123
  declare type ProjectModel = {
145
- /** Name is an unique id of the {entity_name} */
124
+ /** Unique name of the project */
146
125
  name: string;
147
126
  code: string;
148
- label?: string;
127
+ label?: string | null;
149
128
  library?: boolean;
150
129
  folderTypes?: FolderType_2[];
151
130
  taskTypes?: TaskType_2[];
152
131
  linkTypes?: LinkTypeModel_2[];
153
132
  statuses?: Status_2[];
154
133
  tags?: Tag_2[];
155
- config?: object;
156
- skeleton?: boolean;
157
- attrib?: ProjectAttribModel2;
158
- data?: object;
159
- /** Whether the project is active */
134
+ config?: {
135
+ [key: string]: any;
136
+ };
137
+ skeleton?: boolean | null;
138
+ /** Attribute values of the entity */
139
+ attrib?: {
140
+ [key: string]: any;
141
+ };
142
+ data?: {
143
+ [key: string]: any;
144
+ };
145
+ /** Whether the entity is active */
160
146
  active?: boolean;
147
+ /** List of attributes explicitly set on the entity itself (not inherited) */
161
148
  ownAttrib?: string[];
162
149
  /** Time of creation */
163
150
  createdAt?: string;
@@ -175,24 +162,24 @@ declare interface SequenceForm {
175
162
 
176
163
  declare type Status_2 = {
177
164
  name: string;
178
- original_name?: string;
165
+ original_name?: string | null;
179
166
  shortName?: string;
180
167
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
181
168
  icon?: string;
182
169
  color?: string;
183
170
  /** Limit the status to specific entity types. */
184
- scope?: string[];
171
+ scope?: string[] | null;
185
172
  };
186
173
 
187
174
  declare type Tag_2 = {
188
175
  name: string;
189
- original_name?: string;
176
+ original_name?: string | null;
190
177
  color?: string;
191
178
  };
192
179
 
193
180
  declare type TaskType_2 = {
194
181
  name: string;
195
- original_name?: string;
182
+ original_name?: string | null;
196
183
  shortName?: string;
197
184
  color?: string;
198
185
  icon?: string;