refactor timi-web
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import type { Attachment, Model, User } from "timi-web";
|
||||
import type { Attachment, Model, User } from "timi-web-api";
|
||||
import type { EventRecord } from "@/types/EventRecord.ts";
|
||||
import type { TagApply } from "@/types/Tag";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Model } from "timi-web";
|
||||
import type { Model } from "timi-web-api";
|
||||
|
||||
export type EventStatus = "DRAFT" | "ACTIVE" | "INACTIVE" | "DELETED";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Attachment, BasePage, Model, PageResult, User } from "timi-web";
|
||||
import type { Attachment, BasePage, Model, PageResult, User } from "timi-web-api";
|
||||
import type { Customer } from "@/types/Customer";
|
||||
import type { EventItem } from "@/types/EventItem";
|
||||
import type { PointLedgerChangeType } from "@/types/Point";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { Model, Role, User } from "timi-web";
|
||||
import type { Model, Role, User } from "timi-web-api";
|
||||
|
||||
export type ManagedUser = {
|
||||
storeId?: string;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import type { AuthOwnerType, ModuleCode, Permission as UserPermission, Role as UserRole } from "timi-web";
|
||||
import type { AuthOwnerType, ModuleCode, Permission as UserPermission, Role as UserRole } from "timi-web-api";
|
||||
|
||||
export type Permission = UserPermission & {
|
||||
builtin?: boolean;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { Attachment } from "timi-web";
|
||||
import type { Attachment } from "timi-web-api";
|
||||
|
||||
/** 照片滚动组件使用的附件展示项。 */
|
||||
export type PhotoItem = {
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { BasePage, Model } from "timi-web";
|
||||
import type { BasePage, Model } from "timi-web-api";
|
||||
import type { Customer } from "@/types/Customer";
|
||||
|
||||
export type PointRuleStatus = "DRAFT" | "ACTIVE" | "INACTIVE" | "DELETED";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { BasePage, Model } from "timi-web";
|
||||
import type { BasePage, Model } from "timi-web-api";
|
||||
|
||||
export type StoreStatus = "ACTIVE" | "INACTIVE" | "DELETED";
|
||||
export type StoreBusinessDayStatus = "OPEN" | "CLOSED";
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
import type { Model } from "timi-web";
|
||||
import type { Model } from "timi-web-api";
|
||||
|
||||
export type TagOwnerType = "GAO_STORE";
|
||||
export type TagBizType = "GAO_CUSTOMER";
|
||||
|
||||
Reference in New Issue
Block a user