# SchedulerResourceInfo (@salmonui/scheduler)

> The SchedulerResourceInfo interface of @salmonui/scheduler: One resource item (api.getResources(), header templates).

Canonical: https://salmonui.dev/docs/reference/scheduler/SchedulerResourceInfo

```ts
import type { SchedulerResourceInfo } from '@salmonui/scheduler';
```

Entry index: https://salmonui.dev/docs/reference/scheduler (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/scheduler.md).

## Reference

Kind: interface

```ts
interface SchedulerResourceInfo {
    readonly resource: string;
    readonly field: string;
    readonly id: unknown;
    readonly text: string;
    readonly color: string | undefined;
    readonly parentId: unknown;
    readonly className: string | undefined;
    readonly data: unknown;
}
```

One resource item (`api.getResources()`, header templates).

Members (8):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `resource` | `readonly resource: string;` |  |  |
| `field` | `readonly field: string;` |  |  |
| `id` | `readonly id: unknown;` |  |  |
| `text` | `readonly text: string;` |  |  |
| `color` | `readonly color: string \| undefined;` |  |  |
| `parentId` | `readonly parentId: unknown;` |  |  |
| `className` | `readonly className: string \| undefined;` |  |  |
| `data` | `readonly data: unknown;` |  |  |
