import { PageData } from "../types"; import { DiyCompModel } from "../comp/types"; // DIY页面模板实体 export interface DiyPageModel { // 页面ID pageId: string; // 名片ID vcardId?: string; // 页面名称 pageName?: string; // 页面编码 pageCode?: string; // 页面模板 pageTemplate?: string; // 页面封面图 pageImgUrl?: string; // 页面数据 pageData: PageData; // 页面json pageJson: string; // 排序 orderBy?: number; // 页面组件 compModels?: Array; } // DIY页面模板VcardToken export interface DiyPageVcardReq { // 名片号或名片ID // 名片ID;UUID@P001、UUID@E001 vcardKey?: string; // 名片Token vcardToken?: string; // 页面编码 pageCode?: string; // 是否包含页面组件 hasComps?: boolean; } // DIY页面模板修改实体 export interface DiyPageUpdateReq { // 用于检测重复请求的唯一字符串ID 必填项 requestId: string; // 更新字段掩码 必填项 updateMask: string; // 租户 必填项 tenant?: string; // 页面ID 必填项 pageId: string; // 名片ID vcardId?: string; // 页面名称 必填项 pageName: string; // 页面编码 pageCode?: string; // 页面模板 必填项 默认传 "" pageTemplate: string; // 页面封面图 必填项 pageImgUrl: string; // 页面json pageJson: string; // 排序 orderBy?: number; }