types
This commit is contained in:
parent
6847ae083e
commit
509daeac1b
5 changed files with 15 additions and 9 deletions
|
@ -6,12 +6,13 @@ import type {
|
|||
} from "@/viewmodels/admin/communicationType.models";
|
||||
import { http } from "@/serverCom";
|
||||
import type { AxiosResponse } from "axios";
|
||||
import type { CommunicationFieldType } from "../../types/fieldTypes";
|
||||
|
||||
export const useCommunicationTypeStore = defineStore("communicationType", {
|
||||
state: () => {
|
||||
return {
|
||||
communicationTypes: [] as Array<CommunicationTypeViewModel>,
|
||||
availableFields: [] as Array<string>,
|
||||
availableFields: [] as Array<CommunicationFieldType>,
|
||||
loading: "loading" as "loading" | "fetched" | "failed",
|
||||
loadingFields: "loading" as "loading" | "fetched" | "failed",
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue