visual-forge-hub-test-env 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +73 -0
- package/dist/App.d.ts +2 -0
- package/dist/components/admin/AdminLayout.d.ts +6 -0
- package/dist/components/admin/CreateLayoutDialog.d.ts +7 -0
- package/dist/components/admin/CreatePageDialog.d.ts +6 -0
- package/dist/components/admin/CreateTemplateDialog.d.ts +7 -0
- package/dist/components/admin/CreateWidgetDialog.d.ts +7 -0
- package/dist/components/admin/LayoutList.d.ts +8 -0
- package/dist/components/admin/PageList.d.ts +5 -0
- package/dist/components/admin/TemplateList.d.ts +8 -0
- package/dist/components/admin/WidgetList.d.ts +8 -0
- package/dist/components/api/ApiAuthEditor.d.ts +15 -0
- package/dist/components/api/ApiRequestEditor.d.ts +20 -0
- package/dist/components/api/ApiRequestTree.d.ts +25 -0
- package/dist/components/api/ApiResponseViewer.d.ts +13 -0
- package/dist/components/api/CodeGeneratorDialog.d.ts +23 -0
- package/dist/components/api/CreateCollectionDialog.d.ts +3 -0
- package/dist/components/api/EnvironmentSelector.d.ts +16 -0
- package/dist/components/api/ExportCollectionButton.d.ts +6 -0
- package/dist/components/api/ImportCollectionDialog.d.ts +5 -0
- package/dist/components/api/KeyValueEditor.d.ts +15 -0
- package/dist/components/api/RequestHistoryPanel.d.ts +16 -0
- package/dist/components/editor/AccordionComponentEditor.d.ts +13 -0
- package/dist/components/editor/ButtonComponentEditor.d.ts +7 -0
- package/dist/components/editor/CardComponentEditor.d.ts +15 -0
- package/dist/components/editor/ChartComponentEditor.d.ts +8 -0
- package/dist/components/editor/CodeComponentEditor.d.ts +7 -0
- package/dist/components/editor/ColumnDivider.d.ts +6 -0
- package/dist/components/editor/ComponentContextMenu.d.ts +15 -0
- package/dist/components/editor/ComponentStylePanel.d.ts +25 -0
- package/dist/components/editor/ComponentsSidebar.d.ts +7 -0
- package/dist/components/editor/DeviceFrame.d.ts +7 -0
- package/dist/components/editor/DividerComponentEditor.d.ts +1 -0
- package/dist/components/editor/DraggableComponent.d.ts +13 -0
- package/dist/components/editor/DroppableColumn.d.ts +15 -0
- package/dist/components/editor/EntityDetailComponentEditor.d.ts +6 -0
- package/dist/components/editor/EntityListComponentEditor.d.ts +6 -0
- package/dist/components/editor/FormCheckboxComponentEditor.d.ts +12 -0
- package/dist/components/editor/FormInputComponentEditor.d.ts +13 -0
- package/dist/components/editor/FormSelectComponentEditor.d.ts +12 -0
- package/dist/components/editor/FormSubmitComponentEditor.d.ts +14 -0
- package/dist/components/editor/FormTextareaComponentEditor.d.ts +13 -0
- package/dist/components/editor/GridCanvas.d.ts +27 -0
- package/dist/components/editor/HeadingComponentEditor.d.ts +7 -0
- package/dist/components/editor/ImageComponentEditor.d.ts +7 -0
- package/dist/components/editor/InsertWidgetDialog.d.ts +7 -0
- package/dist/components/editor/LayoutPreviewModal.d.ts +10 -0
- package/dist/components/editor/LinkComponentEditor.d.ts +7 -0
- package/dist/components/editor/ListComponentEditor.d.ts +7 -0
- package/dist/components/editor/OutlinePanel.d.ts +14 -0
- package/dist/components/editor/OutlineTreeItem.d.ts +18 -0
- package/dist/components/editor/PageActionsDropdown.d.ts +9 -0
- package/dist/components/editor/PageContentComponentEditor.d.ts +1 -0
- package/dist/components/editor/PagePreviewModal.d.ts +17 -0
- package/dist/components/editor/PageVersionDiffView.d.ts +28 -0
- package/dist/components/editor/PageVersionsDialog.d.ts +9 -0
- package/dist/components/editor/PreviewModal.d.ts +7 -0
- package/dist/components/editor/QueryComponentEditor.d.ts +6 -0
- package/dist/components/editor/QuoteComponentEditor.d.ts +7 -0
- package/dist/components/editor/ResponsiveControls.d.ts +7 -0
- package/dist/components/editor/RowContextMenu.d.ts +12 -0
- package/dist/components/editor/RowPropertiesPanel.d.ts +37 -0
- package/dist/components/editor/SectionTemplatesDialog.d.ts +5 -0
- package/dist/components/editor/SidebarToggle.d.ts +17 -0
- package/dist/components/editor/SortableRow.d.ts +23 -0
- package/dist/components/editor/SpacerComponentEditor.d.ts +7 -0
- package/dist/components/editor/TabsComponentEditor.d.ts +13 -0
- package/dist/components/editor/TextComponentEditor.d.ts +7 -0
- package/dist/components/editor/VideoComponentEditor.d.ts +7 -0
- package/dist/components/editor/WidgetPreviewModal.d.ts +10 -0
- package/dist/components/entities/AddFieldPopover.d.ts +11 -0
- package/dist/components/entities/CardLayoutEditor.d.ts +24 -0
- package/dist/components/entities/CreateEntityDialog.d.ts +7 -0
- package/dist/components/entities/EntityActionsDropdown.d.ts +8 -0
- package/dist/components/entities/EntityRecordDialog.d.ts +24 -0
- package/dist/components/entities/EntityVersionDiffView.d.ts +9 -0
- package/dist/components/entities/EntityVersionsDialog.d.ts +8 -0
- package/dist/components/entities/FieldEditor.d.ts +16 -0
- package/dist/components/entities/ViewOptionsPanel.d.ts +82 -0
- package/dist/components/entities/ViewSelector.d.ts +22 -0
- package/dist/components/entities/views/CalendarView.d.ts +27 -0
- package/dist/components/entities/views/CardView.d.ts +32 -0
- package/dist/components/entities/views/GalleryView.d.ts +28 -0
- package/dist/components/entities/views/GanttView.d.ts +33 -0
- package/dist/components/entities/views/KanbanView.d.ts +35 -0
- package/dist/components/entities/views/ListView.d.ts +31 -0
- package/dist/components/entities/views/TimelineView.d.ts +28 -0
- package/dist/components/forms/ConditionalLogicEditor.d.ts +20 -0
- package/dist/components/forms/CreateFormDialog.d.ts +6 -0
- package/dist/components/forms/FieldLibrary.d.ts +5 -0
- package/dist/components/forms/FieldPropertiesPanel.d.ts +11 -0
- package/dist/components/forms/FormCanvas.d.ts +11 -0
- package/dist/components/forms/FormPreviewModal.d.ts +9 -0
- package/dist/components/forms/FormPropertiesPanel.d.ts +6 -0
- package/dist/components/forms/FormSubmissionDialog.d.ts +6 -0
- package/dist/components/forms/FormTemplateDialog.d.ts +15 -0
- package/dist/components/forms/OptionsEditor.d.ts +10 -0
- package/dist/components/forms/SectionPropertiesPanel.d.ts +11 -0
- package/dist/components/forms/SectionRenderer.d.ts +15 -0
- package/dist/components/forms/ValidationRulesEditor.d.ts +7 -0
- package/dist/components/public/ChartRenderer.d.ts +12 -0
- package/dist/components/public/ComponentRenderer.d.ts +7 -0
- package/dist/components/queries/CreateQueryDialog.d.ts +6 -0
- package/dist/components/queries/QueryConditionBuilder.d.ts +5 -0
- package/dist/components/queries/QueryConditionTree.d.ts +5 -0
- package/dist/components/queries/QueryFieldSelector.d.ts +7 -0
- package/dist/components/queries/QueryJoinBuilder.d.ts +5 -0
- package/dist/components/queries/QueryJoinTree.d.ts +5 -0
- package/dist/components/queries/QuerySettingsPanel.d.ts +6 -0
- package/dist/components/ui/accordion.d.ts +7 -0
- package/dist/components/ui/alert-dialog.d.ts +20 -0
- package/dist/components/ui/alert.d.ts +8 -0
- package/dist/components/ui/aspect-ratio.d.ts +3 -0
- package/dist/components/ui/avatar.d.ts +6 -0
- package/dist/components/ui/badge.d.ts +9 -0
- package/dist/components/ui/breadcrumb.d.ts +19 -0
- package/dist/components/ui/button.d.ts +11 -0
- package/dist/components/ui/calendar.d.ts +8 -0
- package/dist/components/ui/card.d.ts +8 -0
- package/dist/components/ui/carousel.d.ts +18 -0
- package/dist/components/ui/chart.d.ts +62 -0
- package/dist/components/ui/checkbox.d.ts +4 -0
- package/dist/components/ui/collapsible.d.ts +5 -0
- package/dist/components/ui/command.d.ts +82 -0
- package/dist/components/ui/context-menu.d.ts +27 -0
- package/dist/components/ui/dialog.d.ts +21 -0
- package/dist/components/ui/drawer.d.ts +22 -0
- package/dist/components/ui/dropdown-menu.d.ts +27 -0
- package/dist/components/ui/form.d.ts +23 -0
- package/dist/components/ui/hover-card.d.ts +6 -0
- package/dist/components/ui/input-otp.d.ts +34 -0
- package/dist/components/ui/input.d.ts +3 -0
- package/dist/components/ui/label.d.ts +5 -0
- package/dist/components/ui/menubar.d.ts +33 -0
- package/dist/components/ui/navigation-menu.d.ts +12 -0
- package/dist/components/ui/pagination.d.ts +28 -0
- package/dist/components/ui/popover.d.ts +6 -0
- package/dist/components/ui/progress.d.ts +4 -0
- package/dist/components/ui/radio-group.d.ts +5 -0
- package/dist/components/ui/resizable.d.ts +23 -0
- package/dist/components/ui/scroll-area.d.ts +5 -0
- package/dist/components/ui/select.d.ts +13 -0
- package/dist/components/ui/separator.d.ts +4 -0
- package/dist/components/ui/sheet.d.ts +25 -0
- package/dist/components/ui/sidebar.d.ts +66 -0
- package/dist/components/ui/skeleton.d.ts +2 -0
- package/dist/components/ui/slider.d.ts +4 -0
- package/dist/components/ui/sonner.d.ts +4 -0
- package/dist/components/ui/switch.d.ts +4 -0
- package/dist/components/ui/table.d.ts +10 -0
- package/dist/components/ui/tabs.d.ts +7 -0
- package/dist/components/ui/textarea.d.ts +5 -0
- package/dist/components/ui/toast.d.ts +15 -0
- package/dist/components/ui/toaster.d.ts +1 -0
- package/dist/components/ui/toggle-group.d.ts +12 -0
- package/dist/components/ui/toggle.d.ts +12 -0
- package/dist/components/ui/tooltip.d.ts +7 -0
- package/dist/components/ui/use-toast.d.ts +2 -0
- package/dist/contexts/ClipboardContext.d.ts +12 -0
- package/dist/favicon.ico +0 -0
- package/dist/hooks/use-mobile.d.ts +1 -0
- package/dist/hooks/use-toast.d.ts +44 -0
- package/dist/hooks/useHistory.d.ts +14 -0
- package/dist/hooks/useKeyboardShortcuts.d.ts +11 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.es.js +31293 -0
- package/dist/index.umd.js +175 -0
- package/dist/integrations/supabase/client.d.ts +1450 -0
- package/dist/integrations/supabase/types.d.ts +1581 -0
- package/dist/lib/utils.d.ts +2 -0
- package/dist/main.d.ts +0 -0
- package/dist/pages/Admin.d.ts +2 -0
- package/dist/pages/ApiCollectionEditor.d.ts +2 -0
- package/dist/pages/ApiCollections.d.ts +2 -0
- package/dist/pages/Auth.d.ts +2 -0
- package/dist/pages/Entities.d.ts +2 -0
- package/dist/pages/EntityEditor.d.ts +2 -0
- package/dist/pages/EntityRecords.d.ts +2 -0
- package/dist/pages/FormBuilder.d.ts +1 -0
- package/dist/pages/FormSettings.d.ts +1 -0
- package/dist/pages/FormSubmissions.d.ts +1 -0
- package/dist/pages/Forms.d.ts +1 -0
- package/dist/pages/LayoutEditor.d.ts +2 -0
- package/dist/pages/Layouts.d.ts +2 -0
- package/dist/pages/NotFound.d.ts +2 -0
- package/dist/pages/PageEditor.d.ts +2 -0
- package/dist/pages/PublicPage.d.ts +5 -0
- package/dist/pages/Queries.d.ts +1 -0
- package/dist/pages/QueryEditor.d.ts +1 -0
- package/dist/pages/QueryResults.d.ts +1 -0
- package/dist/pages/TemplateEditor.d.ts +2 -0
- package/dist/pages/Templates.d.ts +2 -0
- package/dist/pages/WidgetEditor.d.ts +2 -0
- package/dist/pages/Widgets.d.ts +2 -0
- package/dist/placeholder.svg +1 -0
- package/dist/robots.txt +14 -0
- package/dist/types/entity.d.ts +43 -0
- package/package.json +100 -0
|
@@ -0,0 +1,1450 @@
|
|
|
1
|
+
import { Database } from './types';
|
|
2
|
+
export declare const supabase: import('@supabase/supabase-js').SupabaseClient<Database, "public", "public", {
|
|
3
|
+
Tables: {
|
|
4
|
+
api_collections: {
|
|
5
|
+
Row: {
|
|
6
|
+
base_url: string | null;
|
|
7
|
+
created_at: string | null;
|
|
8
|
+
description: string | null;
|
|
9
|
+
id: string;
|
|
10
|
+
is_published: boolean | null;
|
|
11
|
+
name: string;
|
|
12
|
+
updated_at: string | null;
|
|
13
|
+
user_id: string;
|
|
14
|
+
};
|
|
15
|
+
Insert: {
|
|
16
|
+
base_url?: string | null;
|
|
17
|
+
created_at?: string | null;
|
|
18
|
+
description?: string | null;
|
|
19
|
+
id?: string;
|
|
20
|
+
is_published?: boolean | null;
|
|
21
|
+
name: string;
|
|
22
|
+
updated_at?: string | null;
|
|
23
|
+
user_id: string;
|
|
24
|
+
};
|
|
25
|
+
Update: {
|
|
26
|
+
base_url?: string | null;
|
|
27
|
+
created_at?: string | null;
|
|
28
|
+
description?: string | null;
|
|
29
|
+
id?: string;
|
|
30
|
+
is_published?: boolean | null;
|
|
31
|
+
name?: string;
|
|
32
|
+
updated_at?: string | null;
|
|
33
|
+
user_id?: string;
|
|
34
|
+
};
|
|
35
|
+
Relationships: [];
|
|
36
|
+
};
|
|
37
|
+
api_environments: {
|
|
38
|
+
Row: {
|
|
39
|
+
collection_id: string;
|
|
40
|
+
created_at: string | null;
|
|
41
|
+
id: string;
|
|
42
|
+
is_active: boolean | null;
|
|
43
|
+
name: string;
|
|
44
|
+
updated_at: string | null;
|
|
45
|
+
variables: import('./types').Json | null;
|
|
46
|
+
};
|
|
47
|
+
Insert: {
|
|
48
|
+
collection_id: string;
|
|
49
|
+
created_at?: string | null;
|
|
50
|
+
id?: string;
|
|
51
|
+
is_active?: boolean | null;
|
|
52
|
+
name: string;
|
|
53
|
+
updated_at?: string | null;
|
|
54
|
+
variables?: import('./types').Json | null;
|
|
55
|
+
};
|
|
56
|
+
Update: {
|
|
57
|
+
collection_id?: string;
|
|
58
|
+
created_at?: string | null;
|
|
59
|
+
id?: string;
|
|
60
|
+
is_active?: boolean | null;
|
|
61
|
+
name?: string;
|
|
62
|
+
updated_at?: string | null;
|
|
63
|
+
variables?: import('./types').Json | null;
|
|
64
|
+
};
|
|
65
|
+
Relationships: [{
|
|
66
|
+
foreignKeyName: "api_environments_collection_id_fkey";
|
|
67
|
+
columns: ["collection_id"];
|
|
68
|
+
isOneToOne: false;
|
|
69
|
+
referencedRelation: "api_collections";
|
|
70
|
+
referencedColumns: ["id"];
|
|
71
|
+
}];
|
|
72
|
+
};
|
|
73
|
+
api_folders: {
|
|
74
|
+
Row: {
|
|
75
|
+
collection_id: string;
|
|
76
|
+
created_at: string | null;
|
|
77
|
+
description: string | null;
|
|
78
|
+
id: string;
|
|
79
|
+
name: string;
|
|
80
|
+
parent_folder_id: string | null;
|
|
81
|
+
position: number;
|
|
82
|
+
};
|
|
83
|
+
Insert: {
|
|
84
|
+
collection_id: string;
|
|
85
|
+
created_at?: string | null;
|
|
86
|
+
description?: string | null;
|
|
87
|
+
id?: string;
|
|
88
|
+
name: string;
|
|
89
|
+
parent_folder_id?: string | null;
|
|
90
|
+
position?: number;
|
|
91
|
+
};
|
|
92
|
+
Update: {
|
|
93
|
+
collection_id?: string;
|
|
94
|
+
created_at?: string | null;
|
|
95
|
+
description?: string | null;
|
|
96
|
+
id?: string;
|
|
97
|
+
name?: string;
|
|
98
|
+
parent_folder_id?: string | null;
|
|
99
|
+
position?: number;
|
|
100
|
+
};
|
|
101
|
+
Relationships: [{
|
|
102
|
+
foreignKeyName: "api_folders_collection_id_fkey";
|
|
103
|
+
columns: ["collection_id"];
|
|
104
|
+
isOneToOne: false;
|
|
105
|
+
referencedRelation: "api_collections";
|
|
106
|
+
referencedColumns: ["id"];
|
|
107
|
+
}, {
|
|
108
|
+
foreignKeyName: "api_folders_parent_folder_id_fkey";
|
|
109
|
+
columns: ["parent_folder_id"];
|
|
110
|
+
isOneToOne: false;
|
|
111
|
+
referencedRelation: "api_folders";
|
|
112
|
+
referencedColumns: ["id"];
|
|
113
|
+
}];
|
|
114
|
+
};
|
|
115
|
+
api_request_history: {
|
|
116
|
+
Row: {
|
|
117
|
+
error_message: string | null;
|
|
118
|
+
executed_at: string | null;
|
|
119
|
+
id: string;
|
|
120
|
+
request_id: string;
|
|
121
|
+
response_body: string | null;
|
|
122
|
+
response_headers: import('./types').Json | null;
|
|
123
|
+
response_time_ms: number | null;
|
|
124
|
+
status_code: number | null;
|
|
125
|
+
};
|
|
126
|
+
Insert: {
|
|
127
|
+
error_message?: string | null;
|
|
128
|
+
executed_at?: string | null;
|
|
129
|
+
id?: string;
|
|
130
|
+
request_id: string;
|
|
131
|
+
response_body?: string | null;
|
|
132
|
+
response_headers?: import('./types').Json | null;
|
|
133
|
+
response_time_ms?: number | null;
|
|
134
|
+
status_code?: number | null;
|
|
135
|
+
};
|
|
136
|
+
Update: {
|
|
137
|
+
error_message?: string | null;
|
|
138
|
+
executed_at?: string | null;
|
|
139
|
+
id?: string;
|
|
140
|
+
request_id?: string;
|
|
141
|
+
response_body?: string | null;
|
|
142
|
+
response_headers?: import('./types').Json | null;
|
|
143
|
+
response_time_ms?: number | null;
|
|
144
|
+
status_code?: number | null;
|
|
145
|
+
};
|
|
146
|
+
Relationships: [{
|
|
147
|
+
foreignKeyName: "api_request_history_request_id_fkey";
|
|
148
|
+
columns: ["request_id"];
|
|
149
|
+
isOneToOne: false;
|
|
150
|
+
referencedRelation: "api_requests";
|
|
151
|
+
referencedColumns: ["id"];
|
|
152
|
+
}];
|
|
153
|
+
};
|
|
154
|
+
api_requests: {
|
|
155
|
+
Row: {
|
|
156
|
+
auth_config: import('./types').Json | null;
|
|
157
|
+
auth_type: string | null;
|
|
158
|
+
body_content: string | null;
|
|
159
|
+
body_type: string | null;
|
|
160
|
+
collection_id: string;
|
|
161
|
+
created_at: string | null;
|
|
162
|
+
description: string | null;
|
|
163
|
+
folder_id: string | null;
|
|
164
|
+
headers: import('./types').Json | null;
|
|
165
|
+
id: string;
|
|
166
|
+
method: string;
|
|
167
|
+
name: string;
|
|
168
|
+
position: number;
|
|
169
|
+
query_params: import('./types').Json | null;
|
|
170
|
+
updated_at: string | null;
|
|
171
|
+
url: string;
|
|
172
|
+
};
|
|
173
|
+
Insert: {
|
|
174
|
+
auth_config?: import('./types').Json | null;
|
|
175
|
+
auth_type?: string | null;
|
|
176
|
+
body_content?: string | null;
|
|
177
|
+
body_type?: string | null;
|
|
178
|
+
collection_id: string;
|
|
179
|
+
created_at?: string | null;
|
|
180
|
+
description?: string | null;
|
|
181
|
+
folder_id?: string | null;
|
|
182
|
+
headers?: import('./types').Json | null;
|
|
183
|
+
id?: string;
|
|
184
|
+
method: string;
|
|
185
|
+
name: string;
|
|
186
|
+
position?: number;
|
|
187
|
+
query_params?: import('./types').Json | null;
|
|
188
|
+
updated_at?: string | null;
|
|
189
|
+
url: string;
|
|
190
|
+
};
|
|
191
|
+
Update: {
|
|
192
|
+
auth_config?: import('./types').Json | null;
|
|
193
|
+
auth_type?: string | null;
|
|
194
|
+
body_content?: string | null;
|
|
195
|
+
body_type?: string | null;
|
|
196
|
+
collection_id?: string;
|
|
197
|
+
created_at?: string | null;
|
|
198
|
+
description?: string | null;
|
|
199
|
+
folder_id?: string | null;
|
|
200
|
+
headers?: import('./types').Json | null;
|
|
201
|
+
id?: string;
|
|
202
|
+
method?: string;
|
|
203
|
+
name?: string;
|
|
204
|
+
position?: number;
|
|
205
|
+
query_params?: import('./types').Json | null;
|
|
206
|
+
updated_at?: string | null;
|
|
207
|
+
url?: string;
|
|
208
|
+
};
|
|
209
|
+
Relationships: [{
|
|
210
|
+
foreignKeyName: "api_requests_collection_id_fkey";
|
|
211
|
+
columns: ["collection_id"];
|
|
212
|
+
isOneToOne: false;
|
|
213
|
+
referencedRelation: "api_collections";
|
|
214
|
+
referencedColumns: ["id"];
|
|
215
|
+
}, {
|
|
216
|
+
foreignKeyName: "api_requests_folder_id_fkey";
|
|
217
|
+
columns: ["folder_id"];
|
|
218
|
+
isOneToOne: false;
|
|
219
|
+
referencedRelation: "api_folders";
|
|
220
|
+
referencedColumns: ["id"];
|
|
221
|
+
}];
|
|
222
|
+
};
|
|
223
|
+
entities: {
|
|
224
|
+
Row: {
|
|
225
|
+
created_at: string | null;
|
|
226
|
+
description: string | null;
|
|
227
|
+
display_name: string;
|
|
228
|
+
entity_data: import('./types').Json | null;
|
|
229
|
+
icon: string | null;
|
|
230
|
+
id: string;
|
|
231
|
+
is_published: boolean | null;
|
|
232
|
+
name: string;
|
|
233
|
+
updated_at: string | null;
|
|
234
|
+
user_id: string;
|
|
235
|
+
};
|
|
236
|
+
Insert: {
|
|
237
|
+
created_at?: string | null;
|
|
238
|
+
description?: string | null;
|
|
239
|
+
display_name: string;
|
|
240
|
+
entity_data?: import('./types').Json | null;
|
|
241
|
+
icon?: string | null;
|
|
242
|
+
id?: string;
|
|
243
|
+
is_published?: boolean | null;
|
|
244
|
+
name: string;
|
|
245
|
+
updated_at?: string | null;
|
|
246
|
+
user_id: string;
|
|
247
|
+
};
|
|
248
|
+
Update: {
|
|
249
|
+
created_at?: string | null;
|
|
250
|
+
description?: string | null;
|
|
251
|
+
display_name?: string;
|
|
252
|
+
entity_data?: import('./types').Json | null;
|
|
253
|
+
icon?: string | null;
|
|
254
|
+
id?: string;
|
|
255
|
+
is_published?: boolean | null;
|
|
256
|
+
name?: string;
|
|
257
|
+
updated_at?: string | null;
|
|
258
|
+
user_id?: string;
|
|
259
|
+
};
|
|
260
|
+
Relationships: [];
|
|
261
|
+
};
|
|
262
|
+
entity_fields: {
|
|
263
|
+
Row: {
|
|
264
|
+
created_at: string | null;
|
|
265
|
+
default_value: string | null;
|
|
266
|
+
display_name: string;
|
|
267
|
+
entity_id: string;
|
|
268
|
+
field_type: Database["public"]["Enums"]["entity_field_type"];
|
|
269
|
+
id: string;
|
|
270
|
+
is_required: boolean | null;
|
|
271
|
+
name: string;
|
|
272
|
+
position: number | null;
|
|
273
|
+
validation_rules: import('./types').Json | null;
|
|
274
|
+
};
|
|
275
|
+
Insert: {
|
|
276
|
+
created_at?: string | null;
|
|
277
|
+
default_value?: string | null;
|
|
278
|
+
display_name: string;
|
|
279
|
+
entity_id: string;
|
|
280
|
+
field_type: Database["public"]["Enums"]["entity_field_type"];
|
|
281
|
+
id?: string;
|
|
282
|
+
is_required?: boolean | null;
|
|
283
|
+
name: string;
|
|
284
|
+
position?: number | null;
|
|
285
|
+
validation_rules?: import('./types').Json | null;
|
|
286
|
+
};
|
|
287
|
+
Update: {
|
|
288
|
+
created_at?: string | null;
|
|
289
|
+
default_value?: string | null;
|
|
290
|
+
display_name?: string;
|
|
291
|
+
entity_id?: string;
|
|
292
|
+
field_type?: Database["public"]["Enums"]["entity_field_type"];
|
|
293
|
+
id?: string;
|
|
294
|
+
is_required?: boolean | null;
|
|
295
|
+
name?: string;
|
|
296
|
+
position?: number | null;
|
|
297
|
+
validation_rules?: import('./types').Json | null;
|
|
298
|
+
};
|
|
299
|
+
Relationships: [{
|
|
300
|
+
foreignKeyName: "entity_fields_entity_id_fkey";
|
|
301
|
+
columns: ["entity_id"];
|
|
302
|
+
isOneToOne: false;
|
|
303
|
+
referencedRelation: "entities";
|
|
304
|
+
referencedColumns: ["id"];
|
|
305
|
+
}];
|
|
306
|
+
};
|
|
307
|
+
entity_records: {
|
|
308
|
+
Row: {
|
|
309
|
+
created_at: string | null;
|
|
310
|
+
data: import('./types').Json;
|
|
311
|
+
entity_id: string;
|
|
312
|
+
id: string;
|
|
313
|
+
is_published: boolean | null;
|
|
314
|
+
updated_at: string | null;
|
|
315
|
+
user_id: string;
|
|
316
|
+
};
|
|
317
|
+
Insert: {
|
|
318
|
+
created_at?: string | null;
|
|
319
|
+
data?: import('./types').Json;
|
|
320
|
+
entity_id: string;
|
|
321
|
+
id?: string;
|
|
322
|
+
is_published?: boolean | null;
|
|
323
|
+
updated_at?: string | null;
|
|
324
|
+
user_id: string;
|
|
325
|
+
};
|
|
326
|
+
Update: {
|
|
327
|
+
created_at?: string | null;
|
|
328
|
+
data?: import('./types').Json;
|
|
329
|
+
entity_id?: string;
|
|
330
|
+
id?: string;
|
|
331
|
+
is_published?: boolean | null;
|
|
332
|
+
updated_at?: string | null;
|
|
333
|
+
user_id?: string;
|
|
334
|
+
};
|
|
335
|
+
Relationships: [{
|
|
336
|
+
foreignKeyName: "entity_records_entity_id_fkey";
|
|
337
|
+
columns: ["entity_id"];
|
|
338
|
+
isOneToOne: false;
|
|
339
|
+
referencedRelation: "entities";
|
|
340
|
+
referencedColumns: ["id"];
|
|
341
|
+
}];
|
|
342
|
+
};
|
|
343
|
+
entity_versions: {
|
|
344
|
+
Row: {
|
|
345
|
+
created_at: string;
|
|
346
|
+
created_by: string | null;
|
|
347
|
+
description: string | null;
|
|
348
|
+
entity_data: import('./types').Json;
|
|
349
|
+
entity_id: string;
|
|
350
|
+
id: string;
|
|
351
|
+
version_number: number;
|
|
352
|
+
};
|
|
353
|
+
Insert: {
|
|
354
|
+
created_at?: string;
|
|
355
|
+
created_by?: string | null;
|
|
356
|
+
description?: string | null;
|
|
357
|
+
entity_data: import('./types').Json;
|
|
358
|
+
entity_id: string;
|
|
359
|
+
id?: string;
|
|
360
|
+
version_number: number;
|
|
361
|
+
};
|
|
362
|
+
Update: {
|
|
363
|
+
created_at?: string;
|
|
364
|
+
created_by?: string | null;
|
|
365
|
+
description?: string | null;
|
|
366
|
+
entity_data?: import('./types').Json;
|
|
367
|
+
entity_id?: string;
|
|
368
|
+
id?: string;
|
|
369
|
+
version_number?: number;
|
|
370
|
+
};
|
|
371
|
+
Relationships: [{
|
|
372
|
+
foreignKeyName: "entity_versions_entity_id_fkey";
|
|
373
|
+
columns: ["entity_id"];
|
|
374
|
+
isOneToOne: false;
|
|
375
|
+
referencedRelation: "entities";
|
|
376
|
+
referencedColumns: ["id"];
|
|
377
|
+
}];
|
|
378
|
+
};
|
|
379
|
+
entity_views: {
|
|
380
|
+
Row: {
|
|
381
|
+
created_at: string;
|
|
382
|
+
entity_id: string;
|
|
383
|
+
id: string;
|
|
384
|
+
is_default: boolean | null;
|
|
385
|
+
name: string;
|
|
386
|
+
updated_at: string;
|
|
387
|
+
user_id: string;
|
|
388
|
+
view_config: import('./types').Json;
|
|
389
|
+
};
|
|
390
|
+
Insert: {
|
|
391
|
+
created_at?: string;
|
|
392
|
+
entity_id: string;
|
|
393
|
+
id?: string;
|
|
394
|
+
is_default?: boolean | null;
|
|
395
|
+
name: string;
|
|
396
|
+
updated_at?: string;
|
|
397
|
+
user_id: string;
|
|
398
|
+
view_config?: import('./types').Json;
|
|
399
|
+
};
|
|
400
|
+
Update: {
|
|
401
|
+
created_at?: string;
|
|
402
|
+
entity_id?: string;
|
|
403
|
+
id?: string;
|
|
404
|
+
is_default?: boolean | null;
|
|
405
|
+
name?: string;
|
|
406
|
+
updated_at?: string;
|
|
407
|
+
user_id?: string;
|
|
408
|
+
view_config?: import('./types').Json;
|
|
409
|
+
};
|
|
410
|
+
Relationships: [];
|
|
411
|
+
};
|
|
412
|
+
form_fields: {
|
|
413
|
+
Row: {
|
|
414
|
+
column_width: string | null;
|
|
415
|
+
conditional_logic: import('./types').Json | null;
|
|
416
|
+
created_at: string | null;
|
|
417
|
+
default_value: string | null;
|
|
418
|
+
field_name: string;
|
|
419
|
+
field_type: string;
|
|
420
|
+
form_id: string;
|
|
421
|
+
help_text: string | null;
|
|
422
|
+
id: string;
|
|
423
|
+
is_required: boolean | null;
|
|
424
|
+
is_visible: boolean | null;
|
|
425
|
+
label: string;
|
|
426
|
+
options: import('./types').Json | null;
|
|
427
|
+
placeholder: string | null;
|
|
428
|
+
position: number;
|
|
429
|
+
section_id: string | null;
|
|
430
|
+
validation_rules: import('./types').Json | null;
|
|
431
|
+
};
|
|
432
|
+
Insert: {
|
|
433
|
+
column_width?: string | null;
|
|
434
|
+
conditional_logic?: import('./types').Json | null;
|
|
435
|
+
created_at?: string | null;
|
|
436
|
+
default_value?: string | null;
|
|
437
|
+
field_name: string;
|
|
438
|
+
field_type: string;
|
|
439
|
+
form_id: string;
|
|
440
|
+
help_text?: string | null;
|
|
441
|
+
id?: string;
|
|
442
|
+
is_required?: boolean | null;
|
|
443
|
+
is_visible?: boolean | null;
|
|
444
|
+
label: string;
|
|
445
|
+
options?: import('./types').Json | null;
|
|
446
|
+
placeholder?: string | null;
|
|
447
|
+
position?: number;
|
|
448
|
+
section_id?: string | null;
|
|
449
|
+
validation_rules?: import('./types').Json | null;
|
|
450
|
+
};
|
|
451
|
+
Update: {
|
|
452
|
+
column_width?: string | null;
|
|
453
|
+
conditional_logic?: import('./types').Json | null;
|
|
454
|
+
created_at?: string | null;
|
|
455
|
+
default_value?: string | null;
|
|
456
|
+
field_name?: string;
|
|
457
|
+
field_type?: string;
|
|
458
|
+
form_id?: string;
|
|
459
|
+
help_text?: string | null;
|
|
460
|
+
id?: string;
|
|
461
|
+
is_required?: boolean | null;
|
|
462
|
+
is_visible?: boolean | null;
|
|
463
|
+
label?: string;
|
|
464
|
+
options?: import('./types').Json | null;
|
|
465
|
+
placeholder?: string | null;
|
|
466
|
+
position?: number;
|
|
467
|
+
section_id?: string | null;
|
|
468
|
+
validation_rules?: import('./types').Json | null;
|
|
469
|
+
};
|
|
470
|
+
Relationships: [{
|
|
471
|
+
foreignKeyName: "form_fields_form_id_fkey";
|
|
472
|
+
columns: ["form_id"];
|
|
473
|
+
isOneToOne: false;
|
|
474
|
+
referencedRelation: "forms";
|
|
475
|
+
referencedColumns: ["id"];
|
|
476
|
+
}, {
|
|
477
|
+
foreignKeyName: "form_fields_section_id_fkey";
|
|
478
|
+
columns: ["section_id"];
|
|
479
|
+
isOneToOne: false;
|
|
480
|
+
referencedRelation: "form_sections";
|
|
481
|
+
referencedColumns: ["id"];
|
|
482
|
+
}];
|
|
483
|
+
};
|
|
484
|
+
form_sections: {
|
|
485
|
+
Row: {
|
|
486
|
+
conditional_logic: import('./types').Json | null;
|
|
487
|
+
created_at: string | null;
|
|
488
|
+
description: string | null;
|
|
489
|
+
form_id: string;
|
|
490
|
+
id: string;
|
|
491
|
+
is_visible: boolean | null;
|
|
492
|
+
name: string;
|
|
493
|
+
parent_section_id: string | null;
|
|
494
|
+
position: number;
|
|
495
|
+
section_type: string;
|
|
496
|
+
title: string;
|
|
497
|
+
};
|
|
498
|
+
Insert: {
|
|
499
|
+
conditional_logic?: import('./types').Json | null;
|
|
500
|
+
created_at?: string | null;
|
|
501
|
+
description?: string | null;
|
|
502
|
+
form_id: string;
|
|
503
|
+
id?: string;
|
|
504
|
+
is_visible?: boolean | null;
|
|
505
|
+
name: string;
|
|
506
|
+
parent_section_id?: string | null;
|
|
507
|
+
position?: number;
|
|
508
|
+
section_type: string;
|
|
509
|
+
title: string;
|
|
510
|
+
};
|
|
511
|
+
Update: {
|
|
512
|
+
conditional_logic?: import('./types').Json | null;
|
|
513
|
+
created_at?: string | null;
|
|
514
|
+
description?: string | null;
|
|
515
|
+
form_id?: string;
|
|
516
|
+
id?: string;
|
|
517
|
+
is_visible?: boolean | null;
|
|
518
|
+
name?: string;
|
|
519
|
+
parent_section_id?: string | null;
|
|
520
|
+
position?: number;
|
|
521
|
+
section_type?: string;
|
|
522
|
+
title?: string;
|
|
523
|
+
};
|
|
524
|
+
Relationships: [{
|
|
525
|
+
foreignKeyName: "form_sections_form_id_fkey";
|
|
526
|
+
columns: ["form_id"];
|
|
527
|
+
isOneToOne: false;
|
|
528
|
+
referencedRelation: "forms";
|
|
529
|
+
referencedColumns: ["id"];
|
|
530
|
+
}, {
|
|
531
|
+
foreignKeyName: "form_sections_parent_section_id_fkey";
|
|
532
|
+
columns: ["parent_section_id"];
|
|
533
|
+
isOneToOne: false;
|
|
534
|
+
referencedRelation: "form_sections";
|
|
535
|
+
referencedColumns: ["id"];
|
|
536
|
+
}];
|
|
537
|
+
};
|
|
538
|
+
form_submissions: {
|
|
539
|
+
Row: {
|
|
540
|
+
data: import('./types').Json;
|
|
541
|
+
form_id: string;
|
|
542
|
+
id: string;
|
|
543
|
+
ip_address: string | null;
|
|
544
|
+
submitted_at: string | null;
|
|
545
|
+
user_agent: string | null;
|
|
546
|
+
user_id: string | null;
|
|
547
|
+
};
|
|
548
|
+
Insert: {
|
|
549
|
+
data?: import('./types').Json;
|
|
550
|
+
form_id: string;
|
|
551
|
+
id?: string;
|
|
552
|
+
ip_address?: string | null;
|
|
553
|
+
submitted_at?: string | null;
|
|
554
|
+
user_agent?: string | null;
|
|
555
|
+
user_id?: string | null;
|
|
556
|
+
};
|
|
557
|
+
Update: {
|
|
558
|
+
data?: import('./types').Json;
|
|
559
|
+
form_id?: string;
|
|
560
|
+
id?: string;
|
|
561
|
+
ip_address?: string | null;
|
|
562
|
+
submitted_at?: string | null;
|
|
563
|
+
user_agent?: string | null;
|
|
564
|
+
user_id?: string | null;
|
|
565
|
+
};
|
|
566
|
+
Relationships: [{
|
|
567
|
+
foreignKeyName: "form_submissions_form_id_fkey";
|
|
568
|
+
columns: ["form_id"];
|
|
569
|
+
isOneToOne: false;
|
|
570
|
+
referencedRelation: "forms";
|
|
571
|
+
referencedColumns: ["id"];
|
|
572
|
+
}];
|
|
573
|
+
};
|
|
574
|
+
form_templates: {
|
|
575
|
+
Row: {
|
|
576
|
+
category: string | null;
|
|
577
|
+
created_at: string | null;
|
|
578
|
+
description: string | null;
|
|
579
|
+
icon: string | null;
|
|
580
|
+
id: string;
|
|
581
|
+
is_public: boolean | null;
|
|
582
|
+
name: string;
|
|
583
|
+
template_data: import('./types').Json;
|
|
584
|
+
};
|
|
585
|
+
Insert: {
|
|
586
|
+
category?: string | null;
|
|
587
|
+
created_at?: string | null;
|
|
588
|
+
description?: string | null;
|
|
589
|
+
icon?: string | null;
|
|
590
|
+
id?: string;
|
|
591
|
+
is_public?: boolean | null;
|
|
592
|
+
name: string;
|
|
593
|
+
template_data: import('./types').Json;
|
|
594
|
+
};
|
|
595
|
+
Update: {
|
|
596
|
+
category?: string | null;
|
|
597
|
+
created_at?: string | null;
|
|
598
|
+
description?: string | null;
|
|
599
|
+
icon?: string | null;
|
|
600
|
+
id?: string;
|
|
601
|
+
is_public?: boolean | null;
|
|
602
|
+
name?: string;
|
|
603
|
+
template_data?: import('./types').Json;
|
|
604
|
+
};
|
|
605
|
+
Relationships: [];
|
|
606
|
+
};
|
|
607
|
+
forms: {
|
|
608
|
+
Row: {
|
|
609
|
+
allow_multiple_submissions: boolean | null;
|
|
610
|
+
created_at: string | null;
|
|
611
|
+
description: string | null;
|
|
612
|
+
id: string;
|
|
613
|
+
is_published: boolean | null;
|
|
614
|
+
name: string;
|
|
615
|
+
redirect_url: string | null;
|
|
616
|
+
require_authentication: boolean | null;
|
|
617
|
+
submit_button_text: string | null;
|
|
618
|
+
success_message: string | null;
|
|
619
|
+
title: string;
|
|
620
|
+
updated_at: string | null;
|
|
621
|
+
user_id: string;
|
|
622
|
+
};
|
|
623
|
+
Insert: {
|
|
624
|
+
allow_multiple_submissions?: boolean | null;
|
|
625
|
+
created_at?: string | null;
|
|
626
|
+
description?: string | null;
|
|
627
|
+
id?: string;
|
|
628
|
+
is_published?: boolean | null;
|
|
629
|
+
name: string;
|
|
630
|
+
redirect_url?: string | null;
|
|
631
|
+
require_authentication?: boolean | null;
|
|
632
|
+
submit_button_text?: string | null;
|
|
633
|
+
success_message?: string | null;
|
|
634
|
+
title: string;
|
|
635
|
+
updated_at?: string | null;
|
|
636
|
+
user_id: string;
|
|
637
|
+
};
|
|
638
|
+
Update: {
|
|
639
|
+
allow_multiple_submissions?: boolean | null;
|
|
640
|
+
created_at?: string | null;
|
|
641
|
+
description?: string | null;
|
|
642
|
+
id?: string;
|
|
643
|
+
is_published?: boolean | null;
|
|
644
|
+
name?: string;
|
|
645
|
+
redirect_url?: string | null;
|
|
646
|
+
require_authentication?: boolean | null;
|
|
647
|
+
submit_button_text?: string | null;
|
|
648
|
+
success_message?: string | null;
|
|
649
|
+
title?: string;
|
|
650
|
+
updated_at?: string | null;
|
|
651
|
+
user_id?: string;
|
|
652
|
+
};
|
|
653
|
+
Relationships: [];
|
|
654
|
+
};
|
|
655
|
+
layout_components: {
|
|
656
|
+
Row: {
|
|
657
|
+
column_index: number;
|
|
658
|
+
component_type: string;
|
|
659
|
+
content: import('./types').Json;
|
|
660
|
+
created_at: string;
|
|
661
|
+
id: string;
|
|
662
|
+
layout_id: string;
|
|
663
|
+
position: number;
|
|
664
|
+
row_id: string | null;
|
|
665
|
+
styles: import('./types').Json | null;
|
|
666
|
+
updated_at: string;
|
|
667
|
+
};
|
|
668
|
+
Insert: {
|
|
669
|
+
column_index?: number;
|
|
670
|
+
component_type: string;
|
|
671
|
+
content?: import('./types').Json;
|
|
672
|
+
created_at?: string;
|
|
673
|
+
id?: string;
|
|
674
|
+
layout_id: string;
|
|
675
|
+
position?: number;
|
|
676
|
+
row_id?: string | null;
|
|
677
|
+
styles?: import('./types').Json | null;
|
|
678
|
+
updated_at?: string;
|
|
679
|
+
};
|
|
680
|
+
Update: {
|
|
681
|
+
column_index?: number;
|
|
682
|
+
component_type?: string;
|
|
683
|
+
content?: import('./types').Json;
|
|
684
|
+
created_at?: string;
|
|
685
|
+
id?: string;
|
|
686
|
+
layout_id?: string;
|
|
687
|
+
position?: number;
|
|
688
|
+
row_id?: string | null;
|
|
689
|
+
styles?: import('./types').Json | null;
|
|
690
|
+
updated_at?: string;
|
|
691
|
+
};
|
|
692
|
+
Relationships: [{
|
|
693
|
+
foreignKeyName: "layout_components_layout_id_fkey";
|
|
694
|
+
columns: ["layout_id"];
|
|
695
|
+
isOneToOne: false;
|
|
696
|
+
referencedRelation: "layouts";
|
|
697
|
+
referencedColumns: ["id"];
|
|
698
|
+
}, {
|
|
699
|
+
foreignKeyName: "layout_components_row_id_fkey";
|
|
700
|
+
columns: ["row_id"];
|
|
701
|
+
isOneToOne: false;
|
|
702
|
+
referencedRelation: "layout_rows";
|
|
703
|
+
referencedColumns: ["id"];
|
|
704
|
+
}];
|
|
705
|
+
};
|
|
706
|
+
layout_rows: {
|
|
707
|
+
Row: {
|
|
708
|
+
column_widths: import('./types').Json | null;
|
|
709
|
+
columns: number;
|
|
710
|
+
created_at: string;
|
|
711
|
+
id: string;
|
|
712
|
+
layout_id: string;
|
|
713
|
+
position: number;
|
|
714
|
+
responsive_config: import('./types').Json | null;
|
|
715
|
+
styles: import('./types').Json | null;
|
|
716
|
+
updated_at: string;
|
|
717
|
+
};
|
|
718
|
+
Insert: {
|
|
719
|
+
column_widths?: import('./types').Json | null;
|
|
720
|
+
columns?: number;
|
|
721
|
+
created_at?: string;
|
|
722
|
+
id?: string;
|
|
723
|
+
layout_id: string;
|
|
724
|
+
position?: number;
|
|
725
|
+
responsive_config?: import('./types').Json | null;
|
|
726
|
+
styles?: import('./types').Json | null;
|
|
727
|
+
updated_at?: string;
|
|
728
|
+
};
|
|
729
|
+
Update: {
|
|
730
|
+
column_widths?: import('./types').Json | null;
|
|
731
|
+
columns?: number;
|
|
732
|
+
created_at?: string;
|
|
733
|
+
id?: string;
|
|
734
|
+
layout_id?: string;
|
|
735
|
+
position?: number;
|
|
736
|
+
responsive_config?: import('./types').Json | null;
|
|
737
|
+
styles?: import('./types').Json | null;
|
|
738
|
+
updated_at?: string;
|
|
739
|
+
};
|
|
740
|
+
Relationships: [{
|
|
741
|
+
foreignKeyName: "layout_rows_layout_id_fkey";
|
|
742
|
+
columns: ["layout_id"];
|
|
743
|
+
isOneToOne: false;
|
|
744
|
+
referencedRelation: "layouts";
|
|
745
|
+
referencedColumns: ["id"];
|
|
746
|
+
}];
|
|
747
|
+
};
|
|
748
|
+
layouts: {
|
|
749
|
+
Row: {
|
|
750
|
+
created_at: string;
|
|
751
|
+
id: string;
|
|
752
|
+
is_published: boolean;
|
|
753
|
+
title: string;
|
|
754
|
+
updated_at: string;
|
|
755
|
+
user_id: string;
|
|
756
|
+
};
|
|
757
|
+
Insert: {
|
|
758
|
+
created_at?: string;
|
|
759
|
+
id?: string;
|
|
760
|
+
is_published?: boolean;
|
|
761
|
+
title: string;
|
|
762
|
+
updated_at?: string;
|
|
763
|
+
user_id: string;
|
|
764
|
+
};
|
|
765
|
+
Update: {
|
|
766
|
+
created_at?: string;
|
|
767
|
+
id?: string;
|
|
768
|
+
is_published?: boolean;
|
|
769
|
+
title?: string;
|
|
770
|
+
updated_at?: string;
|
|
771
|
+
user_id?: string;
|
|
772
|
+
};
|
|
773
|
+
Relationships: [];
|
|
774
|
+
};
|
|
775
|
+
page_components: {
|
|
776
|
+
Row: {
|
|
777
|
+
column_index: number;
|
|
778
|
+
component_type: string;
|
|
779
|
+
content: import('./types').Json;
|
|
780
|
+
created_at: string;
|
|
781
|
+
id: string;
|
|
782
|
+
is_widget_instance: boolean;
|
|
783
|
+
page_id: string;
|
|
784
|
+
position: number;
|
|
785
|
+
row_id: string | null;
|
|
786
|
+
styles: import('./types').Json | null;
|
|
787
|
+
updated_at: string;
|
|
788
|
+
widget_id: string | null;
|
|
789
|
+
};
|
|
790
|
+
Insert: {
|
|
791
|
+
column_index?: number;
|
|
792
|
+
component_type: string;
|
|
793
|
+
content?: import('./types').Json;
|
|
794
|
+
created_at?: string;
|
|
795
|
+
id?: string;
|
|
796
|
+
is_widget_instance?: boolean;
|
|
797
|
+
page_id: string;
|
|
798
|
+
position?: number;
|
|
799
|
+
row_id?: string | null;
|
|
800
|
+
styles?: import('./types').Json | null;
|
|
801
|
+
updated_at?: string;
|
|
802
|
+
widget_id?: string | null;
|
|
803
|
+
};
|
|
804
|
+
Update: {
|
|
805
|
+
column_index?: number;
|
|
806
|
+
component_type?: string;
|
|
807
|
+
content?: import('./types').Json;
|
|
808
|
+
created_at?: string;
|
|
809
|
+
id?: string;
|
|
810
|
+
is_widget_instance?: boolean;
|
|
811
|
+
page_id?: string;
|
|
812
|
+
position?: number;
|
|
813
|
+
row_id?: string | null;
|
|
814
|
+
styles?: import('./types').Json | null;
|
|
815
|
+
updated_at?: string;
|
|
816
|
+
widget_id?: string | null;
|
|
817
|
+
};
|
|
818
|
+
Relationships: [{
|
|
819
|
+
foreignKeyName: "page_components_page_id_fkey";
|
|
820
|
+
columns: ["page_id"];
|
|
821
|
+
isOneToOne: false;
|
|
822
|
+
referencedRelation: "pages";
|
|
823
|
+
referencedColumns: ["id"];
|
|
824
|
+
}, {
|
|
825
|
+
foreignKeyName: "page_components_row_id_fkey";
|
|
826
|
+
columns: ["row_id"];
|
|
827
|
+
isOneToOne: false;
|
|
828
|
+
referencedRelation: "page_rows";
|
|
829
|
+
referencedColumns: ["id"];
|
|
830
|
+
}, {
|
|
831
|
+
foreignKeyName: "page_components_widget_id_fkey";
|
|
832
|
+
columns: ["widget_id"];
|
|
833
|
+
isOneToOne: false;
|
|
834
|
+
referencedRelation: "widgets";
|
|
835
|
+
referencedColumns: ["id"];
|
|
836
|
+
}];
|
|
837
|
+
};
|
|
838
|
+
page_rows: {
|
|
839
|
+
Row: {
|
|
840
|
+
column_widths: import('./types').Json | null;
|
|
841
|
+
columns: number;
|
|
842
|
+
created_at: string;
|
|
843
|
+
id: string;
|
|
844
|
+
page_id: string;
|
|
845
|
+
position: number;
|
|
846
|
+
responsive_config: import('./types').Json | null;
|
|
847
|
+
styles: import('./types').Json | null;
|
|
848
|
+
updated_at: string;
|
|
849
|
+
};
|
|
850
|
+
Insert: {
|
|
851
|
+
column_widths?: import('./types').Json | null;
|
|
852
|
+
columns?: number;
|
|
853
|
+
created_at?: string;
|
|
854
|
+
id?: string;
|
|
855
|
+
page_id: string;
|
|
856
|
+
position?: number;
|
|
857
|
+
responsive_config?: import('./types').Json | null;
|
|
858
|
+
styles?: import('./types').Json | null;
|
|
859
|
+
updated_at?: string;
|
|
860
|
+
};
|
|
861
|
+
Update: {
|
|
862
|
+
column_widths?: import('./types').Json | null;
|
|
863
|
+
columns?: number;
|
|
864
|
+
created_at?: string;
|
|
865
|
+
id?: string;
|
|
866
|
+
page_id?: string;
|
|
867
|
+
position?: number;
|
|
868
|
+
responsive_config?: import('./types').Json | null;
|
|
869
|
+
styles?: import('./types').Json | null;
|
|
870
|
+
updated_at?: string;
|
|
871
|
+
};
|
|
872
|
+
Relationships: [{
|
|
873
|
+
foreignKeyName: "page_rows_page_id_fkey";
|
|
874
|
+
columns: ["page_id"];
|
|
875
|
+
isOneToOne: false;
|
|
876
|
+
referencedRelation: "pages";
|
|
877
|
+
referencedColumns: ["id"];
|
|
878
|
+
}];
|
|
879
|
+
};
|
|
880
|
+
page_versions: {
|
|
881
|
+
Row: {
|
|
882
|
+
created_at: string;
|
|
883
|
+
created_by: string | null;
|
|
884
|
+
description: string | null;
|
|
885
|
+
id: string;
|
|
886
|
+
page_data: import('./types').Json;
|
|
887
|
+
page_id: string;
|
|
888
|
+
version_number: number;
|
|
889
|
+
};
|
|
890
|
+
Insert: {
|
|
891
|
+
created_at?: string;
|
|
892
|
+
created_by?: string | null;
|
|
893
|
+
description?: string | null;
|
|
894
|
+
id?: string;
|
|
895
|
+
page_data: import('./types').Json;
|
|
896
|
+
page_id: string;
|
|
897
|
+
version_number: number;
|
|
898
|
+
};
|
|
899
|
+
Update: {
|
|
900
|
+
created_at?: string;
|
|
901
|
+
created_by?: string | null;
|
|
902
|
+
description?: string | null;
|
|
903
|
+
id?: string;
|
|
904
|
+
page_data?: import('./types').Json;
|
|
905
|
+
page_id?: string;
|
|
906
|
+
version_number?: number;
|
|
907
|
+
};
|
|
908
|
+
Relationships: [{
|
|
909
|
+
foreignKeyName: "page_versions_page_id_fkey";
|
|
910
|
+
columns: ["page_id"];
|
|
911
|
+
isOneToOne: false;
|
|
912
|
+
referencedRelation: "pages";
|
|
913
|
+
referencedColumns: ["id"];
|
|
914
|
+
}];
|
|
915
|
+
};
|
|
916
|
+
pages: {
|
|
917
|
+
Row: {
|
|
918
|
+
created_at: string;
|
|
919
|
+
id: string;
|
|
920
|
+
is_published: boolean;
|
|
921
|
+
layout_id: string | null;
|
|
922
|
+
menu_order: number;
|
|
923
|
+
page_data: import('./types').Json | null;
|
|
924
|
+
slug: string;
|
|
925
|
+
title: string;
|
|
926
|
+
updated_at: string;
|
|
927
|
+
user_id: string;
|
|
928
|
+
};
|
|
929
|
+
Insert: {
|
|
930
|
+
created_at?: string;
|
|
931
|
+
id?: string;
|
|
932
|
+
is_published?: boolean;
|
|
933
|
+
layout_id?: string | null;
|
|
934
|
+
menu_order?: number;
|
|
935
|
+
page_data?: import('./types').Json | null;
|
|
936
|
+
slug: string;
|
|
937
|
+
title: string;
|
|
938
|
+
updated_at?: string;
|
|
939
|
+
user_id: string;
|
|
940
|
+
};
|
|
941
|
+
Update: {
|
|
942
|
+
created_at?: string;
|
|
943
|
+
id?: string;
|
|
944
|
+
is_published?: boolean;
|
|
945
|
+
layout_id?: string | null;
|
|
946
|
+
menu_order?: number;
|
|
947
|
+
page_data?: import('./types').Json | null;
|
|
948
|
+
slug?: string;
|
|
949
|
+
title?: string;
|
|
950
|
+
updated_at?: string;
|
|
951
|
+
user_id?: string;
|
|
952
|
+
};
|
|
953
|
+
Relationships: [{
|
|
954
|
+
foreignKeyName: "pages_layout_id_fkey";
|
|
955
|
+
columns: ["layout_id"];
|
|
956
|
+
isOneToOne: false;
|
|
957
|
+
referencedRelation: "layouts";
|
|
958
|
+
referencedColumns: ["id"];
|
|
959
|
+
}];
|
|
960
|
+
};
|
|
961
|
+
profiles: {
|
|
962
|
+
Row: {
|
|
963
|
+
created_at: string;
|
|
964
|
+
email: string;
|
|
965
|
+
id: string;
|
|
966
|
+
updated_at: string;
|
|
967
|
+
};
|
|
968
|
+
Insert: {
|
|
969
|
+
created_at?: string;
|
|
970
|
+
email: string;
|
|
971
|
+
id: string;
|
|
972
|
+
updated_at?: string;
|
|
973
|
+
};
|
|
974
|
+
Update: {
|
|
975
|
+
created_at?: string;
|
|
976
|
+
email?: string;
|
|
977
|
+
id?: string;
|
|
978
|
+
updated_at?: string;
|
|
979
|
+
};
|
|
980
|
+
Relationships: [];
|
|
981
|
+
};
|
|
982
|
+
queries: {
|
|
983
|
+
Row: {
|
|
984
|
+
created_at: string | null;
|
|
985
|
+
description: string | null;
|
|
986
|
+
display_name: string;
|
|
987
|
+
id: string;
|
|
988
|
+
is_published: boolean | null;
|
|
989
|
+
name: string;
|
|
990
|
+
query_type: string;
|
|
991
|
+
updated_at: string | null;
|
|
992
|
+
user_id: string;
|
|
993
|
+
};
|
|
994
|
+
Insert: {
|
|
995
|
+
created_at?: string | null;
|
|
996
|
+
description?: string | null;
|
|
997
|
+
display_name: string;
|
|
998
|
+
id?: string;
|
|
999
|
+
is_published?: boolean | null;
|
|
1000
|
+
name: string;
|
|
1001
|
+
query_type: string;
|
|
1002
|
+
updated_at?: string | null;
|
|
1003
|
+
user_id: string;
|
|
1004
|
+
};
|
|
1005
|
+
Update: {
|
|
1006
|
+
created_at?: string | null;
|
|
1007
|
+
description?: string | null;
|
|
1008
|
+
display_name?: string;
|
|
1009
|
+
id?: string;
|
|
1010
|
+
is_published?: boolean | null;
|
|
1011
|
+
name?: string;
|
|
1012
|
+
query_type?: string;
|
|
1013
|
+
updated_at?: string | null;
|
|
1014
|
+
user_id?: string;
|
|
1015
|
+
};
|
|
1016
|
+
Relationships: [];
|
|
1017
|
+
};
|
|
1018
|
+
query_conditions: {
|
|
1019
|
+
Row: {
|
|
1020
|
+
created_at: string | null;
|
|
1021
|
+
entity_id: string | null;
|
|
1022
|
+
field_name: string | null;
|
|
1023
|
+
id: string;
|
|
1024
|
+
is_group: boolean | null;
|
|
1025
|
+
logic: string | null;
|
|
1026
|
+
operator: string | null;
|
|
1027
|
+
parent_condition_id: string | null;
|
|
1028
|
+
position: number;
|
|
1029
|
+
query_id: string;
|
|
1030
|
+
value: string | null;
|
|
1031
|
+
};
|
|
1032
|
+
Insert: {
|
|
1033
|
+
created_at?: string | null;
|
|
1034
|
+
entity_id?: string | null;
|
|
1035
|
+
field_name?: string | null;
|
|
1036
|
+
id?: string;
|
|
1037
|
+
is_group?: boolean | null;
|
|
1038
|
+
logic?: string | null;
|
|
1039
|
+
operator?: string | null;
|
|
1040
|
+
parent_condition_id?: string | null;
|
|
1041
|
+
position?: number;
|
|
1042
|
+
query_id: string;
|
|
1043
|
+
value?: string | null;
|
|
1044
|
+
};
|
|
1045
|
+
Update: {
|
|
1046
|
+
created_at?: string | null;
|
|
1047
|
+
entity_id?: string | null;
|
|
1048
|
+
field_name?: string | null;
|
|
1049
|
+
id?: string;
|
|
1050
|
+
is_group?: boolean | null;
|
|
1051
|
+
logic?: string | null;
|
|
1052
|
+
operator?: string | null;
|
|
1053
|
+
parent_condition_id?: string | null;
|
|
1054
|
+
position?: number;
|
|
1055
|
+
query_id?: string;
|
|
1056
|
+
value?: string | null;
|
|
1057
|
+
};
|
|
1058
|
+
Relationships: [{
|
|
1059
|
+
foreignKeyName: "query_conditions_entity_id_fkey";
|
|
1060
|
+
columns: ["entity_id"];
|
|
1061
|
+
isOneToOne: false;
|
|
1062
|
+
referencedRelation: "entities";
|
|
1063
|
+
referencedColumns: ["id"];
|
|
1064
|
+
}, {
|
|
1065
|
+
foreignKeyName: "query_conditions_parent_condition_id_fkey";
|
|
1066
|
+
columns: ["parent_condition_id"];
|
|
1067
|
+
isOneToOne: false;
|
|
1068
|
+
referencedRelation: "query_conditions";
|
|
1069
|
+
referencedColumns: ["id"];
|
|
1070
|
+
}, {
|
|
1071
|
+
foreignKeyName: "query_conditions_query_id_fkey";
|
|
1072
|
+
columns: ["query_id"];
|
|
1073
|
+
isOneToOne: false;
|
|
1074
|
+
referencedRelation: "queries";
|
|
1075
|
+
referencedColumns: ["id"];
|
|
1076
|
+
}];
|
|
1077
|
+
};
|
|
1078
|
+
query_fields: {
|
|
1079
|
+
Row: {
|
|
1080
|
+
aggregation: string | null;
|
|
1081
|
+
created_at: string | null;
|
|
1082
|
+
entity_id: string;
|
|
1083
|
+
field_name: string;
|
|
1084
|
+
id: string;
|
|
1085
|
+
position: number;
|
|
1086
|
+
query_id: string;
|
|
1087
|
+
};
|
|
1088
|
+
Insert: {
|
|
1089
|
+
aggregation?: string | null;
|
|
1090
|
+
created_at?: string | null;
|
|
1091
|
+
entity_id: string;
|
|
1092
|
+
field_name: string;
|
|
1093
|
+
id?: string;
|
|
1094
|
+
position?: number;
|
|
1095
|
+
query_id: string;
|
|
1096
|
+
};
|
|
1097
|
+
Update: {
|
|
1098
|
+
aggregation?: string | null;
|
|
1099
|
+
created_at?: string | null;
|
|
1100
|
+
entity_id?: string;
|
|
1101
|
+
field_name?: string;
|
|
1102
|
+
id?: string;
|
|
1103
|
+
position?: number;
|
|
1104
|
+
query_id?: string;
|
|
1105
|
+
};
|
|
1106
|
+
Relationships: [{
|
|
1107
|
+
foreignKeyName: "query_fields_entity_id_fkey";
|
|
1108
|
+
columns: ["entity_id"];
|
|
1109
|
+
isOneToOne: false;
|
|
1110
|
+
referencedRelation: "entities";
|
|
1111
|
+
referencedColumns: ["id"];
|
|
1112
|
+
}, {
|
|
1113
|
+
foreignKeyName: "query_fields_query_id_fkey";
|
|
1114
|
+
columns: ["query_id"];
|
|
1115
|
+
isOneToOne: false;
|
|
1116
|
+
referencedRelation: "queries";
|
|
1117
|
+
referencedColumns: ["id"];
|
|
1118
|
+
}];
|
|
1119
|
+
};
|
|
1120
|
+
query_join_conditions: {
|
|
1121
|
+
Row: {
|
|
1122
|
+
created_at: string | null;
|
|
1123
|
+
id: string;
|
|
1124
|
+
join_id: string;
|
|
1125
|
+
logic: string | null;
|
|
1126
|
+
position: number;
|
|
1127
|
+
primary_field: string;
|
|
1128
|
+
target_field: string;
|
|
1129
|
+
};
|
|
1130
|
+
Insert: {
|
|
1131
|
+
created_at?: string | null;
|
|
1132
|
+
id?: string;
|
|
1133
|
+
join_id: string;
|
|
1134
|
+
logic?: string | null;
|
|
1135
|
+
position?: number;
|
|
1136
|
+
primary_field: string;
|
|
1137
|
+
target_field: string;
|
|
1138
|
+
};
|
|
1139
|
+
Update: {
|
|
1140
|
+
created_at?: string | null;
|
|
1141
|
+
id?: string;
|
|
1142
|
+
join_id?: string;
|
|
1143
|
+
logic?: string | null;
|
|
1144
|
+
position?: number;
|
|
1145
|
+
primary_field?: string;
|
|
1146
|
+
target_field?: string;
|
|
1147
|
+
};
|
|
1148
|
+
Relationships: [{
|
|
1149
|
+
foreignKeyName: "query_join_conditions_join_id_fkey";
|
|
1150
|
+
columns: ["join_id"];
|
|
1151
|
+
isOneToOne: false;
|
|
1152
|
+
referencedRelation: "query_joins";
|
|
1153
|
+
referencedColumns: ["id"];
|
|
1154
|
+
}];
|
|
1155
|
+
};
|
|
1156
|
+
query_joins: {
|
|
1157
|
+
Row: {
|
|
1158
|
+
created_at: string | null;
|
|
1159
|
+
id: string;
|
|
1160
|
+
is_group: boolean | null;
|
|
1161
|
+
join_type: string | null;
|
|
1162
|
+
parent_join_id: string | null;
|
|
1163
|
+
position: number;
|
|
1164
|
+
primary_field: string | null;
|
|
1165
|
+
query_id: string;
|
|
1166
|
+
target_entity_id: string | null;
|
|
1167
|
+
target_field: string | null;
|
|
1168
|
+
};
|
|
1169
|
+
Insert: {
|
|
1170
|
+
created_at?: string | null;
|
|
1171
|
+
id?: string;
|
|
1172
|
+
is_group?: boolean | null;
|
|
1173
|
+
join_type?: string | null;
|
|
1174
|
+
parent_join_id?: string | null;
|
|
1175
|
+
position?: number;
|
|
1176
|
+
primary_field?: string | null;
|
|
1177
|
+
query_id: string;
|
|
1178
|
+
target_entity_id?: string | null;
|
|
1179
|
+
target_field?: string | null;
|
|
1180
|
+
};
|
|
1181
|
+
Update: {
|
|
1182
|
+
created_at?: string | null;
|
|
1183
|
+
id?: string;
|
|
1184
|
+
is_group?: boolean | null;
|
|
1185
|
+
join_type?: string | null;
|
|
1186
|
+
parent_join_id?: string | null;
|
|
1187
|
+
position?: number;
|
|
1188
|
+
primary_field?: string | null;
|
|
1189
|
+
query_id?: string;
|
|
1190
|
+
target_entity_id?: string | null;
|
|
1191
|
+
target_field?: string | null;
|
|
1192
|
+
};
|
|
1193
|
+
Relationships: [{
|
|
1194
|
+
foreignKeyName: "query_joins_parent_join_id_fkey";
|
|
1195
|
+
columns: ["parent_join_id"];
|
|
1196
|
+
isOneToOne: false;
|
|
1197
|
+
referencedRelation: "query_joins";
|
|
1198
|
+
referencedColumns: ["id"];
|
|
1199
|
+
}, {
|
|
1200
|
+
foreignKeyName: "query_joins_query_id_fkey";
|
|
1201
|
+
columns: ["query_id"];
|
|
1202
|
+
isOneToOne: false;
|
|
1203
|
+
referencedRelation: "queries";
|
|
1204
|
+
referencedColumns: ["id"];
|
|
1205
|
+
}, {
|
|
1206
|
+
foreignKeyName: "query_joins_target_entity_id_fkey";
|
|
1207
|
+
columns: ["target_entity_id"];
|
|
1208
|
+
isOneToOne: false;
|
|
1209
|
+
referencedRelation: "entities";
|
|
1210
|
+
referencedColumns: ["id"];
|
|
1211
|
+
}];
|
|
1212
|
+
};
|
|
1213
|
+
query_settings: {
|
|
1214
|
+
Row: {
|
|
1215
|
+
created_at: string | null;
|
|
1216
|
+
display_style: string | null;
|
|
1217
|
+
group_by: import('./types').Json | null;
|
|
1218
|
+
id: string;
|
|
1219
|
+
limit_rows: number | null;
|
|
1220
|
+
primary_entity_id: string;
|
|
1221
|
+
query_id: string;
|
|
1222
|
+
show_row_numbers: boolean | null;
|
|
1223
|
+
sort_entity_id: string | null;
|
|
1224
|
+
sort_field: string | null;
|
|
1225
|
+
sort_order: string | null;
|
|
1226
|
+
updated_at: string | null;
|
|
1227
|
+
};
|
|
1228
|
+
Insert: {
|
|
1229
|
+
created_at?: string | null;
|
|
1230
|
+
display_style?: string | null;
|
|
1231
|
+
group_by?: import('./types').Json | null;
|
|
1232
|
+
id?: string;
|
|
1233
|
+
limit_rows?: number | null;
|
|
1234
|
+
primary_entity_id: string;
|
|
1235
|
+
query_id: string;
|
|
1236
|
+
show_row_numbers?: boolean | null;
|
|
1237
|
+
sort_entity_id?: string | null;
|
|
1238
|
+
sort_field?: string | null;
|
|
1239
|
+
sort_order?: string | null;
|
|
1240
|
+
updated_at?: string | null;
|
|
1241
|
+
};
|
|
1242
|
+
Update: {
|
|
1243
|
+
created_at?: string | null;
|
|
1244
|
+
display_style?: string | null;
|
|
1245
|
+
group_by?: import('./types').Json | null;
|
|
1246
|
+
id?: string;
|
|
1247
|
+
limit_rows?: number | null;
|
|
1248
|
+
primary_entity_id?: string;
|
|
1249
|
+
query_id?: string;
|
|
1250
|
+
show_row_numbers?: boolean | null;
|
|
1251
|
+
sort_entity_id?: string | null;
|
|
1252
|
+
sort_field?: string | null;
|
|
1253
|
+
sort_order?: string | null;
|
|
1254
|
+
updated_at?: string | null;
|
|
1255
|
+
};
|
|
1256
|
+
Relationships: [{
|
|
1257
|
+
foreignKeyName: "query_settings_primary_entity_id_fkey";
|
|
1258
|
+
columns: ["primary_entity_id"];
|
|
1259
|
+
isOneToOne: false;
|
|
1260
|
+
referencedRelation: "entities";
|
|
1261
|
+
referencedColumns: ["id"];
|
|
1262
|
+
}, {
|
|
1263
|
+
foreignKeyName: "query_settings_query_id_fkey";
|
|
1264
|
+
columns: ["query_id"];
|
|
1265
|
+
isOneToOne: true;
|
|
1266
|
+
referencedRelation: "queries";
|
|
1267
|
+
referencedColumns: ["id"];
|
|
1268
|
+
}, {
|
|
1269
|
+
foreignKeyName: "query_settings_sort_entity_id_fkey";
|
|
1270
|
+
columns: ["sort_entity_id"];
|
|
1271
|
+
isOneToOne: false;
|
|
1272
|
+
referencedRelation: "entities";
|
|
1273
|
+
referencedColumns: ["id"];
|
|
1274
|
+
}];
|
|
1275
|
+
};
|
|
1276
|
+
section_templates: {
|
|
1277
|
+
Row: {
|
|
1278
|
+
category: string;
|
|
1279
|
+
created_at: string | null;
|
|
1280
|
+
created_by: string | null;
|
|
1281
|
+
description: string | null;
|
|
1282
|
+
id: string;
|
|
1283
|
+
is_public: boolean | null;
|
|
1284
|
+
name: string;
|
|
1285
|
+
template_data: import('./types').Json;
|
|
1286
|
+
thumbnail_url: string | null;
|
|
1287
|
+
};
|
|
1288
|
+
Insert: {
|
|
1289
|
+
category: string;
|
|
1290
|
+
created_at?: string | null;
|
|
1291
|
+
created_by?: string | null;
|
|
1292
|
+
description?: string | null;
|
|
1293
|
+
id?: string;
|
|
1294
|
+
is_public?: boolean | null;
|
|
1295
|
+
name: string;
|
|
1296
|
+
template_data: import('./types').Json;
|
|
1297
|
+
thumbnail_url?: string | null;
|
|
1298
|
+
};
|
|
1299
|
+
Update: {
|
|
1300
|
+
category?: string;
|
|
1301
|
+
created_at?: string | null;
|
|
1302
|
+
created_by?: string | null;
|
|
1303
|
+
description?: string | null;
|
|
1304
|
+
id?: string;
|
|
1305
|
+
is_public?: boolean | null;
|
|
1306
|
+
name?: string;
|
|
1307
|
+
template_data?: import('./types').Json;
|
|
1308
|
+
thumbnail_url?: string | null;
|
|
1309
|
+
};
|
|
1310
|
+
Relationships: [{
|
|
1311
|
+
foreignKeyName: "section_templates_created_by_fkey";
|
|
1312
|
+
columns: ["created_by"];
|
|
1313
|
+
isOneToOne: false;
|
|
1314
|
+
referencedRelation: "profiles";
|
|
1315
|
+
referencedColumns: ["id"];
|
|
1316
|
+
}];
|
|
1317
|
+
};
|
|
1318
|
+
widget_components: {
|
|
1319
|
+
Row: {
|
|
1320
|
+
column_index: number;
|
|
1321
|
+
component_type: string;
|
|
1322
|
+
content: import('./types').Json;
|
|
1323
|
+
created_at: string;
|
|
1324
|
+
id: string;
|
|
1325
|
+
position: number;
|
|
1326
|
+
row_id: string | null;
|
|
1327
|
+
styles: import('./types').Json | null;
|
|
1328
|
+
updated_at: string;
|
|
1329
|
+
widget_id: string;
|
|
1330
|
+
};
|
|
1331
|
+
Insert: {
|
|
1332
|
+
column_index?: number;
|
|
1333
|
+
component_type: string;
|
|
1334
|
+
content?: import('./types').Json;
|
|
1335
|
+
created_at?: string;
|
|
1336
|
+
id?: string;
|
|
1337
|
+
position?: number;
|
|
1338
|
+
row_id?: string | null;
|
|
1339
|
+
styles?: import('./types').Json | null;
|
|
1340
|
+
updated_at?: string;
|
|
1341
|
+
widget_id: string;
|
|
1342
|
+
};
|
|
1343
|
+
Update: {
|
|
1344
|
+
column_index?: number;
|
|
1345
|
+
component_type?: string;
|
|
1346
|
+
content?: import('./types').Json;
|
|
1347
|
+
created_at?: string;
|
|
1348
|
+
id?: string;
|
|
1349
|
+
position?: number;
|
|
1350
|
+
row_id?: string | null;
|
|
1351
|
+
styles?: import('./types').Json | null;
|
|
1352
|
+
updated_at?: string;
|
|
1353
|
+
widget_id?: string;
|
|
1354
|
+
};
|
|
1355
|
+
Relationships: [{
|
|
1356
|
+
foreignKeyName: "widget_components_row_id_fkey";
|
|
1357
|
+
columns: ["row_id"];
|
|
1358
|
+
isOneToOne: false;
|
|
1359
|
+
referencedRelation: "widget_rows";
|
|
1360
|
+
referencedColumns: ["id"];
|
|
1361
|
+
}, {
|
|
1362
|
+
foreignKeyName: "widget_components_widget_id_fkey";
|
|
1363
|
+
columns: ["widget_id"];
|
|
1364
|
+
isOneToOne: false;
|
|
1365
|
+
referencedRelation: "widgets";
|
|
1366
|
+
referencedColumns: ["id"];
|
|
1367
|
+
}];
|
|
1368
|
+
};
|
|
1369
|
+
widget_rows: {
|
|
1370
|
+
Row: {
|
|
1371
|
+
column_widths: import('./types').Json | null;
|
|
1372
|
+
columns: number;
|
|
1373
|
+
created_at: string;
|
|
1374
|
+
id: string;
|
|
1375
|
+
position: number;
|
|
1376
|
+
responsive_config: import('./types').Json | null;
|
|
1377
|
+
styles: import('./types').Json | null;
|
|
1378
|
+
updated_at: string;
|
|
1379
|
+
widget_id: string;
|
|
1380
|
+
};
|
|
1381
|
+
Insert: {
|
|
1382
|
+
column_widths?: import('./types').Json | null;
|
|
1383
|
+
columns?: number;
|
|
1384
|
+
created_at?: string;
|
|
1385
|
+
id?: string;
|
|
1386
|
+
position?: number;
|
|
1387
|
+
responsive_config?: import('./types').Json | null;
|
|
1388
|
+
styles?: import('./types').Json | null;
|
|
1389
|
+
updated_at?: string;
|
|
1390
|
+
widget_id: string;
|
|
1391
|
+
};
|
|
1392
|
+
Update: {
|
|
1393
|
+
column_widths?: import('./types').Json | null;
|
|
1394
|
+
columns?: number;
|
|
1395
|
+
created_at?: string;
|
|
1396
|
+
id?: string;
|
|
1397
|
+
position?: number;
|
|
1398
|
+
responsive_config?: import('./types').Json | null;
|
|
1399
|
+
styles?: import('./types').Json | null;
|
|
1400
|
+
updated_at?: string;
|
|
1401
|
+
widget_id?: string;
|
|
1402
|
+
};
|
|
1403
|
+
Relationships: [{
|
|
1404
|
+
foreignKeyName: "widget_rows_widget_id_fkey";
|
|
1405
|
+
columns: ["widget_id"];
|
|
1406
|
+
isOneToOne: false;
|
|
1407
|
+
referencedRelation: "widgets";
|
|
1408
|
+
referencedColumns: ["id"];
|
|
1409
|
+
}];
|
|
1410
|
+
};
|
|
1411
|
+
widgets: {
|
|
1412
|
+
Row: {
|
|
1413
|
+
category: string | null;
|
|
1414
|
+
created_at: string;
|
|
1415
|
+
id: string;
|
|
1416
|
+
is_published: boolean;
|
|
1417
|
+
title: string;
|
|
1418
|
+
updated_at: string;
|
|
1419
|
+
user_id: string;
|
|
1420
|
+
};
|
|
1421
|
+
Insert: {
|
|
1422
|
+
category?: string | null;
|
|
1423
|
+
created_at?: string;
|
|
1424
|
+
id?: string;
|
|
1425
|
+
is_published?: boolean;
|
|
1426
|
+
title: string;
|
|
1427
|
+
updated_at?: string;
|
|
1428
|
+
user_id: string;
|
|
1429
|
+
};
|
|
1430
|
+
Update: {
|
|
1431
|
+
category?: string | null;
|
|
1432
|
+
created_at?: string;
|
|
1433
|
+
id?: string;
|
|
1434
|
+
is_published?: boolean;
|
|
1435
|
+
title?: string;
|
|
1436
|
+
updated_at?: string;
|
|
1437
|
+
user_id?: string;
|
|
1438
|
+
};
|
|
1439
|
+
Relationships: [];
|
|
1440
|
+
};
|
|
1441
|
+
};
|
|
1442
|
+
Views: { [_ in never]: never; };
|
|
1443
|
+
Functions: { [_ in never]: never; };
|
|
1444
|
+
Enums: {
|
|
1445
|
+
entity_field_type: "text" | "number" | "boolean" | "date" | "longtext" | "image" | "url";
|
|
1446
|
+
};
|
|
1447
|
+
CompositeTypes: { [_ in never]: never; };
|
|
1448
|
+
}, {
|
|
1449
|
+
PostgrestVersion: "13.0.5";
|
|
1450
|
+
}>;
|