Skip to content

Commit a818abc

Browse files
committed
Rename 'app' > 'dataforseo'
1 parent 7c71e96 commit a818abc

File tree

5 files changed

+33
-27
lines changed

5 files changed

+33
-27
lines changed

components/dataforseo/actions/get-backlink-summary/get-backlink-summary.mjs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
import app from "../../dataforseo.app.mjs";
1+
import dataforseo from "../../dataforseo.app.mjs";
22

33
export default {
44
key: "dataforseo-get-backlink-summary",
55
name: "Get Backlink Summary",
66
description:
77
"Get an overview of backlinks data available for a given domain, subdomain, or webpage. [See the documentation](https://docs.dataforseo.com/v3/business_data/business_listings/search/live/?bash)",
8-
version: "0.0.1",
8+
version: "0.0.2",
99
type: "action",
1010
methods: {
1111
getBacklinkSummary(args = {}) {
@@ -17,7 +17,7 @@ export default {
1717
},
1818
},
1919
props: {
20-
app,
20+
dataforseo,
2121
target: {
2222
type: "string",
2323
label: "Target",

components/dataforseo/actions/get-business-listings/get-business-listings.mjs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,52 +1,52 @@
1-
import app from "../../dataforseo.app.mjs";
1+
import dataforseo from "../../dataforseo.app.mjs";
22

33
export default {
44
key: "dataforseo-get-business-listings",
55
name: "Get Business Listings",
66
description: "Get Business Listings. [See the documentation](https://docs.dataforseo.com/v3/business_data/business_listings/search/live/?bash)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
10-
app,
10+
dataforseo,
1111
locationCoordinate: {
1212
propDefinition: [
13-
app,
13+
dataforseo,
1414
"locationCoordinate",
1515
],
1616
},
1717
categories: {
1818
propDefinition: [
19-
app,
19+
dataforseo,
2020
"categories",
2121
],
2222
},
2323
title: {
2424
propDefinition: [
25-
app,
25+
dataforseo,
2626
"title",
2727
],
2828
},
2929
description: {
3030
propDefinition: [
31-
app,
31+
dataforseo,
3232
"description",
3333
],
3434
},
3535
isClaimed: {
3636
propDefinition: [
37-
app,
37+
dataforseo,
3838
"isClaimed",
3939
],
4040
},
4141
limit: {
4242
propDefinition: [
43-
app,
43+
dataforseo,
4444
"limit",
4545
],
4646
},
4747
},
4848
async run({ $ }) {
49-
const response = await this.app.getBusinessListings({
49+
const response = await this.dataforseo.getBusinessListings({
5050
$,
5151
data: [
5252
{

components/dataforseo/actions/get-keyword-difficulty/get-keyword-difficulty.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
import app from "../../dataforseo.app.mjs";
1+
import dataforseo from "../../dataforseo.app.mjs";
22

33
export default {
44
key: "dataforseo-get-keyword-difficulty",
55
name: "Get Keyword Difficulty",
66
description: "Get Keyword Difficulty. [See the documentation](https://docs.dataforseo.com/v3/dataforseo_labs/google/bulk_keyword_difficulty/live/?bash)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
10-
app,
10+
dataforseo,
1111
languageCode: {
1212
propDefinition: [
13-
app,
13+
dataforseo,
1414
"languageCode",
1515
],
1616
},
1717
locationCode: {
1818
propDefinition: [
19-
app,
19+
dataforseo,
2020
"locationCode",
2121
],
2222
},
2323
keywords: {
2424
propDefinition: [
25-
app,
25+
dataforseo,
2626
"keywords",
2727
],
2828
},
2929
},
3030
async run({ $ }) {
31-
const response = await this.app.getKeywordDifficulty({
31+
const response = await this.dataforseo.getKeywordDifficulty({
3232
$,
3333
data: [
3434
{

components/dataforseo/actions/get-ranked-keywords/get-ranked-keywords.mjs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
import app from "../../dataforseo.app.mjs";
1+
import dataforseo from "../../dataforseo.app.mjs";
22

33
export default {
44
key: "dataforseo-get-ranked-keywords",
55
name: "Get Ranked Keywords",
66
description: "Description for get-ranked-keywords. [See the documentation](https://docs.dataforseo.com/v3/keywords_data/google_ads/keywords_for_site/task_post/?bash)",
7-
version: "0.0.1",
7+
version: "0.0.2",
88
type: "action",
99
props: {
10-
app,
10+
dataforseo,
1111
locationCode: {
1212
propDefinition: [
13-
app,
13+
dataforseo,
1414
"locationCode",
1515
],
1616
},
1717
targetType: {
1818
propDefinition: [
19-
app,
19+
dataforseo,
2020
"targetType",
2121
],
2222
},
2323
target: {
2424
propDefinition: [
25-
app,
25+
dataforseo,
2626
"target",
2727
],
2828
},
2929
},
3030
async run({ $ }) {
31-
const response = await this.app.getRankedKeywords({
31+
const response = await this.dataforseo.getRankedKeywords({
3232
$,
3333
data: [
3434
{

components/dataforseo/dataforseo.app.mjs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@ export default {
3636
label: "Target",
3737
description: "The domain name or the url of the target website or page",
3838
},
39+
backlinksTarget: {
40+
type: "string",
41+
label: "Target",
42+
description:
43+
"Domain, subdomain or webpage to get data for. A domain or a subdomain should be specified without `https://` and `www`. A page should be specified with absolute URL (including `http://` or `https://`",
44+
},
3945
categories: {
4046
type: "string[]",
4147
label: "Categories",

0 commit comments

Comments
 (0)