@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
@@ -77,6 +77,10 @@ declare interface AddonDevOverride {
77
77
 
78
78
  export declare type AddonDevState = {
79
79
  status: 'off';
80
+ } | {
81
+ status: 'rejected';
82
+ request: string;
83
+ reason: string;
80
84
  } | {
81
85
  status: 'loading';
82
86
  override: AddonDevOverride;
@@ -84,6 +88,7 @@ export declare type AddonDevState = {
84
88
  status: 'active';
85
89
  override: AddonDevOverride;
86
90
  info: AddonDevInfo;
91
+ error?: string;
87
92
  } | {
88
93
  status: 'error';
89
94
  override: AddonDevOverride;
@@ -114,6 +119,8 @@ export declare const AddonProjectProvider: ({ children, projectName, toast, ...p
114
119
 
115
120
  export declare const AddonProvider: ({ children, ...props }: AddonContextProps) => JSX_2.Element;
116
121
 
122
+ declare type AddonVersions = Record<string, string>;
123
+
117
124
  declare type Anatomy = {
118
125
  /** Settings for automatic entity name generation */
119
126
  entity_naming?: EntityNaming_2;
@@ -122,7 +129,9 @@ declare type Anatomy = {
122
129
  /** Path templates configuration */
123
130
  templates?: Templates;
124
131
  /** Attributes configuration */
125
- attributes?: ProjectAttribModel;
132
+ attributes?: {
133
+ [key: string]: any;
134
+ };
126
135
  /** Folder types configuration */
127
136
  folder_types?: FolderType[];
128
137
  /** Task types configuration */
@@ -140,72 +149,80 @@ declare type AttributeData = {
140
149
  /** Type of attribute value */
141
150
  type?: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list_of_strings' | 'list_of_integers' | 'list_of_any' | 'list_of_submodels' | 'dict';
142
151
  /** Nice, human readable title of the attribute */
143
- title?: string;
144
- description?: string;
152
+ title?: string | null;
153
+ description?: string | null;
145
154
  /** Example value of the field. */
146
155
  example?: any;
147
156
  /** Default value for the attribute. Do not set for list types. */
148
157
  default?: any;
149
- gt?: number | number;
150
- ge?: number | number;
151
- lt?: number | number;
152
- le?: number | number;
153
- minLength?: number;
154
- maxLength?: number;
158
+ gt?: number | number | null;
159
+ ge?: number | number | null;
160
+ lt?: number | number | null;
161
+ le?: number | number | null;
162
+ minLength?: number | null;
163
+ maxLength?: number | null;
155
164
  /** Minimum number of items in list type. */
156
- minItems?: number;
165
+ minItems?: number | null;
157
166
  /** Only for list types. Maximum number of items in the list. */
158
- maxItems?: number;
167
+ maxItems?: number | null;
159
168
  /** Only for string types. The value must match this regex. */
160
- regex?: string;
169
+ regex?: string | null;
161
170
  /** List of enum items used for displaying select widgets */
162
- enum?: EnumItem[];
171
+ enum?: EnumItem[] | null;
163
172
  /** Name of the function that provides enum values dynamically. */
164
- enumResolver?: string;
173
+ enumResolver?: string | null;
165
174
  /** Settings passed to the enum resolver function. */
166
- enumResolverSettings?: object;
175
+ enumResolverSettings?: {
176
+ [key: string]: any;
177
+ } | null;
167
178
  /** Inherit the attribute value from the parent entity. */
168
179
  inherit?: boolean;
169
180
  /** Specific widget style this field should use. */
170
- widget?: string;
181
+ widget?: string | null;
171
182
  /** Any additional config specific for the widget style.(Date formats, precision etc.) */
172
- widgetSettings?: object;
183
+ widgetSettings?: {
184
+ [key: string]: any;
185
+ } | null;
173
186
  };
174
187
 
175
188
  declare type AttributeData_3 = {
176
189
  /** Type of attribute value */
177
190
  type?: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list_of_strings' | 'list_of_integers' | 'list_of_any' | 'list_of_submodels' | 'dict';
178
191
  /** Nice, human readable title of the attribute */
179
- title?: string;
180
- description?: string;
192
+ title?: string | null;
193
+ description?: string | null;
181
194
  /** Example value of the field. */
182
195
  example?: any;
183
196
  /** Default value for the attribute. Do not set for list types. */
184
197
  default?: any;
185
- gt?: number | number;
186
- ge?: number | number;
187
- lt?: number | number;
188
- le?: number | number;
189
- minLength?: number;
190
- maxLength?: number;
198
+ gt?: number | number | null;
199
+ ge?: number | number | null;
200
+ lt?: number | number | null;
201
+ le?: number | number | null;
202
+ minLength?: number | null;
203
+ maxLength?: number | null;
191
204
  /** Minimum number of items in list type. */
192
- minItems?: number;
205
+ minItems?: number | null;
193
206
  /** Only for list types. Maximum number of items in the list. */
194
- maxItems?: number;
207
+ maxItems?: number | null;
195
208
  /** Only for string types. The value must match this regex. */
196
- regex?: string;
209
+ regex?: string | null;
197
210
  /** List of enum items used for displaying select widgets */
198
- enum?: EnumItem_6[];
211
+ enum?: EnumItem_6[] | null;
199
212
  /** Name of the function that provides enum values dynamically. */
200
- enumResolver?: string;
213
+ enumResolver?: string | null;
201
214
  /** Settings passed to the enum resolver function. */
202
- enumResolverSettings?: object;
215
+ enumResolverSettings?: {
216
+ [key: string]: any;
217
+ } | null;
203
218
  /** Inherit the attribute value from the parent entity. */
204
219
  inherit?: boolean;
205
220
  /** Specific widget style this field should use. */
206
- widget?: string;
221
+ widget?: string | null;
207
222
  /** Any additional config specific for the widget style.(Date formats, precision etc.) */
208
- widgetSettings?: object;
223
+ widgetSettings?: {
224
+ [key: string]: any;
225
+ } | null;
209
226
  };
210
227
 
211
228
  declare type AttributeModel = {
@@ -230,15 +247,13 @@ declare type AttributeModel_2 = {
230
247
  builtin?: boolean;
231
248
  };
232
249
 
233
- declare type BundleMode = 'production' | 'staging' | 'developer';
234
-
235
- declare type ColumnItemModel = {
236
- name: string;
237
- visible?: boolean;
238
- pinned?: boolean;
239
- width?: number;
250
+ declare type BundleAddons = {
251
+ variant: BundleMode;
252
+ versions: AddonVersions;
240
253
  };
241
254
 
255
+ declare type BundleMode = 'production' | 'staging' | 'developer';
256
+
242
257
  export declare type CommentFrameLink = CommentFrameRange & {
243
258
  entityId: string;
244
259
  };
@@ -261,8 +276,8 @@ export declare type CommentFrameRange = {
261
276
 
262
277
  declare type CreateViewApiArg = {
263
278
  viewType: string;
264
- projectName?: string;
265
- payload: OverviewViewPostModel | TaskProgressViewPostModel | ListsViewPostModel | ReviewsViewPostModel | VersionsViewPostModel | GenericViewPostModel;
279
+ projectName?: string | null;
280
+ genericViewPostModel: GenericViewPostModel;
266
281
  };
267
282
 
268
283
  declare type CustomTemplate = {
@@ -306,7 +321,7 @@ export declare const DeleteEntitiesProvider: ({ children }: {
306
321
  declare type DeleteViewApiArg = {
307
322
  viewType: string;
308
323
  viewId: string;
309
- projectName?: string;
324
+ projectName?: string | null;
310
325
  };
311
326
 
312
327
  declare type DeliveryTemplate = {
@@ -482,35 +497,41 @@ export declare type EntityUri = {
482
497
  declare type EnumItem = {
483
498
  value: string | number | number | boolean;
484
499
  label: string;
485
- description?: string;
486
- fulltext?: string[];
487
- group?: string;
500
+ description?: string | null;
501
+ fulltext?: string[] | null;
502
+ group?: string | null;
488
503
  /** Icon name (material symbol) or IconModel object */
489
- icon?: string | IconModel;
490
- color?: string;
491
- shortName?: string;
504
+ icon?: string | IconModel | null;
505
+ color?: string | null;
506
+ shortName?: string | null;
492
507
  /** Enum item is visible, but not selectable */
493
508
  disabled?: boolean;
494
509
  /** Message to show when the option is disabled */
495
- disabledMessage?: string;
496
- /** Enum item is not offered for selection, but resolves when already used */
510
+ disabledMessage?: string | null;
511
+ /** Enum item is not visible in the dropdown */
497
512
  hidden?: boolean;
513
+ /** Extra badge labels to display next to the item */
514
+ badges?: string[] | null;
498
515
  };
499
516
 
500
517
  declare type EnumItem_6 = {
501
518
  value: string | number | number | boolean;
502
519
  label: string;
503
- description?: string;
504
- fulltext?: string[];
505
- group?: string;
520
+ description?: string | null;
521
+ fulltext?: string[] | null;
522
+ group?: string | null;
506
523
  /** Icon name (material symbol) or IconModel object */
507
- icon?: string | IconModel_7;
508
- color?: string;
509
- shortName?: string;
524
+ icon?: string | IconModel_7 | null;
525
+ color?: string | null;
526
+ shortName?: string | null;
510
527
  /** Enum item is visible, but not selectable */
511
528
  disabled?: boolean;
512
529
  /** Message to show when the option is disabled */
513
- disabledMessage?: string;
530
+ disabledMessage?: string | null;
531
+ /** Enum item is not visible in the dropdown */
532
+ hidden?: boolean;
533
+ /** Extra badge labels to display next to the item */
534
+ badges?: string[] | null;
514
535
  };
515
536
 
516
537
  export declare type FeedFilter = QueryFilter;
@@ -527,22 +548,28 @@ export declare type FeedFrameLinkPreview = {
527
548
  declare type FolderListItem = {
528
549
  id: string;
529
550
  path: string;
530
- parentId?: string;
551
+ parentId?: string | null;
531
552
  parents: string[];
532
553
  name: string;
533
- label?: string;
554
+ label?: string | null;
534
555
  folderType: string;
535
556
  hasTasks?: boolean;
536
557
  hasChildren?: boolean;
537
558
  hasReviewables?: boolean;
538
559
  thumbnailHash: string;
539
- taskNames?: string[];
540
- tags?: string[];
560
+ taskNames?: string[] | null;
561
+ tags?: string[] | null;
541
562
  status: string;
542
- attrib?: object;
543
- ownAttrib?: string[];
563
+ attrib?: {
564
+ [key: string]: any;
565
+ } | null;
566
+ active?: boolean;
567
+ visible?: boolean;
568
+ ownAttrib?: string[] | null;
544
569
  createdAt: string;
545
570
  updatedAt: string;
571
+ createdBy?: string | null;
572
+ updatedBy?: string | null;
546
573
  };
547
574
 
548
575
  declare type FolderListModel = {
@@ -552,7 +579,7 @@ declare type FolderListModel = {
552
579
 
553
580
  declare type FolderType = {
554
581
  name: string;
555
- original_name?: string;
582
+ original_name?: string | null;
556
583
  shortName?: string;
557
584
  color?: string;
558
585
  icon?: string;
@@ -560,7 +587,7 @@ declare type FolderType = {
560
587
 
561
588
  declare type FolderType_2 = {
562
589
  name: string;
563
- original_name?: string;
590
+ original_name?: string | null;
564
591
  shortName?: string;
565
592
  color?: string;
566
593
  icon?: string;
@@ -568,7 +595,7 @@ declare type FolderType_2 = {
568
595
 
569
596
  declare type FolderType_3 = {
570
597
  name: string;
571
- original_name?: string;
598
+ original_name?: string | null;
572
599
  shortName?: string;
573
600
  color?: string;
574
601
  icon?: string;
@@ -599,16 +626,22 @@ declare type GenericViewModel = {
599
626
  working: boolean;
600
627
  position: number;
601
628
  accessLevel: number;
602
- settings: object;
603
- access: object;
604
629
  viewType: string;
630
+ settings: {
631
+ [key: string]: any;
632
+ };
633
+ access: {
634
+ [key: string]: any;
635
+ };
605
636
  };
606
637
 
607
638
  declare type GenericViewPatchModel = {
608
- label?: string;
609
- owner?: string;
610
- settings?: object;
611
- viewType: string;
639
+ label?: string | null;
640
+ owner?: string | null;
641
+ viewType?: string | null;
642
+ settings?: {
643
+ [key: string]: any;
644
+ } | null;
612
645
  };
613
646
 
614
647
  declare type GenericViewPostModel = {
@@ -618,8 +651,10 @@ declare type GenericViewPostModel = {
618
651
  label: string;
619
652
  /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
620
653
  working?: boolean;
621
- settings: object;
622
- viewType: string;
654
+ viewType?: string | null;
655
+ settings: {
656
+ [key: string]: any;
657
+ };
623
658
  };
624
659
 
625
660
  export declare const getActivityFrameLink: (activity: {
@@ -637,23 +672,17 @@ export declare const getAutoSyncForTopic: (topic: string, autoSyncSettings: RTUp
637
672
 
638
673
  declare type GetBaseViewApiArg = {
639
674
  viewType: string;
640
- projectName?: string;
675
+ projectName?: string | null;
641
676
  };
642
677
 
643
- declare type GetBaseViewApiResponse =
644
- /** status 200 Successful Response */
645
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
646
-
647
678
  declare type GetCurrentUserApiResponse = UserModel_4;
648
679
 
649
680
  declare type GetDefaultViewApiArg = {
650
681
  viewType: string;
651
- projectName?: string;
682
+ projectName?: string | null;
652
683
  };
653
684
 
654
- declare type GetDefaultViewApiResponse =
655
- /** status 200 Successful Response */
656
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
685
+ declare type GetDefaultViewApiResponse = GenericViewModel;
657
686
 
658
687
  declare type GetSiteInfoApiResponse = InfoResponseModel;
659
688
 
@@ -666,22 +695,14 @@ export declare const getUpdateType: (topic: string) => TopicUpdateType | undefin
666
695
  declare type GetViewApiArg = {
667
696
  viewType: string;
668
697
  viewId: string;
669
- projectName?: string;
698
+ projectName?: string | null;
670
699
  };
671
700
 
672
- declare type GetViewApiResponse =
673
- /** status 200 Successful Response */
674
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
675
-
676
701
  declare type GetWorkingViewApiArg = {
677
702
  viewType: string;
678
- projectName?: string;
703
+ projectName?: string | null;
679
704
  };
680
705
 
681
- declare type GetWorkingViewApiResponse =
682
- /** status 200 Successful Response */
683
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
684
-
685
706
  declare type GetYnputCloudInfoApiResponse = YnputCloudInfoModel;
686
707
 
687
708
  export declare const GlobalContext: Context<GlobalContextType | undefined>;
@@ -722,52 +743,55 @@ declare type HeroTemplate = {
722
743
  declare type IconModel = {
723
744
  type?: 'material-symbols' | 'url';
724
745
  /** The name of the icon (for type material-symbols) */
725
- name?: string;
746
+ name?: string | null;
726
747
  /** The color of the icon (for type material-symbols) */
727
- color?: string;
748
+ color?: string | null;
728
749
  /** The URL of the icon (for type url) */
729
- url?: string;
750
+ url?: string | null;
730
751
  };
731
752
 
732
753
  declare type IconModel_7 = {
733
754
  type?: 'material-symbols' | 'url';
734
755
  /** The name of the icon (for type material-symbols) */
735
- name?: string;
756
+ name?: string | null;
736
757
  /** The color of the icon (for type material-symbols) */
737
- color?: string;
758
+ color?: string | null;
738
759
  /** The URL of the icon (for type url) */
739
- url?: string;
760
+ url?: string | null;
740
761
  };
741
762
 
742
763
  declare type InfoResponseModel = {
743
764
  /** Instance specific message to be displayed in the login page */
744
- motd?: string;
765
+ motd?: string | null;
745
766
  /** URL of the background image for the login page */
746
- loginPageBackground?: string;
767
+ loginPageBackground?: string | null;
768
+ /** Replaced by `studio_logo`, kept for backward compatibility */
769
+ loginPageBrand?: string | null;
747
770
  /** URL of the brand logo for the login page */
748
- loginPageBrand?: string;
771
+ studioLogo?: string | null;
749
772
  /** Information about the current release */
750
- releaseInfo?: ReleaseInfo_2;
773
+ releaseInfo?: ReleaseInfo_2 | null;
751
774
  /** Version of the Ayon API */
752
775
  version?: string;
753
776
  /** Time (seconds) since the server was started */
754
777
  uptime?: number;
755
778
  /** No admin user exists, display 'Create admin user' form */
756
- noAdminUser?: boolean;
757
- onboarding?: boolean;
779
+ noAdminUser?: boolean | null;
780
+ onboarding?: boolean | null;
758
781
  /** Password authentication will not be shown on the login page */
759
- hidePasswordAuth?: boolean;
760
- passwordRecoveryAvailable?: boolean;
761
- user?: UserModel_3;
762
- attributes?: AttributeModel_2[];
763
- sites?: SiteInfo[];
764
- ssoOptions?: SsoOption[];
765
- frontendFlags?: string[];
766
- extras?: string;
782
+ hidePasswordAuth?: boolean | null;
783
+ passwordRecoveryAvailable?: boolean | null;
784
+ user?: UserModel_3 | null;
785
+ /** Deprecated. Use the `/api/attributes` endpoint instead. */
786
+ attributes?: AttributeModel_2[] | null;
787
+ sites?: SiteInfo[] | null;
788
+ ssoOptions?: SsoOption[] | null;
789
+ frontendFlags?: string[] | null;
790
+ extras?: string | null;
767
791
  /** If set, the changelog will not be shown to the user */
768
- disableChangelog?: boolean;
769
- disableFeedback?: boolean;
770
- offlineMode?: boolean;
792
+ disableChangelog?: boolean | null;
793
+ disableFeedback?: boolean | null;
794
+ offlineMode?: boolean | null;
771
795
  };
772
796
 
773
797
  export declare const isAddonDetailsPanelTab: (tab: unknown) => tab is AddonDetailsPanelTab;
@@ -780,7 +804,7 @@ declare type LinkType = {
780
804
  link_type: string;
781
805
  input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
782
806
  output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
783
- color?: string;
807
+ color?: string | null;
784
808
  style?: 'solid' | 'dashed';
785
809
  };
786
810
 
@@ -794,7 +818,9 @@ declare type LinkTypeModel = {
794
818
  /** Output entity type */
795
819
  outputType: string;
796
820
  /** Additional link type data */
797
- data?: object;
821
+ data?: {
822
+ [key: string]: any;
823
+ };
798
824
  };
799
825
 
800
826
  declare type LinkTypeModel_2 = {
@@ -807,72 +833,28 @@ declare type LinkTypeModel_2 = {
807
833
  /** Output entity type */
808
834
  outputType: string;
809
835
  /** Additional link type data */
810
- data?: object;
836
+ data?: {
837
+ [key: string]: any;
838
+ };
811
839
  };
812
840
 
813
841
  declare type ListProjectsItemModel = {
814
842
  name: string;
815
843
  code: string;
816
- label?: string;
817
- color?: string;
844
+ label?: string | null;
845
+ color?: string | null;
818
846
  active?: boolean;
819
847
  library?: boolean;
820
848
  skeleton?: boolean;
821
849
  pinned?: boolean;
822
- projectFolder?: string;
850
+ projectFolder?: string | null;
823
851
  createdAt: string;
824
852
  updatedAt: string;
825
853
  };
826
854
 
827
- declare type ListsSettings = {
828
- rowHeight?: number;
829
- sortBy?: string | string[];
830
- sortDesc?: boolean;
831
- filter?: QueryFilter_5;
832
- columns?: ColumnItemModel[];
833
- };
834
-
835
- declare type ListsViewModel = {
836
- /** Unique identifier for the view within the given scope. */
837
- id?: string;
838
- /** Human-readable name of the view. */
839
- label: string;
840
- /** Determines whether the view is only available for the given project or for all projects (studio). */
841
- scope: 'project' | 'studio';
842
- /** Name of the user who created the view. Owners have full control over the view, */
843
- owner: string;
844
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
845
- visibility: 'public' | 'private';
846
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
847
- working: boolean;
848
- position: number;
849
- accessLevel: number;
850
- settings: ListsSettings;
851
- access: object;
852
- viewType?: 'lists';
853
- };
854
-
855
- declare type ListsViewPatchModel = {
856
- label?: string;
857
- owner?: string;
858
- settings?: ListsSettings;
859
- viewType?: 'lists';
860
- };
861
-
862
- declare type ListsViewPostModel = {
863
- /** Unique identifier for the view within the given scope. */
864
- id?: string;
865
- /** Human-readable name of the view. */
866
- label: string;
867
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
868
- working?: boolean;
869
- settings: ListsSettings;
870
- viewType?: 'lists';
871
- };
872
-
873
855
  declare type ListViewsApiArg = {
874
856
  viewType: string;
875
- projectName?: string;
857
+ projectName?: string | null;
876
858
  };
877
859
 
878
860
  export declare const matchesProject: (project: string | undefined, projectNames: string[]) => boolean;
@@ -907,62 +889,12 @@ declare type OperationModel = {
907
889
  id?: string;
908
890
  type: 'create' | 'update' | 'delete';
909
891
  entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
910
- entityId?: string;
911
- data?: Record<string, any>;
892
+ entityId?: string | null;
893
+ data?: {
894
+ [key: string]: any;
895
+ } | null;
912
896
  force?: boolean;
913
- asUser?: string;
914
- };
915
-
916
- declare type OverviewSettings = {
917
- showHierarchy?: boolean;
918
- rowHeight?: number;
919
- groupBy?: string;
920
- groupSortByDesc?: boolean;
921
- showEmptyGroups?: boolean;
922
- sortBy?: string | string[];
923
- sortDesc?: boolean;
924
- filter?: QueryFilter_5;
925
- folderFilter?: QueryFilter_5;
926
- sliceType?: string;
927
- columns?: ColumnItemModel[];
928
- };
929
-
930
- declare type OverviewViewModel = {
931
- /** Unique identifier for the view within the given scope. */
932
- id?: string;
933
- /** Human-readable name of the view. */
934
- label: string;
935
- /** Determines whether the view is only available for the given project or for all projects (studio). */
936
- scope: 'project' | 'studio';
937
- /** Name of the user who created the view. Owners have full control over the view, */
938
- owner: string;
939
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
940
- visibility: 'public' | 'private';
941
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
942
- working: boolean;
943
- position: number;
944
- accessLevel: number;
945
- settings: OverviewSettings;
946
- access: object;
947
- viewType?: 'overview';
948
- };
949
-
950
- declare type OverviewViewPatchModel = {
951
- label?: string;
952
- owner?: string;
953
- settings?: OverviewSettings;
954
- viewType?: 'overview';
955
- };
956
-
957
- declare type OverviewViewPostModel = {
958
- /** Unique identifier for the view within the given scope. */
959
- id?: string;
960
- /** Human-readable name of the view. */
961
- label: string;
962
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
963
- working?: boolean;
964
- settings: OverviewSettings;
965
- viewType?: 'overview';
897
+ asUser?: string | null;
966
898
  };
967
899
 
968
900
  export declare const PiPContext: Context<PiPContextType | undefined>;
@@ -1053,78 +985,9 @@ declare type ProductType = {
1053
985
 
1054
986
  declare type ProductTypeListItem = {
1055
987
  name: string;
1056
- baseType?: string;
1057
- color?: string;
1058
- icon?: string;
1059
- };
1060
-
1061
- declare type ProjectAttribModel = {
1062
- priority?: 'urgent' | 'high' | 'normal' | 'low';
1063
- /** Frame rate */
1064
- fps?: number;
1065
- /** Horizontal resolution */
1066
- resolutionWidth?: number;
1067
- /** Vertical resolution */
1068
- resolutionHeight?: number;
1069
- pixelAspect?: number;
1070
- clipIn?: number;
1071
- clipOut?: number;
1072
- frameStart?: number;
1073
- frameEnd?: number;
1074
- handleStart?: number;
1075
- handleEnd?: number;
1076
- /** Date and time when the project or task or asset was started */
1077
- startDate?: string;
1078
- /** Deadline date and time */
1079
- endDate?: string;
1080
- /** Textual description of the entity */
1081
- description?: string;
1082
- };
1083
-
1084
- declare type ProjectAttribModel2 = {
1085
- priority?: 'urgent' | 'high' | 'normal' | 'low';
1086
- /** Frame rate */
1087
- fps?: number;
1088
- /** Horizontal resolution */
1089
- resolutionWidth?: number;
1090
- /** Vertical resolution */
1091
- resolutionHeight?: number;
1092
- pixelAspect?: number;
1093
- clipIn?: number;
1094
- clipOut?: number;
1095
- frameStart?: number;
1096
- frameEnd?: number;
1097
- handleStart?: number;
1098
- handleEnd?: number;
1099
- /** Date and time when the project or task or asset was started */
1100
- startDate?: string;
1101
- /** Deadline date and time */
1102
- endDate?: string;
1103
- /** Textual description of the entity */
1104
- description?: string;
1105
- };
1106
-
1107
- declare type ProjectAttribModel2_2 = {
1108
- priority?: 'urgent' | 'high' | 'normal' | 'low';
1109
- /** Frame rate */
1110
- fps?: number;
1111
- /** Horizontal resolution */
1112
- resolutionWidth?: number;
1113
- /** Vertical resolution */
1114
- resolutionHeight?: number;
1115
- pixelAspect?: number;
1116
- clipIn?: number;
1117
- clipOut?: number;
1118
- frameStart?: number;
1119
- frameEnd?: number;
1120
- handleStart?: number;
1121
- handleEnd?: number;
1122
- /** Date and time when the project or task or asset was started */
1123
- startDate?: string;
1124
- /** Deadline date and time */
1125
- endDate?: string;
1126
- /** Textual description of the entity */
1127
- description?: string;
988
+ baseType?: string | null;
989
+ color?: string | null;
990
+ icon?: string | null;
1128
991
  };
1129
992
 
1130
993
  export declare const ProjectContext: Context<ProjectContextValue | undefined>;
@@ -1159,6 +1022,7 @@ export declare const ProjectFoldersContext: Context<ProjectFoldersContextValue |
1159
1022
  export declare const ProjectFoldersContextProvider: React.FC<ProjectFoldersProviderProps>;
1160
1023
 
1161
1024
  export declare interface ProjectFoldersContextValue {
1025
+ projectName: string;
1162
1026
  folders: FolderListItem[];
1163
1027
  getFolderById: (id: string) => FolderListItem | undefined;
1164
1028
  findNonInheritedValues: (folderId: string | undefined, attribNames: string[], projectAttrib?: Record<string, any>) => Record<string, any>;
@@ -1179,22 +1043,30 @@ declare interface ProjectFoldersProviderProps {
1179
1043
  }
1180
1044
 
1181
1045
  declare type ProjectModel = {
1182
- /** Name is an unique id of the {entity_name} */
1046
+ /** Unique name of the project */
1183
1047
  name: string;
1184
1048
  code: string;
1185
- label?: string;
1049
+ label?: string | null;
1186
1050
  library?: boolean;
1187
1051
  folderTypes?: FolderType_2[];
1188
1052
  taskTypes?: TaskType_2[];
1189
1053
  linkTypes?: LinkTypeModel_2[];
1190
1054
  statuses?: Status_2[];
1191
1055
  tags?: Tag_2[];
1192
- config?: object;
1193
- skeleton?: boolean;
1194
- attrib?: ProjectAttribModel2;
1195
- data?: object;
1196
- /** Whether the project is active */
1056
+ config?: {
1057
+ [key: string]: any;
1058
+ };
1059
+ skeleton?: boolean | null;
1060
+ /** Attribute values of the entity */
1061
+ attrib?: {
1062
+ [key: string]: any;
1063
+ };
1064
+ data?: {
1065
+ [key: string]: any;
1066
+ };
1067
+ /** Whether the entity is active */
1197
1068
  active?: boolean;
1069
+ /** List of attributes explicitly set on the entity itself (not inherited) */
1198
1070
  ownAttrib?: string[];
1199
1071
  /** Time of creation */
1200
1072
  createdAt?: string;
@@ -1203,22 +1075,30 @@ declare type ProjectModel = {
1203
1075
  };
1204
1076
 
1205
1077
  declare type ProjectModel_2 = {
1206
- /** Name is an unique id of the {entity_name} */
1078
+ /** Unique name of the project */
1207
1079
  name: string;
1208
1080
  code: string;
1209
- label?: string;
1081
+ label?: string | null;
1210
1082
  library?: boolean;
1211
1083
  folderTypes?: FolderType_3[];
1212
1084
  taskTypes?: TaskType_3[];
1213
1085
  linkTypes?: LinkTypeModel[];
1214
1086
  statuses?: Status_3[];
1215
1087
  tags?: Tag_3[];
1216
- config?: object;
1217
- skeleton?: boolean;
1218
- attrib?: ProjectAttribModel2_2;
1219
- data?: object;
1220
- /** Whether the project is active */
1088
+ config?: {
1089
+ [key: string]: any;
1090
+ };
1091
+ skeleton?: boolean | null;
1092
+ /** Attribute values of the entity */
1093
+ attrib?: {
1094
+ [key: string]: any;
1095
+ };
1096
+ data?: {
1097
+ [key: string]: any;
1098
+ };
1099
+ /** Whether the entity is active */
1221
1100
  active?: boolean;
1101
+ /** List of attributes explicitly set on the entity itself (not inherited) */
1222
1102
  ownAttrib?: string[];
1223
1103
  /** Time of creation */
1224
1104
  createdAt?: string;
@@ -1255,18 +1135,9 @@ declare type QueryCondition = {
1255
1135
  /** Path to the key separated by slashes */
1256
1136
  key: string;
1257
1137
  /** Value to compare against */
1258
- value?: string | number | number | boolean | string[] | number[] | number[];
1259
- /** Comparison operator */
1260
- operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1261
- };
1262
-
1263
- declare type QueryCondition_5 = {
1264
- /** Path to the key separated by slashes */
1265
- key: string;
1266
- /** Value to compare against */
1267
- value?: string | number | number | boolean | string[] | number[] | number[];
1268
- /** Comparison operator */
1269
- operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1138
+ value?: string | number | number | boolean | string[] | number[] | number[] | null;
1139
+ /** 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. */
1140
+ operator?: 'eq' | 'like' | 'notlike' | 're' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1270
1141
  };
1271
1142
 
1272
1143
  declare type QueryFilter = {
@@ -1276,13 +1147,6 @@ declare type QueryFilter = {
1276
1147
  operator?: 'and' | 'or';
1277
1148
  };
1278
1149
 
1279
- declare type QueryFilter_5 = {
1280
- /** List of conditions to be evaluated */
1281
- conditions?: (QueryCondition_5 | QueryFilter_5)[];
1282
- /** Operator to use when joining conditions */
1283
- operator?: 'and' | 'or';
1284
- };
1285
-
1286
1150
  declare type ReleaseInfo_2 = {
1287
1151
  version: string;
1288
1152
  buildDate: string;
@@ -1337,6 +1201,8 @@ export declare type RemoteModulesContextType = {
1337
1201
  isLoading: boolean;
1338
1202
  modules: FrontendModuleListItem[];
1339
1203
  remotesInitialized: boolean;
1204
+ variant?: BundleMode;
1205
+ bundle?: BundleAddons;
1340
1206
  addonDev: AddonDevState;
1341
1207
  };
1342
1208
 
@@ -1366,72 +1232,24 @@ declare interface RemotePageProps {
1366
1232
  }
1367
1233
 
1368
1234
  declare type ResolvedEntityModel = {
1369
- projectName?: string;
1370
- folderId?: string;
1371
- productId?: string;
1372
- taskId?: string;
1373
- versionId?: string;
1374
- representationId?: string;
1375
- workfileId?: string;
1235
+ projectName?: string | null;
1236
+ folderId?: string | null;
1237
+ productId?: string | null;
1238
+ taskId?: string | null;
1239
+ versionId?: string | null;
1240
+ representationId?: string | null;
1241
+ workfileId?: string | null;
1376
1242
  /** Path to the file if a representation is specified */
1377
- filePath?: string;
1243
+ filePath?: string | null;
1378
1244
  /** The deepest entity type queried */
1379
- target?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
1245
+ target?: ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile') | null;
1380
1246
  };
1381
1247
 
1382
1248
  declare type ResolvedUriModel = {
1383
1249
  uri: string;
1384
1250
  entities?: ResolvedEntityModel[];
1385
1251
  /** Error message if the URI could not be resolved */
1386
- error?: string;
1387
- };
1388
-
1389
- declare type ReviewsSettings = {
1390
- rowHeight?: number;
1391
- sortBy?: string | string[];
1392
- sortDesc?: boolean;
1393
- filter?: QueryFilter_5;
1394
- columns?: ColumnItemModel[];
1395
- gridHeight?: number;
1396
- displayStyle?: 'cards' | 'table' | 'playlist';
1397
- };
1398
-
1399
- declare type ReviewsViewModel = {
1400
- /** Unique identifier for the view within the given scope. */
1401
- id?: string;
1402
- /** Human-readable name of the view. */
1403
- label: string;
1404
- /** Determines whether the view is only available for the given project or for all projects (studio). */
1405
- scope: 'project' | 'studio';
1406
- /** Name of the user who created the view. Owners have full control over the view, */
1407
- owner: string;
1408
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
1409
- visibility: 'public' | 'private';
1410
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
1411
- working: boolean;
1412
- position: number;
1413
- accessLevel: number;
1414
- settings: ReviewsSettings;
1415
- access: object;
1416
- viewType?: 'reviews';
1417
- };
1418
-
1419
- declare type ReviewsViewPatchModel = {
1420
- label?: string;
1421
- owner?: string;
1422
- settings?: ReviewsSettings;
1423
- viewType?: 'reviews';
1424
- };
1425
-
1426
- declare type ReviewsViewPostModel = {
1427
- /** Unique identifier for the view within the given scope. */
1428
- id?: string;
1429
- /** Human-readable name of the view. */
1430
- label: string;
1431
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
1432
- working?: boolean;
1433
- settings: ReviewsSettings;
1434
- viewType?: 'reviews';
1252
+ error?: string | null;
1435
1253
  };
1436
1254
 
1437
1255
  declare type Root = {
@@ -1503,7 +1321,7 @@ declare type SelectedViewState = ViewData | undefined;
1503
1321
 
1504
1322
  declare type SetDefaultViewApiArg = {
1505
1323
  viewType: string;
1506
- projectName?: string;
1324
+ projectName?: string | null;
1507
1325
  setDefaultViewRequestModel: SetDefaultViewRequestModel;
1508
1326
  };
1509
1327
 
@@ -1558,7 +1376,7 @@ declare type ShareOption = {
1558
1376
  value: string;
1559
1377
  name: string;
1560
1378
  label: string;
1561
- attribute?: string;
1379
+ attribute?: string | null;
1562
1380
  };
1563
1381
 
1564
1382
  declare type SiteInfo = {
@@ -1592,11 +1410,11 @@ declare type SsoOption = {
1592
1410
  /** If True, the provider will not be shown in the UI */
1593
1411
  hidden?: boolean;
1594
1412
  /** Nice human-readable title of the provider */
1595
- title?: string;
1596
- icon?: string;
1413
+ title?: string | null;
1414
+ icon?: string | null;
1597
1415
  color?: string;
1598
1416
  textColor?: string;
1599
- redirectKey?: string;
1417
+ redirectKey?: string | null;
1600
1418
  url: string;
1601
1419
  args?: {
1602
1420
  [key: string]: string;
@@ -1611,35 +1429,35 @@ declare type StagingDirectory = {
1611
1429
 
1612
1430
  declare type Status = {
1613
1431
  name: string;
1614
- original_name?: string;
1432
+ original_name?: string | null;
1615
1433
  shortName?: string;
1616
1434
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
1617
1435
  icon?: string;
1618
1436
  color?: string;
1619
1437
  /** Limit the status to specific entity types. */
1620
- scope?: string[];
1438
+ scope?: string[] | null;
1621
1439
  };
1622
1440
 
1623
1441
  declare type Status_2 = {
1624
1442
  name: string;
1625
- original_name?: string;
1443
+ original_name?: string | null;
1626
1444
  shortName?: string;
1627
1445
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
1628
1446
  icon?: string;
1629
1447
  color?: string;
1630
1448
  /** Limit the status to specific entity types. */
1631
- scope?: string[];
1449
+ scope?: string[] | null;
1632
1450
  };
1633
1451
 
1634
1452
  declare type Status_3 = {
1635
1453
  name: string;
1636
- original_name?: string;
1454
+ original_name?: string | null;
1637
1455
  shortName?: string;
1638
1456
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
1639
1457
  icon?: string;
1640
1458
  color?: string;
1641
1459
  /** Limit the status to specific entity types. */
1642
- scope?: string[];
1460
+ scope?: string[] | null;
1643
1461
  };
1644
1462
 
1645
1463
  declare type SubTaskNode = {
@@ -1790,69 +1608,25 @@ export declare interface TabStateByScope {
1790
1608
 
1791
1609
  declare type Tag = {
1792
1610
  name: string;
1793
- original_name?: string;
1611
+ original_name?: string | null;
1794
1612
  color?: string;
1795
1613
  };
1796
1614
 
1797
1615
  declare type Tag_2 = {
1798
1616
  name: string;
1799
- original_name?: string;
1617
+ original_name?: string | null;
1800
1618
  color?: string;
1801
1619
  };
1802
1620
 
1803
1621
  declare type Tag_3 = {
1804
1622
  name: string;
1805
- original_name?: string;
1623
+ original_name?: string | null;
1806
1624
  color?: string;
1807
1625
  };
1808
1626
 
1809
- declare type TaskProgressSettings = {
1810
- filter?: QueryFilter_5;
1811
- sliceType?: string;
1812
- columns?: ColumnItemModel[];
1813
- };
1814
-
1815
- declare type TaskProgressViewModel = {
1816
- /** Unique identifier for the view within the given scope. */
1817
- id?: string;
1818
- /** Human-readable name of the view. */
1819
- label: string;
1820
- /** Determines whether the view is only available for the given project or for all projects (studio). */
1821
- scope: 'project' | 'studio';
1822
- /** Name of the user who created the view. Owners have full control over the view, */
1823
- owner: string;
1824
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
1825
- visibility: 'public' | 'private';
1826
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
1827
- working: boolean;
1828
- position: number;
1829
- accessLevel: number;
1830
- settings: TaskProgressSettings;
1831
- access: object;
1832
- viewType?: 'taskProgress';
1833
- };
1834
-
1835
- declare type TaskProgressViewPatchModel = {
1836
- label?: string;
1837
- owner?: string;
1838
- settings?: TaskProgressSettings;
1839
- viewType?: 'taskProgress';
1840
- };
1841
-
1842
- declare type TaskProgressViewPostModel = {
1843
- /** Unique identifier for the view within the given scope. */
1844
- id?: string;
1845
- /** Human-readable name of the view. */
1846
- label: string;
1847
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
1848
- working?: boolean;
1849
- settings: TaskProgressSettings;
1850
- viewType?: 'taskProgress';
1851
- };
1852
-
1853
1627
  declare type TaskType = {
1854
1628
  name: string;
1855
- original_name?: string;
1629
+ original_name?: string | null;
1856
1630
  shortName?: string;
1857
1631
  color?: string;
1858
1632
  icon?: string;
@@ -1860,7 +1634,7 @@ declare type TaskType = {
1860
1634
 
1861
1635
  declare type TaskType_2 = {
1862
1636
  name: string;
1863
- original_name?: string;
1637
+ original_name?: string | null;
1864
1638
  shortName?: string;
1865
1639
  color?: string;
1866
1640
  icon?: string;
@@ -1868,7 +1642,7 @@ declare type TaskType_2 = {
1868
1642
 
1869
1643
  declare type TaskType_3 = {
1870
1644
  name: string;
1871
- original_name?: string;
1645
+ original_name?: string | null;
1872
1646
  shortName?: string;
1873
1647
  color?: string;
1874
1648
  icon?: string;
@@ -1943,8 +1717,8 @@ declare type UpdateSubtasksMutation = ReturnType<typeof useUpdateSubtasksMutatio
1943
1717
  declare type UpdateViewApiArg = {
1944
1718
  viewType: string;
1945
1719
  viewId: string;
1946
- projectName?: string;
1947
- payload: OverviewViewPatchModel | TaskProgressViewPatchModel | ListsViewPatchModel | ReviewsViewPatchModel | VersionsViewPatchModel | GenericViewPatchModel;
1720
+ projectName?: string | null;
1721
+ genericViewPatchModel: GenericViewPatchModel;
1948
1722
  };
1949
1723
 
1950
1724
  declare type UpdateViewSettingsFn = (updatedSettings: any, localStateSetter: (value: any) => void, newLocalValue: any, options: UpdateOptions) => Promise<void>;
@@ -1990,6 +1764,8 @@ export declare const useMenuContext: () => MenuContextType;
1990
1764
 
1991
1765
  export declare const useOptionalProjectContext: () => ProjectContextValue | undefined;
1992
1766
 
1767
+ export declare const useOptionalProjectFoldersContext: () => ProjectFoldersContextValue | undefined;
1768
+
1993
1769
  export declare function usePiPWindow(): PiPContextType;
1994
1770
 
1995
1771
  export declare const usePowerpack: () => PowerpackContextType;
@@ -1998,44 +1774,22 @@ export declare const useProjectContext: () => ProjectContextValue;
1998
1774
 
1999
1775
  export declare const useProjectFoldersContext: () => ProjectFoldersContextValue;
2000
1776
 
2001
- declare type UserAttribModel = {
2002
- fullName?: string;
2003
- email?: string;
2004
- avatarUrl?: string;
2005
- developerMode?: boolean;
2006
- };
2007
-
2008
- declare type UserAttribModel_2 = {
2009
- fullName?: string;
2010
- email?: string;
2011
- avatarUrl?: string;
2012
- developerMode?: boolean;
2013
- };
2014
-
2015
- declare type UserAttribModel_3 = {
2016
- fullName?: string;
2017
- email?: string;
2018
- avatarUrl?: string;
2019
- developerMode?: boolean;
2020
- };
2021
-
2022
- declare type UserAttribModel_4 = {
2023
- fullName?: string;
2024
- email?: string;
2025
- avatarUrl?: string;
2026
- developerMode?: boolean;
2027
- };
2028
-
2029
1777
  export declare const useRemoteModules: () => RemoteModulesContextType;
2030
1778
 
2031
1779
  declare type UserModel = {
2032
- /** Name is an unique id of the {entity_name} */
1780
+ /** Unique name of the user */
2033
1781
  name: string;
2034
- uiExposureLevel?: number;
2035
- attrib?: UserAttribModel;
2036
- data?: Record<string, any>;
2037
- /** Whether the user is active */
1782
+ uiExposureLevel?: number | null;
1783
+ /** Attribute values of the entity */
1784
+ attrib?: {
1785
+ [key: string]: any;
1786
+ };
1787
+ data?: {
1788
+ [key: string]: any;
1789
+ };
1790
+ /** Whether the entity is active */
2038
1791
  active?: boolean;
1792
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2039
1793
  ownAttrib?: string[];
2040
1794
  /** Time of creation */
2041
1795
  createdAt?: string;
@@ -2044,13 +1798,19 @@ declare type UserModel = {
2044
1798
  };
2045
1799
 
2046
1800
  declare type UserModel_2 = {
2047
- /** Name is an unique id of the {entity_name} */
1801
+ /** Unique name of the user */
2048
1802
  name: string;
2049
- uiExposureLevel?: number;
2050
- attrib?: UserAttribModel_2;
2051
- data?: Record<string, any>;
2052
- /** Whether the user is active */
1803
+ uiExposureLevel?: number | null;
1804
+ /** Attribute values of the entity */
1805
+ attrib?: {
1806
+ [key: string]: any;
1807
+ };
1808
+ data?: {
1809
+ [key: string]: any;
1810
+ };
1811
+ /** Whether the entity is active */
2053
1812
  active?: boolean;
1813
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2054
1814
  ownAttrib?: string[];
2055
1815
  /** Time of creation */
2056
1816
  createdAt?: string;
@@ -2059,13 +1819,19 @@ declare type UserModel_2 = {
2059
1819
  };
2060
1820
 
2061
1821
  declare type UserModel_3 = {
2062
- /** Name is an unique id of the {entity_name} */
1822
+ /** Unique name of the user */
2063
1823
  name: string;
2064
- uiExposureLevel?: number;
2065
- attrib?: UserAttribModel_3;
2066
- data?: Record<string, any>;
2067
- /** Whether the user is active */
1824
+ uiExposureLevel?: number | null;
1825
+ /** Attribute values of the entity */
1826
+ attrib?: {
1827
+ [key: string]: any;
1828
+ };
1829
+ data?: {
1830
+ [key: string]: any;
1831
+ };
1832
+ /** Whether the entity is active */
2068
1833
  active?: boolean;
1834
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2069
1835
  ownAttrib?: string[];
2070
1836
  /** Time of creation */
2071
1837
  createdAt?: string;
@@ -2074,13 +1840,19 @@ declare type UserModel_3 = {
2074
1840
  };
2075
1841
 
2076
1842
  declare type UserModel_4 = {
2077
- /** Name is an unique id of the {entity_name} */
1843
+ /** Unique name of the user */
2078
1844
  name: string;
2079
- uiExposureLevel?: number;
2080
- attrib?: UserAttribModel_4;
2081
- data?: Record<string, any>;
2082
- /** Whether the user is active */
1845
+ uiExposureLevel?: number | null;
1846
+ /** Attribute values of the entity */
1847
+ attrib?: {
1848
+ [key: string]: any;
1849
+ };
1850
+ data?: {
1851
+ [key: string]: any;
1852
+ };
1853
+ /** Whether the entity is active */
2083
1854
  active?: boolean;
1855
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2084
1856
  ownAttrib?: string[];
2085
1857
  /** Time of creation */
2086
1858
  createdAt?: string;
@@ -2305,7 +2077,7 @@ declare const useUpdateSubtasksMutation: <R extends Record<string, any> = ({
2305
2077
  export declare const useURIContext: () => URIContextValue;
2306
2078
 
2307
2079
  declare type UseViewMutations = {
2308
- onCreateView: (payload: CreateViewApiArg['payload'], isStudioScope: boolean) => Promise<void>;
2080
+ onCreateView: (payload: GenericViewPostModel, isStudioScope: boolean) => Promise<void>;
2309
2081
  onDeleteView: (viewId: string, isStudioScope: boolean) => Promise<void>;
2310
2082
  onUpdateView: (viewId: string, payload: Partial<ViewData>, isStudioScope: boolean) => Promise<void>;
2311
2083
  onResetWorkingView: (args?: {
@@ -2317,61 +2089,6 @@ declare type UseViewMutations = {
2317
2089
  }) => Promise<string>;
2318
2090
  };
2319
2091
 
2320
- declare type VersionsSettings = {
2321
- showProducts?: boolean;
2322
- rowHeight?: number;
2323
- showGrid?: boolean;
2324
- gridHeight?: number;
2325
- featuredVersionOrder?: string[];
2326
- slicerType?: string;
2327
- groupBy?: string;
2328
- groupSortByDesc?: boolean;
2329
- showEmptyGroups?: boolean;
2330
- latestPerFolder?: boolean;
2331
- sortBy?: string | string[];
2332
- sortDesc?: boolean;
2333
- filter?: QueryFilter_5;
2334
- columns?: ColumnItemModel[];
2335
- };
2336
-
2337
- declare type VersionsViewModel = {
2338
- /** Unique identifier for the view within the given scope. */
2339
- id?: string;
2340
- /** Human-readable name of the view. */
2341
- label: string;
2342
- /** Determines whether the view is only available for the given project or for all projects (studio). */
2343
- scope: 'project' | 'studio';
2344
- /** Name of the user who created the view. Owners have full control over the view, */
2345
- owner: string;
2346
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
2347
- visibility: 'public' | 'private';
2348
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
2349
- working: boolean;
2350
- position: number;
2351
- accessLevel: number;
2352
- settings: VersionsSettings;
2353
- access: object;
2354
- viewType?: 'versions';
2355
- };
2356
-
2357
- declare type VersionsViewPatchModel = {
2358
- label?: string;
2359
- owner?: string;
2360
- settings?: VersionsSettings;
2361
- viewType?: 'versions';
2362
- };
2363
-
2364
- declare type VersionsViewPostModel = {
2365
- /** Unique identifier for the view within the given scope. */
2366
- id?: string;
2367
- /** Human-readable name of the view. */
2368
- label: string;
2369
- /** Working view is a special type of the view that automatically stores the current view settings without explicitly saving them. Working views are always private and scoped to the project */
2370
- working?: boolean;
2371
- settings: VersionsSettings;
2372
- viewType?: 'versions';
2373
- };
2374
-
2375
2092
  declare const VIEW_DIVIDER: "_divider_";
2376
2093
 
2377
2094
  declare type ViewData = GetDefaultViewApiResponse;
@@ -2485,15 +2202,15 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2485
2202
  getWorkingView: QueryDefinition<GetWorkingViewApiArg, BaseQueryFn<string | {
2486
2203
  document: string | DocumentNode;
2487
2204
  variables?: any;
2488
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetWorkingViewApiResponse, "restApi", unknown>;
2205
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2489
2206
  getBaseView: QueryDefinition<GetBaseViewApiArg, BaseQueryFn<string | {
2490
2207
  document: string | DocumentNode;
2491
2208
  variables?: any;
2492
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetBaseViewApiResponse, "restApi", unknown>;
2209
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2493
2210
  getDefaultView: QueryDefinition<GetDefaultViewApiArg, BaseQueryFn<string | {
2494
2211
  document: string | DocumentNode;
2495
2212
  variables?: any;
2496
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetDefaultViewApiResponse, "restApi", unknown>;
2213
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2497
2214
  setDefaultView: MutationDefinition<SetDefaultViewApiArg, BaseQueryFn<string | {
2498
2215
  document: string | DocumentNode;
2499
2216
  variables?: any;
@@ -2501,12 +2218,12 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2501
2218
  getView: QueryDefinition<GetViewApiArg, BaseQueryFn<string | {
2502
2219
  document: string | DocumentNode;
2503
2220
  variables?: any;
2504
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetViewApiResponse, "restApi", unknown>;
2505
- deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2221
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2222
+ updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2506
2223
  document: string | DocumentNode;
2507
2224
  variables?: any;
2508
2225
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
2509
- updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2226
+ deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2510
2227
  document: string | DocumentNode;
2511
2228
  variables?: any;
2512
2229
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
@@ -2522,15 +2239,15 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2522
2239
  getWorkingView: QueryDefinition<GetWorkingViewApiArg, BaseQueryFn<string | {
2523
2240
  document: string | DocumentNode;
2524
2241
  variables?: any;
2525
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetWorkingViewApiResponse, "restApi", unknown>;
2242
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2526
2243
  getBaseView: QueryDefinition<GetBaseViewApiArg, BaseQueryFn<string | {
2527
2244
  document: string | DocumentNode;
2528
2245
  variables?: any;
2529
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetBaseViewApiResponse, "restApi", unknown>;
2246
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2530
2247
  getDefaultView: QueryDefinition<GetDefaultViewApiArg, BaseQueryFn<string | {
2531
2248
  document: string | DocumentNode;
2532
2249
  variables?: any;
2533
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetDefaultViewApiResponse, "restApi", unknown>;
2250
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2534
2251
  setDefaultView: MutationDefinition<SetDefaultViewApiArg, BaseQueryFn<string | {
2535
2252
  document: string | DocumentNode;
2536
2253
  variables?: any;
@@ -2538,12 +2255,12 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2538
2255
  getView: QueryDefinition<GetViewApiArg, BaseQueryFn<string | {
2539
2256
  document: string | DocumentNode;
2540
2257
  variables?: any;
2541
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetViewApiResponse, "restApi", unknown>;
2542
- deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2258
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2259
+ updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2543
2260
  document: string | DocumentNode;
2544
2261
  variables?: any;
2545
2262
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
2546
- updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2263
+ deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2547
2264
  document: string | DocumentNode;
2548
2265
  variables?: any;
2549
2266
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
@@ -2580,13 +2297,13 @@ declare type YnputCloudInfoModel = {
2580
2297
  /** Ynput cloud instance ID */
2581
2298
  instanceId: string;
2582
2299
  /** Name of the instance */
2583
- instanceName?: string;
2300
+ instanceName?: string | null;
2584
2301
  /** Organization ID */
2585
- orgId?: string;
2302
+ orgId?: string | null;
2586
2303
  /** Name of the organization */
2587
- orgName?: string;
2304
+ orgName?: string | null;
2588
2305
  /** Name of the organization */
2589
- orgTitle?: string;
2306
+ orgTitle?: string | null;
2590
2307
  /** Is the instance managed by Ynput Cloud? */
2591
2308
  managed?: boolean;
2592
2309
  /** Collect saturated metrics */
@@ -2595,6 +2312,10 @@ declare type YnputCloudInfoModel = {
2595
2312
  subscriptions?: YnputCloudSubscriptionModel[];
2596
2313
  /** Is the instance connected to Ynput Cloud? */
2597
2314
  connected?: boolean;
2315
+ /** Public URL of the instance known to Ynput Cloud */
2316
+ serverUrl?: string | null;
2317
+ /** AYON is in offline mode */
2318
+ offlineMode?: boolean;
2598
2319
  };
2599
2320
 
2600
2321
  declare type YnputCloudSubscriptionModel = {
@@ -2603,7 +2324,7 @@ declare type YnputCloudSubscriptionModel = {
2603
2324
  /** Type of the subscription */
2604
2325
  productType: string;
2605
2326
  /** End date of the trial */
2606
- trialEnd?: string;
2327
+ trialEnd?: string | null;
2607
2328
  };
2608
2329
 
2609
2330
  export { }