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

    Function getTypeLabel

    • What kind of thing node is: its own TYPE_LABEL_PROPERTY, else its ECHO type's label.

      Parameters

      • node: Pick<
            Readonly<
                {
                    cacheable?: string[];
                    data: any;
                    id: string;
                    properties: Readonly<Record<string, any>>;
                    type: string;
                },
            >,
            "data"
            | "properties",
        >

      Returns
          | undefined
          | string
          | [
              string,
              { count?: number; defaultValue?: string; ns: string
              | readonly string[] },
          ]