UNPKG

@gsb-core/core

Version:

GSB core services and classes for platform-independent web applications

66 lines (65 loc) 1.65 kB
import { GsbEntityDef } from './gsb-entity-def.model'; import { GsbUser } from './gsb-user.model'; import { GsbTenant } from './gsb-subscription.model'; /** * Represents a variation for multi-tenancy and localization */ export interface Variation { tenantCode?: string; provider?: string; langCode?: string; appCode?: string; } /** * Interface for claims data */ export declare class ClaimsDto { _entDefName?: string; variation?: Variation; constructor(obj?: Partial<ClaimsDto>); } /** * Base DTO class for GSB API operations */ export declare class GsbDtoBase { _entDefName?: string; id?: string; ignoreErrors?: boolean; batchMode?: any; appendManyItems?: boolean; isMainOp?: boolean; forceCheckDbSchema?: boolean; publicCall?: boolean; quickMode?: boolean; containsEdit?: boolean; skipUserModified?: boolean; tenantCode?: string; resetCreateDates?: boolean; forceMasterDB?: boolean; entity?: Record<string, any>; tableName?: string; claims?: ClaimsDto; variation?: Variation; entityDef?: GsbEntityDef; refEntityDef?: GsbEntityDef; disableTransaction?: boolean; updateCache?: boolean; request?: any; entityId?: string; token?: string; version?: string; queries?: any[]; query?: any[]; filters?: any[]; isCreateOp?: boolean; skipRefProps?: boolean; entDefName?: string; entDefId?: string; transactionId?: string; nestedOp?: boolean; startDate?: Date; tenant?: GsbTenant; saasTenant?: GsbTenant; user?: GsbUser; constructor(obj?: Partial<GsbDtoBase>); }