@orangecheck/me-client / EventKey
Type Alias: EventKey
type EventKey =
| EventSubtype
| string & {
};
Defined in: me-client/src/types.ts:75
Any billable event key. A project's catalog is OPEN: alongside the built-in
subtypes above, an integrator can define their own event keys (with their own
label + class + price) on the project config. EventKey keeps autocomplete
for the built-ins while accepting any custom string — the (string & {})
arm preserves the literal union in editors instead of collapsing it to
string. The server resolves class/label off the project's catalog for
custom keys.