tldraw/docs/gen/BaseRecord-interface.mdx
Steve Ruiz 096df3209b
[1/2] Move docs to brivate (#1640)
This PR moves the docs site to the private repo while keeping the docs
content on the public repo.

### Change Type

- [x] `documentation`
2023-06-23 14:23:14 +00:00

64 lines
897 B
Text

---
title: BaseRecord
status: published
category: store
group: Interface
author: api
date: 06/23/2023
order: 2
---<Small>Public Interface</Small>
<details>
<summary>Table of Contents</summary>
- [Properties](#properties)
- [id](#BaseRecord-id-member)
- [typeName](#BaseRecord-typeName-member)
</details>
The base record that all records must extend.
##### Signature
```ts
interface BaseRecord<
TypeName extends string,
Id extends RecordId<UnknownRecord>
> {}
```
##### References
[RecordId](/gen/store/RecordId-type), [UnknownRecord](/gen/store/UnknownRecord-type)
---
## Properties
### `id` \{#BaseRecord-id-member}
<Small>Public Readonly PropertySignature</Small>
##### Signature
```ts
readonly id: Id
```
---
### `typeName` \{#BaseRecord-typeName-member}
<Small>Public Readonly PropertySignature</Small>
##### Signature
```ts
readonly typeName: TypeName
```
---