# SourceMap (/docs/api/interfaces/SourceMap)



Defined in: [packages/core/src/sourcemap.ts:29](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/sourcemap.ts#L29)

## Properties [#properties]

### file [#file]

```ts
file: string;
```

Defined in: [packages/core/src/sourcemap.ts:33](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/sourcemap.ts#L33)

Generated file name (best-effort; the CLI writes the map beside it).

***

### generator [#generator]

```ts
generator: "actio";
```

Defined in: [packages/core/src/sourcemap.ts:31](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/sourcemap.ts#L31)

***

### mappings [#mappings]

```ts
mappings: SourceMapping[];
```

Defined in: [packages/core/src/sourcemap.ts:37](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/sourcemap.ts#L37)

Sparse, sorted by generated line. Only confidently-resolved lines appear.

***

### sources [#sources]

```ts
sources: string[];
```

Defined in: [packages/core/src/sourcemap.ts:35](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/sourcemap.ts#L35)

Original source files, indexed by `SourceMapping.source`.

***

### version [#version]

```ts
version: 1;
```

Defined in: [packages/core/src/sourcemap.ts:30](https://github.com/austenstone/actio/blob/2b01e694a0f76521d8c073f3c6a2e48917d2c9d9/packages/core/src/sourcemap.ts#L30)


## Sitemap

Browse the full documentation: [Markdown sitemap](https://austenstone.github.io/actio/sitemap.md) · [XML sitemap](https://austenstone.github.io/actio/sitemap.xml)