# me.wilb.pointer

> Published by [wilb.me](https://lexicon.garden/identity/did:plc:oxdlsmnvpk2riyyuvq5jtdkd)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:oxdlsmnvpk2riyyuvq5jtdkd/me.wilb.pointer)
- [Documentation](https://lexicon.garden/lexicon/did:plc:oxdlsmnvpk2riyyuvq5jtdkd/me.wilb.pointer/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:oxdlsmnvpk2riyyuvq5jtdkd/me.wilb.pointer/examples)

## Definitions

### `me.wilb.pointer`

**Type**: `record`

Declares which code version is currently active for a kast. The rkey is the kast name, so there is exactly one pointer per kast name per user. Updating this record redeploys the kast without changing its URL.

**Key**: `any`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `name` | `string` | Yes | The kast name. Must mirror the record key (rkey). Used as the URL slug: kasta.app/{handle}/{name}. |
| `active` | `ref` → `com.atproto.repo.strongRef` | Yes | Strong reference to the currently active code record. May point to an me.wilb.code record today; future record types (e.g. me.wilb.project) are also valid targets. |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "id": "me.wilb.pointer",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "name",
          "active",
          "updatedAt"
        ],
        "properties": {
          "name": {
            "type": "string",
            "maxLength": 128,
            "description": "The kast name. Must mirror the record key (rkey). Used as the URL slug: kasta.app/{handle}/{name}."
          },
          "active": {
            "ref": "com.atproto.repo.strongRef",
            "type": "ref",
            "description": "Strong reference to the currently active code record. May point to an me.wilb.code record today; future record types (e.g. me.wilb.project) are also valid targets."
          },
          "updatedAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "description": "Declares which code version is currently active for a kast. The rkey is the kast name, so there is exactly one pointer per kast name per user. Updating this record redeploys the kast without changing its URL."
    }
  },
  "$type": "com.atproto.lexicon.schema",
  "lexicon": 1
}
```
