@dxos/app-toolkit - v0.16.0
    Preparing search index...

    Type Alias DefaultParent

    Where an object of a tagged type goes when it is created without a target. Keyed by a tag on the type's Annotation.UserType; see DefaultParent.resolve, which asks the matching rules in position order and takes the first parent one returns.

    type DefaultParent = {
        position?: Position.Position;
        resolve: (
            object: Obj.Unknown,
        ) => Effect$.Effect<Obj.Unknown | undefined, Error, Database.Service>;
        tag: string;
    }
    Index

    Properties

    Properties

    position?: Position.Position
    resolve: (
        object: Obj.Unknown,
    ) => Effect$.Effect<Obj.Unknown | undefined, Error, Database.Service>

    The parent for the object; undefined passes to the next rule, as does a failure (which is logged).

    tag: string

    The Annotation.UserType tag this rule applies to.