mirror of
https://github.com/Unleash/unleash.git
synced 2025-10-13 11:17:26 +02:00
21 lines
966 B
TypeScript
21 lines
966 B
TypeScript
/**
|
|
* Generated by Orval
|
|
* Do not edit manually.
|
|
* See `gen:api` script in package.json
|
|
*/
|
|
|
|
export type CreateApiTokenSchemaOneOfThree = {
|
|
/** The environment that the token should be valid for. Defaults to "default" */
|
|
environment?: string;
|
|
/** The time when this token should expire. */
|
|
expiresAt?: string;
|
|
/** The project that the token should be valid for. Defaults to "*" meaning every project. This property is mutually incompatible with the `projects` property. If you specify one, you cannot specify the other. */
|
|
project?: string;
|
|
/** A list of projects that the token should be valid for. This property is mutually incompatible with the `project` property. If you specify one, you cannot specify the other. */
|
|
projects?: string[];
|
|
/** The name of the token. */
|
|
tokenName: string;
|
|
/** A client or frontend token. Must be one of the strings "client" or "frontend" (not case sensitive). */
|
|
type: string;
|
|
};
|