MCPcopy Create free account
hub / github.com/axe-api/axe-api / IModelService

Interface IModelService

packages/axe-api/src/Interfaces.ts:198–222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196}
197
198export interface IModelService {
199 name: string;
200 instance: Model;
201 relations: IRelation[];
202 columns: IColumn[];
203 columnNames: string[];
204 hooks: ModelHooks;
205 events: ModelHooks;
206 isRecursive: boolean;
207 children: IModelService[];
208 queryLimits: IQueryLimitConfig[];
209 serialize: SerializationFunction | null;
210
211 setColumns(columns: IColumn[]): void;
212 setExtensions(
213 type: Extensions,
214 hookFunctionType: HookFunctionTypes,
215 data: PhaseFunction,
216 ): void;
217 setQueryLimits(limits: IQueryLimitConfig[]): void;
218 setSerialization(callback: SerializationFunction): void;
219 setCacheConfiguration(handler: string, cache: ICacheConfiguration): void;
220 getCacheConfiguration(handler: HandlerTypes): ICacheConfiguration | null;
221 setAsRecursive(): void;
222}
223
224export interface IRelation {
225 type: Relationships;

Callers 16

setDatabaseColumnsMethod · 0.65
setModelHooksMethod · 0.65
setModelQueryLimitsMethod · 0.65
setCacheOptionsMethod · 0.65
GetCachePhase.tsFile · 0.65
ResultPhase.tsFile · 0.65
ResultPhase.tsFile · 0.65
ResultPhase.tsFile · 0.65

Implementers 1

ModelServicepackages/axe-api/src/Services/ModelSer

Calls

no outgoing calls

Tested by

no test coverage detected