Common reference type for resources in the system
This exists for type safety purposes. Typically, do not define variables of this type directly; use [[toIdObject]] on existing resources.
import { Resources } from "@truffle/db";declare const source: Resources.Resource<"sources">;const { id }: Resources.IdObject<"sources"> = Resources.toIdObject(source); Copy
import { Resources } from "@truffle/db";declare const source: Resources.Resource<"sources">;const { id }: Resources.IdObject<"sources"> = Resources.toIdObject(source);
Generated using TypeDoc
Common reference type for resources in the system
This exists for type safety purposes. Typically, do not define variables of this type directly; use [[toIdObject]] on existing resources.