diff --git a/plugins/apps/colors-to-tokens-plugin/src/model.ts b/plugins/apps/colors-to-tokens-plugin/src/model.ts index b4b44c5548..1aa750720d 100644 --- a/plugins/apps/colors-to-tokens-plugin/src/model.ts +++ b/plugins/apps/colors-to-tokens-plugin/src/model.ts @@ -35,9 +35,7 @@ export interface ResizePluginUIEvent { } export type PluginUIEvent = - | GETColorsPluginUIEvent - | ResizePluginUIEvent - | ResetPluginUIEvent; + GETColorsPluginUIEvent | ResizePluginUIEvent | ResetPluginUIEvent; export interface ThemePluginEvent { type: 'theme'; diff --git a/plugins/apps/contrast-plugin/src/model.ts b/plugins/apps/contrast-plugin/src/model.ts index 37de33b748..41742d4a56 100644 --- a/plugins/apps/contrast-plugin/src/model.ts +++ b/plugins/apps/contrast-plugin/src/model.ts @@ -24,6 +24,4 @@ export interface ThemePluginEvent { } export type PluginMessageEvent = - | InitPluginEvent - | SelectionPluginEvent - | ThemePluginEvent; + InitPluginEvent | SelectionPluginEvent | ThemePluginEvent; diff --git a/plugins/apps/lorem-ipsum-plugin/src/model.ts b/plugins/apps/lorem-ipsum-plugin/src/model.ts index dce13e4f73..d726d0ec3f 100644 --- a/plugins/apps/lorem-ipsum-plugin/src/model.ts +++ b/plugins/apps/lorem-ipsum-plugin/src/model.ts @@ -1,8 +1,5 @@ export type GenerationTypes = - | 'paragraphs' - | 'sentences' - | 'words' - | 'characters'; + 'paragraphs' | 'sentences' | 'words' | 'characters'; export interface InitPluginUIEvent { type: 'ready'; @@ -35,6 +32,4 @@ export interface ThemePluginEvent { } export type PluginMessageEvent = - | InitPluginEvent - | SelectionPluginEvent - | ThemePluginEvent; + InitPluginEvent | SelectionPluginEvent | ThemePluginEvent; diff --git a/plugins/apps/table-plugin/src/app/model.ts b/plugins/apps/table-plugin/src/app/model.ts index 13e76538ca..eb93a74267 100644 --- a/plugins/apps/table-plugin/src/app/model.ts +++ b/plugins/apps/table-plugin/src/app/model.ts @@ -29,10 +29,7 @@ export interface ThemePluginEvent { } export type PluginMessageEvent = - | InitPluginEvent - | TablePluginEvent - | ThemePluginEvent - | TableConfigEvent; + InitPluginEvent | TablePluginEvent | ThemePluginEvent | TableConfigEvent; export type Cell = { column: number; row: number }; diff --git a/plugins/docs/create-angular-plugin.md b/plugins/docs/create-angular-plugin.md index 9bc9119558..824268b931 100644 --- a/plugins/docs/create-angular-plugin.md +++ b/plugins/docs/create-angular-plugin.md @@ -80,7 +80,7 @@ Create a `package.json` in your plugin folder with build scripts: ### Step 4: Modify TypeScript Configuration -Create ``tsconfig.plugin.json` next to the `tsconfig.json`: +Create ``tsconfig.plugin.json`next to the`tsconfig.json`: ```json { diff --git a/plugins/libs/plugin-types/index.d.ts b/plugins/libs/plugin-types/index.d.ts index 3e253043ee..2548a05ebb 100644 --- a/plugins/libs/plugin-types/index.d.ts +++ b/plugins/libs/plugin-types/index.d.ts @@ -3576,15 +3576,7 @@ export interface Shadow { * ``` */ export type Shape = - | Board - | Group - | Boolean - | Rectangle - | Path - | Text - | Ellipse - | SvgRaw - | Image; + Board | Group | Boolean | Rectangle | Path | Text | Ellipse | SvgRaw | Image; /** * Represents the base properties and methods of a shape in Penpot. @@ -4312,12 +4304,7 @@ export interface TextRange { * The text transform applied to the text range. It can be a specific text transform or 'mixed' if multiple text transforms are used. */ textTransform: - | 'uppercase' - | 'capitalize' - | 'lowercase' - | 'none' - | 'mixed' - | null; + 'uppercase' | 'capitalize' | 'lowercase' | 'none' | 'mixed' | null; /** * The text decoration applied to the text range. It can be a specific text decoration or 'mixed' if multiple text decorations are used.