@dxos/echo
    Preparing search index...

    Variable getKeysConst

    getKeys: {
        (
            entity: Obj.Unknown | Obj.Snapshot<Obj.Unknown>,
            source: string,
        ): { id: Schema.String; source: Schema.String }[];
        (
            source: string,
        ): (
            entity: Obj.Unknown | Obj.Snapshot<Obj.Unknown>,
        ) => { id: Schema.String; source: Schema.String }[];
    } = ...

    Type declaration

      • (
            entity: Obj.Unknown | Obj.Snapshot<Obj.Unknown>,
            source: string,
        ): { id: Schema.String; source: Schema.String }[]
      • Parameters

        Returns { id: Schema.String; source: Schema.String }[]

        • Readonlyid: Schema.String

          Id within the foreign database.

        • Readonlysource: Schema.String

          Name of the foreign database/system. E.g., github.com.

      • (
            source: string,
        ): (
            entity: Obj.Unknown | Obj.Snapshot<Obj.Unknown>,
        ) => { id: Schema.String; source: Schema.String }[]
      • Parameters

        • source: string

        Returns (
            entity: Obj.Unknown | Obj.Snapshot<Obj.Unknown>,
        ) => { id: Schema.String; source: Schema.String }[]

    Foreign keys for the object from the specified source. Accepts both reactive objects and snapshots.

    O(k) in the foreign-key count; allocates a filtered array.