fix: Fix cli types (#2592)

## Description

1. What is this PR about (link the issue and add a short description)

## Steps for reproduction

1. click button
2. expect xyz

## Code Review

- [ ] hi @kof, I need you to do
  - conceptual review (architecture, feature-correctness)
  - detailed review (read every line)
  - test it on preview

## Before requesting a review

- [ ] made a self-review
- [ ] added inline comments where things may be not obvious (the "why",
not "what")

## Before merging

- [ ] tested locally and on preview environment (preview dev login:
5de6)
- [ ] updated [test
cases](https://github.com/webstudio-is/webstudio/blob/main/apps/builder/docs/test-cases.md)
document
- [ ] added tests
- [ ] if any new env variables are added, added them to `.env.example`
and the `builder/env-check.js` if mandatory
This commit is contained in:
Ivan Starkov authored and GitHub committed 2023-11-09 23:05:22 +02:00
1 parent 5688c8011e
commit eefc96315e
14 files changed
+14 -9

No files matched your search

@@ -5,5 +5,6 @@ import { AppLoadContext } from "@remix-run/server-runtime";
declare module "@remix-run/server-runtime" {
interface AppLoadContext {
EXCLUDE_FROM_SEARCH: boolean;
N8N_FORM_EMAIL_HOOK: string;
}
}
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -5,5 +5,6 @@ import { AppLoadContext } from "@remix-run/server-runtime";
declare module "@remix-run/server-runtime" {
interface AppLoadContext {
EXCLUDE_FROM_SEARCH: boolean;
N8N_FORM_EMAIL_HOOK: string;
}
}
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -5,5 +5,6 @@ import { AppLoadContext } from "@remix-run/server-runtime";
declare module "@remix-run/server-runtime" {
interface AppLoadContext {
EXCLUDE_FROM_SEARCH: boolean;
N8N_FORM_EMAIL_HOOK: string;
}
}
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -5,5 +5,6 @@ import { AppLoadContext } from "@remix-run/server-runtime";
declare module "@remix-run/server-runtime" {
interface AppLoadContext {
EXCLUDE_FROM_SEARCH: boolean;
N8N_FORM_EMAIL_HOOK: string;
}
}
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;
@@ -5,5 +5,6 @@ import { AppLoadContext } from "@remix-run/server-runtime";
declare module "@remix-run/server-runtime" {
interface AppLoadContext {
EXCLUDE_FROM_SEARCH: boolean;
N8N_FORM_EMAIL_HOOK: string;
}
}
+1 -1
View File
@@ -276,7 +276,7 @@ export const action = async ({ request, context }: ActionArgs) => {
const result = await n8nHandler({
formInfo,
hookUrl: context.N8N_FORM_EMAIL_HOOK as string,
hookUrl: context.N8N_FORM_EMAIL_HOOK,
});
return result;