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

    Type Alias CreateExtensionRawOptions<Id>

    A graph builder extension is used to add nodes to the graph.

    The unique id of the extension.

    The relation the graph is being expanded from the existing node.

    Affects the order the extensions are processed in.

    URL binding for the nodes this extension produces (key + resolution); see UrlBinding.

    A function to add nodes to the graph based on a connection to an existing node.

    A function to add actions to the graph based on a connection to an existing node.

    A function to add action groups to the graph based on a connection to an existing node.

    type CreateExtensionRawOptions<Id extends string = string> = {
        actionGroups?: ActionGroupsExtension;
        actions?: ActionsExtension;
        connector?: ConnectorExtension;
        id: [DXN.Path<Id>] extends [never]
            ? `Invalid id "${Id}": final segment must be camelCase — letters and digits, starting with a letter`
            : Id;
        position?: Position.Position;
        relation?: RelationInput;
        url?: UrlBinding;
    }

    Type Parameters

    • Id extends string = string
    Index

    Properties

    actionGroups?: ActionGroupsExtension
    connector?: ConnectorExtension
    id: [DXN.Path<Id>] extends [never]
        ? `Invalid id "${Id}": final segment must be camelCase — letters and digits, starting with a letter`
        : Id
    position?: Position.Position
    relation?: RelationInput