@umbraco/playwright-testhelpers
Version:
Test helpers for making playwright tests for Umbraco solutions
16 lines (15 loc) • 856 B
TypeScript
import { ApiHelpers } from "./ApiHelpers";
export declare class RelationTypeApiHelper {
api: ApiHelpers;
constructor(api: ApiHelpers);
get(id: string): Promise<any>;
doesExist(id: string): Promise<boolean>;
create(name: string, isBidirectional: boolean, isDependency: boolean, parentObjectTypeId?: string, childObjectTypeId?: string, id?: string): Promise<string | undefined>;
update(id: string, relationType: any): Promise<import("playwright-core").APIResponse>;
delete(id: string): Promise<import("playwright-core").APIResponse>;
getAllAtRoot(): Promise<import("playwright-core").APIResponse>;
getItems(ids: any): Promise<any>;
ensureNameNotExists(name: string): Promise<import("playwright-core").APIResponse | null>;
getByName(name: string): Promise<any>;
doesNameExist(name: string): Promise<boolean>;
}