0
Fork 0
mirror of https://github.com/penpot/penpot-exporter-figma-plugin.git synced 2025-01-03 05:10:13 -05:00

added commented funcions

This commit is contained in:
Alex Sánchez 2024-04-10 15:08:40 +02:00
parent 645b0360c4
commit 2529abd371
No known key found for this signature in database
GPG key ID: 68A95170EEB87E16

View file

@ -6,9 +6,6 @@ import { RectShape } from './types/rect/rectShape';
import { TextShape } from './types/text/textShape'; import { TextShape } from './types/text/textShape';
export interface PenpotFile { 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 // eslint-disable-next-line @typescript-eslint/no-explicit-any
addPage(name: string, options?: any): void; addPage(name: string, options?: any): void;
closePage(): void; closePage(): void;
@ -16,10 +13,32 @@ export interface PenpotFile {
closeArtboard(): void; closeArtboard(): void;
addGroup(group: GroupShape): void; addGroup(group: GroupShape): void;
closeGroup(): void; closeGroup(): void;
// addBool(bool: any): void;
// closeBool(): void;
createRect(rect: RectShape): void; createRect(rect: RectShape): void;
createCircle(circle: CircleShape): void; createCircle(circle: CircleShape): void;
// createPath(path: any): void;
createText(options: TextShape): void; createText(options: TextShape): void;
createImage(image: ImageShape): 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; export function createFile(name: string): PenpotFile;