/**-----------------------------------------------------------------------------------------
* Copyright © 2026 Progress Software Corporation. All rights reserved.
* Licensed under commercial license. See LICENSE.md in the project root for more information
*-------------------------------------------------------------------------------------------*/
/**
 * Represents an interface that describes a Scheduler resource.
 */
export interface Resource {
    /**
     * Sets the resource name. If not set, uses the value of the `field` option.
     */
    name?: string;
    /**
     * Sets the field name of the event that contains the resource value.
     */
    field: string;
    /**
     * Sets the resource data.
     */
    data: any[];
    /**
     * Sets the field name from the data that contains the resource value.
     */
    valueField: string;
    /**
     * Sets the field name from the data that contains the resource text.
     */
    textField: string;
    /**
     * Sets the field name from the data that contains the resource color.
     */
    colorField?: string;
    /**
     * Specifies if events have multiple resource values.
     */
    multiple?: boolean;
}
