Skip to content

Commit 7ba287a

Browse files
Re-run style guide validation and fix remaining violations
Co-authored-by: rita-gorokhod <60586879+rita-gorokhod@users.noreply.github.com>
1 parent 7f4ad47 commit 7ba287a

26 files changed

Lines changed: 38 additions & 45 deletions

File tree

packages/blocks/approval/src/lib/actions/wait-for-approval.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { ExecutionType } from '@openops/shared';
44
export const waitForApprovalLink = createAction({
55
name: 'wait_for_approval',
66
displayName: 'Wait for Approval',
7-
description: 'Pauses the flow and wait for the approval from the user',
7+
description: 'Pause the flow and wait for approval from the user',
88
isWriteAction: false,
99
props: {},
1010
errorHandlingOptions: {

packages/blocks/aws-compute-optimizer/src/lib/common/ebs-recommendations-builder.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ import {
1818
} from './get-recommendations';
1919
import { RecommendationsBuilder } from './recommendations-builder';
2020

21-
export class EbsRecommendationsBuilder
22-
implements RecommendationsBuilder<EBSFinding, VolumeRecommendation>
23-
{
21+
export class EbsRecommendationsBuilder implements RecommendationsBuilder<
22+
EBSFinding,
23+
VolumeRecommendation
24+
> {
2425
recommendationType: any;
2526
findingType: EBSFinding;
2627
credentials: any;

packages/blocks/aws-compute-optimizer/src/lib/common/ec2-recommendations-builder.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ import {
1818
} from './get-recommendations';
1919
import { RecommendationsBuilder } from './recommendations-builder';
2020

21-
export class Ec2RecommendationsBuilder
22-
implements RecommendationsBuilder<Finding, AwsRecommendation>
23-
{
21+
export class Ec2RecommendationsBuilder implements RecommendationsBuilder<
22+
Finding,
23+
AwsRecommendation
24+
> {
2425
recommendationType: string;
2526
findingType: Finding;
2627
credentials: any;

packages/blocks/azure/src/lib/actions/azure-resource-graph-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export const azureResourceGraphAction = createAction({
9090
props: {
9191
query: Property.LongText({
9292
displayName: 'KQL Query',
93-
description: 'The Kusto Query Language (KQL) query to execute.',
93+
description: 'The Kusto Query Language (KQL) query to execute',
9494
required: true,
9595
}),
9696
useHostSession: getUseHostSessionProperty('Azure', 'az login'),

packages/blocks/azure/src/lib/common-properties.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,8 @@ export function createSubscriptionDynamicProperty(
116116
if (useHost) {
117117
dropdown = await getSubscriptionsDropdown(auth, config);
118118
} else {
119-
const staticDropdown = await getAzureSubscriptionsStaticDropdown(
120-
auth,
121-
);
119+
const staticDropdown =
120+
await getAzureSubscriptionsStaticDropdown(auth);
122121
dropdown = createSubscriptionDropdown(config, staticDropdown.options);
123122
}
124123

packages/blocks/cloudhealth/src/lib/actions/get-asset-perspectives.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const getAssetPerspectivesAction = createAction({
1414
props: {
1515
assetType: Property.Dropdown({
1616
displayName: 'Asset Type',
17-
description: 'The type of asset to fetch metadata for.',
17+
description: 'The type of asset to fetch metadata for',
1818
required: true,
1919
refreshers: ['auth'],
2020
options: async ({ auth }: any) => {

packages/blocks/common/src/lib/http/core/delegating-authentication-converter.ts

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ import {
77
import { HttpHeader } from './http-header';
88
import type { HttpHeaders } from './http-headers';
99

10-
export class DelegatingAuthenticationConverter
11-
implements AuthenticationConverter<Authentication>
12-
{
10+
export class DelegatingAuthenticationConverter implements AuthenticationConverter<Authentication> {
1311
private readonly converters: Record<
1412
AuthenticationType,
1513
AuthenticationConverter<any>
@@ -31,9 +29,7 @@ export class DelegatingAuthenticationConverter
3129
}
3230
}
3331

34-
class BearerTokenAuthenticationConverter
35-
implements AuthenticationConverter<BearerTokenAuthentication>
36-
{
32+
class BearerTokenAuthenticationConverter implements AuthenticationConverter<BearerTokenAuthentication> {
3733
convert(
3834
authentication: BearerTokenAuthentication,
3935
headers: HttpHeaders,
@@ -43,9 +39,7 @@ class BearerTokenAuthenticationConverter
4339
}
4440
}
4541

46-
class BasicTokenAuthenticationConverter
47-
implements AuthenticationConverter<BasicAuthentication>
48-
{
42+
class BasicTokenAuthenticationConverter implements AuthenticationConverter<BasicAuthentication> {
4943
convert(
5044
authentication: BasicAuthentication,
5145
headers: HttpHeaders,

packages/blocks/databricks/src/lib/actions/run-job.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export const runJob = createAction({
1010
name: 'runJob',
1111
auth: databricksAuth,
1212
displayName: 'Run Databricks Job',
13-
description: 'Triggers an existing job in the specified Databricks workspace',
13+
description: 'Trigger an existing job in the specified Databricks workspace',
1414
isWriteAction: true,
1515
props: {
1616
workspaceDeploymentName: workspaceDeploymentName,

packages/blocks/date-helper/src/lib/actions/format-date.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
export const formatDateAction = createAction({
1111
name: 'format_date',
1212
displayName: 'Format Date',
13-
description: 'Converts a date from one format to another',
13+
description: 'Convert a date from one format to another',
1414
errorHandlingOptions: {
1515
continueOnFailure: {
1616
hide: true,

packages/blocks/finout/src/lib/actions/get-view-data-action.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getView, getViews } from '../common/views';
55
export const getViewDataAction = createAction({
66
name: 'finout_get_view_data',
77
displayName: 'Get View Data',
8-
description: 'Get view data',
8+
description: 'Get data from a Finout view',
99
auth: finoutAuth,
1010
isWriteAction: false,
1111
props: {

0 commit comments

Comments
 (0)