+1
-1
@@ -1,5 +1,5 @@
|
||||
import { WEBHOOK_EMPTY_OPERATION } from '~/pages/settings/developers/webhooks/constants/WebhookEmptyOperation';
|
||||
import { WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
import { type WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
import { addEmptyOperationIfNecessary } from '../addEmptyOperationIfNecessary';
|
||||
|
||||
describe('addEmptyOperationIfNecessary', () => {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
import { type WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
import { cleanAndFormatOperations } from '../cleanAndFormatOperations';
|
||||
|
||||
describe('cleanAndFormatOperations', () => {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { WebhookFormValues } from '@/settings/developers/validation-schemas/webhookFormSchema';
|
||||
import { type WebhookFormValues } from '@/settings/developers/validation-schemas/webhookFormSchema';
|
||||
import {
|
||||
createWebhookCreateInput,
|
||||
createWebhookUpdateInput,
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
import { WEBHOOK_EMPTY_OPERATION } from '~/pages/settings/developers/webhooks/constants/WebhookEmptyOperation';
|
||||
import { WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
import { type WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
|
||||
export const addEmptyOperationIfNecessary = (
|
||||
newOperations: WebhookOperationType[],
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
import { isDefined } from 'twenty-shared/utils';
|
||||
|
||||
import { WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
import { type WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
|
||||
export const cleanAndFormatOperations = (
|
||||
operations: WebhookOperationType[],
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { WebhookFormValues } from '@/settings/developers/validation-schemas/webhookFormSchema';
|
||||
import { type WebhookFormValues } from '@/settings/developers/validation-schemas/webhookFormSchema';
|
||||
import { cleanAndFormatOperations } from './cleanAndFormatOperations';
|
||||
|
||||
export const createWebhookCreateInput = (formValues: WebhookFormValues) => {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import { WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
import { type WebhookOperationType } from '~/pages/settings/developers/webhooks/types/WebhookOperationsType';
|
||||
|
||||
export const parseOperationsFromStrings = (
|
||||
operations: string[],
|
||||
|
||||
Reference in New Issue
Block a user