From 92f411bf77f1afdb2d09001bc7e266a321c40c6b Mon Sep 17 00:00:00 2001 From: Adria Navarro Date: Mon, 20 Nov 2023 16:19:31 +0100 Subject: [PATCH] Prettier --- packages/backend-core/src/installation.ts | 2 +- packages/backend-core/src/security/roles.ts | 8 +++++++- packages/bbui/src/Drawer/Drawer.svelte | 4 ++-- packages/bbui/src/Popover/Popover.svelte | 4 ++-- packages/builder/src/builderStore/index.js | 2 +- packages/builder/src/builderStore/websocket.js | 4 ++-- .../AutomationBuilder/FlowChart/FlowChart.svelte | 8 ++++++-- .../AutomationPanel/CreateAutomationModal.svelte | 5 +++-- .../AutomationPanel/UpdateAutomationModal.svelte | 10 ++++++++-- .../SetupPanel/AutomationBlockSetup.svelte | 4 ++-- .../automation/Shared/CreateWebhookModal.svelte | 4 ++-- .../backend/DataTable/modals/CreateEditUser.svelte | 12 +++++++++--- .../backend/DataTable/modals/EditRoles.svelte | 11 +++++++++-- .../modals/UpdateDatasourceModal.svelte | 4 ++-- .../popovers/EditDatasourcePopover.svelte | 4 ++-- .../Datasources/CreateEditRelationship.svelte | 12 ++++++++---- .../TableNavigator/modals/CreateTableModal.svelte | 12 +++++++++--- .../components/common/bindings/BindingPanel.svelte | 9 +++++---- .../ButtonActionEditor/ButtonActionEditor.svelte | 4 ++-- .../DataSourceSelect/DataSourceSelect.svelte | 6 ++++-- .../controls/DraggableList/DraggableList.svelte | 4 ++-- .../settings/controls/EditComponentPopover.svelte | 4 ++-- .../FieldConfiguration/FieldConfiguration.svelte | 4 ++-- .../src/components/settings/ThemeModal.svelte | 4 ++-- .../builder/src/pages/builder/admin/index.svelte | 12 ++++++++++-- .../app/[application]/automation/_layout.svelte | 4 ++-- .../CreateExternalDatasourceModal/index.svelte | 4 ++-- .../Authentication/RestAuthenticationBuilder.svelte | 4 ++-- .../Component/ComponentSettingsPanel.svelte | 4 ++-- .../_components/Screen/GeneralPanel.svelte | 5 +++-- .../_components/ComponentList/ComponentTree.svelte | 6 ++++-- .../_components/ComponentList/index.svelte | 4 ++-- .../builder/src/pages/builder/auth/forgot.svelte | 6 ++++-- packages/builder/src/pages/builder/auth/login.svelte | 6 ++++-- packages/builder/src/pages/builder/auth/reset.svelte | 12 ++++++++++-- .../builder/src/pages/builder/invite/index.svelte | 12 ++++++++++-- .../users/_components/AppRoleTableRenderer.svelte | 4 ++-- packages/cli/src/plugins/index.ts | 7 ++++++- .../client/src/components/app/DateRangePicker.svelte | 4 ++-- .../src/components/app/forms/CodeScanner.svelte | 12 ++++++++++-- .../client/src/components/app/table/Table.svelte | 4 ++-- .../src/components/grid/cells/AttachmentCell.svelte | 4 ++-- .../src/components/grid/cells/GutterCell.svelte | 4 ++-- .../src/components/grid/layout/NewRow.svelte | 4 ++-- packages/pro | 2 +- packages/server/src/api/controllers/analytics.ts | 2 +- packages/server/src/api/controllers/automation.ts | 2 +- packages/server/src/api/controllers/component.ts | 2 +- packages/server/src/api/controllers/dev.ts | 8 +++++++- packages/server/src/api/controllers/table/utils.ts | 4 ++-- .../src/api/routes/tests/utilities/TestFunctions.ts | 2 +- packages/server/src/automations/triggers.ts | 2 +- packages/server/src/integrations/base/sql.ts | 2 +- .../src/migrations/functions/backfill/global.ts | 3 ++- packages/server/src/sdk/app/backups/imports.ts | 4 +++- packages/server/src/threads/query.ts | 2 +- packages/server/src/utilities/rowProcessor/index.ts | 6 +++++- packages/server/src/websockets/websocket.ts | 2 +- .../src/account-api/api/AccountInternalAPIClient.ts | 2 +- qa-core/src/public-api/api/apis/RowAPI.ts | 2 +- qa-core/src/types/appPackage.ts | 2 +- 61 files changed, 208 insertions(+), 108 deletions(-) diff --git a/packages/backend-core/src/installation.ts b/packages/backend-core/src/installation.ts index 6b79b91a37..ca35b926fb 100644 --- a/packages/backend-core/src/installation.ts +++ b/packages/backend-core/src/installation.ts @@ -1,6 +1,6 @@ import { newid } from "./utils" import * as events from "./events" -import { StaticDatabases , doWithDB } from "./db" +import { StaticDatabases, doWithDB } from "./db" import { Installation, IdentityType, Database } from "@budibase/types" import * as context from "./context" import semver from "semver" diff --git a/packages/backend-core/src/security/roles.ts b/packages/backend-core/src/security/roles.ts index f1dc0c7cfd..4f048c0a11 100644 --- a/packages/backend-core/src/security/roles.ts +++ b/packages/backend-core/src/security/roles.ts @@ -1,5 +1,11 @@ import { BuiltinPermissionID, PermissionLevel } from "./permissions" -import { prefixRoleID, getRoleParams, DocumentType, SEPARATOR , doWithDB } from "../db" +import { + prefixRoleID, + getRoleParams, + DocumentType, + SEPARATOR, + doWithDB, +} from "../db" import { getAppDB } from "../context" import { Screen, Role as RoleDoc } from "@budibase/types" import cloneDeep from "lodash/fp/cloneDeep" diff --git a/packages/bbui/src/Drawer/Drawer.svelte b/packages/bbui/src/Drawer/Drawer.svelte index e2060c9a09..8976bfb81e 100644 --- a/packages/bbui/src/Drawer/Drawer.svelte +++ b/packages/bbui/src/Drawer/Drawer.svelte @@ -3,8 +3,8 @@ import Button from "../Button/Button.svelte" import Body from "../Typography/Body.svelte" import Heading from "../Typography/Heading.svelte" - import { setContext , createEventDispatcher } from "svelte" - import { generate } from "shortid" + import { setContext, createEventDispatcher } from "svelte" + import { generate } from "shortid" export let title export let fillWidth diff --git a/packages/bbui/src/Popover/Popover.svelte b/packages/bbui/src/Popover/Popover.svelte index 58cd92ddaa..a68430e973 100644 --- a/packages/bbui/src/Popover/Popover.svelte +++ b/packages/bbui/src/Popover/Popover.svelte @@ -1,11 +1,11 @@ diff --git a/packages/builder/src/pages/builder/admin/index.svelte b/packages/builder/src/pages/builder/admin/index.svelte index c758f5c7e5..9723c6b621 100644 --- a/packages/builder/src/pages/builder/admin/index.svelte +++ b/packages/builder/src/pages/builder/admin/index.svelte @@ -1,10 +1,18 @@