@statezero/core
Version:
The type-safe frontend client for StateZero - connect directly to your backend models with zero boilerplate
45 lines (44 loc) • 1.35 kB
TypeScript
/**
* Model-specific QuerySet implementation
*/
export class DeepModelLevel3QuerySet extends QuerySet<any> {
constructor(ModelClass: ModelConstructor, config?: {
nodes?: QueryNode[] | undefined;
orderBy?: {
field: string;
direction: "asc" | "desc";
}[] | undefined;
fields?: Set<string> | undefined;
aggregations?: Aggregation[] | undefined;
initialQueryset?: string | undefined;
serializerOptions?: SerializerOptions;
materialized?: boolean | undefined;
} | undefined, parent?: null);
}
/**
* Model-specific Manager implementation
*/
export class DeepModelLevel3Manager extends Manager {
constructor(ModelClass: any);
}
/**
* Implementation of the DeepModelLevel3 model
*/
export class DeepModelLevel3 extends Model {
static configKey: string;
static modelName: string;
static primaryKeyField: string;
static objects: DeepModelLevel3Manager;
static fields: string[];
static schema: any;
static relationshipFields: Map<any, any>;
constructor(data: any);
/**
* Define property getters and setters for all model fields
* @private
*/
private _defineProperties;
}
import { QuerySet } from '../../../../src';
import { Manager } from '../../../../src';
import { Model } from '../../../../src';