UNPKG

unleash-server

Version:

Unleash is an enterprise ready feature flag service. It provides different strategies for handling feature flags.

111 lines 5.6 kB
import type { FromSchema } from 'json-schema-to-ts'; export declare const projectApplicationsSchema: { readonly $id: "#/components/schemas/projectApplicationsSchema"; readonly type: "object"; readonly description: "A list of project applications"; readonly required: readonly ["total", "applications"]; readonly properties: { readonly total: { readonly type: "integer"; readonly example: 50; readonly description: "The total number of project applications."; }; readonly applications: { readonly type: "array"; readonly items: { readonly $ref: "#/components/schemas/projectApplicationSchema"; }; readonly description: "All applications defined for a specific project."; }; }; readonly components: { readonly schemas: { readonly projectApplicationSchema: { readonly $id: "#/components/schemas/projectApplicationSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["name", "environments", "instances", "sdks"]; readonly description: "A project application instance."; readonly properties: { readonly name: { readonly type: "string"; readonly description: "Name of the application that is using the SDK. This is the same as the appName in the SDK configuration."; }; readonly environments: { readonly description: "The environments that the application is using. This is the same as the environment in the SDK configuration."; readonly type: "array"; readonly items: { readonly type: "string"; }; readonly example: readonly ["development", "production"]; }; readonly instances: { readonly description: "The instances of the application that are using the SDK."; readonly type: "array"; readonly items: { readonly type: "string"; }; readonly example: readonly ["prod-b4ca", "prod-ac8a"]; }; readonly sdks: { readonly type: "array"; readonly description: "The SDKs that the application is using."; readonly items: { readonly $ref: "#/components/schemas/projectApplicationSdkSchema"; }; }; }; readonly components: { readonly projectApplicationSdkSchema: { readonly $id: "#/components/schemas/projectApplicationSdkSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["name", "versions"]; readonly description: "A project application instance SDK."; readonly properties: { readonly name: { readonly type: "string"; readonly description: "Name of the SDK package that the application is using."; readonly example: "unleash-client-node"; }; readonly versions: { readonly description: "The versions of the SDK that the application is using."; readonly type: "array"; readonly items: { readonly type: "string"; }; readonly example: readonly ["4.1.1"]; }; }; readonly components: {}; }; }; }; readonly projectApplicationSdkSchema: { readonly $id: "#/components/schemas/projectApplicationSdkSchema"; readonly type: "object"; readonly additionalProperties: false; readonly required: readonly ["name", "versions"]; readonly description: "A project application instance SDK."; readonly properties: { readonly name: { readonly type: "string"; readonly description: "Name of the SDK package that the application is using."; readonly example: "unleash-client-node"; }; readonly versions: { readonly description: "The versions of the SDK that the application is using."; readonly type: "array"; readonly items: { readonly type: "string"; }; readonly example: readonly ["4.1.1"]; }; }; readonly components: {}; }; }; }; }; export type ProjectApplicationsSchema = FromSchema<typeof projectApplicationsSchema>; //# sourceMappingURL=project-applications-schema.d.ts.map