From 4cf5b989e0bf60f9f365d00f265ed6cf667a9d54 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Sat, 14 Dec 2024 17:02:34 +0100 Subject: [PATCH] builder layout start --- src/components/queryBuilder/BuilderHost.vue | 55 +++++++++++++++++++++ src/viewmodels/admin/query.models.ts | 5 ++ src/views/admin/club/query/Builder.vue | 4 +- 3 files changed, 63 insertions(+), 1 deletion(-) create mode 100644 src/components/queryBuilder/BuilderHost.vue diff --git a/src/components/queryBuilder/BuilderHost.vue b/src/components/queryBuilder/BuilderHost.vue new file mode 100644 index 0000000..b2924de --- /dev/null +++ b/src/components/queryBuilder/BuilderHost.vue @@ -0,0 +1,55 @@ + + + + + diff --git a/src/viewmodels/admin/query.models.ts b/src/viewmodels/admin/query.models.ts index d9a6887..f3d9616 100644 --- a/src/viewmodels/admin/query.models.ts +++ b/src/viewmodels/admin/query.models.ts @@ -3,3 +3,8 @@ export interface TableMeta { columns: Array<{ column: string; type: string }>; relations: Array<{ column: string; relationType: string; referencedTableName: string }>; } + +export interface QueryViewModel { + id: number; + query: string; +} diff --git a/src/views/admin/club/query/Builder.vue b/src/views/admin/club/query/Builder.vue index e846866..0c8d8ce 100644 --- a/src/views/admin/club/query/Builder.vue +++ b/src/views/admin/club/query/Builder.vue @@ -7,7 +7,8 @@