Skip to content

Commit e6a6884

Browse files
author
markzegarelli
authored
Actions GA (#123)
* programmatic actions settings [netlify-build] * ready for review [netlify-build] * updates for GA [netlify-build] * readying for ga [netlify-build] * hide gec [netlify-build]
1 parent d208999 commit e6a6884

File tree

27 files changed

+5704
-628
lines changed

27 files changed

+5704
-628
lines changed

scripts/catalog_papi.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,6 +307,8 @@ const updateDestinations = async () => {
307307
if(a.name.toLowerCase() > b.name.toLowerCase()) { return 1; }
308308
return 0;
309309
})
310+
let actions = destination.actions
311+
let presets = destination.presets
310312

311313
const clone = (obj) => Object.assign({}, obj)
312314
const renameKey = (object, key, newKey) => {
@@ -321,6 +323,7 @@ const updateDestinations = async () => {
321323
destination.supportedMethods = renameKey(destination.supportedMethods, 'pageview', 'page')
322324

323325
let updatedDestination = {
326+
destination_id: destination.id,
324327
display_name: destination.name,
325328
name: destination.name,
326329
slug,
@@ -343,7 +346,9 @@ const updateDestinations = async () => {
343346
browserUnbundlingPublic: destination.supportedFeatures.browserUnbundlingPublic,
344347
replay: destination.supportedFeatures.replay,
345348
connection_modes,
346-
settings
349+
settings,
350+
actions,
351+
presets
347352
}
348353
destinationsUpdated.push(updatedDestination)
349354
doesCatalogItemExist(updatedDestination)

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 2021-11-25
2+
# destination categories last updated 2021-11-30
33
items:
44
- display_name: A/B Testing
55
slug: a-b-testing

0 commit comments

Comments
 (0)