@ynput/ayon-frontend-shared 0.6.7 → 0.6.9
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 +3 -3
- package/dist/Feed.es.js +64 -58
- package/dist/ListTable.es.js +5 -5
- package/dist/NewEntity.es.js +38 -38
- package/dist/ProjectTreeTable.es.js +1314 -1314
- package/dist/Slicer.es.js +21 -21
- package/dist/Views.es.js +1 -1
- package/dist/api.es.js +362 -360
- package/dist/chunks/Actions.es.js +21 -21
- package/dist/chunks/ColumnDropIndicator.es.js +7 -7
- package/dist/chunks/DeleteEntitiesContextInstance.es.js +22 -22
- package/dist/chunks/EmptyPlaceholder.es.js +9 -9
- package/dist/chunks/EntityPath.es.js +1 -1
- package/dist/chunks/EntityUpdatesContext.es.js +1 -1
- package/dist/chunks/Feed.es.js +1843 -1830
- package/dist/chunks/MetaWidget.es.js +816 -827
- package/dist/chunks/PlayableIcon.es.js +124 -85
- package/dist/chunks/ProjectContext.es.js +11 -11
- package/dist/chunks/ReviewablesSelector.es.js +572 -484
- package/dist/chunks/SimpleForm.es.js +6 -5
- package/dist/chunks/SimpleTable.es.js +1 -1
- package/dist/chunks/Slicer.es.js +75 -75
- package/dist/chunks/ThumbnailSimple.es.js +15 -15
- package/dist/chunks/Watchers.es.js +35 -35
- package/dist/chunks/getBundleMode.es.js +33 -25
- package/dist/chunks/getUris.es.js +236 -229
- package/dist/chunks/searchTerms.es.js +352 -333
- package/dist/chunks/useAttributeEnums.es.js +16 -16
- package/dist/chunks/useDateRangeFilter.es.js +85 -59
- package/dist/chunks/viewUpdateHelper.es.js +36 -36
- package/dist/components.es.js +793 -754
- package/dist/context.es.js +121 -120
- package/dist/hooks.es.js +15 -15
- package/dist/index.es.js +2 -2
- package/dist/types/Feed.d.ts +54 -0
- package/dist/types/ProjectTreeTable.d.ts +5 -2
- package/dist/types/api.d.ts +372 -0
- package/dist/types/components.d.ts +516 -0
- package/dist/types/util.d.ts +4 -0
- package/dist/util.es.js +68 -66
- package/package.json +1 -1
package/dist/hooks.es.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { d as k, a as
|
|
1
|
+
import { d as k, a as R } from "./chunks/DeleteEntitiesContextInstance.es.js";
|
|
2
2
|
import { q as ie, r as ae, s as ue, p as de, v as ce, w as le } from "./chunks/DeleteEntitiesContextInstance.es.js";
|
|
3
|
-
import { u as
|
|
3
|
+
import { u as T } from "./chunks/useLoadModule.es.js";
|
|
4
4
|
import { loadRemote as V } from "@module-federation/enhanced/runtime";
|
|
5
5
|
import { useRef as G, useState as S, useEffect as v, useCallback as M } from "react";
|
|
6
6
|
import A from "semver";
|
|
7
7
|
import { k as fe, l as pe, m as ge, n as he, o as ye, p as we } from "./chunks/Watchers.es.js";
|
|
8
8
|
import { u as Le } from "./chunks/useActionTriggers.es.js";
|
|
9
|
-
import {
|
|
10
|
-
import { bw as N,
|
|
9
|
+
import { b3 as C } from "./chunks/searchTerms.es.js";
|
|
10
|
+
import { bw as N, cR as O } from "./chunks/getUris.es.js";
|
|
11
11
|
import "primereact/confirmdialog";
|
|
12
12
|
import { jsx as x, jsxs as K } from "react/jsx-runtime";
|
|
13
13
|
import { toast as U } from "react-toastify";
|
|
@@ -30,13 +30,13 @@ import "./chunks/PlayableIcon.es.js";
|
|
|
30
30
|
import "./chunks/JsonViewer.es.js";
|
|
31
31
|
import "lexical";
|
|
32
32
|
import "@lexical/markdown";
|
|
33
|
-
import "@lexical/react/LexicalBlockWithAlignableContents";
|
|
34
|
-
import "@lexical/react/LexicalDecoratorBlockNode";
|
|
35
33
|
import "@lexical/code";
|
|
36
34
|
import "@lexical/list";
|
|
37
35
|
import "@lexical/rich-text";
|
|
38
36
|
import "@lexical/selection";
|
|
39
37
|
import "@lexical/utils";
|
|
38
|
+
import "@lexical/react/LexicalBlockWithAlignableContents";
|
|
39
|
+
import "@lexical/react/LexicalDecoratorBlockNode";
|
|
40
40
|
import "./chunks/EmptyPlaceholder.es.js";
|
|
41
41
|
import "./chunks/Menu.es.js";
|
|
42
42
|
import "./chunks/InfoMessage.es.js";
|
|
@@ -222,26 +222,26 @@ const Jt = (t, n, e) => {
|
|
|
222
222
|
groups: m,
|
|
223
223
|
error: r
|
|
224
224
|
};
|
|
225
|
-
},
|
|
225
|
+
}, q = H.li`
|
|
226
226
|
display: flex;
|
|
227
227
|
align-items: center;
|
|
228
228
|
padding: 0;
|
|
229
229
|
margin: 0;
|
|
230
|
-
`,
|
|
230
|
+
`, z = H(_)`
|
|
231
231
|
width: 100%;
|
|
232
232
|
justify-content: start;
|
|
233
|
-
`,
|
|
233
|
+
`, B = ({
|
|
234
234
|
requiredVersion: t,
|
|
235
235
|
fields: n
|
|
236
|
-
}) => /* @__PURE__ */ x(F, { feature: "groupAttributes", requiredVersion: t, children: n.map((e) => /* @__PURE__ */ x(
|
|
236
|
+
}) => /* @__PURE__ */ x(F, { feature: "groupAttributes", requiredVersion: t, children: n.map((e) => /* @__PURE__ */ x(q, { children: /* @__PURE__ */ K(z, { variant: "text", icon: e.icon, children: [
|
|
237
237
|
e.label,
|
|
238
238
|
/* @__PURE__ */ x(j, { icon: "bolt", style: { marginLeft: "auto" } })
|
|
239
239
|
] }) }, e.value)) }), Zt = () => {
|
|
240
|
-
const { powerLicense: t } =
|
|
240
|
+
const { powerLicense: t } = R(), [n, { outdated: e, isLoading: o }] = T({
|
|
241
241
|
addon: "powerpack",
|
|
242
242
|
remote: "slicer",
|
|
243
243
|
module: "GroupSettings",
|
|
244
|
-
fallback:
|
|
244
|
+
fallback: B,
|
|
245
245
|
minVersion: "1.1.1-dev",
|
|
246
246
|
skip: !t
|
|
247
247
|
// skip loading if powerpack license is not available
|
|
@@ -251,7 +251,7 @@ const Jt = (t, n, e) => {
|
|
|
251
251
|
requiredVersion: e?.required,
|
|
252
252
|
isLoading: o
|
|
253
253
|
};
|
|
254
|
-
},
|
|
254
|
+
}, Q = ["w", "s"];
|
|
255
255
|
function te({
|
|
256
256
|
reviewables: t,
|
|
257
257
|
selected: n,
|
|
@@ -263,7 +263,7 @@ function te({
|
|
|
263
263
|
if (!m || t.length <= 1) return;
|
|
264
264
|
const r = (s) => {
|
|
265
265
|
const f = s.key.length === 1 ? s.key.toLowerCase() : s.key;
|
|
266
|
-
if (!
|
|
266
|
+
if (!Q.includes(f) || s.metaKey || s.ctrlKey || s.altKey || W(s.target) && (s.target.tagName === "INPUT" || s.target.tagName === "TEXTAREA" || s.target.isContentEditable))
|
|
267
267
|
return;
|
|
268
268
|
const E = t.findIndex(({ fileId: u }) => n.includes(u)) + (f === "w" ? -1 : 1), g = t[E < 0 ? t.length - 1 : E % t.length];
|
|
269
269
|
g && (e?.(g.fileId), o?.(g));
|
|
@@ -330,7 +330,7 @@ export {
|
|
|
330
330
|
Zt as useGroupByRemoteModules,
|
|
331
331
|
xe as useGroupedPagination,
|
|
332
332
|
ve as useHierarchyTable,
|
|
333
|
-
|
|
333
|
+
T as useLoadModule,
|
|
334
334
|
Jt as useLoadModules,
|
|
335
335
|
ue as useLocalStorage,
|
|
336
336
|
Ie as useQueryArgumentChangeLoading,
|
package/dist/index.es.js
CHANGED
|
@@ -20,13 +20,13 @@ import "./chunks/JsonViewer.es.js";
|
|
|
20
20
|
import "./chunks/Watchers.es.js";
|
|
21
21
|
import "lexical";
|
|
22
22
|
import "@lexical/markdown";
|
|
23
|
-
import "@lexical/react/LexicalBlockWithAlignableContents";
|
|
24
|
-
import "@lexical/react/LexicalDecoratorBlockNode";
|
|
25
23
|
import "@lexical/code";
|
|
26
24
|
import "@lexical/list";
|
|
27
25
|
import "@lexical/rich-text";
|
|
28
26
|
import "@lexical/selection";
|
|
29
27
|
import "@lexical/utils";
|
|
28
|
+
import "@lexical/react/LexicalBlockWithAlignableContents";
|
|
29
|
+
import "@lexical/react/LexicalDecoratorBlockNode";
|
|
30
30
|
import "@module-federation/enhanced/runtime";
|
|
31
31
|
import "semver";
|
|
32
32
|
import "./chunks/ContextMenuContextInstance.es.js";
|
package/dist/types/Feed.d.ts
CHANGED
|
@@ -44,6 +44,12 @@ declare type ActivityUser = {
|
|
|
44
44
|
};
|
|
45
45
|
};
|
|
46
46
|
|
|
47
|
+
export declare const blockquoteTag: ({ children }: BlockquoteTagProps) => JSX.Element;
|
|
48
|
+
|
|
49
|
+
declare interface BlockquoteTagProps {
|
|
50
|
+
children: default_2.ReactNode;
|
|
51
|
+
}
|
|
52
|
+
|
|
47
53
|
export declare const CategoryDropdownItem: ForwardRefExoticComponent<CategoryDropdownItemProps & RefAttributes<HTMLSpanElement>>;
|
|
48
54
|
|
|
49
55
|
export declare interface CategoryDropdownItemProps extends Omit<React.HTMLAttributes<HTMLSpanElement>, 'color'> {
|
|
@@ -74,6 +80,16 @@ declare type ChecklistCount = {
|
|
|
74
80
|
ids: string[];
|
|
75
81
|
};
|
|
76
82
|
|
|
83
|
+
export declare const codeTag: ({ node, className, children }: CodeTagProps) => JSX.Element;
|
|
84
|
+
|
|
85
|
+
declare interface CodeTagProps {
|
|
86
|
+
node: any;
|
|
87
|
+
className?: string;
|
|
88
|
+
children: default_2.ReactNode;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export declare const COMMENT_DIRECTIVES: string[];
|
|
92
|
+
|
|
77
93
|
export declare type EditingState = null | typeof FEED_NEW_COMMENT | string;
|
|
78
94
|
|
|
79
95
|
export declare const expandableMimeTypes: {
|
|
@@ -176,6 +192,18 @@ export declare const getMultiSelection: (selection: {
|
|
|
176
192
|
[key: string]: boolean;
|
|
177
193
|
}, newSelection: string[], orderedIds: string[], nextId: string, direction: number) => string[];
|
|
178
194
|
|
|
195
|
+
export declare const inputTag: ({ type, checked, ...props }: InputTagProps, { activity, onCheckChange }: InputTagOptions) => JSX.Element;
|
|
196
|
+
|
|
197
|
+
declare interface InputTagOptions {
|
|
198
|
+
activity: any;
|
|
199
|
+
onCheckChange?: (event: default_2.ChangeEvent<HTMLInputElement>, activity: any) => void;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
declare interface InputTagProps extends default_2.InputHTMLAttributes<HTMLInputElement> {
|
|
203
|
+
type: string;
|
|
204
|
+
checked?: boolean;
|
|
205
|
+
}
|
|
206
|
+
|
|
179
207
|
export declare const isCategoryHidden: (categories: ActivityCategory[], { isGuest, isAdmin }: {
|
|
180
208
|
isGuest?: boolean;
|
|
181
209
|
isAdmin: boolean;
|
|
@@ -183,6 +211,21 @@ export declare const isCategoryHidden: (categories: ActivityCategory[], { isGues
|
|
|
183
211
|
|
|
184
212
|
export declare const isFilePreviewable: (mime?: string, ext?: string) => boolean;
|
|
185
213
|
|
|
214
|
+
declare type MdNode = {
|
|
215
|
+
type: string;
|
|
216
|
+
name?: string;
|
|
217
|
+
value?: string;
|
|
218
|
+
children?: MdNode[];
|
|
219
|
+
position?: {
|
|
220
|
+
start: {
|
|
221
|
+
offset?: number;
|
|
222
|
+
};
|
|
223
|
+
end: {
|
|
224
|
+
offset?: number;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
|
|
186
229
|
export declare type MimeTypeDefinition = {
|
|
187
230
|
component: React.FC<any> | null;
|
|
188
231
|
mimeTypes: string[];
|
|
@@ -231,6 +274,17 @@ export declare interface RefTooltip {
|
|
|
231
274
|
};
|
|
232
275
|
}
|
|
233
276
|
|
|
277
|
+
/**
|
|
278
|
+
* remark-directive reads any `:name` as a directive, so `Note:fix this` or `:something` in a
|
|
279
|
+
* comment would become an unknown, empty element and the text would be lost. This turns every
|
|
280
|
+
* directive that is not in `known` back into the text that was typed.
|
|
281
|
+
*
|
|
282
|
+
* Use it after `remarkDirective` and before `remarkDirectiveRehype`.
|
|
283
|
+
*/
|
|
284
|
+
export declare const remarkLiteralDirectives: (known?: string[]) => (tree: MdNode, file: {
|
|
285
|
+
value?: unknown;
|
|
286
|
+
}) => void;
|
|
287
|
+
|
|
234
288
|
export declare type SavedAnnotationMetadata = {
|
|
235
289
|
id: string;
|
|
236
290
|
composite: string;
|
|
@@ -1291,11 +1291,14 @@ export declare const generateDummyAttributes: (count?: number) => AttributeModel
|
|
|
1291
1291
|
|
|
1292
1292
|
/**
|
|
1293
1293
|
* Generates an array of placeholder rows for loading state
|
|
1294
|
-
* @param attribs - Attribute models used to populate empty attribute fields
|
|
1295
1294
|
* @param count - Number of loading rows to generate (default: 50)
|
|
1295
|
+
* @param attrib - Attribute values for the placeholder rows
|
|
1296
|
+
* @param key - Makes the ids unique within the table, e.g. the id of the row they load under.
|
|
1297
|
+
* The ids must stay the same across renders: the table reports its visible row ids, and new ids
|
|
1298
|
+
* every render make the page re-render (and rebuild these rows) in a loop until loading ends.
|
|
1296
1299
|
* @returns Array of TableRow objects with loading state
|
|
1297
1300
|
*/
|
|
1298
|
-
export declare const generateLoadingRows: (count?: number, attrib?: {}) => TableRow[];
|
|
1301
|
+
export declare const generateLoadingRows: (count?: number, attrib?: {}, key?: string) => TableRow[];
|
|
1299
1302
|
|
|
1300
1303
|
declare type GetAncestorsOf = (id: string) => string[];
|
|
1301
1304
|
|
package/dist/types/api.d.ts
CHANGED
|
@@ -345,6 +345,13 @@ export declare const activitiesQueries: Api<BaseQueryFn<string | {
|
|
|
345
345
|
document: string | DocumentNode;
|
|
346
346
|
variables?: any;
|
|
347
347
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
348
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
349
|
+
projectName: string;
|
|
350
|
+
versionIds: Array<string> | string;
|
|
351
|
+
}, BaseQueryFn<string | {
|
|
352
|
+
document: string | DocumentNode;
|
|
353
|
+
variables?: any;
|
|
354
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
348
355
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
349
356
|
projectName: string;
|
|
350
357
|
entityId: string;
|
|
@@ -2893,6 +2900,13 @@ export declare const dashboardQueries: Api<BaseQueryFn<string | {
|
|
|
2893
2900
|
document: string | DocumentNode;
|
|
2894
2901
|
variables?: any;
|
|
2895
2902
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
2903
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
2904
|
+
projectName: string;
|
|
2905
|
+
versionIds: Array<string> | string;
|
|
2906
|
+
}, BaseQueryFn<string | {
|
|
2907
|
+
document: string | DocumentNode;
|
|
2908
|
+
variables?: any;
|
|
2909
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
2896
2910
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
2897
2911
|
projectName: string;
|
|
2898
2912
|
entityId: string;
|
|
@@ -3886,6 +3900,13 @@ export declare const detailsPanelQueries: Api<BaseQueryFn<string | {
|
|
|
3886
3900
|
document: string | DocumentNode;
|
|
3887
3901
|
variables?: any;
|
|
3888
3902
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
3903
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
3904
|
+
projectName: string;
|
|
3905
|
+
versionIds: Array<string> | string;
|
|
3906
|
+
}, BaseQueryFn<string | {
|
|
3907
|
+
document: string | DocumentNode;
|
|
3908
|
+
variables?: any;
|
|
3909
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
3889
3910
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
3890
3911
|
projectName: string;
|
|
3891
3912
|
entityId: string;
|
|
@@ -4435,6 +4456,13 @@ export declare const enhancedVersionsPageApi: Api<BaseQueryFn<string | {
|
|
|
4435
4456
|
document: string | DocumentNode;
|
|
4436
4457
|
variables?: any;
|
|
4437
4458
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
4459
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
4460
|
+
projectName: string;
|
|
4461
|
+
versionIds: Array<string> | string;
|
|
4462
|
+
}, BaseQueryFn<string | {
|
|
4463
|
+
document: string | DocumentNode;
|
|
4464
|
+
variables?: any;
|
|
4465
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
4438
4466
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
4439
4467
|
projectName: string;
|
|
4440
4468
|
entityId: string;
|
|
@@ -4901,6 +4929,13 @@ export declare const entitiesQueries: Api<BaseQueryFn<string | {
|
|
|
4901
4929
|
document: string | DocumentNode;
|
|
4902
4930
|
variables?: any;
|
|
4903
4931
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
4932
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
4933
|
+
projectName: string;
|
|
4934
|
+
versionIds: Array<string> | string;
|
|
4935
|
+
}, BaseQueryFn<string | {
|
|
4936
|
+
document: string | DocumentNode;
|
|
4937
|
+
variables?: any;
|
|
4938
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
4904
4939
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
4905
4940
|
projectName: string;
|
|
4906
4941
|
entityId: string;
|
|
@@ -6001,6 +6036,13 @@ export declare const entityListsQueriesGql: Api<BaseQueryFn<string | {
|
|
|
6001
6036
|
document: string | DocumentNode;
|
|
6002
6037
|
variables?: any;
|
|
6003
6038
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
6039
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
6040
|
+
projectName: string;
|
|
6041
|
+
versionIds: Array<string> | string;
|
|
6042
|
+
}, BaseQueryFn<string | {
|
|
6043
|
+
document: string | DocumentNode;
|
|
6044
|
+
variables?: any;
|
|
6045
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
6004
6046
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
6005
6047
|
projectName: string;
|
|
6006
6048
|
entityId: string;
|
|
@@ -7807,6 +7849,13 @@ export declare const getActivitiesGQLApi: Api<BaseQueryFn<string | {
|
|
|
7807
7849
|
document: string | DocumentNode;
|
|
7808
7850
|
variables?: any;
|
|
7809
7851
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
7852
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
7853
|
+
projectName: string;
|
|
7854
|
+
versionIds: Array<string> | string;
|
|
7855
|
+
}, BaseQueryFn<string | {
|
|
7856
|
+
document: string | DocumentNode;
|
|
7857
|
+
variables?: any;
|
|
7858
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
7810
7859
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
7811
7860
|
projectName: string;
|
|
7812
7861
|
entityId: string;
|
|
@@ -10551,6 +10600,13 @@ export declare const getProjectsGraphql: Api<BaseQueryFn<string | {
|
|
|
10551
10600
|
document: string | DocumentNode;
|
|
10552
10601
|
variables?: any;
|
|
10553
10602
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
10603
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
10604
|
+
projectName: string;
|
|
10605
|
+
versionIds: Array<string> | string;
|
|
10606
|
+
}, BaseQueryFn<string | {
|
|
10607
|
+
document: string | DocumentNode;
|
|
10608
|
+
variables?: any;
|
|
10609
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
10554
10610
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
10555
10611
|
projectName: string;
|
|
10556
10612
|
entityId: string;
|
|
@@ -12226,6 +12282,28 @@ export declare type GetVersionsColumnStatsQueryVariables = Exact<{
|
|
|
12226
12282
|
|
|
12227
12283
|
export declare const GetVersionsDocument: TypedDocumentString<unknown, unknown>;
|
|
12228
12284
|
|
|
12285
|
+
export declare const GetVersionsFrameStartDocument: TypedDocumentString<unknown, unknown>;
|
|
12286
|
+
|
|
12287
|
+
export declare type GetVersionsFrameStartQuery = {
|
|
12288
|
+
project: {
|
|
12289
|
+
versions: {
|
|
12290
|
+
edges: Array<{
|
|
12291
|
+
node: {
|
|
12292
|
+
id: string;
|
|
12293
|
+
attrib: {
|
|
12294
|
+
frameStart: number | null;
|
|
12295
|
+
};
|
|
12296
|
+
};
|
|
12297
|
+
}>;
|
|
12298
|
+
};
|
|
12299
|
+
};
|
|
12300
|
+
};
|
|
12301
|
+
|
|
12302
|
+
export declare type GetVersionsFrameStartQueryVariables = Exact<{
|
|
12303
|
+
projectName: string;
|
|
12304
|
+
versionIds: Array<string> | string;
|
|
12305
|
+
}>;
|
|
12306
|
+
|
|
12229
12307
|
export declare const GetVersionsLinksDocument: TypedDocumentString_2<unknown, unknown>;
|
|
12230
12308
|
|
|
12231
12309
|
export declare type GetVersionsLinksQuery = {
|
|
@@ -12624,6 +12702,13 @@ export declare const gqlApi: Api<BaseQueryFn<string | {
|
|
|
12624
12702
|
document: string | DocumentNode;
|
|
12625
12703
|
variables?: any;
|
|
12626
12704
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
12705
|
+
GetVersionsFrameStart: QueryDefinition<Exact<{
|
|
12706
|
+
projectName: string;
|
|
12707
|
+
versionIds: Array<string> | string;
|
|
12708
|
+
}>, BaseQueryFn<string | {
|
|
12709
|
+
document: string | DocumentNode;
|
|
12710
|
+
variables?: any;
|
|
12711
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
12627
12712
|
GetDetailsPanelFolder: QueryDefinition<Exact<{
|
|
12628
12713
|
projectName: string;
|
|
12629
12714
|
entityId: string;
|
|
@@ -13621,6 +13706,13 @@ export declare const injectedVersionsPageApi: Api<BaseQueryFn<string | {
|
|
|
13621
13706
|
document: string | DocumentNode;
|
|
13622
13707
|
variables?: any;
|
|
13623
13708
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetEntitiesChecklistsQuery, "restApi", unknown>;
|
|
13709
|
+
GetVersionsFrameStart: QueryDefinition<{
|
|
13710
|
+
projectName: string;
|
|
13711
|
+
versionIds: Array<string> | string;
|
|
13712
|
+
}, BaseQueryFn<string | {
|
|
13713
|
+
document: string | DocumentNode;
|
|
13714
|
+
variables?: any;
|
|
13715
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, GetVersionsFrameStartQuery, "restApi", unknown>;
|
|
13624
13716
|
GetDetailsPanelFolder: QueryDefinition<{
|
|
13625
13717
|
projectName: string;
|
|
13626
13718
|
entityId: string;
|
|
@@ -19702,6 +19794,7 @@ declare type UpdatedDefinitions_2 = Omit<Definitions, 'GetActivitiesById'> & {
|
|
|
19702
19794
|
GetActivities: OverrideResultType<Definitions['GetActivities'], ActivitiesResult>;
|
|
19703
19795
|
GetEntitiesChecklists: OverrideResultType<Definitions['GetEntitiesChecklists'], ChecklistCount>;
|
|
19704
19796
|
GetActivityUsers: OverrideResultType<Definitions['GetActivityUsers'], ActivityUserNode[]>;
|
|
19797
|
+
GetVersionsFrameStart: OverrideResultType<Definitions['GetVersionsFrameStart'], Record<string, number | null>>;
|
|
19705
19798
|
};
|
|
19706
19799
|
|
|
19707
19800
|
declare type UpdatedDefinitions_3 = Omit<Definitions_2, 'GetDetailsPanelFolder' | 'GetDetailsPanelTask' | 'GetDetailsPanelVersion' | 'GetDetailsPanelRepresentation'> & {
|
|
@@ -56423,6 +56516,285 @@ export declare const useGetVersionsColumnStatsQuery: <R extends Record<string, a
|
|
|
56423
56516
|
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, FieldStats[], "restApi", unknown>>;
|
|
56424
56517
|
};
|
|
56425
56518
|
|
|
56519
|
+
export declare const useGetVersionsFrameStartQuery: <R extends Record<string, any> = TSHelpersId<(Omit<{
|
|
56520
|
+
status: QueryStatus.uninitialized;
|
|
56521
|
+
originalArgs?: undefined | undefined;
|
|
56522
|
+
data?: undefined | undefined;
|
|
56523
|
+
error?: undefined | undefined;
|
|
56524
|
+
requestId?: undefined | undefined;
|
|
56525
|
+
endpointName?: string | undefined;
|
|
56526
|
+
startedTimeStamp?: undefined | undefined;
|
|
56527
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
56528
|
+
} & {
|
|
56529
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56530
|
+
isUninitialized: false;
|
|
56531
|
+
isLoading: false;
|
|
56532
|
+
isFetching: false;
|
|
56533
|
+
isSuccess: false;
|
|
56534
|
+
isError: false;
|
|
56535
|
+
}, "isUninitialized"> & {
|
|
56536
|
+
isUninitialized: true;
|
|
56537
|
+
}) | (Omit< QuerySubState<QueryDefinition<{
|
|
56538
|
+
projectName: string;
|
|
56539
|
+
versionIds: Array<string> | string;
|
|
56540
|
+
}, BaseQueryFn<string | {
|
|
56541
|
+
document: string | DocumentNode;
|
|
56542
|
+
variables?: any;
|
|
56543
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56544
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56545
|
+
isUninitialized: false;
|
|
56546
|
+
isLoading: false;
|
|
56547
|
+
isFetching: false;
|
|
56548
|
+
isSuccess: false;
|
|
56549
|
+
isError: false;
|
|
56550
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
56551
|
+
isLoading: true;
|
|
56552
|
+
isFetching: boolean;
|
|
56553
|
+
data: undefined;
|
|
56554
|
+
}) | (Omit< QuerySubState<QueryDefinition<{
|
|
56555
|
+
projectName: string;
|
|
56556
|
+
versionIds: Array<string> | string;
|
|
56557
|
+
}, BaseQueryFn<string | {
|
|
56558
|
+
document: string | DocumentNode;
|
|
56559
|
+
variables?: any;
|
|
56560
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56561
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56562
|
+
isUninitialized: false;
|
|
56563
|
+
isLoading: false;
|
|
56564
|
+
isFetching: false;
|
|
56565
|
+
isSuccess: false;
|
|
56566
|
+
isError: false;
|
|
56567
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess"> & {
|
|
56568
|
+
isSuccess: true;
|
|
56569
|
+
isFetching: true;
|
|
56570
|
+
error: undefined;
|
|
56571
|
+
} & {
|
|
56572
|
+
data: Record<string, number | null>;
|
|
56573
|
+
} & Required<Pick< QuerySubState<QueryDefinition<{
|
|
56574
|
+
projectName: string;
|
|
56575
|
+
versionIds: Array<string> | string;
|
|
56576
|
+
}, BaseQueryFn<string | {
|
|
56577
|
+
document: string | DocumentNode;
|
|
56578
|
+
variables?: any;
|
|
56579
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56580
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56581
|
+
isUninitialized: false;
|
|
56582
|
+
isLoading: false;
|
|
56583
|
+
isFetching: false;
|
|
56584
|
+
isSuccess: false;
|
|
56585
|
+
isError: false;
|
|
56586
|
+
}, "fulfilledTimeStamp">>) | (Omit< QuerySubState<QueryDefinition<{
|
|
56587
|
+
projectName: string;
|
|
56588
|
+
versionIds: Array<string> | string;
|
|
56589
|
+
}, BaseQueryFn<string | {
|
|
56590
|
+
document: string | DocumentNode;
|
|
56591
|
+
variables?: any;
|
|
56592
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56593
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56594
|
+
isUninitialized: false;
|
|
56595
|
+
isLoading: false;
|
|
56596
|
+
isFetching: false;
|
|
56597
|
+
isSuccess: false;
|
|
56598
|
+
isError: false;
|
|
56599
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
56600
|
+
isSuccess: true;
|
|
56601
|
+
isFetching: false;
|
|
56602
|
+
error: undefined;
|
|
56603
|
+
} & {
|
|
56604
|
+
data: Record<string, number | null>;
|
|
56605
|
+
currentData: Record<string, number | null>;
|
|
56606
|
+
} & Required<Pick< QuerySubState<QueryDefinition<{
|
|
56607
|
+
projectName: string;
|
|
56608
|
+
versionIds: Array<string> | string;
|
|
56609
|
+
}, BaseQueryFn<string | {
|
|
56610
|
+
document: string | DocumentNode;
|
|
56611
|
+
variables?: any;
|
|
56612
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56613
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56614
|
+
isUninitialized: false;
|
|
56615
|
+
isLoading: false;
|
|
56616
|
+
isFetching: false;
|
|
56617
|
+
isSuccess: false;
|
|
56618
|
+
isError: false;
|
|
56619
|
+
}, "fulfilledTimeStamp">>) | (Omit< QuerySubState<QueryDefinition<{
|
|
56620
|
+
projectName: string;
|
|
56621
|
+
versionIds: Array<string> | string;
|
|
56622
|
+
}, BaseQueryFn<string | {
|
|
56623
|
+
document: string | DocumentNode;
|
|
56624
|
+
variables?: any;
|
|
56625
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56626
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56627
|
+
isUninitialized: false;
|
|
56628
|
+
isLoading: false;
|
|
56629
|
+
isFetching: false;
|
|
56630
|
+
isSuccess: false;
|
|
56631
|
+
isError: false;
|
|
56632
|
+
}, "error" | "isError"> & {
|
|
56633
|
+
isError: true;
|
|
56634
|
+
} & Required<Pick< QuerySubState<QueryDefinition<{
|
|
56635
|
+
projectName: string;
|
|
56636
|
+
versionIds: Array<string> | string;
|
|
56637
|
+
}, BaseQueryFn<string | {
|
|
56638
|
+
document: string | DocumentNode;
|
|
56639
|
+
variables?: any;
|
|
56640
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56641
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56642
|
+
isUninitialized: false;
|
|
56643
|
+
isLoading: false;
|
|
56644
|
+
isFetching: false;
|
|
56645
|
+
isSuccess: false;
|
|
56646
|
+
isError: false;
|
|
56647
|
+
}, "error">>)> & {
|
|
56648
|
+
status: QueryStatus;
|
|
56649
|
+
}>(arg: typeof skipToken | {
|
|
56650
|
+
projectName: string;
|
|
56651
|
+
versionIds: Array<string> | string;
|
|
56652
|
+
}, options?: ( SubscriptionOptions & {
|
|
56653
|
+
skip?: boolean;
|
|
56654
|
+
refetchOnMountOrArgChange?: boolean | number;
|
|
56655
|
+
} & {
|
|
56656
|
+
skip?: boolean;
|
|
56657
|
+
selectFromResult?: ((state: TSHelpersId<(Omit<{
|
|
56658
|
+
status: QueryStatus.uninitialized;
|
|
56659
|
+
originalArgs?: undefined | undefined;
|
|
56660
|
+
data?: undefined | undefined;
|
|
56661
|
+
error?: undefined | undefined;
|
|
56662
|
+
requestId?: undefined | undefined;
|
|
56663
|
+
endpointName?: string | undefined;
|
|
56664
|
+
startedTimeStamp?: undefined | undefined;
|
|
56665
|
+
fulfilledTimeStamp?: undefined | undefined;
|
|
56666
|
+
} & {
|
|
56667
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56668
|
+
isUninitialized: false;
|
|
56669
|
+
isLoading: false;
|
|
56670
|
+
isFetching: false;
|
|
56671
|
+
isSuccess: false;
|
|
56672
|
+
isError: false;
|
|
56673
|
+
}, "isUninitialized"> & {
|
|
56674
|
+
isUninitialized: true;
|
|
56675
|
+
}) | (Omit< QuerySubState<QueryDefinition<{
|
|
56676
|
+
projectName: string;
|
|
56677
|
+
versionIds: Array<string> | string;
|
|
56678
|
+
}, BaseQueryFn<string | {
|
|
56679
|
+
document: string | DocumentNode;
|
|
56680
|
+
variables?: any;
|
|
56681
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56682
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56683
|
+
isUninitialized: false;
|
|
56684
|
+
isLoading: false;
|
|
56685
|
+
isFetching: false;
|
|
56686
|
+
isSuccess: false;
|
|
56687
|
+
isError: false;
|
|
56688
|
+
}, "data" | "isLoading" | "isFetching"> & {
|
|
56689
|
+
isLoading: true;
|
|
56690
|
+
isFetching: boolean;
|
|
56691
|
+
data: undefined;
|
|
56692
|
+
}) | (Omit< QuerySubState<QueryDefinition<{
|
|
56693
|
+
projectName: string;
|
|
56694
|
+
versionIds: Array<string> | string;
|
|
56695
|
+
}, BaseQueryFn<string | {
|
|
56696
|
+
document: string | DocumentNode;
|
|
56697
|
+
variables?: any;
|
|
56698
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56699
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56700
|
+
isUninitialized: false;
|
|
56701
|
+
isLoading: false;
|
|
56702
|
+
isFetching: false;
|
|
56703
|
+
isSuccess: false;
|
|
56704
|
+
isError: false;
|
|
56705
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "isFetching" | "isSuccess"> & {
|
|
56706
|
+
isSuccess: true;
|
|
56707
|
+
isFetching: true;
|
|
56708
|
+
error: undefined;
|
|
56709
|
+
} & {
|
|
56710
|
+
data: Record<string, number | null>;
|
|
56711
|
+
} & Required<Pick< QuerySubState<QueryDefinition<{
|
|
56712
|
+
projectName: string;
|
|
56713
|
+
versionIds: Array<string> | string;
|
|
56714
|
+
}, BaseQueryFn<string | {
|
|
56715
|
+
document: string | DocumentNode;
|
|
56716
|
+
variables?: any;
|
|
56717
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56718
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56719
|
+
isUninitialized: false;
|
|
56720
|
+
isLoading: false;
|
|
56721
|
+
isFetching: false;
|
|
56722
|
+
isSuccess: false;
|
|
56723
|
+
isError: false;
|
|
56724
|
+
}, "fulfilledTimeStamp">>) | (Omit< QuerySubState<QueryDefinition<{
|
|
56725
|
+
projectName: string;
|
|
56726
|
+
versionIds: Array<string> | string;
|
|
56727
|
+
}, BaseQueryFn<string | {
|
|
56728
|
+
document: string | DocumentNode;
|
|
56729
|
+
variables?: any;
|
|
56730
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56731
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56732
|
+
isUninitialized: false;
|
|
56733
|
+
isLoading: false;
|
|
56734
|
+
isFetching: false;
|
|
56735
|
+
isSuccess: false;
|
|
56736
|
+
isError: false;
|
|
56737
|
+
}, "data" | "error" | "fulfilledTimeStamp" | "currentData" | "isFetching" | "isSuccess"> & {
|
|
56738
|
+
isSuccess: true;
|
|
56739
|
+
isFetching: false;
|
|
56740
|
+
error: undefined;
|
|
56741
|
+
} & {
|
|
56742
|
+
data: Record<string, number | null>;
|
|
56743
|
+
currentData: Record<string, number | null>;
|
|
56744
|
+
} & Required<Pick< QuerySubState<QueryDefinition<{
|
|
56745
|
+
projectName: string;
|
|
56746
|
+
versionIds: Array<string> | string;
|
|
56747
|
+
}, BaseQueryFn<string | {
|
|
56748
|
+
document: string | DocumentNode;
|
|
56749
|
+
variables?: any;
|
|
56750
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56751
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56752
|
+
isUninitialized: false;
|
|
56753
|
+
isLoading: false;
|
|
56754
|
+
isFetching: false;
|
|
56755
|
+
isSuccess: false;
|
|
56756
|
+
isError: false;
|
|
56757
|
+
}, "fulfilledTimeStamp">>) | (Omit< QuerySubState<QueryDefinition<{
|
|
56758
|
+
projectName: string;
|
|
56759
|
+
versionIds: Array<string> | string;
|
|
56760
|
+
}, BaseQueryFn<string | {
|
|
56761
|
+
document: string | DocumentNode;
|
|
56762
|
+
variables?: any;
|
|
56763
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56764
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56765
|
+
isUninitialized: false;
|
|
56766
|
+
isLoading: false;
|
|
56767
|
+
isFetching: false;
|
|
56768
|
+
isSuccess: false;
|
|
56769
|
+
isError: false;
|
|
56770
|
+
}, "error" | "isError"> & {
|
|
56771
|
+
isError: true;
|
|
56772
|
+
} & Required<Pick< QuerySubState<QueryDefinition<{
|
|
56773
|
+
projectName: string;
|
|
56774
|
+
versionIds: Array<string> | string;
|
|
56775
|
+
}, BaseQueryFn<string | {
|
|
56776
|
+
document: string | DocumentNode;
|
|
56777
|
+
variables?: any;
|
|
56778
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>> & {
|
|
56779
|
+
currentData?: Record<string, number | null> | undefined;
|
|
56780
|
+
isUninitialized: false;
|
|
56781
|
+
isLoading: false;
|
|
56782
|
+
isFetching: false;
|
|
56783
|
+
isSuccess: false;
|
|
56784
|
+
isError: false;
|
|
56785
|
+
}, "error">>)> & {
|
|
56786
|
+
status: QueryStatus;
|
|
56787
|
+
}) => R) | undefined;
|
|
56788
|
+
}) | undefined) => [R][R extends any ? 0 : never] & {
|
|
56789
|
+
refetch: () => QueryActionCreatorResult<QueryDefinition<{
|
|
56790
|
+
projectName: string;
|
|
56791
|
+
versionIds: Array<string> | string;
|
|
56792
|
+
}, BaseQueryFn<string | {
|
|
56793
|
+
document: string | DocumentNode;
|
|
56794
|
+
variables?: any;
|
|
56795
|
+
} | FetchArgs, unknown, FetchBaseQueryError, {} | Partial<Pick< ClientError, "response" | "request">>>, string, Record<string, number | null>, "restApi", unknown>>;
|
|
56796
|
+
};
|
|
56797
|
+
|
|
56426
56798
|
export declare const useGetVersionsInfiniteQuery: <R extends Record<string, any> = TSHelpersId<(Omit<{
|
|
56427
56799
|
status: QueryStatus.uninitialized;
|
|
56428
56800
|
originalArgs?: undefined | undefined;
|