From 305ac3dbf6a3f49597f3acfe45e14c2d123b9d20 Mon Sep 17 00:00:00 2001 From: opbnq-q Date: Sat, 19 Apr 2025 13:20:10 +0700 Subject: [PATCH] update imports --- generation/templates/scheme.tmpl | 2 +- generation/templates/service.tmpl | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/generation/templates/scheme.tmpl b/generation/templates/scheme.tmpl index 927f118..7259d67 100644 --- a/generation/templates/scheme.tmpl +++ b/generation/templates/scheme.tmpl @@ -4,7 +4,7 @@ import { onMounted, reactive } from 'vue' import { getDefaultValues } from '../utils/structs/defaults.util' import Service from './{{.LowerName}}.service' import type { Scheme } from '../types/scheme.type' -import { {{.StructName}} } from '../../bindings/github.com/kuzgoga/nto-boilerplate/internal/services' +import { {{.StructName}} } from '../../bindings/wails_tables/internal/services' import { ref } from 'vue' import type { Validate } from "../types/validate.type"; import { getDefaultSortOptions } from "../utils/structs/default-sort-options.util"; diff --git a/generation/templates/service.tmpl b/generation/templates/service.tmpl index 5a06d9d..38ffd4f 100644 --- a/generation/templates/service.tmpl +++ b/generation/templates/service.tmpl @@ -1,5 +1,5 @@ -import { GetAll, Create, Delete, GetById, Update, Count, SortedByOrder, SearchByAllTextFields } from "../../bindings/github.com/kuzgoga/nto-boilerplate/internal/services/{{.LowerModelName}}service" -import type { {{.ModelName}} } from "../../bindings/github.com/kuzgoga/nto-boilerplate/internal/services" +import { GetAll, Create, Delete, GetById, Update, Count, SortedByOrder, SearchByAllTextFields } from "../../bindings/wails_tables/internal/services/{{.LowerModelName}}service"; +import type { {{.ModelName}} } from "../../bindings/wails_tables/internal/models"; import type { IService } from "../types/service.type" import type { SortOptions } from "../types/sort-options.type";