mirror of
https://github.com/opbnq-q/nto-cli.git
synced 2025-12-06 15:50:34 +07:00
fix: imports
This commit is contained in:
@@ -2,15 +2,14 @@
|
|||||||
import Table from '../table/Table.vue'
|
import Table from '../table/Table.vue'
|
||||||
import { onMounted, reactive } from 'vue'
|
import { onMounted, reactive } from 'vue'
|
||||||
import { getDefaultValues } from '../utils/structs/defaults.util'
|
import { getDefaultValues } from '../utils/structs/defaults.util'
|
||||||
import Service from './{{.LowerName}}.service.ts'
|
import Service from './{{.LowerName}}.service'
|
||||||
import type { Scheme } from '../types/scheme.type'
|
import type { Scheme } from '../types/scheme.type'
|
||||||
import { {{.StructName}} } from '{{.GolangServicesPath}}'
|
import { {{.StructName}} } from '{{.GolangServicesPath}}'
|
||||||
import { ref } from 'vue'
|
import { ref } from 'vue'
|
||||||
import type { Validate } from "../types/validate.type";
|
import type { Validate } from "../types/validate.type";
|
||||||
import { getDefaultSortOptions } from "../utils/structs/default-sort-options.util.ts";
|
import { getDefaultSortOptions } from "../utils/structs/default-sort-options.util";
|
||||||
import type { Validate } from '../types/validate.type'
|
|
||||||
{{range .Dependencies}}
|
{{range .Dependencies}}
|
||||||
import {{.ImportName}} from '../{{.LowerName}}/{{.LowerName}}.service.ts'
|
import {{.ImportName}} from '../{{.LowerName}}/{{.LowerName}}.service'
|
||||||
const {{.ServiceName}} = new {{.ImportName}}
|
const {{.ServiceName}} = new {{.ImportName}}
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
import { GetAll, Create, Delete, GetById, Update, Count, SortedByOrder, SearchByAllTextFields } from "../../bindings/app/internal/services/{{.LowerModelName}}service.ts"
|
import { GetAll, Create, Delete, GetById, Update, Count, SortedByOrder, SearchByAllTextFields } from "../../bindings/app/internal/services/{{.LowerModelName}}service"
|
||||||
import type { {{.ModelName}} } from "{{.ServicesPath}}"
|
import type { {{.ModelName}} } from "{{.ServicesPath}}"
|
||||||
import type { IService } from "../types/service.type.ts"
|
import type { IService } from "../types/service.type"
|
||||||
import type { SortOptions } from "../types/sort-options.type.ts";
|
import type { SortOptions } from "../types/sort-options.type";
|
||||||
|
|
||||||
|
|
||||||
export default class {{.ModelName}}Service implements IService<{{.ModelName}}> {
|
export default class {{.ModelName}}Service implements IService<{{.ModelName}}> {
|
||||||
|
|||||||
Reference in New Issue
Block a user