Skip to content

Commit fea8f05

Browse files
authored
Merge pull request #200 from segmentio/repo-sync
repo sync
2 parents fe95b29 + f58636f commit fea8f05

File tree

11 files changed

+240
-134
lines changed

11 files changed

+240
-134
lines changed

scripts/catalog_papi.js

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -289,13 +289,14 @@ const updateSources = async () => {
289289
}, options);
290290
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/source_categories.yml`), output);
291291

292-
// Create reginal support map
293-
output = "# AUTOGENERATED LIST OF CONNECTIONS THAT SUPPORT REGIONAL\n"
294-
output += "# Last updated " + todayDate + " \n";
292+
293+
// output = "# AUTOGENERATED LIST OF CONNECTIONS THAT SUPPORT REGIONAL\n"
294+
// output += "# Last updated " + todayDate + " \n";
295295
output += yaml.dump({
296296
sources: regionalSourcesUpdated
297297
}, options)
298-
fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/regional-supported.yml`), output);
298+
fs.appendFileSync(path.resolve(__dirname, `../src/_data/catalog/regional-supported.yml`), output);
299+
console.log("sources done")
299300
}
300301

301302
const updateDestinations = async () => {
@@ -482,6 +483,7 @@ const updateDestinations = async () => {
482483
noArrayIndent: false
483484
})
484485
fs.appendFileSync(path.resolve(__dirname,`../src/_data/catalog/regional-supported.yml`),output);
486+
console.log("destinations done")
485487
}
486488

487489
const updateWarehouses = async () => {
@@ -545,19 +547,23 @@ const updateWarehouses = async () => {
545547
noArrayIndent: true
546548
};
547549
// output = "# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT\n"
548-
// var todayDate = new Date().toISOString().slice(0, 10);
550+
const todayDate = new Date().toISOString().slice(0, 10);
549551
// output += "# warehouse data last updated " + todayDate + " \n";
550552
// output += yaml.dump({
551553
// items: warehousesUpdated
552554
// }, options);
553555
// fs.writeFileSync(path.resolve(__dirname, `../src/_data/catalog/warehouse_papi.yml`), output);
554556

555-
output = yaml.dump({
557+
// Create regional support map
558+
output = "# AUTOGENERATED LIST OF CONNECTIONS THAT SUPPORT REGIONAL\n"
559+
output += "# Last updated " + todayDate + " \n";
560+
output += yaml.dump({
556561
warehouses: warehousesUpdated
557562
}, {
558563
noArrayIndent: false
559564
})
560-
fs.appendFileSync(path.resolve(__dirname,`../src/_data/catalog/regional-supported.yml`),output);
565+
fs.writeFileSync(path.resolve(__dirname,`../src/_data/catalog/regional-supported.yml`),output);
566+
console.log("warehouses done")
561567
}
562568
updateSources()
563569
updateWarehouses()

src/_data/catalog/destination_categories.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination categories last updated 2022-01-26
2+
# destination categories last updated 2022-02-01
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

src/_data/catalog/destinations.yml

Lines changed: 58 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# AUTOGENERATED FROM PUBLIC API. DO NOT EDIT
2-
# destination data last updated 2022-01-26
2+
# destination data last updated 2022-02-01
33
items:
44
- destination_id: 60b5d0a01f3726b85dc05aab
55
display_name: 2mee
@@ -28839,6 +28839,63 @@ items:
2883928839
label: API Key
2884028840
actions: []
2884128841
presets: []
28842+
- destination_id: 5f2c35239094d175b6485eb1
28843+
display_name: Sprig Cloud
28844+
name: Sprig Cloud
28845+
slug: sprig-cloud
28846+
hidden: false
28847+
regional:
28848+
- us-west
28849+
url: connections/destinations/catalog/sprig-cloud
28850+
previous_names:
28851+
- UserLeap
28852+
- Sprig
28853+
- Sprig Cloud
28854+
website: https://sprig.com
28855+
status: PUBLIC
28856+
categories:
28857+
- Analytics
28858+
- Customer Success
28859+
- Personalization
28860+
- Surveys
28861+
logo:
28862+
url: >-
28863+
https://public-segment-devcenter-production.s3.amazonaws.com/74f53b6f-bc75-4132-b7de-1170cc57202e.svg
28864+
mark:
28865+
url: >-
28866+
https://public-segment-devcenter-production.s3.amazonaws.com/d761456e-2b15-4401-87da-0c3fde847f5b.svg
28867+
methods:
28868+
track: true
28869+
identify: true
28870+
group: false
28871+
alias: true
28872+
page: true
28873+
platforms:
28874+
browser: true
28875+
mobile: true
28876+
server: true
28877+
components: []
28878+
browserUnbundlingSupported: false
28879+
browserUnbundlingPublic: false
28880+
replay: false
28881+
connection_modes:
28882+
device:
28883+
web: false
28884+
mobile: false
28885+
server: false
28886+
cloud:
28887+
web: false
28888+
mobile: false
28889+
server: false
28890+
settings:
28891+
- name: apiKey
28892+
type: string
28893+
defaultValue: ''
28894+
description: Find your API key here https://app.userleap.com/settings/installation
28895+
required: true
28896+
label: API Key
28897+
actions: []
28898+
presets: []
2884228899
- destination_id: 5fa3ce52d18ccdfb384b13f7
2884328900
display_name: Startdeliver
2884428901
name: Startdeliver
@@ -31372,61 +31429,6 @@ items:
3137231429
label: API Key
3137331430
actions: []
3137431431
presets: []
31375-
- destination_id: 5f2c35239094d175b6485eb1
31376-
display_name: UserLeap
31377-
name: UserLeap
31378-
slug: userleap
31379-
hidden: false
31380-
regional:
31381-
- us-west
31382-
url: connections/destinations/catalog/userleap
31383-
previous_names:
31384-
- UserLeap
31385-
website: https://sprig.com
31386-
status: PUBLIC_BETA
31387-
categories:
31388-
- Analytics
31389-
- Customer Success
31390-
- Personalization
31391-
- Surveys
31392-
logo:
31393-
url: >-
31394-
https://public-segment-devcenter-production.s3.amazonaws.com/74f53b6f-bc75-4132-b7de-1170cc57202e.svg
31395-
mark:
31396-
url: >-
31397-
https://public-segment-devcenter-production.s3.amazonaws.com/d761456e-2b15-4401-87da-0c3fde847f5b.svg
31398-
methods:
31399-
track: true
31400-
identify: true
31401-
group: false
31402-
alias: true
31403-
page: true
31404-
platforms:
31405-
browser: true
31406-
mobile: true
31407-
server: true
31408-
components: []
31409-
browserUnbundlingSupported: false
31410-
browserUnbundlingPublic: false
31411-
replay: false
31412-
connection_modes:
31413-
device:
31414-
web: false
31415-
mobile: false
31416-
server: false
31417-
cloud:
31418-
web: false
31419-
mobile: false
31420-
server: false
31421-
settings:
31422-
- name: apiKey
31423-
type: string
31424-
defaultValue: ''
31425-
description: Find your API key here https://app.userleap.com/settings/installation
31426-
required: true
31427-
label: API Key
31428-
actions: []
31429-
presets: []
3143031432
- destination_id: 5c75396a02254a0001da2a55
3143131433
display_name: Userlist
3143231434
name: Userlist

src/_data/catalog/overrides.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# This file is manually generated. When you add or remove an item, add or remove
22
# it from the `overrides-list.yml` too.
33
items:
4+
- slug: criteo-app-web-events
5+
connection_modes:
6+
connection_modes:
7+
device:
8+
web: true
9+
mobile: false
10+
server: false
11+
cloud:
12+
web: false
13+
mobile: true
14+
server: false
415
- slug: doubleclick-floodlight
516
connection_modes:
617
device:

0 commit comments

Comments
 (0)