@ken-e/dataform-youtube 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/includes/definitions/sources/stg_ytc_annotation.js +1 -1
- package/includes/definitions/sources/stg_ytc_basic.js +1 -1
- package/includes/definitions/sources/stg_ytc_cards.js +1 -1
- package/includes/definitions/sources/stg_ytc_combined.js +1 -1
- package/includes/definitions/sources/stg_ytc_demographics.js +1 -1
- package/includes/definitions/sources/stg_ytc_device_os.js +1 -1
- package/includes/definitions/sources/stg_ytc_end_screens.js +1 -1
- package/includes/definitions/sources/stg_ytc_list_basic.js +1 -1
- package/includes/definitions/sources/stg_ytc_list_combined.js +1 -1
- package/includes/definitions/sources/stg_ytc_list_device_os.js +1 -1
- package/includes/definitions/sources/stg_ytc_list_playback.js +1 -1
- package/includes/definitions/sources/stg_ytc_list_province.js +1 -1
- package/includes/definitions/sources/stg_ytc_list_traffic_source.js +1 -1
- package/includes/definitions/sources/stg_ytc_playback.js +1 -1
- package/includes/definitions/sources/stg_ytc_province.js +1 -1
- package/includes/definitions/sources/stg_ytc_share_platform.js +1 -1
- package/includes/definitions/sources/stg_ytc_subtitles.js +1 -1
- package/includes/definitions/sources/stg_ytc_traffic_source.js +1 -1
- package/includes/helpers.js +0 -4
- package/package.json +2 -2
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_annotations_a1_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_basic_a2_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_cards_a1_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -41,7 +41,7 @@ module.exports = (config) => {
|
|
|
41
41
|
})
|
|
42
42
|
.preOps((ctx) => {
|
|
43
43
|
// Get pre_operations to find updated source partitions
|
|
44
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
44
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_combined_a2_")}`;
|
|
45
45
|
})
|
|
46
46
|
.query((ctx) =>
|
|
47
47
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_demographics_a1_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_device_os_a2_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -20,7 +20,7 @@ module.exports = (config) => {
|
|
|
20
20
|
})
|
|
21
21
|
.preOps((ctx) => {
|
|
22
22
|
// Get pre_operations to find updated source partitions
|
|
23
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
23
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_end_screens_a1_")}`;
|
|
24
24
|
})
|
|
25
25
|
.query((ctx) =>
|
|
26
26
|
config.sources
|
|
@@ -38,7 +38,7 @@ module.exports = (config) => {
|
|
|
38
38
|
})
|
|
39
39
|
.preOps((ctx) => {
|
|
40
40
|
// Get pre_operations to find updated source partitions
|
|
41
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
41
|
+
return `${helpers.staging_preops(ctx, config, "p_playlist_basic_a1_")}`;
|
|
42
42
|
})
|
|
43
43
|
.query((ctx) =>
|
|
44
44
|
config.sources
|
|
@@ -38,7 +38,7 @@ module.exports = (config) => {
|
|
|
38
38
|
})
|
|
39
39
|
.preOps((ctx) => {
|
|
40
40
|
// Get pre_operations to find updated source partitions
|
|
41
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
41
|
+
return `${helpers.staging_preops(ctx, config, "p_playlist_combined_a1_")}`;
|
|
42
42
|
})
|
|
43
43
|
.query((ctx) =>
|
|
44
44
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_playlist_device_os_a1_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_playlist_playback_location_a1_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -38,7 +38,7 @@ module.exports = (config) => {
|
|
|
38
38
|
})
|
|
39
39
|
.preOps((ctx) => {
|
|
40
40
|
// Get pre_operations to find updated source partitions
|
|
41
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
41
|
+
return `${helpers.staging_preops(ctx, config, "p_playlist_province_a1_")}`;
|
|
42
42
|
})
|
|
43
43
|
.query((ctx) =>
|
|
44
44
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_playlist_traffic_source_a1_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_playback_location_a2_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -38,7 +38,7 @@ module.exports = (config) => {
|
|
|
38
38
|
})
|
|
39
39
|
.preOps((ctx) => {
|
|
40
40
|
// Get pre_operations to find updated source partitions
|
|
41
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
41
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_province_a2_")}`;
|
|
42
42
|
})
|
|
43
43
|
.query((ctx) =>
|
|
44
44
|
config.sources
|
|
@@ -36,7 +36,7 @@ module.exports = (config) => {
|
|
|
36
36
|
})
|
|
37
37
|
.preOps((ctx) => {
|
|
38
38
|
// Get pre_operations to find updated source partitions
|
|
39
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
39
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_sharing_service_a1_")}`;
|
|
40
40
|
})
|
|
41
41
|
.query((ctx) =>
|
|
42
42
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_subtitles_a2_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
|
@@ -37,7 +37,7 @@ module.exports = (config) => {
|
|
|
37
37
|
})
|
|
38
38
|
.preOps((ctx) => {
|
|
39
39
|
// Get pre_operations to find updated source partitions
|
|
40
|
-
return `${helpers.staging_preops(ctx, config, "
|
|
40
|
+
return `${helpers.staging_preops(ctx, config, "p_channel_traffic_source_a2_")}`;
|
|
41
41
|
})
|
|
42
42
|
.query((ctx) =>
|
|
43
43
|
config.sources
|
package/includes/helpers.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@ken-e/dataform-youtube",
|
|
3
3
|
"dependencies": {
|
|
4
4
|
"@dataform/core": "3.0.9",
|
|
5
|
-
"@ken-e/dataform-helpers": "0.0.
|
|
5
|
+
"@ken-e/dataform-helpers": "0.0.7"
|
|
6
6
|
},
|
|
7
7
|
"devDependencies": {
|
|
8
8
|
"@eslint/js": "^9.18.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"globals": "^15.14.0",
|
|
12
12
|
"prettier": "3.4.2"
|
|
13
13
|
},
|
|
14
|
-
"version": "0.0.
|
|
14
|
+
"version": "0.0.6",
|
|
15
15
|
"description": "A dataform package to process Youtube data from the BQ Data Transfer.",
|
|
16
16
|
"main": "index.js",
|
|
17
17
|
"scripts": {
|