mirror of
https://github.com/swissmakers/swiss-datashare.git
synced 2026-04-17 12:43:13 +02:00
Add feature to send share with email
This commit is contained in:
@@ -10,16 +10,22 @@ export default [
|
||||
{
|
||||
key: "securityID",
|
||||
type: "string",
|
||||
status: "available",
|
||||
required: false,
|
||||
array: false,
|
||||
size: 255,
|
||||
default: null,
|
||||
},
|
||||
{
|
||||
key: "users",
|
||||
type: "string",
|
||||
required: false,
|
||||
array: true,
|
||||
size: 255,
|
||||
default: null,
|
||||
},
|
||||
{
|
||||
key: "createdAt",
|
||||
type: "integer",
|
||||
status: "available",
|
||||
required: true,
|
||||
array: false,
|
||||
min: 0,
|
||||
@@ -29,7 +35,6 @@ export default [
|
||||
{
|
||||
key: "expiresAt",
|
||||
type: "integer",
|
||||
status: "available",
|
||||
required: true,
|
||||
array: false,
|
||||
min: 0,
|
||||
@@ -39,7 +44,6 @@ export default [
|
||||
{
|
||||
key: "visitorCount",
|
||||
type: "integer",
|
||||
status: "available",
|
||||
required: false,
|
||||
array: false,
|
||||
min: 0,
|
||||
@@ -49,7 +53,6 @@ export default [
|
||||
{
|
||||
key: "enabled",
|
||||
type: "boolean",
|
||||
status: "available",
|
||||
required: false,
|
||||
array: false,
|
||||
default: false,
|
||||
@@ -75,7 +78,6 @@ export default [
|
||||
{
|
||||
key: "password",
|
||||
type: "string",
|
||||
status: "available",
|
||||
required: false,
|
||||
array: false,
|
||||
size: 128,
|
||||
@@ -84,7 +86,6 @@ export default [
|
||||
{
|
||||
key: "maxVisitors",
|
||||
type: "integer",
|
||||
status: "available",
|
||||
required: false,
|
||||
array: false,
|
||||
min: 0,
|
||||
|
||||
@@ -12,6 +12,12 @@ export default () => {
|
||||
vars: {
|
||||
APPWRITE_FUNCTION_ENDPOINT: host,
|
||||
APPWRITE_FUNCTION_API_KEY: process.env["APPWRITE_FUNCTION_API_KEY"],
|
||||
SMTP_HOST: "",
|
||||
SMTP_PORT: "",
|
||||
SMTP_USER: "",
|
||||
SMTP_PASSWORD: "",
|
||||
SMTP_FROM: "",
|
||||
FRONTEND_URL: "",
|
||||
},
|
||||
events: [],
|
||||
schedule: "",
|
||||
|
||||
@@ -41,7 +41,7 @@ import rl from "readline-sync";
|
||||
console.info("Creating function deployments...");
|
||||
await setupService.createFunctionDeployments();
|
||||
|
||||
console.info("Adding frontend url...");
|
||||
console.info("Adding frontend host...");
|
||||
await setupService.addPlatform(
|
||||
rl.question("Frontend host of Pingvin Share (localhost): ", {
|
||||
defaultInput: "localhost",
|
||||
|
||||
Reference in New Issue
Block a user