@ynput/ayon-frontend-shared 0.7.6 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DetailsPanel.es.js +361 -355
- package/dist/Feed.es.js +1 -1
- package/dist/ListTable.es.js +18 -18
- package/dist/NewEntity.es.js +30 -30
- package/dist/ProjectTreeTable.es.js +984 -974
- package/dist/ProjectsTable.es.js +3 -3
- package/dist/Slicer.es.js +53 -50
- package/dist/Views.es.js +150 -151
- package/dist/api.es.js +166 -165
- package/dist/chunks/Actions.es.js +9 -10
- package/dist/chunks/ColumnDropIndicator.es.js +2 -2
- package/dist/chunks/ColumnHeaderMenuUI.es.js +3 -4
- package/dist/chunks/DeleteEntitiesConfirmDialog.es.js +2 -2
- package/dist/chunks/DetailsDialog.es.js +3 -3
- package/dist/chunks/EmptyPlaceholder.es.js +7 -7
- package/dist/chunks/EntityPath.es.js +38 -39
- package/dist/chunks/EntityPickerDialog.es.js +65 -66
- package/dist/chunks/EntityTooltip.es.js +18 -19
- package/dist/chunks/Feed.es.js +1381 -1355
- package/dist/chunks/FilmstripEntityCard.es.js +5201 -0
- package/dist/chunks/FilterErrorActions.es.js +2 -3
- package/dist/chunks/GroupSettingsFallback.es.js +2 -2
- package/dist/chunks/Menu.es.js +52 -53
- package/dist/chunks/MetaWidget.es.js +1948 -1875
- package/dist/chunks/ProjectFoldersContext.es.js +40 -40
- package/dist/chunks/RepresentationsList.es.js +1 -1
- package/dist/chunks/ReviewablesSelector.es.js +759 -742
- package/dist/chunks/SimpleTable.es.js +2 -1
- package/dist/chunks/Slicer.es.js +49 -50
- package/dist/chunks/TableExportContextInstance.es.js +600 -402
- package/dist/chunks/TableSettingsFallback.es.js +3 -4
- package/dist/chunks/ThumbnailSimple.es.js +114 -99
- package/dist/chunks/VideoPlayer.es.js +8 -9
- package/dist/chunks/Watchers.es.js +928 -871
- package/dist/chunks/expandRelativeDates.es.js +1 -1
- package/dist/chunks/getThumbnailUrl.es.js +33 -21
- package/dist/chunks/getUris.es.js +1580 -1610
- package/dist/chunks/queryFilterToClientFilter.es.js +1 -1
- package/dist/chunks/realtimeUpdatesUtils.es.js +15 -15
- package/dist/chunks/searchTerms.es.js +774 -696
- package/dist/chunks/useAttributeEnums.es.js +22 -22
- package/dist/chunks/useDateRangeFilter.es.js +1 -1
- package/dist/chunks/useHierarchySelection.es.js +3 -4
- package/dist/chunks/useLoadModule.es.js +3 -4
- package/dist/components.es.js +1261 -1206
- package/dist/context.es.js +615 -540
- package/dist/hooks.es.js +193 -171
- package/dist/index.es.js +2 -2
- package/dist/types/Actions.d.ts +10 -8
- package/dist/types/DetailsPanel.d.ts +54 -76
- package/dist/types/EntityPickerDialog.d.ts +12 -6
- package/dist/types/Feed.d.ts +24 -24
- package/dist/types/ListTable.d.ts +33 -27
- package/dist/types/NewEntity.d.ts +26 -39
- package/dist/types/ProjectTreeTable.d.ts +275 -194
- package/dist/types/ProjectsTable.d.ts +6 -6
- package/dist/types/RepresentationsList.d.ts +4 -0
- package/dist/types/Slicer.d.ts +63 -246
- package/dist/types/Views.d.ts +71 -298
- package/dist/types/api.d.ts +3165 -2363
- package/dist/types/components.d.ts +444 -473
- package/dist/types/context.d.ts +285 -572
- package/dist/types/hooks.d.ts +76 -47
- package/dist/types/index.d.ts +6 -0
- package/dist/types/util.d.ts +141 -120
- package/dist/util.es.js +71 -68
- package/package.json +6 -6
- package/dist/chunks/EntityUpdatesContext.es.js +0 -61
- package/dist/chunks/PlayableIcon.es.js +0 -5020
- package/dist/chunks/viewUpdateHelper.es.js +0 -153
|
@@ -55,13 +55,13 @@ declare interface ContextMenuItemType extends Omit<ContextMenuItemProps, 'contex
|
|
|
55
55
|
declare type ListProjectsItemModel = {
|
|
56
56
|
name: string;
|
|
57
57
|
code: string;
|
|
58
|
-
label?: string;
|
|
59
|
-
color?: string;
|
|
58
|
+
label?: string | null;
|
|
59
|
+
color?: string | null;
|
|
60
60
|
active?: boolean;
|
|
61
61
|
library?: boolean;
|
|
62
62
|
skeleton?: boolean;
|
|
63
63
|
pinned?: boolean;
|
|
64
|
-
projectFolder?: string;
|
|
64
|
+
projectFolder?: string | null;
|
|
65
65
|
createdAt: string;
|
|
66
66
|
updatedAt: string;
|
|
67
67
|
};
|
|
@@ -74,15 +74,15 @@ export declare const PROJECT_FOLDER_ROW_ID_PREFIX = "folder";
|
|
|
74
74
|
|
|
75
75
|
declare type ProjectFolderData = {
|
|
76
76
|
/** Hex color code */
|
|
77
|
-
color?: string;
|
|
77
|
+
color?: string | null;
|
|
78
78
|
/** Icon name */
|
|
79
|
-
icon?: string;
|
|
79
|
+
icon?: string | null;
|
|
80
80
|
};
|
|
81
81
|
|
|
82
82
|
declare type ProjectFolderModel = {
|
|
83
83
|
id: string;
|
|
84
84
|
label: string;
|
|
85
|
-
parentId?: string;
|
|
85
|
+
parentId?: string | null;
|
|
86
86
|
position?: number;
|
|
87
87
|
isEmpty?: boolean;
|
|
88
88
|
data?: ProjectFolderData;
|
|
@@ -8,6 +8,8 @@ declare type DetailsPanelEntityData = {
|
|
|
8
8
|
status: string;
|
|
9
9
|
updatedAt: string;
|
|
10
10
|
createdAt: string;
|
|
11
|
+
createdBy?: string | null;
|
|
12
|
+
updatedBy?: string | null;
|
|
11
13
|
thumbnailHash: string;
|
|
12
14
|
attrib: Record<string, string | number>;
|
|
13
15
|
hasReviewables?: boolean;
|
|
@@ -92,6 +94,8 @@ declare type GetDetailsPanelTaskQuery = {
|
|
|
92
94
|
assignees: Array<string>;
|
|
93
95
|
updatedAt: unknown;
|
|
94
96
|
createdAt: unknown;
|
|
97
|
+
createdBy: string | null;
|
|
98
|
+
updatedBy: string | null;
|
|
95
99
|
thumbnailHash: string;
|
|
96
100
|
folderId: string;
|
|
97
101
|
thumbnailId: string | null;
|
package/dist/types/Slicer.d.ts
CHANGED
|
@@ -28,36 +28,40 @@ declare type AttributeData = {
|
|
|
28
28
|
/** Type of attribute value */
|
|
29
29
|
type?: 'string' | 'integer' | 'float' | 'boolean' | 'datetime' | 'list_of_strings' | 'list_of_integers' | 'list_of_any' | 'list_of_submodels' | 'dict';
|
|
30
30
|
/** Nice, human readable title of the attribute */
|
|
31
|
-
title?: string;
|
|
32
|
-
description?: string;
|
|
31
|
+
title?: string | null;
|
|
32
|
+
description?: string | null;
|
|
33
33
|
/** Example value of the field. */
|
|
34
34
|
example?: any;
|
|
35
35
|
/** Default value for the attribute. Do not set for list types. */
|
|
36
36
|
default?: any;
|
|
37
|
-
gt?: number | number;
|
|
38
|
-
ge?: number | number;
|
|
39
|
-
lt?: number | number;
|
|
40
|
-
le?: number | number;
|
|
41
|
-
minLength?: number;
|
|
42
|
-
maxLength?: number;
|
|
37
|
+
gt?: number | number | null;
|
|
38
|
+
ge?: number | number | null;
|
|
39
|
+
lt?: number | number | null;
|
|
40
|
+
le?: number | number | null;
|
|
41
|
+
minLength?: number | null;
|
|
42
|
+
maxLength?: number | null;
|
|
43
43
|
/** Minimum number of items in list type. */
|
|
44
|
-
minItems?: number;
|
|
44
|
+
minItems?: number | null;
|
|
45
45
|
/** Only for list types. Maximum number of items in the list. */
|
|
46
|
-
maxItems?: number;
|
|
46
|
+
maxItems?: number | null;
|
|
47
47
|
/** Only for string types. The value must match this regex. */
|
|
48
|
-
regex?: string;
|
|
48
|
+
regex?: string | null;
|
|
49
49
|
/** List of enum items used for displaying select widgets */
|
|
50
|
-
enum?: EnumItem[];
|
|
50
|
+
enum?: EnumItem[] | null;
|
|
51
51
|
/** Name of the function that provides enum values dynamically. */
|
|
52
|
-
enumResolver?: string;
|
|
52
|
+
enumResolver?: string | null;
|
|
53
53
|
/** Settings passed to the enum resolver function. */
|
|
54
|
-
enumResolverSettings?:
|
|
54
|
+
enumResolverSettings?: {
|
|
55
|
+
[key: string]: any;
|
|
56
|
+
} | null;
|
|
55
57
|
/** Inherit the attribute value from the parent entity. */
|
|
56
58
|
inherit?: boolean;
|
|
57
59
|
/** Specific widget style this field should use. */
|
|
58
|
-
widget?: string;
|
|
60
|
+
widget?: string | null;
|
|
59
61
|
/** Any additional config specific for the widget style.(Date formats, precision etc.) */
|
|
60
|
-
widgetSettings?:
|
|
62
|
+
widgetSettings?: {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
} | null;
|
|
61
65
|
};
|
|
62
66
|
|
|
63
67
|
declare type AttributeModel = {
|
|
@@ -75,13 +79,6 @@ export declare const buildListFolderRowId: (folderId: string) => string;
|
|
|
75
79
|
|
|
76
80
|
export declare const clampDraggedHeights: (sizes: number[], totalHeight: number, mins: number[]) => number[];
|
|
77
81
|
|
|
78
|
-
declare type ColumnItemModel = {
|
|
79
|
-
name: string;
|
|
80
|
-
visible?: boolean;
|
|
81
|
-
pinned?: boolean;
|
|
82
|
-
width?: number;
|
|
83
|
-
};
|
|
84
|
-
|
|
85
82
|
declare interface CommandEvent {
|
|
86
83
|
originalEvent: default_2.MouseEvent;
|
|
87
84
|
item: {
|
|
@@ -152,19 +149,21 @@ export declare interface EntityParentMaps {
|
|
|
152
149
|
declare type EnumItem = {
|
|
153
150
|
value: string | number | number | boolean;
|
|
154
151
|
label: string;
|
|
155
|
-
description?: string;
|
|
156
|
-
fulltext?: string[];
|
|
157
|
-
group?: string;
|
|
152
|
+
description?: string | null;
|
|
153
|
+
fulltext?: string[] | null;
|
|
154
|
+
group?: string | null;
|
|
158
155
|
/** Icon name (material symbol) or IconModel object */
|
|
159
|
-
icon?: string | IconModel;
|
|
160
|
-
color?: string;
|
|
161
|
-
shortName?: string;
|
|
156
|
+
icon?: string | IconModel | null;
|
|
157
|
+
color?: string | null;
|
|
158
|
+
shortName?: string | null;
|
|
162
159
|
/** Enum item is visible, but not selectable */
|
|
163
160
|
disabled?: boolean;
|
|
164
161
|
/** Message to show when the option is disabled */
|
|
165
|
-
disabledMessage?: string;
|
|
166
|
-
/** Enum item is not
|
|
162
|
+
disabledMessage?: string | null;
|
|
163
|
+
/** Enum item is not visible in the dropdown */
|
|
167
164
|
hidden?: boolean;
|
|
165
|
+
/** Extra badge labels to display next to the item */
|
|
166
|
+
badges?: string[] | null;
|
|
168
167
|
};
|
|
169
168
|
|
|
170
169
|
declare type ExtraSlices = {
|
|
@@ -183,7 +182,7 @@ export declare type FilterBySliceData = {
|
|
|
183
182
|
|
|
184
183
|
declare type FolderType_2 = {
|
|
185
184
|
name: string;
|
|
186
|
-
original_name?: string;
|
|
185
|
+
original_name?: string | null;
|
|
187
186
|
shortName?: string;
|
|
188
187
|
color?: string;
|
|
189
188
|
icon?: string;
|
|
@@ -204,9 +203,13 @@ declare type GenericViewModel = {
|
|
|
204
203
|
working: boolean;
|
|
205
204
|
position: number;
|
|
206
205
|
accessLevel: number;
|
|
207
|
-
settings: object;
|
|
208
|
-
access: object;
|
|
209
206
|
viewType: string;
|
|
207
|
+
settings: {
|
|
208
|
+
[key: string]: any;
|
|
209
|
+
};
|
|
210
|
+
access: {
|
|
211
|
+
[key: string]: any;
|
|
212
|
+
};
|
|
210
213
|
};
|
|
211
214
|
|
|
212
215
|
declare type GetAllProjectUsersAsAssigneeQuery = {
|
|
@@ -223,9 +226,7 @@ declare type GetAllProjectUsersAsAssigneeQuery = {
|
|
|
223
226
|
|
|
224
227
|
export declare const getDefaultSliceSort: (sliceType: SliceType) => SliceSort;
|
|
225
228
|
|
|
226
|
-
declare type GetDefaultViewApiResponse =
|
|
227
|
-
/** status 200 Successful Response */
|
|
228
|
-
OverviewViewModel | TaskProgressViewModel | ListsViewModel | ReviewsViewModel | VersionsViewModel | GenericViewModel;
|
|
229
|
+
declare type GetDefaultViewApiResponse = GenericViewModel;
|
|
229
230
|
|
|
230
231
|
export declare type GetSlicerCountsSource = (sliceType: string) => SlicerCountsSource | undefined;
|
|
231
232
|
|
|
@@ -241,11 +242,11 @@ declare type GroupCountsMap = Map<string, GroupCount>;
|
|
|
241
242
|
declare type IconModel = {
|
|
242
243
|
type?: 'material-symbols' | 'url';
|
|
243
244
|
/** The name of the icon (for type material-symbols) */
|
|
244
|
-
name?: string;
|
|
245
|
+
name?: string | null;
|
|
245
246
|
/** The color of the icon (for type material-symbols) */
|
|
246
|
-
color?: string;
|
|
247
|
+
color?: string | null;
|
|
247
248
|
/** The URL of the icon (for type url) */
|
|
248
|
-
url?: string;
|
|
249
|
+
url?: string | null;
|
|
249
250
|
};
|
|
250
251
|
|
|
251
252
|
declare type LinkTypeModel_2 = {
|
|
@@ -258,35 +259,9 @@ declare type LinkTypeModel_2 = {
|
|
|
258
259
|
/** Output entity type */
|
|
259
260
|
outputType: string;
|
|
260
261
|
/** Additional link type data */
|
|
261
|
-
data?:
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
declare type ListsSettings = {
|
|
265
|
-
rowHeight?: number;
|
|
266
|
-
sortBy?: string | string[];
|
|
267
|
-
sortDesc?: boolean;
|
|
268
|
-
filter?: QueryFilter_5;
|
|
269
|
-
columns?: ColumnItemModel[];
|
|
270
|
-
};
|
|
271
|
-
|
|
272
|
-
declare type ListsViewModel = {
|
|
273
|
-
/** Unique identifier for the view within the given scope. */
|
|
274
|
-
id?: string;
|
|
275
|
-
/** Human-readable name of the view. */
|
|
276
|
-
label: string;
|
|
277
|
-
/** Determines whether the view is only available for the given project or for all projects (studio). */
|
|
278
|
-
scope: 'project' | 'studio';
|
|
279
|
-
/** Name of the user who created the view. Owners have full control over the view, */
|
|
280
|
-
owner: string;
|
|
281
|
-
/** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
|
|
282
|
-
visibility: 'public' | 'private';
|
|
283
|
-
/** 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 */
|
|
284
|
-
working: boolean;
|
|
285
|
-
position: number;
|
|
286
|
-
accessLevel: number;
|
|
287
|
-
settings: ListsSettings;
|
|
288
|
-
access: object;
|
|
289
|
-
viewType?: 'lists';
|
|
262
|
+
data?: {
|
|
263
|
+
[key: string]: any;
|
|
264
|
+
};
|
|
290
265
|
};
|
|
291
266
|
|
|
292
267
|
declare type Maybe<T> = T | null;
|
|
@@ -305,40 +280,6 @@ export declare type OnSliceTypeChange = (sliceType: SliceType, pinCurrent?: bool
|
|
|
305
280
|
|
|
306
281
|
declare type OpenMoveDialog = (data: EntityMoveData | MultiEntityMoveData) => void;
|
|
307
282
|
|
|
308
|
-
declare type OverviewSettings = {
|
|
309
|
-
showHierarchy?: boolean;
|
|
310
|
-
rowHeight?: number;
|
|
311
|
-
groupBy?: string;
|
|
312
|
-
groupSortByDesc?: boolean;
|
|
313
|
-
showEmptyGroups?: boolean;
|
|
314
|
-
sortBy?: string | string[];
|
|
315
|
-
sortDesc?: boolean;
|
|
316
|
-
filter?: QueryFilter_5;
|
|
317
|
-
folderFilter?: QueryFilter_5;
|
|
318
|
-
sliceType?: string;
|
|
319
|
-
columns?: ColumnItemModel[];
|
|
320
|
-
};
|
|
321
|
-
|
|
322
|
-
declare type OverviewViewModel = {
|
|
323
|
-
/** Unique identifier for the view within the given scope. */
|
|
324
|
-
id?: string;
|
|
325
|
-
/** Human-readable name of the view. */
|
|
326
|
-
label: string;
|
|
327
|
-
/** Determines whether the view is only available for the given project or for all projects (studio). */
|
|
328
|
-
scope: 'project' | 'studio';
|
|
329
|
-
/** Name of the user who created the view. Owners have full control over the view, */
|
|
330
|
-
owner: string;
|
|
331
|
-
/** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
|
|
332
|
-
visibility: 'public' | 'private';
|
|
333
|
-
/** 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 */
|
|
334
|
-
working: boolean;
|
|
335
|
-
position: number;
|
|
336
|
-
accessLevel: number;
|
|
337
|
-
settings: OverviewSettings;
|
|
338
|
-
access: object;
|
|
339
|
-
viewType?: 'overview';
|
|
340
|
-
};
|
|
341
|
-
|
|
342
283
|
export declare interface PinnedSlice {
|
|
343
284
|
sliceType: SliceType;
|
|
344
285
|
rowSelection: RowSelectionState;
|
|
@@ -354,46 +295,31 @@ declare type ProductType = {
|
|
|
354
295
|
name: Scalars['String']['output'];
|
|
355
296
|
};
|
|
356
297
|
|
|
357
|
-
declare type ProjectAttribModel2 = {
|
|
358
|
-
priority?: 'urgent' | 'high' | 'normal' | 'low';
|
|
359
|
-
/** Frame rate */
|
|
360
|
-
fps?: number;
|
|
361
|
-
/** Horizontal resolution */
|
|
362
|
-
resolutionWidth?: number;
|
|
363
|
-
/** Vertical resolution */
|
|
364
|
-
resolutionHeight?: number;
|
|
365
|
-
pixelAspect?: number;
|
|
366
|
-
clipIn?: number;
|
|
367
|
-
clipOut?: number;
|
|
368
|
-
frameStart?: number;
|
|
369
|
-
frameEnd?: number;
|
|
370
|
-
handleStart?: number;
|
|
371
|
-
handleEnd?: number;
|
|
372
|
-
/** Date and time when the project or task or asset was started */
|
|
373
|
-
startDate?: string;
|
|
374
|
-
/** Deadline date and time */
|
|
375
|
-
endDate?: string;
|
|
376
|
-
/** Textual description of the entity */
|
|
377
|
-
description?: string;
|
|
378
|
-
};
|
|
379
|
-
|
|
380
298
|
declare type ProjectModel = {
|
|
381
|
-
/**
|
|
299
|
+
/** Unique name of the project */
|
|
382
300
|
name: string;
|
|
383
301
|
code: string;
|
|
384
|
-
label?: string;
|
|
302
|
+
label?: string | null;
|
|
385
303
|
library?: boolean;
|
|
386
304
|
folderTypes?: FolderType_2[];
|
|
387
305
|
taskTypes?: TaskType_2[];
|
|
388
306
|
linkTypes?: LinkTypeModel_2[];
|
|
389
307
|
statuses?: Status_2[];
|
|
390
308
|
tags?: Tag_2[];
|
|
391
|
-
config?:
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
/**
|
|
309
|
+
config?: {
|
|
310
|
+
[key: string]: any;
|
|
311
|
+
};
|
|
312
|
+
skeleton?: boolean | null;
|
|
313
|
+
/** Attribute values of the entity */
|
|
314
|
+
attrib?: {
|
|
315
|
+
[key: string]: any;
|
|
316
|
+
};
|
|
317
|
+
data?: {
|
|
318
|
+
[key: string]: any;
|
|
319
|
+
};
|
|
320
|
+
/** Whether the entity is active */
|
|
396
321
|
active?: boolean;
|
|
322
|
+
/** List of attributes explicitly set on the entity itself (not inherited) */
|
|
397
323
|
ownAttrib?: string[];
|
|
398
324
|
/** Time of creation */
|
|
399
325
|
createdAt?: string;
|
|
@@ -407,56 +333,10 @@ declare interface ProjectTableAttribute extends AttributeModel {
|
|
|
407
333
|
enumError?: string;
|
|
408
334
|
}
|
|
409
335
|
|
|
410
|
-
declare type QueryCondition_5 = {
|
|
411
|
-
/** Path to the key separated by slashes */
|
|
412
|
-
key: string;
|
|
413
|
-
/** Value to compare against */
|
|
414
|
-
value?: string | number | number | boolean | string[] | number[] | number[];
|
|
415
|
-
/** Comparison operator */
|
|
416
|
-
operator?: 'eq' | 'like' | 'notlike' | 'lt' | 'gt' | 'lte' | 'gte' | 'ne' | 'isnull' | 'notnull' | 'in' | 'notin' | 'includes' | 'excludes' | 'includesall' | 'excludesall' | 'includesany' | 'excludesany';
|
|
417
|
-
};
|
|
418
|
-
|
|
419
|
-
declare type QueryFilter_5 = {
|
|
420
|
-
/** List of conditions to be evaluated */
|
|
421
|
-
conditions?: (QueryCondition_5 | QueryFilter_5)[];
|
|
422
|
-
/** Operator to use when joining conditions */
|
|
423
|
-
operator?: 'and' | 'or';
|
|
424
|
-
};
|
|
425
|
-
|
|
426
336
|
export declare const resolvePanelLayout: (stored: SlicerPanelHeights, panelIds: string[], collapsed?: string[], containerHeight?: number, defaultHeight?: number) => SlicerPanelLayout;
|
|
427
337
|
|
|
428
338
|
export declare const resolveSliceSort: (sliceType: SliceType, sort: unknown) => SliceSort;
|
|
429
339
|
|
|
430
|
-
declare type ReviewsSettings = {
|
|
431
|
-
rowHeight?: number;
|
|
432
|
-
sortBy?: string | string[];
|
|
433
|
-
sortDesc?: boolean;
|
|
434
|
-
filter?: QueryFilter_5;
|
|
435
|
-
columns?: ColumnItemModel[];
|
|
436
|
-
gridHeight?: number;
|
|
437
|
-
displayStyle?: 'cards' | 'table' | 'playlist';
|
|
438
|
-
};
|
|
439
|
-
|
|
440
|
-
declare type ReviewsViewModel = {
|
|
441
|
-
/** Unique identifier for the view within the given scope. */
|
|
442
|
-
id?: string;
|
|
443
|
-
/** Human-readable name of the view. */
|
|
444
|
-
label: string;
|
|
445
|
-
/** Determines whether the view is only available for the given project or for all projects (studio). */
|
|
446
|
-
scope: 'project' | 'studio';
|
|
447
|
-
/** Name of the user who created the view. Owners have full control over the view, */
|
|
448
|
-
owner: string;
|
|
449
|
-
/** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
|
|
450
|
-
visibility: 'public' | 'private';
|
|
451
|
-
/** 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 */
|
|
452
|
-
working: boolean;
|
|
453
|
-
position: number;
|
|
454
|
-
accessLevel: number;
|
|
455
|
-
settings: ReviewsSettings;
|
|
456
|
-
access: object;
|
|
457
|
-
viewType?: 'reviews';
|
|
458
|
-
};
|
|
459
|
-
|
|
460
340
|
declare type RowItemData = {
|
|
461
341
|
id: string;
|
|
462
342
|
name?: string | null;
|
|
@@ -728,13 +608,13 @@ export declare const sortSliceRows: (rows: SimpleTableRow[], sliceType: SliceTyp
|
|
|
728
608
|
|
|
729
609
|
declare type Status_2 = {
|
|
730
610
|
name: string;
|
|
731
|
-
original_name?: string;
|
|
611
|
+
original_name?: string | null;
|
|
732
612
|
shortName?: string;
|
|
733
613
|
state?: 'not_started' | 'in_progress' | 'done' | 'blocked';
|
|
734
614
|
icon?: string;
|
|
735
615
|
color?: string;
|
|
736
616
|
/** Limit the status to specific entity types. */
|
|
737
|
-
scope?: string[];
|
|
617
|
+
scope?: string[] | null;
|
|
738
618
|
};
|
|
739
619
|
|
|
740
620
|
export declare interface TableData {
|
|
@@ -748,36 +628,10 @@ export declare interface TableData {
|
|
|
748
628
|
|
|
749
629
|
declare type Tag_2 = {
|
|
750
630
|
name: string;
|
|
751
|
-
original_name?: string;
|
|
631
|
+
original_name?: string | null;
|
|
752
632
|
color?: string;
|
|
753
633
|
};
|
|
754
634
|
|
|
755
|
-
declare type TaskProgressSettings = {
|
|
756
|
-
filter?: QueryFilter_5;
|
|
757
|
-
sliceType?: string;
|
|
758
|
-
columns?: ColumnItemModel[];
|
|
759
|
-
};
|
|
760
|
-
|
|
761
|
-
declare type TaskProgressViewModel = {
|
|
762
|
-
/** Unique identifier for the view within the given scope. */
|
|
763
|
-
id?: string;
|
|
764
|
-
/** Human-readable name of the view. */
|
|
765
|
-
label: string;
|
|
766
|
-
/** Determines whether the view is only available for the given project or for all projects (studio). */
|
|
767
|
-
scope: 'project' | 'studio';
|
|
768
|
-
/** Name of the user who created the view. Owners have full control over the view, */
|
|
769
|
-
owner: string;
|
|
770
|
-
/** Visibility of the view. Public views are visible to all users, private views are only visible to the owner. */
|
|
771
|
-
visibility: 'public' | 'private';
|
|
772
|
-
/** 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 */
|
|
773
|
-
working: boolean;
|
|
774
|
-
position: number;
|
|
775
|
-
accessLevel: number;
|
|
776
|
-
settings: TaskProgressSettings;
|
|
777
|
-
access: object;
|
|
778
|
-
viewType?: 'taskProgress';
|
|
779
|
-
};
|
|
780
|
-
|
|
781
635
|
declare type TaskStatsArgs = {
|
|
782
636
|
projectName: string;
|
|
783
637
|
filter?: string;
|
|
@@ -789,7 +643,7 @@ declare type TaskStatsArgs = {
|
|
|
789
643
|
|
|
790
644
|
declare type TaskType_2 = {
|
|
791
645
|
name: string;
|
|
792
|
-
original_name?: string;
|
|
646
|
+
original_name?: string | null;
|
|
793
647
|
shortName?: string;
|
|
794
648
|
color?: string;
|
|
795
649
|
icon?: string;
|
|
@@ -902,23 +756,6 @@ export declare const useSlicerSplitter: () => readonly [number[], (props: {
|
|
|
902
756
|
sizes: number[];
|
|
903
757
|
}) => void];
|
|
904
758
|
|
|
905
|
-
declare type VersionsSettings = {
|
|
906
|
-
showProducts?: boolean;
|
|
907
|
-
rowHeight?: number;
|
|
908
|
-
showGrid?: boolean;
|
|
909
|
-
gridHeight?: number;
|
|
910
|
-
featuredVersionOrder?: string[];
|
|
911
|
-
slicerType?: string;
|
|
912
|
-
groupBy?: string;
|
|
913
|
-
groupSortByDesc?: boolean;
|
|
914
|
-
showEmptyGroups?: boolean;
|
|
915
|
-
latestPerFolder?: boolean;
|
|
916
|
-
sortBy?: string | string[];
|
|
917
|
-
sortDesc?: boolean;
|
|
918
|
-
filter?: QueryFilter_5;
|
|
919
|
-
columns?: ColumnItemModel[];
|
|
920
|
-
};
|
|
921
|
-
|
|
922
759
|
declare type VersionStatsArgs = {
|
|
923
760
|
projectName: string;
|
|
924
761
|
versionFilter?: string;
|
|
@@ -932,26 +769,6 @@ declare type VersionStatsArgs = {
|
|
|
932
769
|
latestPerFolder?: boolean;
|
|
933
770
|
};
|
|
934
771
|
|
|
935
|
-
declare type VersionsViewModel = {
|
|
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: VersionsSettings;
|
|
951
|
-
access: object;
|
|
952
|
-
viewType?: 'versions';
|
|
953
|
-
};
|
|
954
|
-
|
|
955
772
|
declare type ViewSettings = GetDefaultViewApiResponse['settings'];
|
|
956
773
|
|
|
957
774
|
export { }
|