Forest Admin - API reference
    Preparing search index...

    Type Alias OneToManyEmbeddedDefinition<S, N>

    type OneToManyEmbeddedDefinition<
        S extends TSchema = TSchema,
        N extends TCollectionName<S> = TCollectionName<S>,
    > = {
        dependencies?: TFieldName<S, N>[];
        schema: Record<string, PrimitiveTypes>;
        listRecords(
            record: TRow<S, N>,
            context: CollectionCustomizationContext<S, N>,
        ): unknown[] | Promise<unknown[]>;
    }

    Type Parameters

    Index

    Properties

    Methods

    Properties

    dependencies?: TFieldName<S, N>[]
    schema: Record<string, PrimitiveTypes>

    Methods