mirror of
https://github.com/Unleash/unleash.git
synced 2025-07-12 13:48:35 +02:00
31 lines
936 B
TypeScript
31 lines
936 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
import type { SdkContextSchemaProperties } from './sdkContextSchemaProperties';
|
|
|
|
/**
|
|
* The Unleash context as modeled in client SDKs
|
|
*/
|
|
export interface SdkContextSchema {
|
|
/** The name of the application. */
|
|
appName: string;
|
|
/** A DateTime (or similar) data class instance or a string in an RFC3339-compatible format. Defaults to the current time if not set by the user. */
|
|
currentTime?: string;
|
|
/**
|
|
* The environment the app is running in.
|
|
* @deprecated
|
|
*/
|
|
environment?: string;
|
|
/** Additional Unleash context properties */
|
|
properties?: SdkContextSchemaProperties;
|
|
/** The app's IP address */
|
|
remoteAddress?: string;
|
|
/** An identifier for the current session */
|
|
sessionId?: string;
|
|
/** An identifier for the current user */
|
|
userId?: string;
|
|
[key: string]: any;
|
|
}
|