@alfresco/aca-playwright-shared 7.4.0-23947894659 → 7.4.0-24080689185
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/api/nodes-api.d.ts +6 -6
- package/api/sites-api.d.ts +1 -1
- package/api/tags-api.d.ts +4 -4
- package/fesm2022/alfresco-aca-playwright-shared.mjs +159 -204
- package/fesm2022/alfresco-aca-playwright-shared.mjs.map +1 -1
- package/package.json +1 -1
- package/page-objects/components/base.component.d.ts +0 -3
- package/page-objects/components/{spinner.component.d.ts → edit-mode.component.d.ts} +13 -4
- package/page-objects/components/index.d.ts +1 -1
- package/page-objects/pages/base.page.d.ts +1 -2
- package/page-objects/pages/personal-files.page.d.ts +2 -1
- package/page-objects/playwright-base.d.ts +1 -0
- package/utils/logger.d.ts +6 -29
package/api/nodes-api.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ export declare class NodesApi {
|
|
|
27
27
|
private readonly apiService;
|
|
28
28
|
constructor();
|
|
29
29
|
static initialize(userName: string, password?: string): Promise<NodesApi>;
|
|
30
|
-
createFolder(name: string, parentId?: string, title?: string, description?: string, author?: string, aspectNames?: string[]): Promise<NodeEntry
|
|
30
|
+
createFolder(name: string, parentId?: string, title?: string, description?: string, author?: string, aspectNames?: string[]): Promise<NodeEntry>;
|
|
31
31
|
createFile(name: string, parentId?: string, title?: string, description?: string, author?: string, majorVersion?: boolean, aspectNames?: string[]): Promise<NodeEntry>;
|
|
32
32
|
createFiles(names: string[], relativePath?: string): Promise<NodePaging>;
|
|
33
33
|
createMultipleFiles(count: number, parentId?: string): Promise<NodeEntry[]>;
|
|
@@ -50,7 +50,7 @@ export declare class NodesApi {
|
|
|
50
50
|
lockNodes(nodeIds: string[], lockType?: string): Promise<void>;
|
|
51
51
|
unlockNodes(nodeIds: string[]): Promise<void>;
|
|
52
52
|
createContent(content: NodeContentTree, relativePath?: string): Promise<NodePaging>;
|
|
53
|
-
getNodeById(id: string): Promise<NodeEntry
|
|
53
|
+
getNodeById(id: string): Promise<NodeEntry>;
|
|
54
54
|
getNodeIdFromParent(name: string, parentId: string): Promise<string>;
|
|
55
55
|
private getNodeChildren;
|
|
56
56
|
deleteNodeById(id: string, permanent?: boolean): Promise<void>;
|
|
@@ -60,14 +60,14 @@ export declare class NodesApi {
|
|
|
60
60
|
getSpaceTemplatesFolderId(): Promise<string>;
|
|
61
61
|
private getDataDictionaryId;
|
|
62
62
|
setGranularPermission(nodeId: string, username: string, role: string, inheritPermissions?: boolean): Promise<NodeEntry | null>;
|
|
63
|
-
removeUserAccessOnNodeTemplate(nodeName: string): Promise<NodeEntry>;
|
|
64
|
-
removeUserAccessOnSpaceTemplate(nodeName: string): Promise<NodeEntry>;
|
|
63
|
+
removeUserAccessOnNodeTemplate(nodeName: string): Promise<NodeEntry | null>;
|
|
64
|
+
removeUserAccessOnSpaceTemplate(nodeName: string): Promise<NodeEntry | null>;
|
|
65
65
|
setInheritPermissions(nodeId: string, inheritPermissions: boolean): Promise<NodeEntry | null>;
|
|
66
66
|
private addAspects;
|
|
67
67
|
createFileLink(originalNodeId: string, destinationId: string): Promise<NodeEntry | null>;
|
|
68
68
|
createFolderLink(originalNodeId: string, destinationId: string): Promise<NodeEntry | null>;
|
|
69
|
-
createLinkToFileName(originalFileName: string, originalFileParentId: string, destinationParentId?: string): Promise<NodeEntry>;
|
|
70
|
-
createLinkToFolderName(originalFolderName: string, originalFolderParentId: string, destinationParentId?: string): Promise<NodeEntry>;
|
|
69
|
+
createLinkToFileName(originalFileName: string, originalFileParentId: string, destinationParentId?: string): Promise<NodeEntry | null>;
|
|
70
|
+
createLinkToFolderName(originalFolderName: string, originalFolderParentId: string, destinationParentId?: string): Promise<NodeEntry | null>;
|
|
71
71
|
getNodeProperty(nodeId: string, property: string): Promise<string>;
|
|
72
72
|
isFileShared(nodeId: string): Promise<boolean>;
|
|
73
73
|
private getLockType;
|
package/api/sites-api.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ export declare class SitesApi {
|
|
|
26
26
|
private readonly apiService;
|
|
27
27
|
constructor();
|
|
28
28
|
static initialize(userName: string, password?: string): Promise<SitesApi>;
|
|
29
|
-
createSite(title: string, visibility?: string, description?: string, siteId?: string): Promise<SiteEntry
|
|
29
|
+
createSite(title: string, visibility?: string, description?: string, siteId?: string): Promise<SiteEntry>;
|
|
30
30
|
getDocLibId(siteId: string): Promise<string>;
|
|
31
31
|
/**
|
|
32
32
|
* Delete multiple sites/libraries.
|
package/api/tags-api.d.ts
CHANGED
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
* You should have received a copy of the GNU Lesser General Public License
|
|
22
22
|
* from Hyland Software. If not, see <http://www.gnu.org/licenses/>.
|
|
23
23
|
*/
|
|
24
|
-
import { TagBody, TagEntry, TagPaging } from '@alfresco/js-api';
|
|
24
|
+
import { TagBody, TagEntry, TagPaging, Tag } from '@alfresco/js-api';
|
|
25
25
|
export declare class TagsApi {
|
|
26
26
|
private readonly apiService;
|
|
27
27
|
constructor();
|
|
28
28
|
static initialize(userName: string, password?: string): Promise<TagsApi>;
|
|
29
|
-
createTags(
|
|
29
|
+
createTags(...tagNames: string[]): Promise<TagEntry[]>;
|
|
30
30
|
assignTagToNode(nodeId: string, tag: TagBody): Promise<TagEntry>;
|
|
31
|
-
deleteTags(
|
|
31
|
+
deleteTags(...tags: Tag[]): Promise<void>;
|
|
32
32
|
listTagsForNode(nodeId: string): Promise<TagPaging>;
|
|
33
33
|
listTags(params?: {
|
|
34
34
|
tag?: string;
|
|
35
35
|
matching?: boolean;
|
|
36
36
|
}): Promise<TagPaging>;
|
|
37
|
-
|
|
37
|
+
deleteTagByTagName(tagName: string): Promise<void>;
|
|
38
38
|
}
|