UNPKG

hybrid_plus

Version:

Hybrid Flutter Javascript SDK

82 lines (81 loc) 2.15 kB
import { ExecOptions } from "./core.ts"; /** 雇员实体 */ export interface Employee { id: string; realname?: string; deptId?: string; username?: string; gender?: number; nation?: string; partyMember?: boolean; birthday?: string; email?: string; telephone?: string; identityCard?: string; education?: string; jobNumber?: string; officePhone?: string; locationCard?: string; workerType?: string; jobPosition?: string; entryDate?: string; address?: string; avatar?: string; status?: boolean; remark?: string; createBy?: string; createTime?: string; updateBy?: string; updateTime?: string; deptName?: string; posts?: string; postIds?: string; roles?: string; companyName?: string; companyId?: string; } /** * 单选雇员选项 * @param {string[]} filterOrgIds 筛选组织Id列表 * @param {boolean} hideMe 是否隐藏自己 * @param {string} selectedId 已选择的雇员Id * @param {string} title 选择页面标题 */ export interface PickEmployeeOptions extends ExecOptions<Employee, any> { filterOrgIds?: string[]; hideMe?: boolean; selectedId?: string; title?: string; } /** * 多选雇员选项 * @param {string[]} filterOrgIds 筛选组织Id列表 * @param {boolean} hideMe 是否隐藏自己 * @param {string[]} selectedIds 已选择的雇员Id列表 * @param {string} title 选择页面标题 */ export interface PickEmployeesOptions extends ExecOptions<Employee[], any> { filterOrgIds?: string[]; hideMe?: boolean; selectedIds?: string[]; title?: string; } /** 手机通讯录实体 */ export interface MobileContacts { id: string; displayName: string; isStarred: boolean; name: object; phones: object[]; emails: object[]; addresses: object[]; organizations: object[]; websites: object[]; socialMedias: object[]; events: object[]; notes: object[]; accounts: object[]; groups: object[]; } /** 获取手机通讯录联系人列表选项 */ export type GetMobileContactsOptions = ExecOptions<MobileContacts[], any>;