@pimcore/studio-ui-bundle 1.0.0-canary.20251120-085447-2f1a280 → 1.0.0-canary.20251120-100615-1bd8d03

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.
@@ -23,16 +23,16 @@ export interface DeleteJobOptions {
23
23
  parentFolderId?: number;
24
24
  }
25
25
  export declare class DeleteJob implements JobInterface {
26
- protected readonly elementId: number;
27
- protected readonly elementType: ElementType;
28
- protected readonly title: string;
29
- protected readonly treeId?: string;
30
- protected readonly nodeId?: string;
31
- protected readonly parentFolderId?: number;
26
+ private readonly elementId;
27
+ private readonly elementType;
28
+ private readonly title;
29
+ private readonly treeId?;
30
+ private readonly nodeId?;
31
+ private readonly parentFolderId?;
32
32
  constructor(options: DeleteJobOptions);
33
33
  run(options: JobRunOptions): Promise<void>;
34
- protected executeDeleteRequest(): Promise<string | number | null>;
35
- protected getJobConfig(): DeleteJobConfig;
36
- protected handleCompletion(): Promise<void>;
37
- protected handleJobFailure(error: any): Promise<void>;
34
+ private executeDeleteRequest;
35
+ private getJobConfig;
36
+ private handleCompletion;
37
+ private handleJobFailure;
38
38
  }
@@ -20,14 +20,14 @@ export interface RecycleBinDeleteJobOptions {
20
20
  onFinish?: () => void;
21
21
  }
22
22
  export declare class RecycleBinDeleteJob implements JobInterface {
23
- protected readonly itemIds: number[];
24
- protected readonly elementTypes: ElementType[];
25
- protected readonly title: string;
26
- protected readonly onFinish?: () => void;
23
+ private readonly itemIds;
24
+ private readonly elementTypes;
25
+ private readonly title;
26
+ private readonly onFinish?;
27
27
  constructor(options: RecycleBinDeleteJobOptions);
28
28
  run(options: JobRunOptions): Promise<void>;
29
- protected executeDeleteRequest(): Promise<string | number | null>;
30
- protected getJobConfig(): RecycleBinDeleteJobConfig;
31
- protected handleCompletion(): Promise<void>;
32
- protected handleJobFailure(error: any): Promise<void>;
29
+ private executeDeleteRequest;
30
+ private getJobConfig;
31
+ private handleCompletion;
32
+ private handleJobFailure;
33
33
  }
@@ -20,14 +20,14 @@ export interface RecycleBinRestoreJobOptions {
20
20
  onFinish?: () => void;
21
21
  }
22
22
  export declare class RecycleBinRestoreJob implements JobInterface {
23
- protected readonly itemIds: number[];
24
- protected readonly elementTypes: ElementType[];
25
- protected readonly title: string;
26
- protected readonly onFinish?: () => void;
23
+ private readonly itemIds;
24
+ private readonly elementTypes;
25
+ private readonly title;
26
+ private readonly onFinish?;
27
27
  constructor(options: RecycleBinRestoreJobOptions);
28
28
  run(options: JobRunOptions): Promise<void>;
29
- protected executeRestoreRequest(): Promise<string | number | null>;
30
- protected getJobConfig(): RecycleBinRestoreJobConfig;
31
- protected handleCompletion(): Promise<void>;
32
- protected handleJobFailure(error: any): Promise<void>;
29
+ private executeRestoreRequest;
30
+ private getJobConfig;
31
+ private handleCompletion;
32
+ private handleJobFailure;
33
33
  }
@@ -25,17 +25,17 @@ export interface SearchReplaceAssignmentsJobOptions {
25
25
  onFinish?: () => void;
26
26
  }
27
27
  export declare class SearchReplaceAssignmentsJob implements JobInterface {
28
- protected readonly sourceElementType: ElementType;
29
- protected readonly sourceElementId: number;
30
- protected readonly targetElementType: ElementType;
31
- protected readonly targetElementId: number;
32
- protected readonly elements?: ElementUsageBaseItem[];
33
- protected readonly title: string;
34
- protected readonly onFinish?: () => void;
28
+ private readonly sourceElementType;
29
+ private readonly sourceElementId;
30
+ private readonly targetElementType;
31
+ private readonly targetElementId;
32
+ private readonly elements?;
33
+ private readonly title;
34
+ private readonly onFinish?;
35
35
  constructor(options: SearchReplaceAssignmentsJobOptions);
36
36
  run(options: JobRunOptions): Promise<void>;
37
- protected executeReplaceRequest(): Promise<string | number | null>;
38
- protected getJobConfig(): SearchReplaceAssignmentsJobConfig;
39
- protected handleCompletion(): Promise<void>;
40
- protected handleJobFailure(error: any): Promise<void>;
37
+ private executeReplaceRequest;
38
+ private getJobConfig;
39
+ private handleCompletion;
40
+ private handleJobFailure;
41
41
  }
@@ -0,0 +1,34 @@
1
+ /**
2
+ * This source file is available under the terms of the
3
+ * Pimcore Open Core License (POCL)
4
+ * Full copyright and license information is available in
5
+ * LICENSE.md which is distributed with this source code.
6
+ *
7
+ * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
+ * @license Pimcore Open Core License (POCL)
9
+ */
10
+ import { type JobInterface, type JobRunOptions } from '../job-interface';
11
+ import { type ElementType } from '../../../../types/enums/element/element-type';
12
+ import { type BaseJobConfig } from '../../message-handlers/default-job-handler';
13
+ import { type TagBatchOperationToElementsByTypeAndIdApiArg } from '../../../../modules/element/editor/shared-tab-manager/tabs/tags/tags-api-slice-enhanced';
14
+ export interface TagAssignJobConfig extends BaseJobConfig {
15
+ elementType: ElementType;
16
+ elementId: number;
17
+ }
18
+ export interface TagAssignJobOptions {
19
+ elementType: ElementType;
20
+ elementId: number;
21
+ operation: TagBatchOperationToElementsByTypeAndIdApiArg['operation'];
22
+ title: string;
23
+ }
24
+ export declare class TagAssignJob implements JobInterface {
25
+ private readonly elementType;
26
+ private readonly elementId;
27
+ private readonly operation;
28
+ private readonly title;
29
+ constructor(options: TagAssignJobOptions);
30
+ run(options: JobRunOptions): Promise<void>;
31
+ private executeRequest;
32
+ private getJobConfig;
33
+ private handleJobFailure;
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pimcore/studio-ui-bundle",
3
- "version": "1.0.0-canary.20251120-085447-2f1a280",
3
+ "version": "1.0.0-canary.20251120-100615-1bd8d03",
4
4
  "keywords": [
5
5
  "pimcore",
6
6
  "pimcore-studio-ui"
@@ -1,20 +0,0 @@
1
- /**
2
- * This source file is available under the terms of the
3
- * Pimcore Open Core License (POCL)
4
- * Full copyright and license information is available in
5
- * LICENSE.md which is distributed with this source code.
6
- *
7
- * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
- * @license Pimcore Open Core License (POCL)
9
- */
10
- import { type AbstractJob } from '../abstact-job';
11
- export interface TagAssignJob extends AbstractJob {
12
- type: 'tag-assign';
13
- config: undefined;
14
- }
15
- export interface TagAssignFactoryArgs {
16
- action: AbstractJob['action'];
17
- title: AbstractJob['title'];
18
- topics: AbstractJob['topics'];
19
- }
20
- export declare const createJob: (job: TagAssignFactoryArgs) => TagAssignJob;
@@ -1,14 +0,0 @@
1
- /**
2
- * This source file is available under the terms of the
3
- * Pimcore Open Core License (POCL)
4
- * Full copyright and license information is available in
5
- * LICENSE.md which is distributed with this source code.
6
- *
7
- * @copyright Copyright (c) Pimcore GmbH (https://www.pimcore.com)
8
- * @license Pimcore Open Core License (POCL)
9
- */
10
- import React from 'react';
11
- import { type JobProps } from '../../notification/job/job';
12
- export interface TagAssignJobProps extends JobProps {
13
- }
14
- export declare const NotificationJobContainer: (props: TagAssignJobProps) => React.JSX.Element;