Back to Pocketbase

Interface enrichRecord

static/jsvm/interfaces/apis.enrichRecord.html

latest896 B
Original Source

Interface enrichRecord

Hierarchy

  • enrichRecord

  • enrichRecord(e, record, ...defaultExpands): void

EnrichRecord parses the request context and enrich the provided record:

- expands relations (if defaultExpands and/or ?expand query param is set) - ensures that the emails of the auth record and its expanded auth relations are visible only for the current logged superuser, record owner or record with manage accessCopy

Parameters

e: RequestEvent
record: core.Record
Rest ...defaultExpands: string[]

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

Generated using TypeDoc