@ynput/ayon-frontend-shared 0.2.5 → 0.2.7

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 (83) hide show
  1. package/dist/ProjectTreeTable.cjs.js +16 -0
  2. package/dist/ProjectTreeTable.cjs.js.map +1 -1
  3. package/dist/ProjectTreeTable.es.js +16 -0
  4. package/dist/ProjectTreeTable.es.js.map +1 -1
  5. package/dist/_virtual/index.cjs5.js +5 -3
  6. package/dist/_virtual/index.cjs5.js.map +1 -1
  7. package/dist/_virtual/index.cjs6.js +3 -5
  8. package/dist/_virtual/index.cjs6.js.map +1 -1
  9. package/dist/_virtual/index.es5.js +5 -2
  10. package/dist/_virtual/index.es5.js.map +1 -1
  11. package/dist/_virtual/index.es6.js +2 -5
  12. package/dist/_virtual/index.es6.js.map +1 -1
  13. package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js +1 -1
  14. package/dist/node_modules/rehype-prism-plus/dist/index.es.es.js +1 -1
  15. package/dist/node_modules/remove-accents/index.cjs.js +1 -1
  16. package/dist/node_modules/remove-accents/index.es.js +1 -1
  17. package/dist/shared/src/api/generated/actions.cjs.js.map +1 -1
  18. package/dist/shared/src/api/generated/actions.es.js.map +1 -1
  19. package/dist/shared/src/api/generated/graphql.cjs.js +2 -0
  20. package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
  21. package/dist/shared/src/api/generated/graphql.es.js +2 -0
  22. package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
  23. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js +1 -1
  24. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js.map +1 -1
  25. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js +1 -1
  26. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js.map +1 -1
  27. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js +0 -1
  28. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.cjs.js.map +1 -1
  29. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js +0 -1
  30. package/dist/shared/src/components/DetailsPanelAttributes/DetailsPanelAttributes.es.js.map +1 -1
  31. package/dist/shared/src/containers/Actions/Actions.cjs.js +5 -2
  32. package/dist/shared/src/containers/Actions/Actions.cjs.js.map +1 -1
  33. package/dist/shared/src/containers/Actions/Actions.es.js +5 -2
  34. package/dist/shared/src/containers/Actions/Actions.es.js.map +1 -1
  35. package/dist/shared/src/containers/Actions/ActionsDropdown/ActionsDropdown.styled.cjs.js +1 -0
  36. package/dist/shared/src/containers/Actions/ActionsDropdown/ActionsDropdown.styled.cjs.js.map +1 -1
  37. package/dist/shared/src/containers/Actions/ActionsDropdown/ActionsDropdown.styled.es.js +1 -0
  38. package/dist/shared/src/containers/Actions/ActionsDropdown/ActionsDropdown.styled.es.js.map +1 -1
  39. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js +9 -3
  40. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.cjs.js.map +1 -1
  41. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js +9 -3
  42. package/dist/shared/src/containers/DetailsPanel/DetailsPanelHeader/DetailsPanelHeader.es.js.map +1 -1
  43. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js +2 -2
  44. package/dist/shared/src/containers/Feed/context/FeedContext.cjs.js.map +1 -1
  45. package/dist/shared/src/containers/Feed/context/FeedContext.es.js +2 -2
  46. package/dist/shared/src/containers/Feed/context/FeedContext.es.js.map +1 -1
  47. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +4 -8
  48. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  49. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +4 -8
  50. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  51. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +0 -1
  52. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  53. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +0 -1
  54. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  55. package/dist/shared/src/containers/ProjectTreeTable/utils/clientFilterToQueryFilter.cjs.js +1 -1
  56. package/dist/shared/src/containers/ProjectTreeTable/utils/clientFilterToQueryFilter.cjs.js.map +1 -1
  57. package/dist/shared/src/containers/ProjectTreeTable/utils/clientFilterToQueryFilter.es.js +1 -1
  58. package/dist/shared/src/containers/ProjectTreeTable/utils/clientFilterToQueryFilter.es.js.map +1 -1
  59. package/dist/shared/src/context/DetailsPanelContext.cjs.js +0 -1
  60. package/dist/shared/src/context/DetailsPanelContext.cjs.js.map +1 -1
  61. package/dist/shared/src/context/DetailsPanelContext.es.js +0 -1
  62. package/dist/shared/src/context/DetailsPanelContext.es.js.map +1 -1
  63. package/dist/shared/src/hooks/useActionTriggers.cjs.js +7 -6
  64. package/dist/shared/src/hooks/useActionTriggers.cjs.js.map +1 -1
  65. package/dist/shared/src/hooks/useActionTriggers.es.js +7 -6
  66. package/dist/shared/src/hooks/useActionTriggers.es.js.map +1 -1
  67. package/dist/shared/src/hooks/useLoadModules.cjs.js +9 -2
  68. package/dist/shared/src/hooks/useLoadModules.cjs.js.map +1 -1
  69. package/dist/shared/src/hooks/useLoadModules.es.js +9 -2
  70. package/dist/shared/src/hooks/useLoadModules.es.js.map +1 -1
  71. package/dist/shared/src/util/confirmDelete.cjs.js.map +1 -1
  72. package/dist/shared/src/util/confirmDelete.es.js.map +1 -1
  73. package/dist/types/SimpleTable/SimpleTable.d.ts +9 -2
  74. package/dist/types/SimpleTable/SimpleTableRowTemplate.d.ts +7 -0
  75. package/dist/types/api/generated/actions.d.ts +1 -1
  76. package/dist/types/api/generated/graphql.d.ts +3 -1
  77. package/dist/types/containers/Actions/Actions.d.ts +4 -3
  78. package/dist/types/containers/ProjectTreeTable/ProjectTreeTable.d.ts +7 -6
  79. package/dist/types/containers/ProjectTreeTable/index.d.ts +1 -0
  80. package/dist/types/context/DetailsPanelContext.d.ts +8 -2
  81. package/dist/types/hooks/useActionTriggers.d.ts +6 -1
  82. package/dist/types/util/confirmDelete.d.ts +1 -2
  83. package/package.json +1 -1
@@ -21,6 +21,14 @@ const buildTreeTableColumns = require("./shared/src/containers/ProjectTreeTable/
21
21
  const useGetEntityTypeData = require("./shared/src/containers/ProjectTreeTable/hooks/useGetEntityTypeData.cjs.js");
22
22
  require("react-toastify");
23
23
  require("react");
24
+ const CollapsedWidget = require("./shared/src/containers/ProjectTreeTable/widgets/CollapsedWidget.cjs.js");
25
+ const DateWidget = require("./shared/src/containers/ProjectTreeTable/widgets/DateWidget.cjs.js");
26
+ const EnumWidget = require("./shared/src/containers/ProjectTreeTable/widgets/EnumWidget.cjs.js");
27
+ const TextWidget = require("./shared/src/containers/ProjectTreeTable/widgets/TextWidget.cjs.js");
28
+ const BooleanWidget = require("./shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.cjs.js");
29
+ const CellWidget = require("./shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js");
30
+ const EntityNameWidget = require("./shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.cjs.js");
31
+ const ThumbnailWidget = require("./shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.cjs.js");
24
32
  exports.ProjectTreeTable = ProjectTreeTable.ProjectTreeTable;
25
33
  exports.ROW_SELECTION_COLUMN_ID = SelectionCellsContext.ROW_SELECTION_COLUMN_ID;
26
34
  exports.SelectionCellsProvider = SelectionCellsContext.SelectionCellsProvider;
@@ -60,4 +68,12 @@ exports.ProjectTableSelectionProvider = ProjectTableSelectionContext.ProjectTabl
60
68
  exports.useProjectTableSelection = ProjectTableSelectionContext.useProjectTableSelection;
61
69
  exports.getValueIdType = buildTreeTableColumns.getValueIdType;
62
70
  exports.useGetEntityTypeData = useGetEntityTypeData;
71
+ exports.CollapsedWidget = CollapsedWidget.CollapsedWidget;
72
+ exports.DateWidget = DateWidget.DateWidget;
73
+ exports.EnumWidget = EnumWidget.EnumWidget;
74
+ exports.TextWidget = TextWidget.TextWidget;
75
+ exports.BooleanWidget = BooleanWidget.BooleanWidget;
76
+ exports.CellWidget = CellWidget.CellWidget;
77
+ exports.EntityNameWidget = EntityNameWidget.EntityNameWidget;
78
+ exports.ThumbnailWidget = ThumbnailWidget.ThumbnailWidget;
63
79
  //# sourceMappingURL=ProjectTreeTable.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectTreeTable.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ProjectTreeTable.cjs.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -19,11 +19,25 @@ import { getValueIdType } from "./shared/src/containers/ProjectTreeTable/buildTr
19
19
  import { default as default2 } from "./shared/src/containers/ProjectTreeTable/hooks/useGetEntityTypeData.es.js";
20
20
  import "react-toastify";
21
21
  import "react";
22
+ import { CollapsedWidget } from "./shared/src/containers/ProjectTreeTable/widgets/CollapsedWidget.es.js";
23
+ import { DateWidget } from "./shared/src/containers/ProjectTreeTable/widgets/DateWidget.es.js";
24
+ import { EnumWidget } from "./shared/src/containers/ProjectTreeTable/widgets/EnumWidget.es.js";
25
+ import { TextWidget } from "./shared/src/containers/ProjectTreeTable/widgets/TextWidget.es.js";
26
+ import { BooleanWidget } from "./shared/src/containers/ProjectTreeTable/widgets/BooleanWidget.es.js";
27
+ import { CellWidget } from "./shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js";
28
+ import { EntityNameWidget } from "./shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.es.js";
29
+ import { ThumbnailWidget } from "./shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.es.js";
22
30
  export {
31
+ BooleanWidget,
23
32
  BorderPosition,
24
33
  CellEditingProvider,
34
+ CellWidget,
25
35
  ClipboardProvider,
36
+ CollapsedWidget,
26
37
  ColumnSettingsProvider,
38
+ DateWidget,
39
+ EntityNameWidget,
40
+ EnumWidget,
27
41
  ProjectTableProvider,
28
42
  ProjectTableQueriesProvider,
29
43
  ProjectTableSelectionProvider,
@@ -31,6 +45,8 @@ export {
31
45
  ROW_SELECTION_COLUMN_ID,
32
46
  SelectedRowsProvider,
33
47
  SelectionCellsProvider,
48
+ TextWidget,
49
+ ThumbnailWidget,
34
50
  builtInFieldMappings,
35
51
  clientFilterToQueryFilter,
36
52
  clipboardError,
@@ -1 +1 @@
1
- {"version":3,"file":"ProjectTreeTable.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"ProjectTreeTable.es.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,7 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- var removeAccents = { exports: {} };
4
- exports.__module = removeAccents;
2
+ const _commonjsHelpers = require("./_commonjsHelpers.cjs.js");
3
+ const index = require("../node_modules/parse-numeric-range/index.cjs.js");
4
+ var parseNumericRangeExports = index.__require();
5
+ const n = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(parseNumericRangeExports);
6
+ module.exports = n;
5
7
  //# sourceMappingURL=index.cjs5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index.cjs5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
@@ -1,7 +1,5 @@
1
1
  "use strict";
2
- const _commonjsHelpers = require("./_commonjsHelpers.cjs.js");
3
- const index = require("../node_modules/parse-numeric-range/index.cjs.js");
4
- var parseNumericRangeExports = index.__require();
5
- const n = /* @__PURE__ */ _commonjsHelpers.getDefaultExportFromCjs(parseNumericRangeExports);
6
- module.exports = n;
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ var removeAccents = { exports: {} };
4
+ exports.__module = removeAccents;
7
5
  //# sourceMappingURL=index.cjs6.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;"}
1
+ {"version":3,"file":"index.cjs6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,5 +1,8 @@
1
- var removeAccents = { exports: {} };
1
+ import { getDefaultExportFromCjs } from "./_commonjsHelpers.es.js";
2
+ import { __require as requireParseNumericRange } from "../node_modules/parse-numeric-range/index.es.js";
3
+ var parseNumericRangeExports = requireParseNumericRange();
4
+ const n = /* @__PURE__ */ getDefaultExportFromCjs(parseNumericRangeExports);
2
5
  export {
3
- removeAccents as __module
6
+ n as default
4
7
  };
5
8
  //# sourceMappingURL=index.es5.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
1
+ {"version":3,"file":"index.es5.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
@@ -1,8 +1,5 @@
1
- import { getDefaultExportFromCjs } from "./_commonjsHelpers.es.js";
2
- import { __require as requireParseNumericRange } from "../node_modules/parse-numeric-range/index.es.js";
3
- var parseNumericRangeExports = requireParseNumericRange();
4
- const n = /* @__PURE__ */ getDefaultExportFromCjs(parseNumericRangeExports);
1
+ var removeAccents = { exports: {} };
5
2
  export {
6
- n as default
3
+ removeAccents as __module
7
4
  };
8
5
  //# sourceMappingURL=index.es6.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;"}
1
+ {"version":3,"file":"index.es6.js","sources":[],"sourcesContent":[],"names":[],"mappings":";"}
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
3
  const index$1 = require("../../hast-util-to-string/index.cjs.js");
4
- const index$2 = require("../../../_virtual/index.cjs6.js");
4
+ const index$2 = require("../../../_virtual/index.cjs5.js");
5
5
  require("../../refractor/lib/common.cjs.js");
6
6
  require("../../refractor/lib/all.cjs.js");
7
7
  const index = require("../node_modules/unist-util-visit/lib/index.cjs.js");
@@ -1,5 +1,5 @@
1
1
  import { toString } from "../../hast-util-to-string/index.es.js";
2
- import n from "../../../_virtual/index.es6.js";
2
+ import n from "../../../_virtual/index.es5.js";
3
3
  import "../../refractor/lib/common.es.js";
4
4
  import "../../refractor/lib/all.es.js";
5
5
  import { visit } from "../node_modules/unist-util-visit/lib/index.es.js";
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const index = require("../../_virtual/index.cjs5.js");
3
+ const index = require("../../_virtual/index.cjs6.js");
4
4
  var hasRequiredRemoveAccents;
5
5
  function requireRemoveAccents() {
6
6
  if (hasRequiredRemoveAccents) return index.__module.exports;
@@ -1,4 +1,4 @@
1
- import { __module as removeAccents } from "../../_virtual/index.es5.js";
1
+ import { __module as removeAccents } from "../../_virtual/index.es6.js";
2
2
  var hasRequiredRemoveAccents;
3
3
  function requireRemoveAccents() {
4
4
  if (hasRequiredRemoveAccents) return removeAccents.exports;
@@ -1 +1 @@
1
- {"version":3,"file":"actions.cjs.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
1
+ {"version":3,"file":"actions.cjs.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile' | 'list'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":["api"],"mappings":";;;AACM,MAAA,iBAAiBA,WAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;;"}
@@ -1 +1 @@
1
- {"version":3,"file":"actions.es.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"actions.es.js","sources":["../../../../../src/api/generated/actions.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n listAvailableActionsForContext: build.mutation<\n ListAvailableActionsForContextApiResponse,\n ListAvailableActionsForContextApiArg\n >({\n query: (queryArg) => ({\n url: `/api/actions/list`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n mode: queryArg.mode,\n },\n }),\n }),\n listAllActions: build.query<ListAllActionsApiResponse, ListAllActionsApiArg>({\n query: () => ({ url: `/api/actions/manage` }),\n }),\n configureAction: build.mutation<ConfigureActionApiResponse, ConfigureActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/config`,\n method: 'POST',\n body: queryArg.actionConfig,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n executeAction: build.mutation<ExecuteActionApiResponse, ExecuteActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/execute`,\n method: 'POST',\n body: queryArg.actionContext,\n params: {\n addonName: queryArg.addonName,\n addonVersion: queryArg.addonVersion,\n variant: queryArg.variant,\n identifier: queryArg.identifier,\n },\n }),\n }),\n takeAction: build.query<TakeActionApiResponse, TakeActionApiArg>({\n query: (queryArg) => ({ url: `/api/actions/take/${queryArg.token}` }),\n }),\n abortAction: build.mutation<AbortActionApiResponse, AbortActionApiArg>({\n query: (queryArg) => ({\n url: `/api/actions/abort/${queryArg.token}`,\n method: 'POST',\n body: queryArg.abortRequestModel,\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type ListAvailableActionsForContextApiResponse =\n /** status 200 Successful Response */ AvailableActionsListModel\nexport type ListAvailableActionsForContextApiArg = {\n mode?: 'simple' | 'dynamic' | 'all'\n actionContext: ActionContext\n}\nexport type ListAllActionsApiResponse = /** status 200 Successful Response */ BaseActionManifest[]\nexport type ListAllActionsApiArg = void\nexport type ConfigureActionApiResponse = /** status 200 Successful Response */ object\nexport type ConfigureActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionConfig: ActionConfig\n}\nexport type ExecuteActionApiResponse = /** status 200 Successful Response */ ExecuteResponseModel\nexport type ExecuteActionApiArg = {\n addonName: string\n addonVersion: string\n variant?: string\n identifier: string\n actionContext: ActionContext\n}\nexport type TakeActionApiResponse = /** status 200 Successful Response */ TakeResponseModel\nexport type TakeActionApiArg = {\n token: string\n}\nexport type AbortActionApiResponse = /** status 200 Successful Response */ any\nexport type AbortActionApiArg = {\n token: string\n abortRequestModel: AbortRequestModel\n}\nexport type IconModel = {\n type?: 'material-symbols' | 'url'\n /** The name of the icon (for type material-symbols) */\n name?: string\n /** The color of the icon (for type material-symbols) */\n color?: string\n /** The URL of the icon (for type url) */\n url?: string\n}\nexport type FormSelectOption = {\n value: string\n label: string\n icon?: string\n color?: string\n}\nexport type SimpleFormField = {\n type: 'text' | 'boolean' | 'select' | 'multiselect' | 'hidden' | 'integer' | 'float' | 'label'\n name: string\n label?: string\n placeholder?: any\n value?: string | number | number | boolean | string[]\n regex?: string\n multiline?: boolean\n syntax?: string\n options?: FormSelectOption[]\n highlight?: 'info' | 'warning' | 'error'\n min?: number | number\n max?: number | number\n}\nexport type BaseActionManifest = {\n /** The identifier of the action */\n identifier: string\n /** Human-friendly name of the action */\n label: string\n /** The label of the group the action belongs to */\n groupLabel?: string\n /** Action category */\n category?: string\n /** The order of the action */\n order?: number\n /** An icon for the action */\n icon?: IconModel\n /** List of fields to be displayed in the action settings */\n configFields?: SimpleFormField[]\n /** Sort icon to the top */\n featured?: boolean\n /** The name of the addon providing the action */\n addonName?: string\n /** The version of the addon providing the action */\n addonVersion?: string\n /** The settings variant of the addon */\n variant?: string\n}\nexport type AvailableActionsListModel = {\n /** The list of available actions */\n actions?: BaseActionManifest[]\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type ActionContext = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile' | 'list'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n}\nexport type ActionConfig = {\n /** The name of the project. If not provided, use global actions, the rest of the fields are ignored. */\n projectName?: string\n /** The type of the entity. If not specified, project-lever or global actions are used. */\n entityType?: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n /** List of subtypes present in the entity list */\n entitySubtypes?: string[]\n /** The IDs of the entities */\n entityIds?: string[]\n /** The data from the form */\n formData?: object\n /** The configuration of the action within the given context */\n value?: object\n}\nexport type ExecuteResponseModel = {\n /** The type of response */\n type?: 'form' | 'launcher' | 'navigate' | 'query' | 'redirect' | 'simple'\n /** Payload is still parsed even if the action failed, but the message is highlighted as an error.If the action execution is broken beyond repair, Raise an exception instead of returning a response. */\n success?: boolean\n /** The message to display */\n message?: string\n /** The payload of the response. Payload model is parsed by the client and its schema, is based on the type of action. */\n payload?: object\n}\nexport type TakeResponseModel = {\n eventId: string\n actionIdentifier: string\n args?: string[]\n context: ActionContext\n addonName: string\n addonVersion: string\n variant: string\n /** The user who initiated the action */\n userName: string\n}\nexport type AbortRequestModel = {\n message?: string\n}\n"],"names":[],"mappings":";AACM,MAAA,iBAAiB,IAAI,gBAAgB;AAAA,EACzC,WAAW,CAAC,WAAW;AAAA,IACrB,gCAAgC,MAAM,SAGpC;AAAA,MACA,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,MAAM,SAAS;AAAA,QAAA;AAAA,MAEnB;AAAA,IAAA,CACD;AAAA,IACD,gBAAgB,MAAM,MAAuD;AAAA,MAC3E,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,iBAAiB,MAAM,SAA4D;AAAA,MACjF,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,eAAe,MAAM,SAAwD;AAAA,MAC3E,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,QACf,QAAQ;AAAA,UACN,WAAW,SAAS;AAAA,UACpB,cAAc,SAAS;AAAA,UACvB,SAAS,SAAS;AAAA,UAClB,YAAY,SAAS;AAAA,QAAA;AAAA,MAEzB;AAAA,IAAA,CACD;AAAA,IACD,YAAY,MAAM,MAA+C;AAAA,MAC/D,OAAO,CAAC,cAAc,EAAE,KAAK,qBAAqB,SAAS,KAAK,GAAG;AAAA,IAAA,CACpE;AAAA,IACD,aAAa,MAAM,SAAoD;AAAA,MACrE,OAAO,CAAC,cAAc;AAAA,QACpB,KAAK,sBAAsB,SAAS,KAAK;AAAA,QACzC,QAAQ;AAAA,QACR,MAAM,SAAS;AAAA,MACjB;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -544,6 +544,8 @@ const GetListsDocument = `
544
544
  id
545
545
  label
546
546
  entityListType
547
+ tags
548
+ data
547
549
  entityType
548
550
  active
549
551
  createdAt