Type Alias: CustomEventModel

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / CustomEventModel

Type Alias: CustomEventModel

type CustomEventModel: {
  config: CustomEventDefinitionSchema;
  id: string;
  name: string;
};

Custom event model type

Type declaration

NameTypeDefault valueDescription

config

Record<string, CustomEventFieldType>

CustomEventDefinitionSchema

The custom event defintion as a JSON object. The object should be formatted as follows: `{ "": "boolean"

id

string

-

The internal ID of the custom event

name

string

-

The name of the custom event

Defined in

types/custom-events/events.ts:210

Last updated