"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.taskMappings = void 0; /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License * 2.0; you may not use this file except in compliance with the Elastic License * 2.0. */ const taskMappings = { dynamic: false, properties: { taskType: { type: 'keyword' }, scheduledAt: { type: 'date' }, runAt: { type: 'date' }, // NO NEED TO BE INDEXED // startedAt: { // type: 'date', // }, retryAt: { type: 'date' }, enabled: { type: 'boolean' }, schedule: { properties: { interval: { type: 'keyword' } } }, attempts: { type: 'integer' }, status: { type: 'keyword' }, // NO NEED TO BE INDEXED // traceparent: { // type: 'text', // }, // params: { // type: 'text', // }, // state: { // type: 'text', // }, // NO NEED TO BE INDEXED // user: { // type: 'keyword', // }, scope: { type: 'keyword' }, ownerId: { type: 'keyword' } } }; exports.taskMappings = taskMappings;