Skip to content

Commit a04bb2e

Browse files
joe-ayoub-segmentharsh-joshi99
authored andcommitted
STRATCONN-6039 [Livelike] - new Action (#3090)
* STRATCONN-6039 [Livelike] - new Action * changes - more to do * unit tests done * specifying batch size * changing max batch size
1 parent 3b447c5 commit a04bb2e

File tree

12 files changed

+702
-118
lines changed

12 files changed

+702
-118
lines changed

packages/destination-actions/src/destinations/livelike-cloud/__tests__/__snapshots__/snapshot.test.ts.snap

Lines changed: 0 additions & 36 deletions
This file was deleted.

packages/destination-actions/src/destinations/livelike-cloud/__tests__/index.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import nock from 'nock'
22
import { createTestIntegration } from '@segment/actions-core'
33
import Definition from '../index'
4-
import { apiBaseUrl } from '../properties'
4+
import { apiBaseUrl } from '../constants'
55
import { Settings } from '../generated-types'
66

77
const testDestination = createTestIntegration(Definition)

packages/destination-actions/src/destinations/livelike-cloud/__tests__/snapshot.test.ts

Lines changed: 0 additions & 77 deletions
This file was deleted.

packages/destination-actions/src/destinations/livelike-cloud/index.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
import { defaultValues, DestinationDefinition } from '@segment/actions-core'
22
import type { Settings } from './generated-types'
3-
import { apiBaseUrl } from './properties'
3+
import { apiBaseUrl } from './constants'
44

55
import trackEvent from './trackEvent'
66

7+
import syncToUserGroup from './syncToUserGroup'
8+
79
const presets: DestinationDefinition['presets'] = [
810
{
911
name: 'Track User Actions',
@@ -80,7 +82,8 @@ const destination: DestinationDefinition<Settings> = {
8082
},
8183
presets,
8284
actions: {
83-
trackEvent
85+
trackEvent,
86+
syncToUserGroup
8487
}
8588
}
8689

0 commit comments

Comments
 (0)