mirror of
https://github.com/penpot/penpot-exporter-figma-plugin.git
synced 2024-12-22 13:43:03 -05:00
Fix types (#107)
This commit is contained in:
parent
54df5ead1e
commit
538c076374
1 changed files with 9 additions and 8 deletions
|
@ -6,20 +6,21 @@ import { GroupShape } from '@ui/lib/types/shapes/groupShape';
|
||||||
import { PathShape } from '@ui/lib/types/shapes/pathShape';
|
import { PathShape } from '@ui/lib/types/shapes/pathShape';
|
||||||
import { RectShape } from '@ui/lib/types/shapes/rectShape';
|
import { RectShape } from '@ui/lib/types/shapes/rectShape';
|
||||||
import { TextShape } from '@ui/lib/types/shapes/textShape';
|
import { TextShape } from '@ui/lib/types/shapes/textShape';
|
||||||
|
import { Uuid } from '@ui/lib/types/utils/uuid';
|
||||||
|
|
||||||
export interface PenpotFile {
|
export interface PenpotFile {
|
||||||
addPage(name: string, options?: PenpotPageOptions): void;
|
addPage(name: string, options?: PenpotPageOptions): Uuid;
|
||||||
closePage(): void;
|
closePage(): void;
|
||||||
addArtboard(artboard: FrameShape): void;
|
addArtboard(artboard: FrameShape): Uuid;
|
||||||
closeArtboard(): void;
|
closeArtboard(): void;
|
||||||
addGroup(group: GroupShape): void;
|
addGroup(group: GroupShape): Uuid;
|
||||||
closeGroup(): void;
|
closeGroup(): void;
|
||||||
addBool(bool: BoolShape): void;
|
addBool(bool: BoolShape): Uuid;
|
||||||
closeBool(): void;
|
closeBool(): void;
|
||||||
createRect(rect: RectShape): void;
|
createRect(rect: RectShape): Uuid;
|
||||||
createCircle(circle: CircleShape): void;
|
createCircle(circle: CircleShape): Uuid;
|
||||||
createPath(path: PathShape): void;
|
createPath(path: PathShape): Uuid;
|
||||||
createText(options: TextShape): void;
|
createText(options: TextShape): Uuid;
|
||||||
// addLibraryColor(color: any): void;
|
// addLibraryColor(color: any): void;
|
||||||
// updateLibraryColor(color: any): void;
|
// updateLibraryColor(color: any): void;
|
||||||
// deleteLibraryColor(color: any): void;
|
// deleteLibraryColor(color: any): void;
|
||||||
|
|
Loading…
Reference in a new issue