UNPKG

unleash-server

Version:

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

38 lines (37 loc) 1.69 kB
import { FromSchema } from 'json-schema-to-ts'; export declare const searchEventsSchema: { readonly $id: "#/components/schemas/searchEventsSchema"; readonly type: "object"; readonly description: "\n Search for events by type, project, feature, free-text query,\n or a combination thereof. Pass an empty object to fetch all events.\n "; readonly properties: { readonly type: { readonly type: "string"; readonly description: "Find events by event type (case-sensitive)."; }; readonly project: { readonly type: "string"; readonly description: "Find events by project ID (case-sensitive)."; }; readonly feature: { readonly type: "string"; readonly description: "Find events by feature toggle name (case-sensitive)."; }; readonly query: { readonly type: "string"; readonly description: "\n Find events by a free-text search query.\n The query will be matched against the event type,\n the username or email that created the event (if any),\n and the event data payload (if any).\n "; }; readonly limit: { readonly type: "integer"; readonly minimum: 1; readonly maximum: 100; readonly default: 100; }; readonly offset: { readonly type: "integer"; readonly minimum: 0; readonly default: 0; }; }; readonly components: {}; }; export declare type SearchEventsSchema = FromSchema<typeof searchEventsSchema>;