Array of allowed Elasticsearch wildcard expansion modes for index patterns.
// Source: https://github.com/oomol-lab/open-connector | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
// Provided via justclaw.it.com; keep this notice with the code.
import type { ActionDefinition } from "../../core/types.ts";
import { s } from "../../core/json-schema.ts";
import { defineProviderAction } from "../../core/provider-definition.ts";
const service = "elasticsearch";
export const elasticsearchExpandWildcardValues = ["open", "closed", "hidden", "none", "all"] as const;
const looseObjectSchema = s.looseRequiredObject("A loose JSON object returned by Elasticsearch.", {});
const indexNameField = s.nonEmptyString("The Elasticsearch index name.");
const exactIndexNameField = s.string({
minLength: 1,
pattern: "^[^*?,]+$",
descrip
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key