unleash-server
Version:
Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.
41 lines • 1.96 kB
TypeScript
import type { FromSchema } from 'json-schema-to-ts';
export declare const edgeEnvironmentProjectsListSchema: {
readonly $id: "#/components/schemas/edgeEnvironmentProjectsListSchema";
readonly type: "object";
readonly description: "Schema to request api tokens for a list of environment -> projects tuples";
readonly required: readonly ["tokens"];
readonly properties: {
readonly tokens: {
readonly type: "array";
readonly description: "A list of requested api tokens.";
readonly items: {
readonly type: "object";
readonly additionalProperties: false;
readonly description: "A list of requested environment -> projects tuples.";
readonly required: readonly ["environment", "projects"];
readonly properties: {
readonly environment: {
readonly type: "string";
readonly description: "The name of an existing environment";
readonly example: "development";
readonly nullable: false;
};
readonly projects: {
readonly type: "array";
readonly description: "The list of projects Edge wants access to, or '*' for a wildcard token";
readonly items: {
readonly type: "string";
readonly example: "default";
};
readonly nullable: false;
};
};
readonly nullable: false;
};
readonly nullable: false;
};
};
readonly components: {};
};
export type EdgeEnvironmentsProjectsListSchema = FromSchema<typeof edgeEnvironmentProjectsListSchema>;
//# sourceMappingURL=edge-environment-projects-list-schema.d.ts.map