@central-credit/engine
Version:
Engine to handle the Serasa requests
23 lines (22 loc) • 705 B
TypeScript
import { Entity, ValueObject } from '@loopback/repository';
import { RecordFieldType } from './record.model';
export declare class LayoutField extends ValueObject {
seq: number;
size: number;
value?: string;
type?: RecordFieldType;
description?: string;
}
export declare type LayoutFields = 'protocol' | 'options' | 'data';
export declare class Layout extends Entity {
id: string;
name: string;
protocol: LayoutField[];
options: LayoutField[];
data: LayoutField[];
constructor(data?: Partial<Layout>);
getOrdered(field: LayoutFields): LayoutField[];
}
export interface LayoutRelations {
}
export declare type LayoutWithRelations = Layout & LayoutRelations;