Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions templates/cli-start/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@
},
"required": ["name"]
},
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
26 changes: 26 additions & 0 deletions templates/cli-start/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {
"overview": {
"title": "Overview",
"transformation": {
"fields": ["name", "greeting"]
},
"display": {
"component": "table",
"properties": {
"name": {
"label": "Name",
"format": "text"
},
"greeting": {
"label": "Greeting",
"format": "text"
}
}
}
}
}
}
12 changes: 12 additions & 0 deletions templates/cli-start/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {
"results": {
"type": "string",
"title": "Results",
"template": "{{links.apiDefaultDatasetUrl}}/items"
}
}
}
5 changes: 5 additions & 0 deletions templates/js-bootstrap-cheerio-crawler/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@
"templateId": "js-bootstrap-cheerio-crawler",
"generatedBy": "<FILL-IN-MODEL>"
},
"inputSchema": "./input_schema.json",
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {
"overview": {
"title": "Overview",
"transformation": {
"fields": ["title", "url"]
},
"display": {
"component": "table",
"properties": {
"title": {
"label": "Title",
"format": "text"
},
"url": {
"label": "URL",
"format": "link"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://apify.com/schemas/v1/input.ide.json",
"title": "Actor input",
"type": "object",
"schemaVersion": 1,
"properties": {},
"required": []
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {
"results": {
"type": "string",
"title": "Results",
"template": "{{links.apiDefaultDatasetUrl}}/items"
}
}
}
5 changes: 5 additions & 0 deletions templates/js-empty/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@
"templateId": "js-empty",
"generatedBy": "<FILL-IN-MODEL>"
},
"inputSchema": "./input_schema.json",
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
6 changes: 6 additions & 0 deletions templates/js-empty/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {}
}
8 changes: 8 additions & 0 deletions templates/js-empty/.actor/input_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://apify.com/schemas/v1/input.ide.json",
"title": "Actor input",
"type": "object",
"schemaVersion": 1,
"properties": {},
"required": []
}
6 changes: 6 additions & 0 deletions templates/js-empty/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: is this empty schema what we want to do for js/ts/py empty templates?

Image

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be exact, we want to display Log tab instead Output tab?

}
5 changes: 5 additions & 0 deletions templates/js-standby/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@
"templateId": "js-standby",
"generatedBy": "<FILL-IN-MODEL>"
},
"inputSchema": "./input_schema.json",
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
6 changes: 6 additions & 0 deletions templates/js-standby/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {}
}
8 changes: 8 additions & 0 deletions templates/js-standby/.actor/input_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://apify.com/schemas/v1/input.ide.json",
"title": "Actor input",
"type": "object",
"schemaVersion": 1,
"properties": {},
"required": []
}
6 changes: 6 additions & 0 deletions templates/js-standby/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {}
}
5 changes: 5 additions & 0 deletions templates/python-empty/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,10 @@
"templateId": "python-empty",
"generatedBy": "<FILL-IN-MODEL>"
},
"inputSchema": "./input_schema.json",
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
6 changes: 6 additions & 0 deletions templates/python-empty/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {}
}
8 changes: 8 additions & 0 deletions templates/python-empty/.actor/input_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://apify.com/schemas/v1/input.ide.json",
"title": "Actor input",
"type": "object",
"schemaVersion": 1,
"properties": {},
"required": []
}
6 changes: 6 additions & 0 deletions templates/python-empty/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {}
}
4 changes: 4 additions & 0 deletions templates/python-mcp-empty/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"properties": {},
"required": []
},
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile",
"webServerMcpPath": "/mcp"
}
6 changes: 6 additions & 0 deletions templates/python-mcp-empty/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {}
}
6 changes: 6 additions & 0 deletions templates/python-mcp-empty/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {}
}
4 changes: 4 additions & 0 deletions templates/python-mcp-proxy/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@
"properties": {},
"required": []
},
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile",
"webServerMcpPath": "/mcp"
}
6 changes: 6 additions & 0 deletions templates/python-mcp-proxy/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {}
}
6 changes: 6 additions & 0 deletions templates/python-mcp-proxy/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {}
}
4 changes: 4 additions & 0 deletions templates/python-scrapy/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@
"generatedBy": "<FILL-IN-MODEL>"
},
"inputSchema": "./input_schema.json",
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
26 changes: 26 additions & 0 deletions templates/python-scrapy/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {
"overview": {
"title": "Overview",
"transformation": {
"fields": ["title", "url"]
},
"display": {
"component": "table",
"properties": {
"title": {
"label": "Title",
"format": "text"
},
"url": {
"label": "URL",
"format": "link"
}
}
}
}
}
}
12 changes: 12 additions & 0 deletions templates/python-scrapy/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {
"results": {
"type": "string",
"title": "Results",
"template": "{{links.apiDefaultDatasetUrl}}/items"
}
}
}
5 changes: 5 additions & 0 deletions templates/python-standby/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,10 @@
"templateId": "python-standby",
"generatedBy": "<FILL-IN-MODEL>"
},
"inputSchema": "./input_schema.json",
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
6 changes: 6 additions & 0 deletions templates/python-standby/.actor/dataset_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {}
}
8 changes: 8 additions & 0 deletions templates/python-standby/.actor/input_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://apify.com/schemas/v1/input.ide.json",
"title": "Actor input",
"type": "object",
"schemaVersion": 1,
"properties": {},
"required": []
}
6 changes: 6 additions & 0 deletions templates/python-standby/.actor/output_schema.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"$schema": "https://apify.com/schemas/v1/output.ide.json",
"actorOutputSchemaVersion": 1,
"title": "Output schema",
"properties": {}
}
5 changes: 5 additions & 0 deletions templates/ts-bootstrap-cheerio-crawler/.actor/actor.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,10 @@
"templateId": "ts-bootstrap-cheerio-crawler",
"generatedBy": "<FILL-IN-MODEL>"
},
"inputSchema": "./input_schema.json",
"outputSchema": "./output_schema.json",
"storages": {
"dataset": "./dataset_schema.json"
},
"dockerfile": "../Dockerfile"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"$schema": "https://apify.com/schemas/v1/dataset.ide.json",
"actorSpecification": 1,
"fields": {},
"views": {
"overview": {
"title": "Overview",
"transformation": {
"fields": ["title", "url"]
},
"display": {
"component": "table",
"properties": {
"title": {
"label": "Title",
"format": "text"
},
"url": {
"label": "URL",
"format": "link"
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"$schema": "https://apify.com/schemas/v1/input.ide.json",
"title": "Actor input",
"type": "object",
"schemaVersion": 1,
"properties": {},
"required": []
}
Loading
Loading