1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-10-04 11:17:02 +02:00
unleash.unleash/frontend/src/openapi/models/sdkContextSchema.ts
Gastón Fournier abe160eb7d
feat: Unleash v7 ESM migration (#9877)
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>
2025-05-14 09:47:12 +02:00

34 lines
975 B
TypeScript

/**
* Generated by Orval
* Do not edit manually.
* See `gen:api` script in package.json
*/
import type { SdkContextSchemaProperties } from './sdkContextSchemaProperties.js';
/**
* The Unleash context as modeled in client SDKs
*/
export interface SdkContextSchema {
/**
* The name of the application.
* @minLength 1
*/
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]: unknown;
}