GraphReFlyTS

API Reference

provideGraphLifecycleHooks()

Creates Nest provider bindings for graph lifecycle hooks.

Import

import { provideGraphLifecycleHooks } from "@graphrefly/ts/adapters/nestjs/native";

Signature

function provideGraphLifecycleHooks(opts: GraphLifecycleHooksProviderOptions): Provider

Parameters

ParameterTypeDescription
optsGraphLifecycleHooksProviderOptionsOptions that configure the helper.

Returns

Nest provider definitions for the requested boundary.

Example

import { provideGraphLifecycleHooks } from "@graphrefly/ts/adapters/nestjs/native";

Source

packages/ts/src/adapters/nestjs/native.ts