API referenceEngine
model-export
Import from bear/engine/model-export.
Type Aliases
ModelExport
type ModelExport = object;Defined in: bear/engine/model-export.ts:10
Properties
ModelSelection
type ModelSelection = z.infer<typeof modelSelectionSchema>;Defined in: bear/engine/model-export.ts:22
Variables
modelSelectionSchema
const modelSelectionSchema: ZodObject<{
entryPoint: ZodString;
exportName: ZodString;
props: ZodRecord<ZodString, ZodUnknown>;
}, $strip>;Defined in: bear/engine/model-export.ts:17
A complete source request. Execution never fills it from another model.
Functions
resolveModelExport()
function resolveModelExport(module, selection?): BearElement;Defined in: bear/engine/model-export.ts:25
The element selection names in a built model module.
Parameters
| Parameter | Type |
|---|---|
module | Record<string, unknown> |
selection? | ModelExport |