@ynput/ayon-frontend-shared 0.2.31 → 0.2.32

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 (154) hide show
  1. package/dist/_virtual/index.cjs10.js +1 -1
  2. package/dist/_virtual/index.cjs5.js +1 -1
  3. package/dist/_virtual/index.cjs6.js +1 -1
  4. package/dist/_virtual/index.cjs8.js +1 -1
  5. package/dist/_virtual/index.cjs9.js +1 -1
  6. package/dist/_virtual/index.es10.js +5 -5
  7. package/dist/_virtual/index.es5.js +5 -2
  8. package/dist/_virtual/index.es5.js.map +1 -1
  9. package/dist/_virtual/index.es6.js +2 -5
  10. package/dist/_virtual/index.es6.js.map +1 -1
  11. package/dist/_virtual/index.es8.js +3 -3
  12. package/dist/_virtual/index.es9.js +5 -5
  13. package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js +1 -1
  14. package/dist/node_modules/rehype/node_modules/unified/lib/index.cjs.js.map +1 -1
  15. package/dist/node_modules/rehype/node_modules/unified/lib/index.es.js +2 -2
  16. package/dist/node_modules/rehype/node_modules/vfile/lib/index.cjs.js +1 -1
  17. package/dist/node_modules/rehype/node_modules/vfile/lib/index.es.js +1 -1
  18. package/dist/node_modules/rehype-parse/lib/index.cjs.js +1 -1
  19. package/dist/node_modules/rehype-parse/lib/index.cjs.js.map +1 -1
  20. package/dist/node_modules/rehype-parse/lib/index.es.js +1 -1
  21. package/dist/node_modules/rehype-prism-plus/dist/index.es.cjs.js +1 -1
  22. package/dist/node_modules/rehype-prism-plus/dist/index.es.es.js +1 -1
  23. package/dist/node_modules/remove-accents/index.cjs.js +1 -1
  24. package/dist/node_modules/remove-accents/index.es.js +1 -1
  25. package/dist/shared/src/api/generated/access.cjs.js.map +1 -1
  26. package/dist/shared/src/api/generated/access.es.js.map +1 -1
  27. package/dist/shared/src/api/generated/authentication.cjs.js +1 -1
  28. package/dist/shared/src/api/generated/authentication.cjs.js.map +1 -1
  29. package/dist/shared/src/api/generated/authentication.es.js +9 -6
  30. package/dist/shared/src/api/generated/authentication.es.js.map +1 -1
  31. package/dist/shared/src/api/generated/entityLists.cjs.js.map +1 -1
  32. package/dist/shared/src/api/generated/entityLists.es.js.map +1 -1
  33. package/dist/shared/src/api/generated/folders.cjs.js.map +1 -1
  34. package/dist/shared/src/api/generated/folders.es.js.map +1 -1
  35. package/dist/shared/src/api/generated/graphql.cjs.js.map +1 -1
  36. package/dist/shared/src/api/generated/graphql.es.js.map +1 -1
  37. package/dist/shared/src/api/generated/graphqlLinks.cjs.js.map +1 -1
  38. package/dist/shared/src/api/generated/graphqlLinks.es.js.map +1 -1
  39. package/dist/shared/src/api/generated/links.cjs.js +1 -1
  40. package/dist/shared/src/api/generated/links.cjs.js.map +1 -1
  41. package/dist/shared/src/api/generated/links.es.js +13 -5
  42. package/dist/shared/src/api/generated/links.es.js.map +1 -1
  43. package/dist/shared/src/api/generated/onboarding.cjs.js.map +1 -1
  44. package/dist/shared/src/api/generated/onboarding.es.js.map +1 -1
  45. package/dist/shared/src/api/generated/operations.cjs.js +1 -1
  46. package/dist/shared/src/api/generated/operations.cjs.js.map +1 -1
  47. package/dist/shared/src/api/generated/operations.es.js +16 -0
  48. package/dist/shared/src/api/generated/operations.es.js.map +1 -1
  49. package/dist/shared/src/api/generated/products.cjs.js +1 -1
  50. package/dist/shared/src/api/generated/products.cjs.js.map +1 -1
  51. package/dist/shared/src/api/generated/products.es.js +6 -3
  52. package/dist/shared/src/api/generated/products.es.js.map +1 -1
  53. package/dist/shared/src/api/generated/projects.cjs.js +1 -1
  54. package/dist/shared/src/api/generated/projects.cjs.js.map +1 -1
  55. package/dist/shared/src/api/generated/projects.es.js +19 -0
  56. package/dist/shared/src/api/generated/projects.es.js.map +1 -1
  57. package/dist/shared/src/api/generated/system.cjs.js.map +1 -1
  58. package/dist/shared/src/api/generated/system.es.js.map +1 -1
  59. package/dist/shared/src/api/generated/tasks.cjs.js.map +1 -1
  60. package/dist/shared/src/api/generated/tasks.es.js.map +1 -1
  61. package/dist/shared/src/api/generated/users.cjs.js.map +1 -1
  62. package/dist/shared/src/api/generated/users.es.js.map +1 -1
  63. package/dist/shared/src/api/generated/versions.cjs.js.map +1 -1
  64. package/dist/shared/src/api/generated/versions.es.js.map +1 -1
  65. package/dist/shared/src/api/generated/views.cjs.js.map +1 -1
  66. package/dist/shared/src/api/generated/views.es.js.map +1 -1
  67. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js +1 -1
  68. package/dist/shared/src/components/AttributeEditor/AttributeEditor.cjs.js.map +1 -1
  69. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js +15 -10
  70. package/dist/shared/src/components/AttributeEditor/AttributeEditor.es.js.map +1 -1
  71. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.cjs.js +60 -0
  72. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.cjs.js.map +1 -0
  73. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.es.js +332 -0
  74. package/dist/shared/src/components/ProjectTableSettings/RowHeightSettings.es.js.map +1 -0
  75. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js +4 -4
  76. package/dist/shared/src/components/SettingsPanel/SettingsPanel.cjs.js.map +1 -1
  77. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js +37 -33
  78. package/dist/shared/src/components/SettingsPanel/SettingsPanel.es.js.map +1 -1
  79. package/dist/shared/src/components/Thumbnail/Thumbnail.styled.cjs.js +3 -5
  80. package/dist/shared/src/components/Thumbnail/Thumbnail.styled.cjs.js.map +1 -1
  81. package/dist/shared/src/components/Thumbnail/Thumbnail.styled.es.js +4 -6
  82. package/dist/shared/src/components/Thumbnail/Thumbnail.styled.es.js.map +1 -1
  83. package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.cjs.js +1 -2
  84. package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.cjs.js.map +1 -1
  85. package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.es.js +0 -1
  86. package/dist/shared/src/components/ThumbnailSimple/ThumbnailSimple.es.js.map +1 -1
  87. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js +1 -1
  88. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.cjs.js.map +1 -1
  89. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js +555 -537
  90. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.es.js.map +1 -1
  91. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js +0 -1
  92. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.cjs.js.map +1 -1
  93. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.es.js +4 -5
  94. package/dist/shared/src/containers/ProjectTreeTable/ProjectTreeTable.styled.es.js.map +1 -1
  95. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js +1 -1
  96. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.cjs.js.map +1 -1
  97. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js +92 -91
  98. package/dist/shared/src/containers/ProjectTreeTable/buildTreeTableColumns.es.js.map +1 -1
  99. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.cjs.js.map +1 -1
  100. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsContext.es.js.map +1 -1
  101. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.cjs.js +1 -1
  102. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.cjs.js.map +1 -1
  103. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js +126 -108
  104. package/dist/shared/src/containers/ProjectTreeTable/context/ColumnSettingsProvider.es.js.map +1 -1
  105. package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.cjs.js +2 -0
  106. package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.cjs.js.map +1 -0
  107. package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.es.js +9 -0
  108. package/dist/shared/src/containers/ProjectTreeTable/hooks/useDynamicRowHeight.es.js.map +1 -0
  109. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js +2 -2
  110. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.cjs.js.map +1 -1
  111. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js +49 -48
  112. package/dist/shared/src/containers/ProjectTreeTable/widgets/CellWidget.es.js.map +1 -1
  113. package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.cjs.js +38 -9
  114. package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.cjs.js.map +1 -1
  115. package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.es.js +74 -39
  116. package/dist/shared/src/containers/ProjectTreeTable/widgets/EntityNameWidget.es.js.map +1 -1
  117. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.cjs.js +24 -15
  118. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.cjs.js.map +1 -1
  119. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.es.js +71 -59
  120. package/dist/shared/src/containers/ProjectTreeTable/widgets/EnumCellValue.es.js.map +1 -1
  121. package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.cjs.js +6 -6
  122. package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.cjs.js.map +1 -1
  123. package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.es.js +12 -12
  124. package/dist/shared/src/containers/ProjectTreeTable/widgets/ThumbnailWidget.es.js.map +1 -1
  125. package/dist/shared/src/util/columnConfigConverter.cjs.js +1 -1
  126. package/dist/shared/src/util/columnConfigConverter.cjs.js.map +1 -1
  127. package/dist/shared/src/util/columnConfigConverter.es.js +35 -33
  128. package/dist/shared/src/util/columnConfigConverter.es.js.map +1 -1
  129. package/dist/types/api/generated/access.d.ts +6 -0
  130. package/dist/types/api/generated/authentication.d.ts +6 -0
  131. package/dist/types/api/generated/entityLists.d.ts +7 -7
  132. package/dist/types/api/generated/folders.d.ts +2 -2
  133. package/dist/types/api/generated/graphql.d.ts +3 -1
  134. package/dist/types/api/generated/graphqlLinks.d.ts +21 -15
  135. package/dist/types/api/generated/links.d.ts +4 -0
  136. package/dist/types/api/generated/onboarding.d.ts +3 -0
  137. package/dist/types/api/generated/operations.d.ts +22 -1
  138. package/dist/types/api/generated/products.d.ts +23 -0
  139. package/dist/types/api/generated/projects.d.ts +63 -0
  140. package/dist/types/api/generated/representations.d.ts +1 -0
  141. package/dist/types/api/generated/system.d.ts +9 -2
  142. package/dist/types/api/generated/tasks.d.ts +1 -0
  143. package/dist/types/api/generated/users.d.ts +1 -1
  144. package/dist/types/api/generated/versions.d.ts +1 -0
  145. package/dist/types/api/generated/views.d.ts +50 -9
  146. package/dist/types/api/queries/authentication/getAuthentication.d.ts +1 -0
  147. package/dist/types/api/queries/overview/updateOverview.d.ts +2 -0
  148. package/dist/types/api/queries/project/getProject.d.ts +4 -0
  149. package/dist/types/components/ProjectTableSettings/RowHeightSettings.d.ts +3 -0
  150. package/dist/types/containers/ProjectTreeTable/context/ColumnSettingsContext.d.ts +4 -0
  151. package/dist/types/containers/ProjectTreeTable/hooks/useDynamicRowHeight.d.ts +11 -0
  152. package/dist/types/containers/ProjectTreeTable/widgets/EntityNameWidget.d.ts +2 -1
  153. package/dist/types/containers/ProjectTreeTable/widgets/EnumCellValue.d.ts +2 -1
  154. package/package.json +3 -3
@@ -1 +1 @@
1
- {"version":3,"file":"authentication.es.js","sources":["../../../../../src/api/generated/authentication.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n login: build.mutation<LoginApiResponse, LoginApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/login`,\n method: 'POST',\n body: queryArg.loginRequestModel,\n }),\n }),\n logout: build.mutation<LogoutApiResponse, LogoutApiArg>({\n query: () => ({ url: `/api/auth/logout`, method: 'POST' }),\n }),\n listActiveSessions: build.query<ListActiveSessionsApiResponse, ListActiveSessionsApiArg>({\n query: () => ({ url: `/api/auth/sessions` }),\n }),\n createSession: build.mutation<CreateSessionApiResponse, CreateSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/sessions`,\n method: 'POST',\n body: queryArg.createSessionRequest,\n }),\n }),\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LoginApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type LoginApiArg = {\n loginRequestModel: LoginRequestModel\n}\nexport type LogoutApiResponse = /** status 200 Successful Response */ LogoutResponseModel\nexport type LogoutApiArg = void\nexport type ListActiveSessionsApiResponse = /** status 200 Successful Response */ SessionModel[]\nexport type ListActiveSessionsApiArg = void\nexport type CreateSessionApiResponse = /** status 200 Successful Response */ SessionModel\nexport type CreateSessionApiArg = {\n createSessionRequest: CreateSessionRequest\n}\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type LoginRequestModel = {\n /** Username */\n name: string\n /** Password */\n password: string\n}\nexport type LogoutResponseModel = {\n /** Text description, which may be displayed to the user */\n detail?: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type SessionModel = {\n user: UserModel\n token: string\n created?: number\n lastUsed?: number\n isService?: boolean\n isApiKey?: boolean\n clientInfo?: ClientInfo\n}\nexport type CreateSessionRequest = {\n /** User name to create session for */\n userName?: string\n /** Message to log in event stream */\n message?: string\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,OAAOA,EAAM,SAAwC;AAAA,MACnD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,QAAQD,EAAM,SAA0C;AAAA,MACtD,OAAO,OAAO,EAAE,KAAK,oBAAoB,QAAQ,OAAO;AAAA,IAAA,CACzD;AAAA,IACD,oBAAoBA,EAAM,MAA+D;AAAA,MACvF,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,eAAeA,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,MAAmD;AAAA,MACrE,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IACxC,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"authentication.es.js","sources":["../../../../../src/api/generated/authentication.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n login: build.mutation<LoginApiResponse, LoginApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/login`,\n method: 'POST',\n body: queryArg.loginRequestModel,\n }),\n }),\n logout: build.mutation<LogoutApiResponse, LogoutApiArg>({\n query: () => ({ url: `/api/auth/logout`, method: 'POST' }),\n }),\n tokenAuthCallback: build.query<TokenAuthCallbackApiResponse, TokenAuthCallbackApiArg>({\n query: () => ({ url: `/api/auth/tokenauth` }),\n }),\n listActiveSessions: build.query<ListActiveSessionsApiResponse, ListActiveSessionsApiArg>({\n query: () => ({ url: `/api/auth/sessions` }),\n }),\n createSession: build.mutation<CreateSessionApiResponse, CreateSessionApiArg>({\n query: (queryArg) => ({\n url: `/api/auth/sessions`,\n method: 'POST',\n body: queryArg.createSessionRequest,\n }),\n }),\n getUserPools: build.query<GetUserPoolsApiResponse, GetUserPoolsApiArg>({\n query: () => ({ url: `/api/auth/pools` }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type LoginApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type LoginApiArg = {\n loginRequestModel: LoginRequestModel\n}\nexport type LogoutApiResponse = /** status 200 Successful Response */ LogoutResponseModel\nexport type LogoutApiArg = void\nexport type TokenAuthCallbackApiResponse = /** status 200 Successful Response */ LoginResponseModel\nexport type TokenAuthCallbackApiArg = void\nexport type ListActiveSessionsApiResponse = /** status 200 Successful Response */ SessionModel[]\nexport type ListActiveSessionsApiArg = void\nexport type CreateSessionApiResponse = /** status 200 Successful Response */ SessionModel\nexport type CreateSessionApiArg = {\n createSessionRequest: CreateSessionRequest\n}\nexport type GetUserPoolsApiResponse = /** status 200 Successful Response */ UserPoolModel[]\nexport type GetUserPoolsApiArg = void\nexport type UserAttribModel = {\n fullName?: string\n email?: string\n avatarUrl?: string\n developerMode?: boolean\n}\nexport type UserModel = {\n /** Name is an unique id of the {entity_name} */\n name: string\n attrib?: UserAttribModel\n data?: Record<string, any>\n /** Whether the user is active */\n active?: boolean\n ownAttrib?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type LoginResponseModel = {\n /** Text message, which may be displayed to the user */\n detail?: string\n error?: string\n token?: string\n user?: UserModel\n /** URL to redirect the user after login */\n redirectUrl?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type LoginRequestModel = {\n /** Username */\n name: string\n /** Password */\n password: string\n}\nexport type LogoutResponseModel = {\n /** Text description, which may be displayed to the user */\n detail?: string\n}\nexport type LocationInfo = {\n country?: string\n subdivision?: string\n city?: string\n}\nexport type AgentInfo = {\n platform?: string\n client?: string\n device?: string\n}\nexport type ClientInfo = {\n ip: string\n languages?: string[]\n location?: LocationInfo\n agent?: AgentInfo\n site_id?: string\n}\nexport type SessionModel = {\n user: UserModel\n token: string\n created?: number\n lastUsed?: number\n isService?: boolean\n isApiKey?: boolean\n clientInfo?: ClientInfo\n}\nexport type CreateSessionRequest = {\n /** User name to create session for */\n userName?: string\n /** Message to log in event stream */\n message?: string\n}\nexport type UserPoolModel = {\n id: string\n label: string\n type: 'fixed' | 'metered'\n valid: boolean\n note: string\n exp: number\n max: number\n used: number\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,OAAOA,EAAM,SAAwC;AAAA,MACnD,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,QAAQD,EAAM,SAA0C;AAAA,MACtD,OAAO,OAAO,EAAE,KAAK,oBAAoB,QAAQ,OAAO;AAAA,IAAA,CACzD;AAAA,IACD,mBAAmBA,EAAM,MAA6D;AAAA,MACpF,OAAO,OAAO,EAAE,KAAK,sBAAsB;AAAA,IAAA,CAC5C;AAAA,IACD,oBAAoBA,EAAM,MAA+D;AAAA,MACvF,OAAO,OAAO,EAAE,KAAK,qBAAqB;AAAA,IAAA,CAC3C;AAAA,IACD,eAAeA,EAAM,SAAwD;AAAA,MAC3E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK;AAAA,QACL,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,MAAmD;AAAA,MACrE,OAAO,OAAO,EAAE,KAAK,kBAAkB;AAAA,IACxC,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"entityLists.cjs.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,kCAAmCA,EAAM,MAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,aACrE,EAAA,CACD,EACD,kCAAmCD,EAAM,SAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,cAC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CACpF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,GACnE,OAAQ,QACR,KAAMA,EAAS,qBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,eACnE,OAAQ,OACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"entityLists.cjs.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,kCAAmCA,EAAM,MAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,aACrE,EAAA,CACD,EACD,kCAAmCD,EAAM,SAGvC,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,cACnE,OAAQ,MACR,KAAMA,EAAS,OACjB,EAAA,CACD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S,WAAW,UAAUA,EAAS,MAAM,GACnE,OAAQ,QACR,KAAMA,EAAS,qBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM,eACnE,OAAQ,OACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"entityLists.es.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: object\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: object\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,mCAAmCA,EAAM,MAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mCAAmCD,EAAM,SAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AA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A,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"entityLists.es.js","sources":["../../../../../src/api/generated/entityLists.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getEntityListAttributesDefinition: build.query<\n GetEntityListAttributesDefinitionApiResponse,\n GetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n }),\n }),\n setEntityListAttributesDefinition: build.mutation<\n SetEntityListAttributesDefinitionApiResponse,\n SetEntityListAttributesDefinitionApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/attributes`,\n method: 'PUT',\n body: queryArg.payload,\n }),\n }),\n getListEntities: build.query<GetListEntitiesApiResponse, GetListEntitiesApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/entities`,\n }),\n }),\n getEntityListFolders: build.query<GetEntityListFoldersApiResponse, GetEntityListFoldersApiArg>({\n query: (queryArg) => ({ url: `/api/projects/${queryArg.projectName}/entityListFolders` }),\n }),\n createEntityListFolder: build.mutation<\n CreateEntityListFolderApiResponse,\n CreateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders`,\n method: 'POST',\n body: queryArg.entityListFolderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListFolder: build.mutation<\n DeleteEntityListFolderApiResponse,\n DeleteEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListFolder: build.mutation<\n UpdateEntityListFolderApiResponse,\n UpdateEntityListFolderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.entityListFolderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n setEntityListFoldersOrder: build.mutation<\n SetEntityListFoldersOrderApiResponse,\n SetEntityListFoldersOrderApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/entityListFolders/order`,\n method: 'POST',\n body: queryArg.entityListFolderOrderModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityListItem: build.mutation<\n CreateEntityListItemApiResponse,\n CreateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'POST',\n body: queryArg.entityListItemPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItems: build.mutation<\n UpdateEntityListItemsApiResponse,\n UpdateEntityListItemsApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items`,\n method: 'PATCH',\n body: queryArg.entityListMultiPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n deleteEntityListItem: build.mutation<\n DeleteEntityListItemApiResponse,\n DeleteEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n updateEntityListItem: build.mutation<\n UpdateEntityListItemApiResponse,\n UpdateEntityListItemApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/items/${queryArg.listItemId}`,\n method: 'PATCH',\n body: queryArg.entityListItemPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n createEntityList: build.mutation<CreateEntityListApiResponse, CreateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists`,\n method: 'POST',\n body: queryArg.entityListPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getEntityList: build.query<GetEntityListApiResponse, GetEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n }),\n }),\n deleteEntityList: build.mutation<DeleteEntityListApiResponse, DeleteEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'DELETE',\n }),\n }),\n updateEntityList: build.mutation<UpdateEntityListApiResponse, UpdateEntityListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}`,\n method: 'PATCH',\n body: queryArg.entityListPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n materializeEntityList: build.mutation<\n MaterializeEntityListApiResponse,\n MaterializeEntityListApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/lists/${queryArg.listId}/materialize`,\n method: 'POST',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetEntityListAttributesDefinitionApiResponse =\n /** status 200 Successful Response */ EntityListAttributeDefinition[]\nexport type GetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n}\nexport type SetEntityListAttributesDefinitionApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListAttributesDefinitionApiArg = {\n listId: string\n projectName: string\n payload: EntityListAttributeDefinition[]\n}\nexport type GetListEntitiesApiResponse = /** status 200 Successful Response */ EntityListEnities\nexport type GetListEntitiesApiArg = {\n listId: string\n projectName: string\n}\nexport type GetEntityListFoldersApiResponse =\n /** status 200 Successful Response */ EntityListFoldersResponseModel\nexport type GetEntityListFoldersApiArg = {\n projectName: string\n}\nexport type CreateEntityListFolderApiResponse =\n /** status 200 Successful Response */ EntityIdResponse\nexport type CreateEntityListFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPostModel: EntityListFolderPostModel\n}\nexport type DeleteEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListFolderApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderPatchModel: EntityListFolderPatchModel\n}\nexport type SetEntityListFoldersOrderApiResponse = /** status 200 Successful Response */ any\nexport type SetEntityListFoldersOrderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListFolderOrderModel: EntityListFolderOrderModel\n}\nexport type CreateEntityListItemApiResponse = /** status 201 Successful Response */ any\nexport type CreateEntityListItemApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPostModel: EntityListItemPostModel\n}\nexport type UpdateEntityListItemsApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemsApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListMultiPatchModel: EntityListMultiPatchModel\n}\nexport type DeleteEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateEntityListItemApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListItemApiArg = {\n listId: string\n listItemId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListItemPatchModel: EntityListItemPatchModel\n}\nexport type CreateEntityListApiResponse = /** status 201 Successful Response */ EntityListSummary\nexport type CreateEntityListApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPostModel: EntityListPostModel\n}\nexport type GetEntityListApiResponse = /** status 200 Successful Response */ EntityListModel\nexport type GetEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type DeleteEntityListApiResponse = /** status 200 Successful Response */ any\nexport type DeleteEntityListApiArg = {\n listId: string\n projectName: string\n}\nexport type UpdateEntityListApiResponse = /** status 200 Successful Response */ any\nexport type UpdateEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n entityListPatchModel: EntityListPatchModel\n}\nexport type MaterializeEntityListApiResponse =\n /** status 200 Successful Response */ EntityListSummary\nexport type MaterializeEntityListApiArg = {\n listId: string\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type AttributeEnumItem = {\n value: string | number | number | boolean\n label: string\n icon?: string\n color?: string\n /** List of project this item is available on */\n projects?: string[]\n}\nexport type AttributeData = {\n /** Type of attribute value */\n type?:\n | 'string'\n | 'integer'\n | 'float'\n | 'boolean'\n | 'datetime'\n | 'list_of_strings'\n | 'list_of_integers'\n | 'list_of_any'\n | 'list_of_submodels'\n | 'dict'\n /** Nice, human readable title of the attribute */\n title?: string\n description?: string\n /** Example value of the field. */\n example?: any\n /** Default value for the attribute. Do not set for list types. */\n default?: any\n gt?: number | number\n ge?: number | number\n lt?: number | number\n le?: number | number\n minLength?: number\n maxLength?: number\n /** Minimum number of items in list type. */\n minItems?: number\n /** Only for list types. Maximum number of items in the list. */\n maxItems?: number\n /** Only for string types. The value must match this regex. */\n regex?: string\n /** List of enum items used for displaying select widgets */\n enum?: AttributeEnumItem[]\n /** Inherit the attribute value from the parent entity. */\n inherit?: boolean\n}\nexport type EntityListAttributeDefinition = {\n name: string\n data: AttributeData\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type EntityListEnities = {\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n entityIds: string[]\n}\nexport type EntityListFolderData = {\n /** Hex color code */\n color?: string\n /** Icon name */\n icon?: string\n /** Folder scope */\n scope?: string[]\n}\nexport type EntityListFolderModel = {\n id: string\n label: string\n parentId?: string\n position?: number\n owner?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFoldersResponseModel = {\n folders?: EntityListFolderModel[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type EntityListFolderPostModel = {\n id?: string\n label: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderPatchModel = {\n label?: string\n parentId?: string\n access?: {\n [key: string]: number\n }\n data?: EntityListFolderData\n}\nexport type EntityListFolderOrderModel = {\n order: string[]\n}\nexport type EntityListItemPostModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListMultiPatchModel = {\n items?: EntityListMultiPatchItemModel[]\n /** The mode of the operation. `replace` will replace all items with the provided ones. `merge` will merge the provided items with the existing ones.`delete` will delete items with matching ids from the list. */\n mode?: 'replace' | 'merge' | 'delete'\n}\nexport type EntityListItemPatchModel = {\n /** ID of the entity in the list */\n entityId?: string\n /** Position of the item in the list */\n position?: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n}\nexport type EntityListSummary = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n count?: number\n}\nexport type ListAccessLevel = 0 | 10 | 20 | 30\nexport type EntityListPostModel = {\n id?: string\n /** Type of the list */\n entityListType?: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n items?: EntityListItemPostModel[]\n}\nexport type EntityListItemModel = {\n id?: string\n /** ID of the entity in the list */\n entityId: string\n /** Position of the item in the list */\n position: number\n /** Label of the item */\n label?: string\n /** Overrides of the listed entity attributes */\n attrib?: object\n /** Additional data associated with the item */\n data?: Record<string, any>\n /** Tags associated with the item */\n tags?: string[]\n /** Path to the folder where the item is located */\n folderPath: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n}\nexport type EntityListModel = {\n id?: string\n /** Type of the list */\n entityListType: string\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Type of the entity that can be included in the list */\n entityType: 'folder' | 'product' | 'version' | 'representation' | 'task' | 'workfile'\n label: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** Additional data associated with the list */\n data?: Record<string, any>\n template?: object\n /** List tags */\n tags?: string[]\n items?: EntityListItemModel[]\n /** Name of the user who created the list */\n owner?: string\n createdBy?: string\n updatedBy?: string\n createdAt?: string\n updatedAt?: string\n /** Whether the list is active or not */\n active: boolean\n accessLevel?: ListAccessLevel\n}\nexport type EntityListPatchModel = {\n label?: string\n /** Access control for the list. Can be specified for users or teams. */\n access?: {\n [key: string]: ListAccessLevel\n }\n /** List attributes */\n attrib?: object\n /** ID of the folder containing the list */\n entityListFolderId?: string\n /** Additional data associated with the list */\n data?: Record<string, any>\n /** List tags */\n tags?: string[]\n /** Name of the user who created the list */\n owner?: string\n /** Whether the list is active or not */\n active?: boolean\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,mCAAmCA,EAAM,MAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,mCAAmCD,EAAM,SAGvC;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,MACjB;AAAA,IAAA,CACD;AAAA,IACD,iBAAiBD,EAAM,MAAyD;AAAA,MAC9E,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,sBAAsBD,EAAM,MAAmE;AAAA,MAC7F,OAAO,CAACC,OAAc,EAAE,KAAK,iBAAiBA,EAAS,WAAW,qBAAqB;AAAA,IAA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AAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,eAAeD,EAAM,MAAqD;AAAA,MACxE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,MACrE;AAAA,IAAA,CACD;AAAA,IACD,kBAAkBD,EAAM,SAA8D;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,MACV;AAAA,IAAA,CACD;AAAA,IACD,kBAAkBD,EAAM,SAA8D;AAAA,MACpF,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IAAA,CACD;AAAA,IACD,uBAAuBD,EAAM,SAG3B;AAAA,MACA,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,UAAUA,EAAS,MAAM;AAAA,QACnE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAAA;AAAA,MAE7C;AAAA,IACD,CAAA;AAAA,EAAA;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
@@ -1 +1 @@
1
- {"version":3,"file":"folders.cjs.js","sources":["../../../../../src/api/generated/folders.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getFolder: build.query<GetFolderApiResponse, GetFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n }),\n }),\n deleteFolder: build.mutation<DeleteFolderApiResponse, DeleteFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n force: queryArg.force,\n },\n }),\n }),\n updateFolder: build.mutation<UpdateFolderApiResponse, UpdateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.folderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderList: build.query<GetFolderListApiResponse, GetFolderListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n params: {\n attrib: queryArg.attrib,\n },\n }),\n }),\n createFolder: build.mutation<CreateFolderApiResponse, CreateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n method: 'POST',\n body: queryArg.folderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderHierarchy: build.query<GetFolderHierarchyApiResponse, GetFolderHierarchyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/hierarchy`,\n params: {\n search: queryArg.search,\n types: queryArg.types,\n },\n }),\n }),\n getFolderThumbnail: build.query<GetFolderThumbnailApiResponse, GetFolderThumbnailApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n params: {\n placeholder: queryArg.placeholder,\n original: queryArg.original,\n },\n }),\n }),\n createFolderThumbnail: build.mutation<\n CreateFolderThumbnailApiResponse,\n CreateFolderThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n method: 'POST',\n headers: {\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetFolderApiResponse = /** status 200 Successful Response */ FolderModel\nexport type GetFolderApiArg = {\n projectName: string\n folderId: string\n}\nexport type DeleteFolderApiResponse = unknown\nexport type DeleteFolderApiArg = {\n projectName: string\n folderId: string\n /** Allow recursive deletion */\n force?: boolean\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateFolderApiResponse = unknown\nexport type UpdateFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPatchModel: FolderPatchModel\n}\nexport type GetFolderListApiResponse = /** status 200 Successful Response */ FolderListModel\nexport type GetFolderListApiArg = {\n projectName: string\n /** Include folder attributes */\n attrib?: boolean\n}\nexport type CreateFolderApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPostModel: FolderPostModel\n}\nexport type GetFolderHierarchyApiResponse =\n /** status 200 Successful Response */ HierarchyResponseModel\nexport type GetFolderHierarchyApiArg = {\n projectName: string\n /** Full-text search query used to limit the result */\n search?: string\n /** Comma separated list of folder_types to show */\n types?: string\n}\nexport type GetFolderThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n placeholder?: 'empty' | 'none'\n original?: boolean\n}\nexport type CreateFolderThumbnailApiResponse =\n /** status 201 Successful Response */ CreateThumbnailResponseModel\nexport type CreateFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n 'content-type'?: string\n}\nexport type FolderAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n path?: string\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FolderPatchModel = {\n name?: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type FolderListItem = {\n id: string\n path: string\n parentId?: string\n parents: string[]\n name: string\n label?: string\n folderType: string\n hasTasks?: boolean\n hasChildren?: boolean\n hasReviewables?: boolean\n taskNames?: string[]\n tags?: string[]\n status: string\n attrib?: object\n ownAttrib?: string[]\n updatedAt: string\n createdAt: string\n hasVersions?: boolean\n}\nexport type FolderListModel = {\n detail: string\n folders: FolderListItem[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type FolderPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type HierarchyFolderModel = {\n /** Folder ID */\n id: string\n name: string\n label: string\n status: string\n folderType?: string\n hasTasks: boolean\n taskNames: string[]\n parents: string[]\n parentId?: string\n children?: HierarchyFolderModel[]\n}\nexport type HierarchyResponseModel = {\n detail: string\n projectName: string\n hierarchy: HierarchyFolderModel[]\n}\nexport type CreateThumbnailResponseModel = {\n id: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,UAAWA,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ,EACzE,EAAA,CACD,EACD,aAAcD,EAAM,SAAsD,CACxE,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ,GACvE,OAAQ,SACR,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAC3C,EACA,OAAQ,CACN,MAAOA,EAAS,KAAA,CAEpB,EAAA,CACD,EACD,aAAcD,EAAM,SAAsD,CACxE,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ,GACvE,OAAQ,QACR,KAAMA,EAAS,iBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,cAAeD,EAAM,MAAqD,CACxE,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,WAC1C,OAAQ,CACN,OAAQA,EAAS,MAAA,CAErB,EAAA,CACD,EACD,aAAcD,EAAM,SAAsD,CACxE,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,WAC1C,OAAQ,OACR,KAAMA,EAAS,gBACf,QAAS,CACP,WAAYA,EAAS,UAAU,EAC/B,gBAAiBA,EAAS,eAAe,CAAA,CAE7C,EAAA,CACD,EACD,mBAAoBD,EAAM,MAA+D,CACvF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,aAC1C,OAAQ,CACN,OAAQA,EAAS,OACjB,MAAOA,EAAS,KAAA,CAEpB,EAAA,CACD,EACD,mBAAoBD,EAAM,MAA+D,CACvF,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ,aACvE,OAAQ,CACN,YAAaA,EAAS,YACtB,SAAUA,EAAS,QAAA,CAEvB,EAAA,CACD,EACD,sBAAuBD,EAAM,SAG3B,CACA,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ,aACvE,OAAQ,OACR,QAAS,CACP,eAAgBA,EAAS,cAAc,CAAA,CAE3C,EACD,CAAA,CAAA,GAEH,iBAAkB,EACpB,CAAC"}
1
+ {"version":3,"file":"folders.cjs.js","sources":["../../../../../src/api/generated/folders.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getFolder: build.query<GetFolderApiResponse, GetFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n }),\n }),\n deleteFolder: build.mutation<DeleteFolderApiResponse, DeleteFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n force: queryArg.force,\n },\n }),\n }),\n updateFolder: build.mutation<UpdateFolderApiResponse, UpdateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.folderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderList: build.query<GetFolderListApiResponse, GetFolderListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n params: {\n attrib: queryArg.attrib,\n },\n }),\n }),\n createFolder: build.mutation<CreateFolderApiResponse, CreateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n method: 'POST',\n body: queryArg.folderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderHierarchy: build.query<GetFolderHierarchyApiResponse, GetFolderHierarchyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/hierarchy`,\n params: {\n search: queryArg.search,\n types: queryArg.types,\n },\n }),\n }),\n getFolderThumbnail: build.query<GetFolderThumbnailApiResponse, GetFolderThumbnailApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n params: {\n placeholder: queryArg.placeholder,\n original: queryArg.original,\n },\n }),\n }),\n createFolderThumbnail: build.mutation<\n CreateFolderThumbnailApiResponse,\n CreateFolderThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n method: 'POST',\n headers: {\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetFolderApiResponse = /** status 200 Successful Response */ FolderModel\nexport type GetFolderApiArg = {\n projectName: string\n folderId: string\n}\nexport type DeleteFolderApiResponse = unknown\nexport type DeleteFolderApiArg = {\n projectName: string\n folderId: string\n /** Allow recursive deletion */\n force?: boolean\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateFolderApiResponse = unknown\nexport type UpdateFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPatchModel: FolderPatchModel\n}\nexport type GetFolderListApiResponse = /** status 200 Successful Response */ FolderListModel\nexport type GetFolderListApiArg = {\n projectName: string\n /** Include folder attributes */\n attrib?: boolean\n}\nexport type CreateFolderApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPostModel: FolderPostModel\n}\nexport type GetFolderHierarchyApiResponse =\n /** status 200 Successful Response */ HierarchyResponseModel\nexport type GetFolderHierarchyApiArg = {\n projectName: string\n /** Full-text search query used to limit the result */\n search?: string\n /** Comma separated list of folder_types to show */\n types?: string\n}\nexport type GetFolderThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n placeholder?: 'empty' | 'none'\n original?: boolean\n}\nexport type CreateFolderThumbnailApiResponse =\n /** status 201 Successful Response */ CreateThumbnailResponseModel\nexport type CreateFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n 'content-type'?: string\n}\nexport type FolderAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n path?: string\n hasVersions?: boolean\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FolderPatchModel = {\n name?: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type FolderListItem = {\n id: string\n path: string\n parentId?: string\n parents: string[]\n name: string\n label?: string\n folderType: string\n hasTasks?: boolean\n hasChildren?: boolean\n hasReviewables?: boolean\n taskNames?: string[]\n tags?: string[]\n status: string\n attrib?: object\n ownAttrib?: string[]\n createdAt: string\n updatedAt: string\n}\nexport type FolderListModel = {\n detail: string\n folders: FolderListItem[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type FolderPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type HierarchyFolderModel = {\n /** Folder ID */\n id: string\n name: string\n label: string\n status: string\n folderType?: string\n hasTasks: boolean\n taskNames: string[]\n parents: string[]\n parentId?: string\n children?: HierarchyFolderModel[]\n}\nexport type HierarchyResponseModel = {\n detail: string\n projectName: string\n hierarchy: HierarchyFolderModel[]\n}\nexport type CreateThumbnailResponseModel = {\n id: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":"yHACMA,EAAiBC,MAAI,gBAAgB,CACzC,UAAYC,IAAW,CACrB,UAAWA,EAAM,MAA6C,CAC5D,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ,EACzE,EAAA,CACD,EACD,aAAcD,EAAM,SAAsD,CACxE,MAAQC,IAAc,CACpB,IAAK,iBAAiBA,EAAS,WAAW,YAAY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EACpB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"folders.es.js","sources":["../../../../../src/api/generated/folders.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getFolder: build.query<GetFolderApiResponse, GetFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n }),\n }),\n deleteFolder: build.mutation<DeleteFolderApiResponse, DeleteFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n force: queryArg.force,\n },\n }),\n }),\n updateFolder: build.mutation<UpdateFolderApiResponse, UpdateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.folderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderList: build.query<GetFolderListApiResponse, GetFolderListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n params: {\n attrib: queryArg.attrib,\n },\n }),\n }),\n createFolder: build.mutation<CreateFolderApiResponse, CreateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n method: 'POST',\n body: queryArg.folderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderHierarchy: build.query<GetFolderHierarchyApiResponse, GetFolderHierarchyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/hierarchy`,\n params: {\n search: queryArg.search,\n types: queryArg.types,\n },\n }),\n }),\n getFolderThumbnail: build.query<GetFolderThumbnailApiResponse, GetFolderThumbnailApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n params: {\n placeholder: queryArg.placeholder,\n original: queryArg.original,\n },\n }),\n }),\n createFolderThumbnail: build.mutation<\n CreateFolderThumbnailApiResponse,\n CreateFolderThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n method: 'POST',\n headers: {\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetFolderApiResponse = /** status 200 Successful Response */ FolderModel\nexport type GetFolderApiArg = {\n projectName: string\n folderId: string\n}\nexport type DeleteFolderApiResponse = unknown\nexport type DeleteFolderApiArg = {\n projectName: string\n folderId: string\n /** Allow recursive deletion */\n force?: boolean\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateFolderApiResponse = unknown\nexport type UpdateFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPatchModel: FolderPatchModel\n}\nexport type GetFolderListApiResponse = /** status 200 Successful Response */ FolderListModel\nexport type GetFolderListApiArg = {\n projectName: string\n /** Include folder attributes */\n attrib?: boolean\n}\nexport type CreateFolderApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPostModel: FolderPostModel\n}\nexport type GetFolderHierarchyApiResponse =\n /** status 200 Successful Response */ HierarchyResponseModel\nexport type GetFolderHierarchyApiArg = {\n projectName: string\n /** Full-text search query used to limit the result */\n search?: string\n /** Comma separated list of folder_types to show */\n types?: string\n}\nexport type GetFolderThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n placeholder?: 'empty' | 'none'\n original?: boolean\n}\nexport type CreateFolderThumbnailApiResponse =\n /** status 201 Successful Response */ CreateThumbnailResponseModel\nexport type CreateFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n 'content-type'?: string\n}\nexport type FolderAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n path?: string\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FolderPatchModel = {\n name?: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type FolderListItem = {\n id: string\n path: string\n parentId?: string\n parents: string[]\n name: string\n label?: string\n folderType: string\n hasTasks?: boolean\n hasChildren?: boolean\n hasReviewables?: boolean\n taskNames?: string[]\n tags?: string[]\n status: string\n attrib?: object\n ownAttrib?: string[]\n updatedAt: string\n createdAt: string\n hasVersions?: boolean\n}\nexport type FolderListModel = {\n detail: string\n folders: FolderListItem[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type FolderPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type HierarchyFolderModel = {\n /** Folder ID */\n id: string\n name: string\n label: string\n status: string\n folderType?: string\n hasTasks: boolean\n taskNames: string[]\n parents: string[]\n parentId?: string\n children?: HierarchyFolderModel[]\n}\nexport type HierarchyResponseModel = {\n detail: string\n projectName: string\n hierarchy: HierarchyFolderModel[]\n}\nexport type CreateThumbnailResponseModel = {\n id: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ;AAAA,MACzE;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,SAAsD;AAAA,MACxE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ;AAAA,QACvE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAC3C;AAAA,QACA,QAAQ;AAAA,UACN,OAAOA,EAAS;AAAA,QAAA;AAAA,MAEpB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,SAAsD;AAAA,MACxE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ;AAAA,QACvE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YAAYA,EAAS,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A;AAAA,EAEH,kBAAkB;AACpB,CAAC;"}
1
+ {"version":3,"file":"folders.es.js","sources":["../../../../../src/api/generated/folders.ts"],"sourcesContent":["import { api } from '@shared/api/base'\nconst injectedRtkApi = api.injectEndpoints({\n endpoints: (build) => ({\n getFolder: build.query<GetFolderApiResponse, GetFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n }),\n }),\n deleteFolder: build.mutation<DeleteFolderApiResponse, DeleteFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'DELETE',\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n params: {\n force: queryArg.force,\n },\n }),\n }),\n updateFolder: build.mutation<UpdateFolderApiResponse, UpdateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}`,\n method: 'PATCH',\n body: queryArg.folderPatchModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderList: build.query<GetFolderListApiResponse, GetFolderListApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n params: {\n attrib: queryArg.attrib,\n },\n }),\n }),\n createFolder: build.mutation<CreateFolderApiResponse, CreateFolderApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders`,\n method: 'POST',\n body: queryArg.folderPostModel,\n headers: {\n 'x-sender': queryArg['x-sender'],\n 'x-sender-type': queryArg['x-sender-type'],\n },\n }),\n }),\n getFolderHierarchy: build.query<GetFolderHierarchyApiResponse, GetFolderHierarchyApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/hierarchy`,\n params: {\n search: queryArg.search,\n types: queryArg.types,\n },\n }),\n }),\n getFolderThumbnail: build.query<GetFolderThumbnailApiResponse, GetFolderThumbnailApiArg>({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n params: {\n placeholder: queryArg.placeholder,\n original: queryArg.original,\n },\n }),\n }),\n createFolderThumbnail: build.mutation<\n CreateFolderThumbnailApiResponse,\n CreateFolderThumbnailApiArg\n >({\n query: (queryArg) => ({\n url: `/api/projects/${queryArg.projectName}/folders/${queryArg.folderId}/thumbnail`,\n method: 'POST',\n headers: {\n 'content-type': queryArg['content-type'],\n },\n }),\n }),\n }),\n overrideExisting: false,\n})\nexport { injectedRtkApi as api }\nexport type GetFolderApiResponse = /** status 200 Successful Response */ FolderModel\nexport type GetFolderApiArg = {\n projectName: string\n folderId: string\n}\nexport type DeleteFolderApiResponse = unknown\nexport type DeleteFolderApiArg = {\n projectName: string\n folderId: string\n /** Allow recursive deletion */\n force?: boolean\n 'x-sender'?: string\n 'x-sender-type'?: string\n}\nexport type UpdateFolderApiResponse = unknown\nexport type UpdateFolderApiArg = {\n projectName: string\n folderId: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPatchModel: FolderPatchModel\n}\nexport type GetFolderListApiResponse = /** status 200 Successful Response */ FolderListModel\nexport type GetFolderListApiArg = {\n projectName: string\n /** Include folder attributes */\n attrib?: boolean\n}\nexport type CreateFolderApiResponse = /** status 201 Successful Response */ EntityIdResponse\nexport type CreateFolderApiArg = {\n projectName: string\n 'x-sender'?: string\n 'x-sender-type'?: string\n folderPostModel: FolderPostModel\n}\nexport type GetFolderHierarchyApiResponse =\n /** status 200 Successful Response */ HierarchyResponseModel\nexport type GetFolderHierarchyApiArg = {\n projectName: string\n /** Full-text search query used to limit the result */\n search?: string\n /** Comma separated list of folder_types to show */\n types?: string\n}\nexport type GetFolderThumbnailApiResponse = /** status 200 Successful Response */ any\nexport type GetFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n placeholder?: 'empty' | 'none'\n original?: boolean\n}\nexport type CreateFolderThumbnailApiResponse =\n /** status 201 Successful Response */ CreateThumbnailResponseModel\nexport type CreateFolderThumbnailApiArg = {\n projectName: string\n folderId: string\n 'content-type'?: string\n}\nexport type FolderAttribModel = {\n priority?: 'urgent' | 'high' | 'normal' | 'low'\n /** Frame rate */\n fps?: number\n /** Horizontal resolution */\n resolutionWidth?: number\n /** Vertical resolution */\n resolutionHeight?: number\n pixelAspect?: number\n clipIn?: number\n clipOut?: number\n frameStart?: number\n frameEnd?: number\n handleStart?: number\n handleEnd?: number\n /** Date and time when the project or task or asset was started */\n startDate?: string\n /** Deadline date and time */\n endDate?: string\n /** Textual description of the entity */\n description?: string\n}\nexport type FolderModel = {\n /** Unique identifier of the {entity_name} */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n path?: string\n hasVersions?: boolean\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n ownAttrib?: string[]\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n /** Time of creation */\n createdAt?: string\n /** Time of last update */\n updatedAt?: string\n}\nexport type ValidationError = {\n loc: (string | number)[]\n msg: string\n type: string\n}\nexport type HttpValidationError = {\n detail?: ValidationError[]\n}\nexport type FolderPatchModel = {\n name?: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type FolderListItem = {\n id: string\n path: string\n parentId?: string\n parents: string[]\n name: string\n label?: string\n folderType: string\n hasTasks?: boolean\n hasChildren?: boolean\n hasReviewables?: boolean\n taskNames?: string[]\n tags?: string[]\n status: string\n attrib?: object\n ownAttrib?: string[]\n createdAt: string\n updatedAt: string\n}\nexport type FolderListModel = {\n detail: string\n folders: FolderListItem[]\n}\nexport type EntityIdResponse = {\n /** Entity ID */\n id: string\n}\nexport type FolderPostModel = {\n /** Explicitly set the ID of the entity */\n id?: string\n name: string\n label?: string\n folderType?: string\n /** Parent folder ID in the hierarchy */\n parentId?: string\n thumbnailId?: string\n /** Status of the folder */\n status?: string\n /** Tags assigned to the the folder */\n tags?: string[]\n attrib?: FolderAttribModel\n data?: Record<string, any>\n /** Whether the folder is active */\n active?: boolean\n}\nexport type HierarchyFolderModel = {\n /** Folder ID */\n id: string\n name: string\n label: string\n status: string\n folderType?: string\n hasTasks: boolean\n taskNames: string[]\n parents: string[]\n parentId?: string\n children?: HierarchyFolderModel[]\n}\nexport type HierarchyResponseModel = {\n detail: string\n projectName: string\n hierarchy: HierarchyFolderModel[]\n}\nexport type CreateThumbnailResponseModel = {\n id: string\n}\n"],"names":["injectedRtkApi","api","build","queryArg"],"mappings":";AACM,MAAAA,IAAiBC,EAAI,gBAAgB;AAAA,EACzC,WAAW,CAACC,OAAW;AAAA,IACrB,WAAWA,EAAM,MAA6C;AAAA,MAC5D,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ;AAAA,MACzE;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,SAAsD;AAAA,MACxE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ;AAAA,QACvE,QAAQ;AAAA,QACR,SAAS;AAAA,UACP,YAAYA,EAAS,UAAU;AAAA,UAC/B,iBAAiBA,EAAS,eAAe;AAAA,QAC3C;AAAA,QACA,QAAQ;AAAA,UACN,OAAOA,EAAS;AAAA,QAAA;AAAA,MAEpB;AAAA,IAAA,CACD;AAAA,IACD,cAAcD,EAAM,SAAsD;AAAA,MACxE,OAAO,CAACC,OAAc;AAAA,QACpB,KAAK,iBAAiBA,EAAS,WAAW,YAAYA,EAAS,QAAQ;AAAA,QACvE,QAAQ;AAAA,QACR,MAAMA,EAAS;AAAA,QACf,SAAS;AAAA,UACP,YA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