UNPKG

@los_generic/shared

Version:

Shared DTOs, interfaces, and utilities for LOS applications

61 lines (60 loc) 1.44 kB
export interface IFetchDocumentChildQuery { page_size?: number; page: number; searchText?: string; documentChildName: string; right: string; sortColumn?: string; sortBy?: string; } export interface IFetchDocumentChildResponse { statusCode: number; status: boolean; message: string; data: any; } export interface IFetchDocumentChildByIdQuery { permission?: string; } export interface IFetchDocumentChildByIdResponse { statusCode: number; status: boolean; message: string; data: any; } export interface ICreateDocumentChildPayload { documentChildName: string; isActive: boolean; } export interface ICreateDocumentChildResponse { statusCode: number; status: boolean; message: string; } export interface IUpdateDocumentChildPayload { documentChildName: string; isActive: boolean; } export interface IUpdateDocumentChildResponse { statusCode: number; status: boolean; message: string; } export interface IToggleDocumentChildVisibilityPayload { isActive: boolean; } export interface IToggleDocumentChildVisibilityResponse { statusCode: number; status: boolean; message: string; } export interface IDeleteDocumentChildResponse { statusCode: number; status: boolean; message: string; } export interface IAttachPermissionsToDocumentChildResponse { statusCode: number; status: boolean; message: string; }