From b970f09edc0c8156a8a6e02fce858d83c4b2ac37 Mon Sep 17 00:00:00 2001
From: loks0n <22452787+loks0n@users.noreply.github.com>
Date: Tue, 29 Aug 2023 09:48:24 +0100
Subject: [PATCH] feat: new template ports
---
src/lib/stores/marketplace.ts | 38 ++++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/src/lib/stores/marketplace.ts b/src/lib/stores/marketplace.ts
index 17a54c337..c3e836fcc 100644
--- a/src/lib/stores/marketplace.ts
+++ b/src/lib/stores/marketplace.ts
@@ -204,6 +204,18 @@ export const marketplace = [
commands: 'npm install',
entrypoint: 'src/main.js',
providerRootDirectory: 'node/censor-with-redact'
+ },
+ {
+ name: 'python-3.9',
+ commands: 'pip install -r requirements.txt',
+ entrypoint: 'src/main.py',
+ providerRootDirectory: 'python/censor_with_redact'
+ },
+ {
+ name: 'dart-2.17',
+ commands: 'dart pub get',
+ entrypoint: 'lib/main.dart',
+ providerRootDirectory: 'dart/censor_with_redact'
}
],
instructions: `For documentation and instructions check out file.`,
@@ -338,6 +350,12 @@ export const marketplace = [
value: 'urls',
placeholder: 'urls',
required: false
+ },
+ {
+ name: 'SHORT_BASE_URL',
+ description: `The domain to use for the short URLs. You can use your functions subdomain or a custom domain.`,
+ value: '',
+ placeholder: 'https://shortdomain.io'
}
]
},
@@ -363,6 +381,12 @@ export const marketplace = [
commands: 'pip install -r requirements.txt',
entrypoint: 'src/main.py',
providerRootDirectory: 'python/sync_with_algolia'
+ },
+ {
+ name: 'php-8.0',
+ commands: 'composer install',
+ entrypoint: 'src/index.php',
+ providerRootDirectory: 'php/sync-with-algolia'
}
],
instructions: `For documentation and instructions check out file.`,
@@ -399,7 +423,7 @@ export const marketplace = [
{
name: 'ALGOLIA_INDEX_ID',
description: `The ID of the index in Algolia where the documents are to be synced. Learn more.`,
- placeholder: 'appwrite_index',
+ placeholder: 'my_index',
required: true
},
{
@@ -611,6 +635,18 @@ export const marketplace = [
commands: 'npm install',
entrypoint: 'src/main.js',
providerRootDirectory: 'node/email-contact-form'
+ },
+ {
+ name: 'python-3.9',
+ commands: 'pip install -r requirements.txt',
+ entrypoint: 'src/main.py',
+ providerRootDirectory: 'python/email_contact_form'
+ },
+ {
+ name: 'php-8.0',
+ commands: 'composer install',
+ entrypoint: 'src/index.php',
+ providerRootDirectory: 'php/email-contact-form'
}
],
instructions: `For documentation and instructions check out file.`,