Type Alias: CreateCustomEventInput

@torque-labs/torque-utilsDocs


@torque-labs/torque-utils / CreateCustomEventInput

Type Alias: CreateCustomEventInput

type CreateCustomEventInput: {
  config: CustomEventDefinitionSchema;
  name: string;
};

Create custom event input type

Type declaration

Name
Type
Default value
Description

config

Record<string, CustomEventFieldType>

CustomEventDefinitionSchema

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

name

string

-

The name of the custom event to create

Defined in

types/custom-events/events.ts:236

Last updated