# RegistryFile

Source: /tuil/docs/reference/packages/registry/api/registry-file
Locale: en

interface exported by @mwillbanks/tuil-registry.



{/* Generated by tooling/docs/generate-reference.ts. */}

## interface [#interface]

Public interface exported by `@mwillbanks/tuil-registry`.

```ts
export interface RegistryFile {
  readonly path: string;
  readonly target: string;
  readonly source?: string;
  readonly content: string;
}
```

## Members [#members]

| Member    | Type                  | Required | Description                                                  | Related types |
| --------- | --------------------- | -------- | ------------------------------------------------------------ | ------------- |
| `path`    | `string`              | Yes      | The `path` member uses the `string` contract.                | —             |
| `target`  | `string`              | Yes      | The `target` member uses the `string` contract.              | —             |
| `source`  | `string \| undefined` | No       | The `source` member uses the `string \| undefined` contract. | —             |
| `content` | `string`              | Yes      | The `content` member uses the `string` contract.             | —             |

## Parameters [#parameters]

This declaration has no public members.

## Returns [#returns]

This declaration does not return a value.

## Throws [#throws]

No thrown errors are documented for this declaration.

## Related types [#related-types]

No package-local related types.

## Source [#source]

[View the secondary source reference](https://github.com/mwillbanks/tuil/blob/main/packages/registry/src/index.ts)

## Package [#package]

[@mwillbanks/tuil-registry](/tuil/docs/reference/packages/registry)
