Skip to content

Braga has been retired. The next public testnet is coming in September 2026. Read the announcement →

RpcSelect = object

Defined in: src/types/rpcSchema.ts:58

The select projection: flat, per-field booleans. Everything except key defaults to off, so a query asks for exactly what it needs and nothing more.

attributes is the one field with a third form: true for every attribute, or a map of names for a subset.

optional attributes: boolean | Record<string, boolean>

Defined in: src/types/rpcSchema.ts:69


optional attributeSchema: boolean

Defined in: src/types/rpcSchema.ts:68


optional contentType: boolean

Defined in: src/types/rpcSchema.ts:66


optional createdAt: boolean

Defined in: src/types/rpcSchema.ts:62


optional creationFlags: boolean

Defined in: src/types/rpcSchema.ts:65


optional creator: boolean

Defined in: src/types/rpcSchema.ts:61


optional expiresAt: boolean

Defined in: src/types/rpcSchema.ts:64


optional key: boolean

Defined in: src/types/rpcSchema.ts:59


optional owner: boolean

Defined in: src/types/rpcSchema.ts:60


optional payload: boolean

Defined in: src/types/rpcSchema.ts:67


optional updatedAt: boolean

Defined in: src/types/rpcSchema.ts:63