# Interface QueryLink

interface QueryLink {
_and?: BoolExpLink[];
_from_id?: ComparasionType<Id>;
_id?: ComparasionType<Id>;
_not?: BoolExpLink;
_or?: BoolExpLink[];
_to_id?: ComparasionType<Id>;
_type_id?: ComparasionType<Id>;
can_action?: BoolExpCan;
can_object?: BoolExpCan;
can_rule?: BoolExpCan;
can_subject?: BoolExpCan;
distinct_on?: [string];
down?: BoolExpTree;
from?: BoolExpLink | Id;
from_id?: ComparasionType<Id>;
id?: ComparasionType<Id>;
in?: BoolExpLink | BoolExpLink[];
limit?: number;
number?: BoolExpValue<number>;
object?: BoolExpValue<object>;
offset?: number;
order_by?: {
[key: string]: "asc" | "desc";
};
out?: BoolExpLink | BoolExpLink[];
return?: {
[key: string]: ReturnBoolExp;
};
root?: BoolExpTree;
selected?: BoolExpSelector | BoolExpSelector[];
selectors?: BoolExpSelector | BoolExpSelector[];
string?: BoolExpValue<string>;
to?: BoolExpLink | Id;
to_id?: ComparasionType<Id>;
tree?: BoolExpTree;
type?: BoolExpLink | Id;
type_id?: ComparasionType<Id>;
typed?: BoolExpLink | BoolExpLink[];
up?: BoolExpTree;
value?: BoolExpValue<any>;
}

#### Hierarchy (view full)

- BoolExpLink
  - QueryLink
    - QueryLinkReturn

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:7

#####
Index

### Properties

_and?
_from_id?
_id?
_not?
_or?
_to_id?
_type_id?
can_action?
can_object?
can_rule?
can_subject?
distinct_on?
down?
from?
from_id?
id?
in?
limit?
number?
object?
offset?
order_by?
out?
return?
root?
selected?
selectors?
string?
to?
to_id?
tree?
type?
type_id?
typed?
up?
value?

##
Properties

### `Optional`_and

_and?: BoolExpLink[]

Inherited from BoolExpLink._and

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:20

### `Optional`_from_id

_from_id?: ComparasionType<Id>

Inherited from BoolExpLink._from_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:41

### `Optional`_id

_id?: ComparasionType<Id>

Inherited from BoolExpLink._id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:40

### `Optional`_not

_not?: BoolExpLink

Inherited from BoolExpLink._not

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:22

### `Optional`_or

_or?: BoolExpLink[]

Inherited from BoolExpLink._or

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:21

### `Optional`_to_id

_to_id?: ComparasionType<Id>

Inherited from BoolExpLink._to_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:42

### `Optional`_type_id

_type_id?: ComparasionType<Id>

Inherited from BoolExpLink._type_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:43

### `Optional` can_action

can_action?: BoolExpCan

Relation to rules where current link used as action.

Inherited from BoolExpLink.can_action

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:68

### `Optional` can_object

can_object?: BoolExpCan

Relation to rules where current link used as object.

Inherited from BoolExpLink.can_object

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:70

### `Optional` can_rule

can_rule?: BoolExpCan

Relation to current rule.

Inherited from BoolExpLink.can_rule

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:66

### `Optional` can_subject

can_subject?: BoolExpCan

Relation to rules where current link used as subject.

Inherited from BoolExpLink.can_subject

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:72

### `Optional` distinct_on

distinct_on?: [string]

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:11

### `Optional` down

down?: BoolExpTree

Links down by all available trees. (Use link_id for search)

Inherited from BoolExpLink.down

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:74

### `Optional` from

from?: BoolExpLink | Id

Inherited from BoolExpLink.from

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:44

### `Optional` from_id

from_id?: ComparasionType<Id>

Inherited from BoolExpLink.from_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:37

### `Optional` id

id?: ComparasionType<Id>

Inherited from BoolExpLink.id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:36

### `Optional` in

in?: BoolExpLink | BoolExpLink[]

Links related to current by to_id field

Inherited from BoolExpLink.in

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:48

### `Optional` limit

limit?: number

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:8

### `Optional` number

number?: BoolExpValue<number>

Value type number definition.

Inherited from BoolExpLink.number

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:58

### `Optional` object

object?: BoolExpValue<object>

Value type object definition.

Inherited from BoolExpLink.object

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:62

### `Optional` offset

offset?: number

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:10

### `Optional` order_by

order_by?: {
[key: string]: "asc" | "desc";
}

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:9

### `Optional` out

out?: BoolExpLink | BoolExpLink[]

Links related to current by from_id field

Inherited from BoolExpLink.out

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:50

### `Optional` return

return?: {
[key: string]: ReturnBoolExp;
}

Overrides BoolExpLink.return

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:12

### `Optional` root

root?: BoolExpTree

Links using this link as a root.

Inherited from BoolExpLink.root

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:80

### `Optional` selected

selected?: BoolExpSelector | BoolExpSelector[]

Selected by this link as selector (usable only for Selector typed links)

Inherited from BoolExpLink.selected

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:54

### `Optional` selectors

selectors?: BoolExpSelector | BoolExpSelector[]

Selectors that select current link.

Inherited from BoolExpLink.selectors

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:56

### `Optional` string

string?: BoolExpValue<string>

Value type string definition.

Inherited from BoolExpLink.string

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:60

### `Optional` to

to?: BoolExpLink | Id

Inherited from BoolExpLink.to

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:45

### `Optional` to_id

to_id?: ComparasionType<Id>

Inherited from BoolExpLink.to_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:38

### `Optional` tree

tree?: BoolExpTree

Links using this link as a tree.

Inherited from BoolExpLink.tree

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:78

### `Optional` type

type?: BoolExpLink | Id

Inherited from BoolExpLink.type

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:46

### `Optional` type_id

type_id?: ComparasionType<Id>

Inherited from BoolExpLink.type_id

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:39

### `Optional` typed

typed?: BoolExpLink | BoolExpLink[]

Links related to current by type_id field

Inherited from BoolExpLink.typed

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:52

### `Optional` up

up?: BoolExpTree

Links up by all available trees. (Use parent_id for search)

Inherited from BoolExpLink.up

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:76

### `Optional` value

value?: BoolExpValue<any>

Value (number/string/object shortly).

Inherited from BoolExpLink.value

- Defined in work/deeplinks/deeplinks/imports/client_types.ts:64