diff --git a/components/Block/Form.vue b/components/Block/Form.vue
index ce0f44d5..d34ec34f 100644
--- a/components/Block/Form.vue
+++ b/components/Block/Form.vue
@@ -1,4 +1,5 @@
@@ -44,8 +99,9 @@ autoApply(`[data-block-id="${props.uuid}"]`, refresh);
: undefined
"
/>
+
+
+
+
+
+
+
diff --git a/types/schema/content/form.ts b/types/schema/content/form.ts
index b2308b31..cc3b9804 100644
--- a/types/schema/content/form.ts
+++ b/types/schema/content/form.ts
@@ -1,15 +1,19 @@
import type { User } from '../system/index.js';
+import type { InternalFormConfig } from './internal-form-config.js';
export interface Form {
+ /** @primaryKey */
id: string;
sort: number | null;
user_created: string | User | null;
date_created: string | null;
user_updated: string | User | null;
date_updated: string | null;
- type: string | null;
- title: string | null;
- hubspot_form_id: string | null;
- typeform_form_id: string | null;
- route_to_meeting_link_on_success: boolean | null;
+ type?: 'hubspot' | 'typeform' | 'internal' | null;
+ title?: string | null;
+ hubspot_form_id?: string | null;
+ route_to_meeting_link_on_success?: boolean | null;
+ typeform_form_id?: string | null;
+ internal_form_url?: string | null;
+ form_config?: InternalFormConfig | string | null;
}
diff --git a/types/schema/content/index.ts b/types/schema/content/index.ts
index b7bc240a..4fd52578 100644
--- a/types/schema/content/index.ts
+++ b/types/schema/content/index.ts
@@ -9,3 +9,4 @@ export type * from './agency-partner.js';
export type * from './feature.js';
export type * from './marketplace.js';
export type * from './testimonials.js';
+export type * from './internal-form-config.js';
diff --git a/types/schema/content/internal-form-config.ts b/types/schema/content/internal-form-config.ts
new file mode 100644
index 00000000..a8d368ee
--- /dev/null
+++ b/types/schema/content/internal-form-config.ts
@@ -0,0 +1,24 @@
+import type { User } from '../system/index.js';
+
+export interface InternalFormConfig {
+ /** @primaryKey */
+ id: string;
+ status?: 'published' | 'draft' | 'archived';
+ sort?: number | null;
+ user_created?: User | string | null;
+ date_created?: string | null;
+ user_updated?: User | string | null;
+ date_updated?: string | null;
+ title?: string | null;
+ slug?: string | null;
+ description?: string | null;
+ allow_multiple?: boolean | null;
+ max_quantity?: number | null;
+}
+
+export interface InternalFormConfigProduct {
+ /** @primaryKey */
+ id: number;
+ internal_form_config_id?: InternalFormConfig | string | null;
+ products_id?: string | null;
+}
diff --git a/types/schema/schema.ts b/types/schema/schema.ts
index 6a82acd9..800a0166 100644
--- a/types/schema/schema.ts
+++ b/types/schema/schema.ts
@@ -64,6 +64,8 @@ import type {
Template,
Extension,
Testimonial,
+ InternalFormConfig,
+ InternalFormConfigProduct,
} from './content/index.js';
import type { Globals, Navigation, Redirect, Seo } from './meta/index.js';
import type { ContentType, Page, PageBlock } from './routes/index.js';
@@ -86,6 +88,8 @@ export interface Schema {
events: Event[];
features: Feature[];
testimonials: Testimonial[];
+ internal_form_config: InternalFormConfig[];
+ internal_form_config_products: InternalFormConfigProduct[];
// Partner Program
agency_partners: AgencyPartner[];