1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-02-19 00:15:43 +01:00
unleash.unleash/frontend/src/openapi/models/bulkRegistrationSchema.ts
2023-12-04 21:49:49 +02:00

31 lines
1.4 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { BulkRegistrationSchemaConnectViaItem } from './bulkRegistrationSchemaConnectViaItem';
import type { DateSchema } from './dateSchema';
/**
* An application registration. Defines the format POSTed by our server-side SDKs when they're starting up
*/
export interface BulkRegistrationSchema {
/** The name of the application that is evaluating toggles */
appName: string;
/** A list of applications this app registration has been registered through. If connected directly to Unleash, this is an empty list.
This can be used in later visualizations to tell how many levels of proxy or Edge instances our SDKs have connected through */
connectVia?: BulkRegistrationSchemaConnectViaItem[];
/** Which environment the application is running in */
environment: string;
/** A [(somewhat) unique identifier](https://docs.getunleash.io/reference/sdks/node#advanced-usage) for the application */
instanceId: string;
/** How often (in seconds) the application refreshes its features */
interval?: number;
/** The version the sdk is running. Typically <client>:<version> */
sdkVersion?: string;
/** The application started at */
started?: DateSchema;
/** Enabled [strategies](https://docs.getunleash.io/reference/activation-strategies) in the application */
strategies?: string[];
}