# Interface QueryLinkReturn

interface QueryLinkReturn {
_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;
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[];
relation: LinkToLinksRelations;
return?: QueryLinkReturn;
root?: BoolExpTree;
selected?: BoolExpSelector | BoolExpSelector[];
selectors?: BoolExpSelector | BoolExpSelector[];
string?: BoolExpValue<string>;
to?: BoolExpLink;
to_id?: ComparasionType<Id>;
tree?: BoolExpTree;
type?: BoolExpLink;
type_id?: ComparasionType<Id>;
typed?: BoolExpLink | BoolExpLink[];
up?: BoolExpTree;
value?: BoolExpValue<any>;
}

#### Hierarchy (view full)

- QueryLink
  - QueryLinkReturn

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

#####
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?
relation
return?
root?
selected?
selectors?
string?
to?
to_id?
tree?
type?
type_id?
typed?
up?
value?

##
Properties

### `Optional`_and

_and?: BoolExpLink[]

Inherited from QueryLink._and

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

### `Optional`_from_id

_from_id?: ComparasionType<Id>

Inherited from QueryLink._from_id

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

### `Optional`_id

_id?: ComparasionType<Id>

Inherited from QueryLink._id

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

### `Optional`_not

_not?: BoolExpLink

Inherited from QueryLink._not

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

### `Optional`_or

_or?: BoolExpLink[]

Inherited from QueryLink._or

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

### `Optional`_to_id

_to_id?: ComparasionType<Id>

Inherited from QueryLink._to_id

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

### `Optional`_type_id

_type_id?: ComparasionType<Id>

Inherited from QueryLink._type_id

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

### `Optional` can_action

can_action?: BoolExpCan

Relation to rules where current link used as action.

Inherited from QueryLink.can_action

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

### `Optional` can_object

can_object?: BoolExpCan

Relation to rules where current link used as object.

Inherited from QueryLink.can_object

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

### `Optional` can_rule

can_rule?: BoolExpCan

Relation to current rule.

Inherited from QueryLink.can_rule

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

### `Optional` can_subject

can_subject?: BoolExpCan

Relation to rules where current link used as subject.

Inherited from QueryLink.can_subject

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

### `Optional` distinct_on

distinct_on?: [string]

Inherited from QueryLink.distinct_on

- 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 QueryLink.down

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

### `Optional` from

from?: BoolExpLink

Inherited from QueryLink.from

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

### `Optional` from_id

from_id?: ComparasionType<Id>

Inherited from QueryLink.from_id

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

### `Optional` id

id?: ComparasionType<Id>

Inherited from QueryLink.id

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

### `Optional` in

in?: BoolExpLink | BoolExpLink[]

Links related to current by to_id field

Inherited from QueryLink.in

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

### `Optional` limit

limit?: number

Inherited from QueryLink.limit

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

### `Optional` number

number?: BoolExpValue<number>

Value type number definition.

Inherited from QueryLink.number

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

### `Optional` object

object?: BoolExpValue<object>

Value type object definition.

Inherited from QueryLink.object

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

### `Optional` offset

offset?: number

Inherited from QueryLink.offset

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

### `Optional` order_by

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

Inherited from QueryLink.order_by

- 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 QueryLink.out

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

### relation

relation: LinkToLinksRelations

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

### `Optional` return

return?: QueryLinkReturn

Inherited from QueryLink.return

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

### `Optional` root

root?: BoolExpTree

Links using this link as a root.

Inherited from QueryLink.root

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

### `Optional` selected

selected?: BoolExpSelector | BoolExpSelector[]

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

Inherited from QueryLink.selected

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

### `Optional` selectors

selectors?: BoolExpSelector | BoolExpSelector[]

Selectors that select current link.

Inherited from QueryLink.selectors

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

### `Optional` string

string?: BoolExpValue<string>

Value type string definition.

Inherited from QueryLink.string

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

### `Optional` to

to?: BoolExpLink

Inherited from QueryLink.to

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

### `Optional` to_id

to_id?: ComparasionType<Id>

Inherited from QueryLink.to_id

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

### `Optional` tree

tree?: BoolExpTree

Links using this link as a tree.

Inherited from QueryLink.tree

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

### `Optional` type

type?: BoolExpLink

Inherited from QueryLink.type

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

### `Optional` type_id

type_id?: ComparasionType<Id>

Inherited from QueryLink.type_id

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

### `Optional` typed

typed?: BoolExpLink | BoolExpLink[]

Links related to current by type_id field

Inherited from QueryLink.typed

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

### `Optional` up

up?: BoolExpTree

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

Inherited from QueryLink.up

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

### `Optional` value

value?: BoolExpValue<any>

Value (number/string/object shortly).

Inherited from QueryLink.value

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