@ynput/ayon-frontend-shared 0.7.6 → 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 (70) hide show
  1. package/dist/DetailsPanel.es.js +361 -355
  2. package/dist/Feed.es.js +1 -1
  3. package/dist/ListTable.es.js +18 -18
  4. package/dist/NewEntity.es.js +30 -30
  5. package/dist/ProjectTreeTable.es.js +984 -974
  6. package/dist/ProjectsTable.es.js +3 -3
  7. package/dist/Slicer.es.js +53 -50
  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 +2 -2
  12. package/dist/chunks/ColumnHeaderMenuUI.es.js +3 -4
  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 +65 -66
  18. package/dist/chunks/EntityTooltip.es.js +18 -19
  19. package/dist/chunks/Feed.es.js +1381 -1355
  20. package/dist/chunks/FilmstripEntityCard.es.js +5201 -0
  21. package/dist/chunks/FilterErrorActions.es.js +2 -3
  22. package/dist/chunks/GroupSettingsFallback.es.js +2 -2
  23. package/dist/chunks/Menu.es.js +52 -53
  24. package/dist/chunks/MetaWidget.es.js +1948 -1875
  25. package/dist/chunks/ProjectFoldersContext.es.js +40 -40
  26. package/dist/chunks/RepresentationsList.es.js +1 -1
  27. package/dist/chunks/ReviewablesSelector.es.js +759 -742
  28. package/dist/chunks/SimpleTable.es.js +2 -1
  29. package/dist/chunks/Slicer.es.js +49 -50
  30. package/dist/chunks/TableExportContextInstance.es.js +600 -402
  31. package/dist/chunks/TableSettingsFallback.es.js +3 -4
  32. package/dist/chunks/ThumbnailSimple.es.js +114 -99
  33. package/dist/chunks/VideoPlayer.es.js +8 -9
  34. package/dist/chunks/Watchers.es.js +928 -871
  35. package/dist/chunks/expandRelativeDates.es.js +1 -1
  36. package/dist/chunks/getThumbnailUrl.es.js +33 -21
  37. package/dist/chunks/getUris.es.js +1580 -1610
  38. package/dist/chunks/queryFilterToClientFilter.es.js +1 -1
  39. package/dist/chunks/realtimeUpdatesUtils.es.js +15 -15
  40. package/dist/chunks/searchTerms.es.js +773 -696
  41. package/dist/chunks/useAttributeEnums.es.js +22 -22
  42. package/dist/chunks/useDateRangeFilter.es.js +1 -1
  43. package/dist/chunks/useHierarchySelection.es.js +3 -4
  44. package/dist/chunks/useLoadModule.es.js +3 -4
  45. package/dist/components.es.js +475 -467
  46. package/dist/context.es.js +615 -540
  47. package/dist/hooks.es.js +193 -171
  48. package/dist/index.es.js +2 -2
  49. package/dist/types/Actions.d.ts +10 -8
  50. package/dist/types/DetailsPanel.d.ts +54 -76
  51. package/dist/types/EntityPickerDialog.d.ts +12 -6
  52. package/dist/types/Feed.d.ts +24 -24
  53. package/dist/types/ListTable.d.ts +33 -27
  54. package/dist/types/NewEntity.d.ts +26 -39
  55. package/dist/types/ProjectTreeTable.d.ts +199 -195
  56. package/dist/types/ProjectsTable.d.ts +6 -6
  57. package/dist/types/RepresentationsList.d.ts +4 -0
  58. package/dist/types/Slicer.d.ts +63 -246
  59. package/dist/types/Views.d.ts +71 -298
  60. package/dist/types/api.d.ts +3164 -2363
  61. package/dist/types/components.d.ts +327 -474
  62. package/dist/types/context.d.ts +285 -572
  63. package/dist/types/hooks.d.ts +76 -47
  64. package/dist/types/index.d.ts +6 -0
  65. package/dist/types/util.d.ts +141 -120
  66. package/dist/util.es.js +71 -68
  67. package/package.json +6 -6
  68. package/dist/chunks/EntityUpdatesContext.es.js +0 -61
  69. package/dist/chunks/PlayableIcon.es.js +0 -5020
  70. package/dist/chunks/viewUpdateHelper.es.js +0 -153
@@ -119,6 +119,8 @@ export declare const AddonProjectProvider: ({ children, projectName, toast, ...p
119
119
 
120
120
  export declare const AddonProvider: ({ children, ...props }: AddonContextProps) => JSX_2.Element;
121
121
 
122
+ declare type AddonVersions = Record<string, string>;
123
+
122
124
  declare type Anatomy = {
123
125
  /** Settings for automatic entity name generation */
124
126
  entity_naming?: EntityNaming_2;
@@ -127,7 +129,9 @@ declare type Anatomy = {
127
129
  /** Path templates configuration */
128
130
  templates?: Templates;
129
131
  /** Attributes configuration */
130
- attributes?: ProjectAttribModel;
132
+ attributes?: {
133
+ [key: string]: any;
134
+ };
131
135
  /** Folder types configuration */
132
136
  folder_types?: FolderType[];
133
137
  /** Task types configuration */
@@ -145,72 +149,80 @@ declare type AttributeData = {
145
149
  /** Type of attribute value */
146
150
  type?: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list_of_strings' | 'list_of_integers' | 'list_of_any' | 'list_of_submodels' | 'dict';
147
151
  /** Nice, human readable title of the attribute */
148
- title?: string;
149
- description?: string;
152
+ title?: string | null;
153
+ description?: string | null;
150
154
  /** Example value of the field. */
151
155
  example?: any;
152
156
  /** Default value for the attribute. Do not set for list types. */
153
157
  default?: any;
154
- gt?: number | number;
155
- ge?: number | number;
156
- lt?: number | number;
157
- le?: number | number;
158
- minLength?: number;
159
- 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;
160
164
  /** Minimum number of items in list type. */
161
- minItems?: number;
165
+ minItems?: number | null;
162
166
  /** Only for list types. Maximum number of items in the list. */
163
- maxItems?: number;
167
+ maxItems?: number | null;
164
168
  /** Only for string types. The value must match this regex. */
165
- regex?: string;
169
+ regex?: string | null;
166
170
  /** List of enum items used for displaying select widgets */
167
- enum?: EnumItem[];
171
+ enum?: EnumItem[] | null;
168
172
  /** Name of the function that provides enum values dynamically. */
169
- enumResolver?: string;
173
+ enumResolver?: string | null;
170
174
  /** Settings passed to the enum resolver function. */
171
- enumResolverSettings?: object;
175
+ enumResolverSettings?: {
176
+ [key: string]: any;
177
+ } | null;
172
178
  /** Inherit the attribute value from the parent entity. */
173
179
  inherit?: boolean;
174
180
  /** Specific widget style this field should use. */
175
- widget?: string;
181
+ widget?: string | null;
176
182
  /** Any additional config specific for the widget style.(Date formats, precision etc.) */
177
- widgetSettings?: object;
183
+ widgetSettings?: {
184
+ [key: string]: any;
185
+ } | null;
178
186
  };
179
187
 
180
188
  declare type AttributeData_3 = {
181
189
  /** Type of attribute value */
182
190
  type?: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list_of_strings' | 'list_of_integers' | 'list_of_any' | 'list_of_submodels' | 'dict';
183
191
  /** Nice, human readable title of the attribute */
184
- title?: string;
185
- description?: string;
192
+ title?: string | null;
193
+ description?: string | null;
186
194
  /** Example value of the field. */
187
195
  example?: any;
188
196
  /** Default value for the attribute. Do not set for list types. */
189
197
  default?: any;
190
- gt?: number | number;
191
- ge?: number | number;
192
- lt?: number | number;
193
- le?: number | number;
194
- minLength?: number;
195
- 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;
196
204
  /** Minimum number of items in list type. */
197
- minItems?: number;
205
+ minItems?: number | null;
198
206
  /** Only for list types. Maximum number of items in the list. */
199
- maxItems?: number;
207
+ maxItems?: number | null;
200
208
  /** Only for string types. The value must match this regex. */
201
- regex?: string;
209
+ regex?: string | null;
202
210
  /** List of enum items used for displaying select widgets */
203
- enum?: EnumItem_6[];
211
+ enum?: EnumItem_6[] | null;
204
212
  /** Name of the function that provides enum values dynamically. */
205
- enumResolver?: string;
213
+ enumResolver?: string | null;
206
214
  /** Settings passed to the enum resolver function. */
207
- enumResolverSettings?: object;
215
+ enumResolverSettings?: {
216
+ [key: string]: any;
217
+ } | null;
208
218
  /** Inherit the attribute value from the parent entity. */
209
219
  inherit?: boolean;
210
220
  /** Specific widget style this field should use. */
211
- widget?: string;
221
+ widget?: string | null;
212
222
  /** Any additional config specific for the widget style.(Date formats, precision etc.) */
213
- widgetSettings?: object;
223
+ widgetSettings?: {
224
+ [key: string]: any;
225
+ } | null;
214
226
  };
215
227
 
216
228
  declare type AttributeModel = {
@@ -235,15 +247,13 @@ declare type AttributeModel_2 = {
235
247
  builtin?: boolean;
236
248
  };
237
249
 
238
- declare type BundleMode = 'production' | 'staging' | 'developer';
239
-
240
- declare type ColumnItemModel = {
241
- name: string;
242
- visible?: boolean;
243
- pinned?: boolean;
244
- width?: number;
250
+ declare type BundleAddons = {
251
+ variant: BundleMode;
252
+ versions: AddonVersions;
245
253
  };
246
254
 
255
+ declare type BundleMode = 'production' | 'staging' | 'developer';
256
+
247
257
  export declare type CommentFrameLink = CommentFrameRange & {
248
258
  entityId: string;
249
259
  };
@@ -266,8 +276,8 @@ export declare type CommentFrameRange = {
266
276
 
267
277
  declare type CreateViewApiArg = {
268
278
  viewType: string;
269
- projectName?: string;
270
- payload: OverviewViewPostModel | TaskProgressViewPostModel | ListsViewPostModel | ReviewsViewPostModel | VersionsViewPostModel | GenericViewPostModel;
279
+ projectName?: string | null;
280
+ genericViewPostModel: GenericViewPostModel;
271
281
  };
272
282
 
273
283
  declare type CustomTemplate = {
@@ -311,7 +321,7 @@ export declare const DeleteEntitiesProvider: ({ children }: {
311
321
  declare type DeleteViewApiArg = {
312
322
  viewType: string;
313
323
  viewId: string;
314
- projectName?: string;
324
+ projectName?: string | null;
315
325
  };
316
326
 
317
327
  declare type DeliveryTemplate = {
@@ -487,35 +497,41 @@ export declare type EntityUri = {
487
497
  declare type EnumItem = {
488
498
  value: string | number | number | boolean;
489
499
  label: string;
490
- description?: string;
491
- fulltext?: string[];
492
- group?: string;
500
+ description?: string | null;
501
+ fulltext?: string[] | null;
502
+ group?: string | null;
493
503
  /** Icon name (material symbol) or IconModel object */
494
- icon?: string | IconModel;
495
- color?: string;
496
- shortName?: string;
504
+ icon?: string | IconModel | null;
505
+ color?: string | null;
506
+ shortName?: string | null;
497
507
  /** Enum item is visible, but not selectable */
498
508
  disabled?: boolean;
499
509
  /** Message to show when the option is disabled */
500
- disabledMessage?: string;
501
- /** 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 */
502
512
  hidden?: boolean;
513
+ /** Extra badge labels to display next to the item */
514
+ badges?: string[] | null;
503
515
  };
504
516
 
505
517
  declare type EnumItem_6 = {
506
518
  value: string | number | number | boolean;
507
519
  label: string;
508
- description?: string;
509
- fulltext?: string[];
510
- group?: string;
520
+ description?: string | null;
521
+ fulltext?: string[] | null;
522
+ group?: string | null;
511
523
  /** Icon name (material symbol) or IconModel object */
512
- icon?: string | IconModel_7;
513
- color?: string;
514
- shortName?: string;
524
+ icon?: string | IconModel_7 | null;
525
+ color?: string | null;
526
+ shortName?: string | null;
515
527
  /** Enum item is visible, but not selectable */
516
528
  disabled?: boolean;
517
529
  /** Message to show when the option is disabled */
518
- 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;
519
535
  };
520
536
 
521
537
  export declare type FeedFilter = QueryFilter;
@@ -532,22 +548,28 @@ export declare type FeedFrameLinkPreview = {
532
548
  declare type FolderListItem = {
533
549
  id: string;
534
550
  path: string;
535
- parentId?: string;
551
+ parentId?: string | null;
536
552
  parents: string[];
537
553
  name: string;
538
- label?: string;
554
+ label?: string | null;
539
555
  folderType: string;
540
556
  hasTasks?: boolean;
541
557
  hasChildren?: boolean;
542
558
  hasReviewables?: boolean;
543
559
  thumbnailHash: string;
544
- taskNames?: string[];
545
- tags?: string[];
560
+ taskNames?: string[] | null;
561
+ tags?: string[] | null;
546
562
  status: string;
547
- attrib?: object;
548
- ownAttrib?: string[];
563
+ attrib?: {
564
+ [key: string]: any;
565
+ } | null;
566
+ active?: boolean;
567
+ visible?: boolean;
568
+ ownAttrib?: string[] | null;
549
569
  createdAt: string;
550
570
  updatedAt: string;
571
+ createdBy?: string | null;
572
+ updatedBy?: string | null;
551
573
  };
552
574
 
553
575
  declare type FolderListModel = {
@@ -557,7 +579,7 @@ declare type FolderListModel = {
557
579
 
558
580
  declare type FolderType = {
559
581
  name: string;
560
- original_name?: string;
582
+ original_name?: string | null;
561
583
  shortName?: string;
562
584
  color?: string;
563
585
  icon?: string;
@@ -565,7 +587,7 @@ declare type FolderType = {
565
587
 
566
588
  declare type FolderType_2 = {
567
589
  name: string;
568
- original_name?: string;
590
+ original_name?: string | null;
569
591
  shortName?: string;
570
592
  color?: string;
571
593
  icon?: string;
@@ -573,7 +595,7 @@ declare type FolderType_2 = {
573
595
 
574
596
  declare type FolderType_3 = {
575
597
  name: string;
576
- original_name?: string;
598
+ original_name?: string | null;
577
599
  shortName?: string;
578
600
  color?: string;
579
601
  icon?: string;
@@ -604,16 +626,22 @@ declare type GenericViewModel = {
604
626
  working: boolean;
605
627
  position: number;
606
628
  accessLevel: number;
607
- settings: object;
608
- access: object;
609
629
  viewType: string;
630
+ settings: {
631
+ [key: string]: any;
632
+ };
633
+ access: {
634
+ [key: string]: any;
635
+ };
610
636
  };
611
637
 
612
638
  declare type GenericViewPatchModel = {
613
- label?: string;
614
- owner?: string;
615
- settings?: object;
616
- viewType: string;
639
+ label?: string | null;
640
+ owner?: string | null;
641
+ viewType?: string | null;
642
+ settings?: {
643
+ [key: string]: any;
644
+ } | null;
617
645
  };
618
646
 
619
647
  declare type GenericViewPostModel = {
@@ -623,8 +651,10 @@ declare type GenericViewPostModel = {
623
651
  label: string;
624
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 */
625
653
  working?: boolean;
626
- settings: object;
627
- viewType: string;
654
+ viewType?: string | null;
655
+ settings: {
656
+ [key: string]: any;
657
+ };
628
658
  };
629
659
 
630
660
  export declare const getActivityFrameLink: (activity: {
@@ -642,23 +672,17 @@ export declare const getAutoSyncForTopic: (topic: string, autoSyncSettings: RTUp
642
672
 
643
673
  declare type GetBaseViewApiArg = {
644
674
  viewType: string;
645
- projectName?: string;
675
+ projectName?: string | null;
646
676
  };
647
677
 
648
- declare type GetBaseViewApiResponse =
649
- /** status 200 Successful Response */
650
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
651
-
652
678
  declare type GetCurrentUserApiResponse = UserModel_4;
653
679
 
654
680
  declare type GetDefaultViewApiArg = {
655
681
  viewType: string;
656
- projectName?: string;
682
+ projectName?: string | null;
657
683
  };
658
684
 
659
- declare type GetDefaultViewApiResponse =
660
- /** status 200 Successful Response */
661
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
685
+ declare type GetDefaultViewApiResponse = GenericViewModel;
662
686
 
663
687
  declare type GetSiteInfoApiResponse = InfoResponseModel;
664
688
 
@@ -671,22 +695,14 @@ export declare const getUpdateType: (topic: string) => TopicUpdateType | undefin
671
695
  declare type GetViewApiArg = {
672
696
  viewType: string;
673
697
  viewId: string;
674
- projectName?: string;
698
+ projectName?: string | null;
675
699
  };
676
700
 
677
- declare type GetViewApiResponse =
678
- /** status 200 Successful Response */
679
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
680
-
681
701
  declare type GetWorkingViewApiArg = {
682
702
  viewType: string;
683
- projectName?: string;
703
+ projectName?: string | null;
684
704
  };
685
705
 
686
- declare type GetWorkingViewApiResponse =
687
- /** status 200 Successful Response */
688
- OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
689
-
690
706
  declare type GetYnputCloudInfoApiResponse = YnputCloudInfoModel;
691
707
 
692
708
  export declare const GlobalContext: Context<GlobalContextType | undefined>;
@@ -727,52 +743,55 @@ declare type HeroTemplate = {
727
743
  declare type IconModel = {
728
744
  type?: 'material-symbols' | 'url';
729
745
  /** The name of the icon (for type material-symbols) */
730
- name?: string;
746
+ name?: string | null;
731
747
  /** The color of the icon (for type material-symbols) */
732
- color?: string;
748
+ color?: string | null;
733
749
  /** The URL of the icon (for type url) */
734
- url?: string;
750
+ url?: string | null;
735
751
  };
736
752
 
737
753
  declare type IconModel_7 = {
738
754
  type?: 'material-symbols' | 'url';
739
755
  /** The name of the icon (for type material-symbols) */
740
- name?: string;
756
+ name?: string | null;
741
757
  /** The color of the icon (for type material-symbols) */
742
- color?: string;
758
+ color?: string | null;
743
759
  /** The URL of the icon (for type url) */
744
- url?: string;
760
+ url?: string | null;
745
761
  };
746
762
 
747
763
  declare type InfoResponseModel = {
748
764
  /** Instance specific message to be displayed in the login page */
749
- motd?: string;
765
+ motd?: string | null;
750
766
  /** URL of the background image for the login page */
751
- loginPageBackground?: string;
767
+ loginPageBackground?: string | null;
768
+ /** Replaced by `studio_logo`, kept for backward compatibility */
769
+ loginPageBrand?: string | null;
752
770
  /** URL of the brand logo for the login page */
753
- loginPageBrand?: string;
771
+ studioLogo?: string | null;
754
772
  /** Information about the current release */
755
- releaseInfo?: ReleaseInfo_2;
773
+ releaseInfo?: ReleaseInfo_2 | null;
756
774
  /** Version of the Ayon API */
757
775
  version?: string;
758
776
  /** Time (seconds) since the server was started */
759
777
  uptime?: number;
760
778
  /** No admin user exists, display 'Create admin user' form */
761
- noAdminUser?: boolean;
762
- onboarding?: boolean;
779
+ noAdminUser?: boolean | null;
780
+ onboarding?: boolean | null;
763
781
  /** Password authentication will not be shown on the login page */
764
- hidePasswordAuth?: boolean;
765
- passwordRecoveryAvailable?: boolean;
766
- user?: UserModel_3;
767
- attributes?: AttributeModel_2[];
768
- sites?: SiteInfo[];
769
- ssoOptions?: SsoOption[];
770
- frontendFlags?: string[];
771
- 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;
772
791
  /** If set, the changelog will not be shown to the user */
773
- disableChangelog?: boolean;
774
- disableFeedback?: boolean;
775
- offlineMode?: boolean;
792
+ disableChangelog?: boolean | null;
793
+ disableFeedback?: boolean | null;
794
+ offlineMode?: boolean | null;
776
795
  };
777
796
 
778
797
  export declare const isAddonDetailsPanelTab: (tab: unknown) => tab is AddonDetailsPanelTab;
@@ -785,7 +804,7 @@ declare type LinkType = {
785
804
  link_type: string;
786
805
  input_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
787
806
  output_type: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
788
- color?: string;
807
+ color?: string | null;
789
808
  style?: 'solid' | 'dashed';
790
809
  };
791
810
 
@@ -799,7 +818,9 @@ declare type LinkTypeModel = {
799
818
  /** Output entity type */
800
819
  outputType: string;
801
820
  /** Additional link type data */
802
- data?: object;
821
+ data?: {
822
+ [key: string]: any;
823
+ };
803
824
  };
804
825
 
805
826
  declare type LinkTypeModel_2 = {
@@ -812,72 +833,28 @@ declare type LinkTypeModel_2 = {
812
833
  /** Output entity type */
813
834
  outputType: string;
814
835
  /** Additional link type data */
815
- data?: object;
836
+ data?: {
837
+ [key: string]: any;
838
+ };
816
839
  };
817
840
 
818
841
  declare type ListProjectsItemModel = {
819
842
  name: string;
820
843
  code: string;
821
- label?: string;
822
- color?: string;
844
+ label?: string | null;
845
+ color?: string | null;
823
846
  active?: boolean;
824
847
  library?: boolean;
825
848
  skeleton?: boolean;
826
849
  pinned?: boolean;
827
- projectFolder?: string;
850
+ projectFolder?: string | null;
828
851
  createdAt: string;
829
852
  updatedAt: string;
830
853
  };
831
854
 
832
- declare type ListsSettings = {
833
- rowHeight?: number;
834
- sortBy?: string | string[];
835
- sortDesc?: boolean;
836
- filter?: QueryFilter_5;
837
- columns?: ColumnItemModel[];
838
- };
839
-
840
- declare type ListsViewModel = {
841
- /** Unique identifier for the view within the given scope. */
842
- id?: string;
843
- /** Human-readable name of the view. */
844
- label: string;
845
- /** Determines whether the view is only available for the given project or for all projects (studio). */
846
- scope: 'project' | 'studio';
847
- /** Name of the user who created the view. Owners have full control over the view, */
848
- owner: string;
849
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
850
- visibility: 'public' | 'private';
851
- /** 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 */
852
- working: boolean;
853
- position: number;
854
- accessLevel: number;
855
- settings: ListsSettings;
856
- access: object;
857
- viewType?: 'lists';
858
- };
859
-
860
- declare type ListsViewPatchModel = {
861
- label?: string;
862
- owner?: string;
863
- settings?: ListsSettings;
864
- viewType?: 'lists';
865
- };
866
-
867
- declare type ListsViewPostModel = {
868
- /** Unique identifier for the view within the given scope. */
869
- id?: string;
870
- /** Human-readable name of the view. */
871
- label: string;
872
- /** 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 */
873
- working?: boolean;
874
- settings: ListsSettings;
875
- viewType?: 'lists';
876
- };
877
-
878
855
  declare type ListViewsApiArg = {
879
856
  viewType: string;
880
- projectName?: string;
857
+ projectName?: string | null;
881
858
  };
882
859
 
883
860
  export declare const matchesProject: (project: string | undefined, projectNames: string[]) => boolean;
@@ -912,62 +889,12 @@ declare type OperationModel = {
912
889
  id?: string;
913
890
  type: 'create' | 'update' | 'delete';
914
891
  entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
915
- entityId?: string;
916
- data?: Record<string, any>;
892
+ entityId?: string | null;
893
+ data?: {
894
+ [key: string]: any;
895
+ } | null;
917
896
  force?: boolean;
918
- asUser?: string;
919
- };
920
-
921
- declare type OverviewSettings = {
922
- showHierarchy?: boolean;
923
- rowHeight?: number;
924
- groupBy?: string;
925
- groupSortByDesc?: boolean;
926
- showEmptyGroups?: boolean;
927
- sortBy?: string | string[];
928
- sortDesc?: boolean;
929
- filter?: QueryFilter_5;
930
- folderFilter?: QueryFilter_5;
931
- sliceType?: string;
932
- columns?: ColumnItemModel[];
933
- };
934
-
935
- declare type OverviewViewModel = {
936
- /** Unique identifier for the view within the given scope. */
937
- id?: string;
938
- /** Human-readable name of the view. */
939
- label: string;
940
- /** Determines whether the view is only available for the given project or for all projects (studio). */
941
- scope: 'project' | 'studio';
942
- /** Name of the user who created the view. Owners have full control over the view, */
943
- owner: string;
944
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
945
- visibility: 'public' | 'private';
946
- /** 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 */
947
- working: boolean;
948
- position: number;
949
- accessLevel: number;
950
- settings: OverviewSettings;
951
- access: object;
952
- viewType?: 'overview';
953
- };
954
-
955
- declare type OverviewViewPatchModel = {
956
- label?: string;
957
- owner?: string;
958
- settings?: OverviewSettings;
959
- viewType?: 'overview';
960
- };
961
-
962
- declare type OverviewViewPostModel = {
963
- /** Unique identifier for the view within the given scope. */
964
- id?: string;
965
- /** Human-readable name of the view. */
966
- label: string;
967
- /** 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 */
968
- working?: boolean;
969
- settings: OverviewSettings;
970
- viewType?: 'overview';
897
+ asUser?: string | null;
971
898
  };
972
899
 
973
900
  export declare const PiPContext: Context<PiPContextType | undefined>;
@@ -1058,78 +985,9 @@ declare type ProductType = {
1058
985
 
1059
986
  declare type ProductTypeListItem = {
1060
987
  name: string;
1061
- baseType?: string;
1062
- color?: string;
1063
- icon?: string;
1064
- };
1065
-
1066
- declare type ProjectAttribModel = {
1067
- priority?: 'urgent' | 'high' | 'normal' | 'low';
1068
- /** Frame rate */
1069
- fps?: number;
1070
- /** Horizontal resolution */
1071
- resolutionWidth?: number;
1072
- /** Vertical resolution */
1073
- resolutionHeight?: number;
1074
- pixelAspect?: number;
1075
- clipIn?: number;
1076
- clipOut?: number;
1077
- frameStart?: number;
1078
- frameEnd?: number;
1079
- handleStart?: number;
1080
- handleEnd?: number;
1081
- /** Date and time when the project or task or asset was started */
1082
- startDate?: string;
1083
- /** Deadline date and time */
1084
- endDate?: string;
1085
- /** Textual description of the entity */
1086
- description?: string;
1087
- };
1088
-
1089
- declare type ProjectAttribModel2 = {
1090
- priority?: 'urgent' | 'high' | 'normal' | 'low';
1091
- /** Frame rate */
1092
- fps?: number;
1093
- /** Horizontal resolution */
1094
- resolutionWidth?: number;
1095
- /** Vertical resolution */
1096
- resolutionHeight?: number;
1097
- pixelAspect?: number;
1098
- clipIn?: number;
1099
- clipOut?: number;
1100
- frameStart?: number;
1101
- frameEnd?: number;
1102
- handleStart?: number;
1103
- handleEnd?: number;
1104
- /** Date and time when the project or task or asset was started */
1105
- startDate?: string;
1106
- /** Deadline date and time */
1107
- endDate?: string;
1108
- /** Textual description of the entity */
1109
- description?: string;
1110
- };
1111
-
1112
- declare type ProjectAttribModel2_2 = {
1113
- priority?: 'urgent' | 'high' | 'normal' | 'low';
1114
- /** Frame rate */
1115
- fps?: number;
1116
- /** Horizontal resolution */
1117
- resolutionWidth?: number;
1118
- /** Vertical resolution */
1119
- resolutionHeight?: number;
1120
- pixelAspect?: number;
1121
- clipIn?: number;
1122
- clipOut?: number;
1123
- frameStart?: number;
1124
- frameEnd?: number;
1125
- handleStart?: number;
1126
- handleEnd?: number;
1127
- /** Date and time when the project or task or asset was started */
1128
- startDate?: string;
1129
- /** Deadline date and time */
1130
- endDate?: string;
1131
- /** Textual description of the entity */
1132
- description?: string;
988
+ baseType?: string | null;
989
+ color?: string | null;
990
+ icon?: string | null;
1133
991
  };
1134
992
 
1135
993
  export declare const ProjectContext: Context<ProjectContextValue | undefined>;
@@ -1185,22 +1043,30 @@ declare interface ProjectFoldersProviderProps {
1185
1043
  }
1186
1044
 
1187
1045
  declare type ProjectModel = {
1188
- /** Name is an unique id of the {entity_name} */
1046
+ /** Unique name of the project */
1189
1047
  name: string;
1190
1048
  code: string;
1191
- label?: string;
1049
+ label?: string | null;
1192
1050
  library?: boolean;
1193
1051
  folderTypes?: FolderType_2[];
1194
1052
  taskTypes?: TaskType_2[];
1195
1053
  linkTypes?: LinkTypeModel_2[];
1196
1054
  statuses?: Status_2[];
1197
1055
  tags?: Tag_2[];
1198
- config?: object;
1199
- skeleton?: boolean;
1200
- attrib?: ProjectAttribModel2;
1201
- data?: object;
1202
- /** 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 */
1203
1068
  active?: boolean;
1069
+ /** List of attributes explicitly set on the entity itself (not inherited) */
1204
1070
  ownAttrib?: string[];
1205
1071
  /** Time of creation */
1206
1072
  createdAt?: string;
@@ -1209,22 +1075,30 @@ declare type ProjectModel = {
1209
1075
  };
1210
1076
 
1211
1077
  declare type ProjectModel_2 = {
1212
- /** Name is an unique id of the {entity_name} */
1078
+ /** Unique name of the project */
1213
1079
  name: string;
1214
1080
  code: string;
1215
- label?: string;
1081
+ label?: string | null;
1216
1082
  library?: boolean;
1217
1083
  folderTypes?: FolderType_3[];
1218
1084
  taskTypes?: TaskType_3[];
1219
1085
  linkTypes?: LinkTypeModel[];
1220
1086
  statuses?: Status_3[];
1221
1087
  tags?: Tag_3[];
1222
- config?: object;
1223
- skeleton?: boolean;
1224
- attrib?: ProjectAttribModel2_2;
1225
- data?: object;
1226
- /** 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 */
1227
1100
  active?: boolean;
1101
+ /** List of attributes explicitly set on the entity itself (not inherited) */
1228
1102
  ownAttrib?: string[];
1229
1103
  /** Time of creation */
1230
1104
  createdAt?: string;
@@ -1261,18 +1135,9 @@ declare type QueryCondition = {
1261
1135
  /** Path to the key separated by slashes */
1262
1136
  key: string;
1263
1137
  /** Value to compare against */
1264
- value?: string | number | number | boolean | string[] | number[] | number[];
1265
- /** Comparison operator */
1266
- operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
1267
- };
1268
-
1269
- declare type QueryCondition_5 = {
1270
- /** Path to the key separated by slashes */
1271
- key: string;
1272
- /** Value to compare against */
1273
- value?: string | number | number | boolean | string[] | number[] | number[];
1274
- /** Comparison operator */
1275
- 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';
1276
1141
  };
1277
1142
 
1278
1143
  declare type QueryFilter = {
@@ -1282,13 +1147,6 @@ declare type QueryFilter = {
1282
1147
  operator?: 'and' | 'or';
1283
1148
  };
1284
1149
 
1285
- declare type QueryFilter_5 = {
1286
- /** List of conditions to be evaluated */
1287
- conditions?: (QueryCondition_5 | QueryFilter_5)[];
1288
- /** Operator to use when joining conditions */
1289
- operator?: 'and' | 'or';
1290
- };
1291
-
1292
1150
  declare type ReleaseInfo_2 = {
1293
1151
  version: string;
1294
1152
  buildDate: string;
@@ -1343,6 +1201,8 @@ export declare type RemoteModulesContextType = {
1343
1201
  isLoading: boolean;
1344
1202
  modules: FrontendModuleListItem[];
1345
1203
  remotesInitialized: boolean;
1204
+ variant?: BundleMode;
1205
+ bundle?: BundleAddons;
1346
1206
  addonDev: AddonDevState;
1347
1207
  };
1348
1208
 
@@ -1372,72 +1232,24 @@ declare interface RemotePageProps {
1372
1232
  }
1373
1233
 
1374
1234
  declare type ResolvedEntityModel = {
1375
- projectName?: string;
1376
- folderId?: string;
1377
- productId?: string;
1378
- taskId?: string;
1379
- versionId?: string;
1380
- representationId?: string;
1381
- 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;
1382
1242
  /** Path to the file if a representation is specified */
1383
- filePath?: string;
1243
+ filePath?: string | null;
1384
1244
  /** The deepest entity type queried */
1385
- target?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile';
1245
+ target?: ('folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile') | null;
1386
1246
  };
1387
1247
 
1388
1248
  declare type ResolvedUriModel = {
1389
1249
  uri: string;
1390
1250
  entities?: ResolvedEntityModel[];
1391
1251
  /** Error message if the URI could not be resolved */
1392
- error?: string;
1393
- };
1394
-
1395
- declare type ReviewsSettings = {
1396
- rowHeight?: number;
1397
- sortBy?: string | string[];
1398
- sortDesc?: boolean;
1399
- filter?: QueryFilter_5;
1400
- columns?: ColumnItemModel[];
1401
- gridHeight?: number;
1402
- displayStyle?: 'cards' | 'table' | 'playlist';
1403
- };
1404
-
1405
- declare type ReviewsViewModel = {
1406
- /** Unique identifier for the view within the given scope. */
1407
- id?: string;
1408
- /** Human-readable name of the view. */
1409
- label: string;
1410
- /** Determines whether the view is only available for the given project or for all projects (studio). */
1411
- scope: 'project' | 'studio';
1412
- /** Name of the user who created the view. Owners have full control over the view, */
1413
- owner: string;
1414
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
1415
- visibility: 'public' | 'private';
1416
- /** 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 */
1417
- working: boolean;
1418
- position: number;
1419
- accessLevel: number;
1420
- settings: ReviewsSettings;
1421
- access: object;
1422
- viewType?: 'reviews';
1423
- };
1424
-
1425
- declare type ReviewsViewPatchModel = {
1426
- label?: string;
1427
- owner?: string;
1428
- settings?: ReviewsSettings;
1429
- viewType?: 'reviews';
1430
- };
1431
-
1432
- declare type ReviewsViewPostModel = {
1433
- /** Unique identifier for the view within the given scope. */
1434
- id?: string;
1435
- /** Human-readable name of the view. */
1436
- label: string;
1437
- /** 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 */
1438
- working?: boolean;
1439
- settings: ReviewsSettings;
1440
- viewType?: 'reviews';
1252
+ error?: string | null;
1441
1253
  };
1442
1254
 
1443
1255
  declare type Root = {
@@ -1509,7 +1321,7 @@ declare type SelectedViewState = ViewData | undefined;
1509
1321
 
1510
1322
  declare type SetDefaultViewApiArg = {
1511
1323
  viewType: string;
1512
- projectName?: string;
1324
+ projectName?: string | null;
1513
1325
  setDefaultViewRequestModel: SetDefaultViewRequestModel;
1514
1326
  };
1515
1327
 
@@ -1564,7 +1376,7 @@ declare type ShareOption = {
1564
1376
  value: string;
1565
1377
  name: string;
1566
1378
  label: string;
1567
- attribute?: string;
1379
+ attribute?: string | null;
1568
1380
  };
1569
1381
 
1570
1382
  declare type SiteInfo = {
@@ -1598,11 +1410,11 @@ declare type SsoOption = {
1598
1410
  /** If True, the provider will not be shown in the UI */
1599
1411
  hidden?: boolean;
1600
1412
  /** Nice human-readable title of the provider */
1601
- title?: string;
1602
- icon?: string;
1413
+ title?: string | null;
1414
+ icon?: string | null;
1603
1415
  color?: string;
1604
1416
  textColor?: string;
1605
- redirectKey?: string;
1417
+ redirectKey?: string | null;
1606
1418
  url: string;
1607
1419
  args?: {
1608
1420
  [key: string]: string;
@@ -1617,35 +1429,35 @@ declare type StagingDirectory = {
1617
1429
 
1618
1430
  declare type Status = {
1619
1431
  name: string;
1620
- original_name?: string;
1432
+ original_name?: string | null;
1621
1433
  shortName?: string;
1622
1434
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
1623
1435
  icon?: string;
1624
1436
  color?: string;
1625
1437
  /** Limit the status to specific entity types. */
1626
- scope?: string[];
1438
+ scope?: string[] | null;
1627
1439
  };
1628
1440
 
1629
1441
  declare type Status_2 = {
1630
1442
  name: string;
1631
- original_name?: string;
1443
+ original_name?: string | null;
1632
1444
  shortName?: string;
1633
1445
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
1634
1446
  icon?: string;
1635
1447
  color?: string;
1636
1448
  /** Limit the status to specific entity types. */
1637
- scope?: string[];
1449
+ scope?: string[] | null;
1638
1450
  };
1639
1451
 
1640
1452
  declare type Status_3 = {
1641
1453
  name: string;
1642
- original_name?: string;
1454
+ original_name?: string | null;
1643
1455
  shortName?: string;
1644
1456
  state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
1645
1457
  icon?: string;
1646
1458
  color?: string;
1647
1459
  /** Limit the status to specific entity types. */
1648
- scope?: string[];
1460
+ scope?: string[] | null;
1649
1461
  };
1650
1462
 
1651
1463
  declare type SubTaskNode = {
@@ -1796,69 +1608,25 @@ export declare interface TabStateByScope {
1796
1608
 
1797
1609
  declare type Tag = {
1798
1610
  name: string;
1799
- original_name?: string;
1611
+ original_name?: string | null;
1800
1612
  color?: string;
1801
1613
  };
1802
1614
 
1803
1615
  declare type Tag_2 = {
1804
1616
  name: string;
1805
- original_name?: string;
1617
+ original_name?: string | null;
1806
1618
  color?: string;
1807
1619
  };
1808
1620
 
1809
1621
  declare type Tag_3 = {
1810
1622
  name: string;
1811
- original_name?: string;
1623
+ original_name?: string | null;
1812
1624
  color?: string;
1813
1625
  };
1814
1626
 
1815
- declare type TaskProgressSettings = {
1816
- filter?: QueryFilter_5;
1817
- sliceType?: string;
1818
- columns?: ColumnItemModel[];
1819
- };
1820
-
1821
- declare type TaskProgressViewModel = {
1822
- /** Unique identifier for the view within the given scope. */
1823
- id?: string;
1824
- /** Human-readable name of the view. */
1825
- label: string;
1826
- /** Determines whether the view is only available for the given project or for all projects (studio). */
1827
- scope: 'project' | 'studio';
1828
- /** Name of the user who created the view. Owners have full control over the view, */
1829
- owner: string;
1830
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
1831
- visibility: 'public' | 'private';
1832
- /** 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 */
1833
- working: boolean;
1834
- position: number;
1835
- accessLevel: number;
1836
- settings: TaskProgressSettings;
1837
- access: object;
1838
- viewType?: 'taskProgress';
1839
- };
1840
-
1841
- declare type TaskProgressViewPatchModel = {
1842
- label?: string;
1843
- owner?: string;
1844
- settings?: TaskProgressSettings;
1845
- viewType?: 'taskProgress';
1846
- };
1847
-
1848
- declare type TaskProgressViewPostModel = {
1849
- /** Unique identifier for the view within the given scope. */
1850
- id?: string;
1851
- /** Human-readable name of the view. */
1852
- label: string;
1853
- /** 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 */
1854
- working?: boolean;
1855
- settings: TaskProgressSettings;
1856
- viewType?: 'taskProgress';
1857
- };
1858
-
1859
1627
  declare type TaskType = {
1860
1628
  name: string;
1861
- original_name?: string;
1629
+ original_name?: string | null;
1862
1630
  shortName?: string;
1863
1631
  color?: string;
1864
1632
  icon?: string;
@@ -1866,7 +1634,7 @@ declare type TaskType = {
1866
1634
 
1867
1635
  declare type TaskType_2 = {
1868
1636
  name: string;
1869
- original_name?: string;
1637
+ original_name?: string | null;
1870
1638
  shortName?: string;
1871
1639
  color?: string;
1872
1640
  icon?: string;
@@ -1874,7 +1642,7 @@ declare type TaskType_2 = {
1874
1642
 
1875
1643
  declare type TaskType_3 = {
1876
1644
  name: string;
1877
- original_name?: string;
1645
+ original_name?: string | null;
1878
1646
  shortName?: string;
1879
1647
  color?: string;
1880
1648
  icon?: string;
@@ -1949,8 +1717,8 @@ declare type UpdateSubtasksMutation = ReturnType<typeof useUpdateSubtasksMutatio
1949
1717
  declare type UpdateViewApiArg = {
1950
1718
  viewType: string;
1951
1719
  viewId: string;
1952
- projectName?: string;
1953
- payload: OverviewViewPatchModel | TaskProgressViewPatchModel | ListsViewPatchModel | ReviewsViewPatchModel | VersionsViewPatchModel | GenericViewPatchModel;
1720
+ projectName?: string | null;
1721
+ genericViewPatchModel: GenericViewPatchModel;
1954
1722
  };
1955
1723
 
1956
1724
  declare type UpdateViewSettingsFn = (updatedSettings: any, localStateSetter: (value: any) => void, newLocalValue: any, options: UpdateOptions) => Promise<void>;
@@ -2006,44 +1774,22 @@ export declare const useProjectContext: () => ProjectContextValue;
2006
1774
 
2007
1775
  export declare const useProjectFoldersContext: () => ProjectFoldersContextValue;
2008
1776
 
2009
- declare type UserAttribModel = {
2010
- fullName?: string;
2011
- email?: string;
2012
- avatarUrl?: string;
2013
- developerMode?: boolean;
2014
- };
2015
-
2016
- declare type UserAttribModel_2 = {
2017
- fullName?: string;
2018
- email?: string;
2019
- avatarUrl?: string;
2020
- developerMode?: boolean;
2021
- };
2022
-
2023
- declare type UserAttribModel_3 = {
2024
- fullName?: string;
2025
- email?: string;
2026
- avatarUrl?: string;
2027
- developerMode?: boolean;
2028
- };
2029
-
2030
- declare type UserAttribModel_4 = {
2031
- fullName?: string;
2032
- email?: string;
2033
- avatarUrl?: string;
2034
- developerMode?: boolean;
2035
- };
2036
-
2037
1777
  export declare const useRemoteModules: () => RemoteModulesContextType;
2038
1778
 
2039
1779
  declare type UserModel = {
2040
- /** Name is an unique id of the {entity_name} */
1780
+ /** Unique name of the user */
2041
1781
  name: string;
2042
- uiExposureLevel?: number;
2043
- attrib?: UserAttribModel;
2044
- data?: Record<string, any>;
2045
- /** 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 */
2046
1791
  active?: boolean;
1792
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2047
1793
  ownAttrib?: string[];
2048
1794
  /** Time of creation */
2049
1795
  createdAt?: string;
@@ -2052,13 +1798,19 @@ declare type UserModel = {
2052
1798
  };
2053
1799
 
2054
1800
  declare type UserModel_2 = {
2055
- /** Name is an unique id of the {entity_name} */
1801
+ /** Unique name of the user */
2056
1802
  name: string;
2057
- uiExposureLevel?: number;
2058
- attrib?: UserAttribModel_2;
2059
- data?: Record<string, any>;
2060
- /** 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 */
2061
1812
  active?: boolean;
1813
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2062
1814
  ownAttrib?: string[];
2063
1815
  /** Time of creation */
2064
1816
  createdAt?: string;
@@ -2067,13 +1819,19 @@ declare type UserModel_2 = {
2067
1819
  };
2068
1820
 
2069
1821
  declare type UserModel_3 = {
2070
- /** Name is an unique id of the {entity_name} */
1822
+ /** Unique name of the user */
2071
1823
  name: string;
2072
- uiExposureLevel?: number;
2073
- attrib?: UserAttribModel_3;
2074
- data?: Record<string, any>;
2075
- /** 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 */
2076
1833
  active?: boolean;
1834
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2077
1835
  ownAttrib?: string[];
2078
1836
  /** Time of creation */
2079
1837
  createdAt?: string;
@@ -2082,13 +1840,19 @@ declare type UserModel_3 = {
2082
1840
  };
2083
1841
 
2084
1842
  declare type UserModel_4 = {
2085
- /** Name is an unique id of the {entity_name} */
1843
+ /** Unique name of the user */
2086
1844
  name: string;
2087
- uiExposureLevel?: number;
2088
- attrib?: UserAttribModel_4;
2089
- data?: Record<string, any>;
2090
- /** 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 */
2091
1854
  active?: boolean;
1855
+ /** List of attributes explicitly set on the entity itself (not inherited) */
2092
1856
  ownAttrib?: string[];
2093
1857
  /** Time of creation */
2094
1858
  createdAt?: string;
@@ -2313,7 +2077,7 @@ declare const useUpdateSubtasksMutation: <R extends Record<string, any> = ({
2313
2077
  export declare const useURIContext: () => URIContextValue;
2314
2078
 
2315
2079
  declare type UseViewMutations = {
2316
- onCreateView: (payload: CreateViewApiArg['payload'], isStudioScope: boolean) => Promise<void>;
2080
+ onCreateView: (payload: GenericViewPostModel, isStudioScope: boolean) => Promise<void>;
2317
2081
  onDeleteView: (viewId: string, isStudioScope: boolean) => Promise<void>;
2318
2082
  onUpdateView: (viewId: string, payload: Partial<ViewData>, isStudioScope: boolean) => Promise<void>;
2319
2083
  onResetWorkingView: (args?: {
@@ -2325,61 +2089,6 @@ declare type UseViewMutations = {
2325
2089
  }) => Promise<string>;
2326
2090
  };
2327
2091
 
2328
- declare type VersionsSettings = {
2329
- showProducts?: boolean;
2330
- rowHeight?: number;
2331
- showGrid?: boolean;
2332
- gridHeight?: number;
2333
- featuredVersionOrder?: string[];
2334
- slicerType?: string;
2335
- groupBy?: string;
2336
- groupSortByDesc?: boolean;
2337
- showEmptyGroups?: boolean;
2338
- latestPerFolder?: boolean;
2339
- sortBy?: string | string[];
2340
- sortDesc?: boolean;
2341
- filter?: QueryFilter_5;
2342
- columns?: ColumnItemModel[];
2343
- };
2344
-
2345
- declare type VersionsViewModel = {
2346
- /** Unique identifier for the view within the given scope. */
2347
- id?: string;
2348
- /** Human-readable name of the view. */
2349
- label: string;
2350
- /** Determines whether the view is only available for the given project or for all projects (studio). */
2351
- scope: 'project' | 'studio';
2352
- /** Name of the user who created the view. Owners have full control over the view, */
2353
- owner: string;
2354
- /** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
2355
- visibility: 'public' | 'private';
2356
- /** 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 */
2357
- working: boolean;
2358
- position: number;
2359
- accessLevel: number;
2360
- settings: VersionsSettings;
2361
- access: object;
2362
- viewType?: 'versions';
2363
- };
2364
-
2365
- declare type VersionsViewPatchModel = {
2366
- label?: string;
2367
- owner?: string;
2368
- settings?: VersionsSettings;
2369
- viewType?: 'versions';
2370
- };
2371
-
2372
- declare type VersionsViewPostModel = {
2373
- /** Unique identifier for the view within the given scope. */
2374
- id?: string;
2375
- /** Human-readable name of the view. */
2376
- label: string;
2377
- /** 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 */
2378
- working?: boolean;
2379
- settings: VersionsSettings;
2380
- viewType?: 'versions';
2381
- };
2382
-
2383
2092
  declare const VIEW_DIVIDER: "_divider_";
2384
2093
 
2385
2094
  declare type ViewData = GetDefaultViewApiResponse;
@@ -2493,15 +2202,15 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2493
2202
  getWorkingView: QueryDefinition<GetWorkingViewApiArg, BaseQueryFn<string | {
2494
2203
  document: string | DocumentNode;
2495
2204
  variables?: any;
2496
- } | 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>;
2497
2206
  getBaseView: QueryDefinition<GetBaseViewApiArg, BaseQueryFn<string | {
2498
2207
  document: string | DocumentNode;
2499
2208
  variables?: any;
2500
- } | 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>;
2501
2210
  getDefaultView: QueryDefinition<GetDefaultViewApiArg, BaseQueryFn<string | {
2502
2211
  document: string | DocumentNode;
2503
2212
  variables?: any;
2504
- } | 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>;
2505
2214
  setDefaultView: MutationDefinition<SetDefaultViewApiArg, BaseQueryFn<string | {
2506
2215
  document: string | DocumentNode;
2507
2216
  variables?: any;
@@ -2509,12 +2218,12 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2509
2218
  getView: QueryDefinition<GetViewApiArg, BaseQueryFn<string | {
2510
2219
  document: string | DocumentNode;
2511
2220
  variables?: any;
2512
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetViewApiResponse, "restApi", unknown>;
2513
- deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2221
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2222
+ updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2514
2223
  document: string | DocumentNode;
2515
2224
  variables?: any;
2516
2225
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
2517
- updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2226
+ deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2518
2227
  document: string | DocumentNode;
2519
2228
  variables?: any;
2520
2229
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
@@ -2530,15 +2239,15 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2530
2239
  getWorkingView: QueryDefinition<GetWorkingViewApiArg, BaseQueryFn<string | {
2531
2240
  document: string | DocumentNode;
2532
2241
  variables?: any;
2533
- } | 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>;
2534
2243
  getBaseView: QueryDefinition<GetBaseViewApiArg, BaseQueryFn<string | {
2535
2244
  document: string | DocumentNode;
2536
2245
  variables?: any;
2537
- } | 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>;
2538
2247
  getDefaultView: QueryDefinition<GetDefaultViewApiArg, BaseQueryFn<string | {
2539
2248
  document: string | DocumentNode;
2540
2249
  variables?: any;
2541
- } | 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>;
2542
2251
  setDefaultView: MutationDefinition<SetDefaultViewApiArg, BaseQueryFn<string | {
2543
2252
  document: string | DocumentNode;
2544
2253
  variables?: any;
@@ -2546,12 +2255,12 @@ declare const viewsQueries: Api<BaseQueryFn<string | {
2546
2255
  getView: QueryDefinition<GetViewApiArg, BaseQueryFn<string | {
2547
2256
  document: string | DocumentNode;
2548
2257
  variables?: any;
2549
- } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetViewApiResponse, "restApi", unknown>;
2550
- deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2258
+ } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GenericViewModel, "restApi", unknown>;
2259
+ updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2551
2260
  document: string | DocumentNode;
2552
2261
  variables?: any;
2553
2262
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
2554
- updateView: MutationDefinition<UpdateViewApiArg, BaseQueryFn<string | {
2263
+ deleteView: MutationDefinition<DeleteViewApiArg, BaseQueryFn<string | {
2555
2264
  document: string | DocumentNode;
2556
2265
  variables?: any;
2557
2266
  } | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, any, "restApi", unknown>;
@@ -2588,13 +2297,13 @@ declare type YnputCloudInfoModel = {
2588
2297
  /** Ynput cloud instance ID */
2589
2298
  instanceId: string;
2590
2299
  /** Name of the instance */
2591
- instanceName?: string;
2300
+ instanceName?: string | null;
2592
2301
  /** Organization ID */
2593
- orgId?: string;
2302
+ orgId?: string | null;
2594
2303
  /** Name of the organization */
2595
- orgName?: string;
2304
+ orgName?: string | null;
2596
2305
  /** Name of the organization */
2597
- orgTitle?: string;
2306
+ orgTitle?: string | null;
2598
2307
  /** Is the instance managed by Ynput Cloud? */
2599
2308
  managed?: boolean;
2600
2309
  /** Collect saturated metrics */
@@ -2603,6 +2312,10 @@ declare type YnputCloudInfoModel = {
2603
2312
  subscriptions?: YnputCloudSubscriptionModel[];
2604
2313
  /** Is the instance connected to Ynput Cloud? */
2605
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;
2606
2319
  };
2607
2320
 
2608
2321
  declare type YnputCloudSubscriptionModel = {
@@ -2611,7 +2324,7 @@ declare type YnputCloudSubscriptionModel = {
2611
2324
  /** Type of the subscription */
2612
2325
  productType: string;
2613
2326
  /** End date of the trial */
2614
- trialEnd?: string;
2327
+ trialEnd?: string | null;
2615
2328
  };
2616
2329
 
2617
2330
  export { }