///
///
import Field from './Field';
import { FieldContract } from '@tensei/common';
export declare class HasManyEmbedded extends Field {
/**
*
* This defines a list of all fields in this object.
* It is also an array of fields.
*
*/
objectFields: Array;
/**
* When a new date string is initialized, it defaults the
* date to today's date.
*/
constructor(name: string, databaseField?: string);
/**
*
* Define a list of all fields in this object.
* It is also an array of fields.
*
*/
fields(fields: Array): this;
/**
*
* @param this
*/
rules(this: T, ...rules: Array): T;
/**
*
* Serialize the object field.
*/
serialize(): {
singleName: string;
fields: import("@tensei/common").SerializedField[];
name: string;
sidebar: boolean;
isVirtual: boolean;
component: {
form: string;
index: string;
detail: string;
};
inputName: string;
isSortable: boolean;
isFilterable: boolean;
description: string;
rules: string[];
defaultValue: any;
isNullable: boolean;
isUnique: boolean;
isSearchable: boolean;
showOnIndex: boolean;
showOnDetail: boolean;
showOnUpdate: boolean;
showOnCreation: boolean;
updateRules: string[];
creationRules: string[];
hidden: boolean;
showOnPanel: boolean;
fieldName: string;
camelCaseName: string;
capsDatabasefieldName: string;
databaseField: string;
attributes: {
[key: string]: string;
};
selectOptions?: {
label: string;
value: string;
}[] | undefined;
defaultToNow?: boolean | undefined;
isUnsigned?: boolean | undefined;
trueLabel?: string | undefined;
falseLabel?: string | undefined;
isRelationshipField: boolean;
camelCaseNamePlural: string;
pascalCaseName: string;
snakeCaseName: string;
snakeCaseNamePlural: string;
};
}
export default HasManyEmbedded;