1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-13 11:17:26 +02:00
unleash.unleash/frontend/src/openapi/models/bulkRegistrationSchema.ts
Tymoteusz Czech 2629705501
chore: re-generate openapi (#10450)
Update documentation to replace 'server-side' with 'backend' in API schemas
2025-08-01 05:50:03 -03:00

39 lines
1.7 KiB
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { BulkRegistrationSchemaConnectViaItem } from './bulkRegistrationSchemaConnectViaItem.js';
import type { BulkRegistrationSchemaSdkType } from './bulkRegistrationSchemaSdkType.js';
import type { DateSchema } from './dateSchema.js';
/**
* An application registration. Defines the format POSTed by our backend 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 list of projects used in the application */
projects?: string[];
/**
* The sdk type
* @nullable
*/
sdkType?: BulkRegistrationSchemaSdkType;
/** 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[];
}