@pimcore/studio-ui-bundle 1.0.0-canary.20251120-085447-2f1a280 → 1.0.0-canary.20251120-090200-3fad605
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/build/types/src/core/modules/execution-engine/jobs/delete/element-delete-job.d.ts +10 -10
- package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-delete-job.d.ts +8 -8
- package/dist/build/types/src/core/modules/execution-engine/jobs/recycle-bin/recycle-bin-restore-job.d.ts +8 -8
- package/dist/build/types/src/core/modules/execution-engine/jobs/search-replace-assignments/search-replace-assignments-job.d.ts +11 -11
- package/dist/build/types/src/core/modules/execution-engine/jobs/tag-assign/tag-assign-job.d.ts +34 -0
- package/package.json +1 -1
- package/dist/build/types/src/core/modules/execution-engine/jobs/tag-assign/factory.d.ts +0 -20
- package/dist/build/types/src/core/modules/execution-engine/jobs/tag-assign/notification-job-container.d.ts +0 -14
package/dist/build/types/src/core/modules/execution-engine/jobs/delete/element-delete-job.d.ts
CHANGED
|
@@ -23,16 +23,16 @@ export interface DeleteJobOptions {
|
|
|
23
23
|
parentFolderId?: number;
|
|
24
24
|
}
|
|
25
25
|
export declare class DeleteJob implements JobInterface {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
37
|
+
private executeReplaceRequest;
|
|
38
|
+
private getJobConfig;
|
|
39
|
+
private handleCompletion;
|
|
40
|
+
private handleJobFailure;
|
|
41
41
|
}
|
package/dist/build/types/src/core/modules/execution-engine/jobs/tag-assign/tag-assign-job.d.ts
ADDED
|
@@ -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,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;
|