# gg.lou.fasttravel.preference

> Published by [lou.gg](https://lexicon.garden/identity/did:plc:w64dlsa4zwjv2wljlvmymldc)

✓ This is the authoritative definition for this NSID.

## Links

- [View on Lexicon Garden](https://lexicon.garden/lexicon/did:plc:w64dlsa4zwjv2wljlvmymldc/gg.lou.fasttravel.preference)
- [Documentation](https://lexicon.garden/lexicon/did:plc:w64dlsa4zwjv2wljlvmymldc/gg.lou.fasttravel.preference/docs)
- [Examples](https://lexicon.garden/lexicon/did:plc:w64dlsa4zwjv2wljlvmymldc/gg.lou.fasttravel.preference/examples)

## Definitions

### `gg.lou.fasttravel.preference#customClient`

**Type**: `object`

A client that isn't built into FastTravel.

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `color` | `string` | No | Accent color as a hex code, such as #a52c08. |
| `host` | `string` | No | Host of a client that uses the same paths as bsky.app. |
| `name` | `string` | Yes |  |
| `postTemplate` | `string` | No | Post URL with {actor} and {rkey} placeholders. |
| `profileTemplate` | `string` | No | Profile URL with {actor} as the handle or DID placeholder. |

### `gg.lou.fasttravel.preference`

**Type**: `record`

The Bluesky client that FastTravel opens Bluesky links in. One record per account.

**Key**: `literal:self`

| Property | Type | Required | Description |
|----------|------|----------|-------------|
| `adaptColors` | `boolean` | No | Whether FastTravel takes on the chosen client's colors. |
| `client` | `string` | Yes | Identifier of a built-in client, such as 'witchsky', or 'custom' to use the custom client below. |
| `custom` | `ref` → `#customClient` | No |  |
| `updatedAt` | `string` (datetime) | Yes |  |

## Raw Schema

```json
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "customClient": {
      "description": "A client that isn't built into FastTravel.",
      "properties": {
        "color": {
          "description": "Accent color as a hex code, such as #a52c08.",
          "maxLength": 7,
          "type": "string"
        },
        "host": {
          "description": "Host of a client that uses the same paths as bsky.app.",
          "maxLength": 253,
          "type": "string"
        },
        "name": {
          "maxGraphemes": 64,
          "maxLength": 640,
          "type": "string"
        },
        "postTemplate": {
          "description": "Post URL with {actor} and {rkey} placeholders.",
          "maxLength": 2048,
          "type": "string"
        },
        "profileTemplate": {
          "description": "Profile URL with {actor} as the handle or DID placeholder.",
          "maxLength": 2048,
          "type": "string"
        }
      },
      "required": [
        "name"
      ],
      "type": "object"
    },
    "main": {
      "description": "The Bluesky client that FastTravel opens Bluesky links in. One record per account.",
      "key": "literal:self",
      "record": {
        "properties": {
          "adaptColors": {
            "description": "Whether FastTravel takes on the chosen client's colors.",
            "type": "boolean"
          },
          "client": {
            "description": "Identifier of a built-in client, such as 'witchsky', or 'custom' to use the custom client below.",
            "maxLength": 64,
            "type": "string"
          },
          "custom": {
            "ref": "#customClient",
            "type": "ref"
          },
          "updatedAt": {
            "format": "datetime",
            "type": "string"
          }
        },
        "required": [
          "client",
          "updatedAt"
        ],
        "type": "object"
      },
      "type": "record"
    }
  },
  "id": "gg.lou.fasttravel.preference",
  "lexicon": 1
}
```
