mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-27 11:02:16 +01:00
We're migrating to ESM, which will allow us to import the latest versions of our dependencies. Co-Authored-By: Christopher Kolstad <chriswk@getunleash.io>
32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { SignalEndpointSignalSchemaPayload } from './signalEndpointSignalSchemaPayload.js';
|
|
import type { SignalEndpointSignalSchemaSource } from './signalEndpointSignalSchemaSource.js';
|
|
|
|
/**
|
|
* An object describing a signal originated from a signal endpoint.
|
|
*/
|
|
export interface SignalEndpointSignalSchema {
|
|
/** The date and time of when the signal was created. */
|
|
createdAt: string;
|
|
/**
|
|
* The signal's ID. Signal IDs are incrementing integers. In other words, a more recently created signal will always have a higher ID than an older one.
|
|
* @minimum 1
|
|
*/
|
|
id?: number;
|
|
/** The payload of the signal. */
|
|
payload?: SignalEndpointSignalSchemaPayload;
|
|
/** The signal source type. Should be used along with `sourceId` to uniquely identify the resource that created this signal. */
|
|
source: SignalEndpointSignalSchemaSource;
|
|
/** The ID of the source that created this signal. Should be used along with `source` to uniquely identify the resource that created this signal. */
|
|
sourceId: number;
|
|
/**
|
|
* The name of the token used to register this signal.
|
|
* @nullable
|
|
*/
|
|
tokenName?: string | null;
|
|
}
|