GitHub

DaffInMemoryRoutableObject

interface

import { DaffInMemoryRoutableObject } from '@daffodil/driver/in-memory'

Represents a routable object with a URL and type identifier. Used by in-memory drivers to enable automatic URL resolution of in-memory objects. See DaffExternalRouterInMemoryDriver

interface DaffInMemoryRoutableObject {
  url: string
  type: string
}

Properties

url
string

The URL path for this routable object (e.g., "/product-123").

type
string

The type identifier for this routable object (e.g., "PRODUCTS", "NAVIGATION").