# LoadResult

What load returns.

> Every page: https://tomekit.aayush.cv/llms.txt

Defined in: [index.ts:176](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/index.ts#L176)

What `load` returns.

## Example

```ts
const pages: Loader = {
  load: () => ({
    entries: [{ slug: "hello" }],
    warnings: ["pages: the API is unreachable, so these pages come from the cache"],
  }),
};
```

## Properties

### entries

```ts
entries: readonly Entry<TFile>[];
```

Defined in: [index.ts:180](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/index.ts#L180)

In the order `documents()` returns them.

***

### issues?

```ts
issues?: readonly LoadIssue[];
```

Defined in: [index.ts:182](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/index.ts#L182)

Entries that could not be loaded. The rest still load.

***

### warnings?

```ts
warnings?: readonly string[];
```

Defined in: [index.ts:184](https://github.com/aayushbtw/tomekit/blob/main/packages/tomekit/src/index.ts#L184)

Printed as they are. Say what happens because of them, eg `directory "x" has no files, so the collection is empty`.
