From 2529abd371a2d7ccddfcefe680a4d37803c692ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alex=20S=C3=A1nchez?= Date: Wed, 10 Apr 2024 15:08:40 +0200 Subject: [PATCH] added commented funcions --- src/ui/lib/penpot.d.ts | 25 ++++++++++++++++++++++--- 1 file changed, 22 insertions(+), 3 deletions(-) diff --git a/src/ui/lib/penpot.d.ts b/src/ui/lib/penpot.d.ts index 9f18d40..74d861e 100644 --- a/src/ui/lib/penpot.d.ts +++ b/src/ui/lib/penpot.d.ts @@ -6,9 +6,6 @@ import { RectShape } from './types/rect/rectShape'; import { TextShape } from './types/text/textShape'; export interface PenpotFile { - // eslint-disable-next-line @typescript-eslint/no-explicit-any - asMap(): any; - export(): void; // eslint-disable-next-line @typescript-eslint/no-explicit-any addPage(name: string, options?: any): void; closePage(): void; @@ -16,10 +13,32 @@ export interface PenpotFile { closeArtboard(): void; addGroup(group: GroupShape): void; closeGroup(): void; + // addBool(bool: any): void; + // closeBool(): void; createRect(rect: RectShape): void; createCircle(circle: CircleShape): void; + // createPath(path: any): void; createText(options: TextShape): void; createImage(image: ImageShape): void; + // createSVG(svg: any): void; + // closeeSVG(): void; + // addLibraryColor(color: any): void; + // updateLibraryColor(color: any): void; + // deleteLibraryColor(color: any): void; + // addLibraryColor(color: any): void; + // addLibraryMedia(media: any): void; + // deleteLibraryMedia(media: any): void; + // addLibraryTypography(typography: any): void; + // deleteLibraryTypography(typography: any): void; + // startComponent(component: any): void; + // finishComponent(): void; + // createComponentInstance(instance: any): void; + // lookupShape(shapeId: string): void; + // updateObject(id: string, object: any): void; + // deleteObject(id: string): void; + // eslint-disable-next-line @typescript-eslint/no-explicit-any + asMap(): any; + export(): void; } export function createFile(name: string): PenpotFile;