Domain
Defined in: src/schema.ts:81
A short-link domain (go.acme.com). Domains are either shared by every
tenant (tenant unset) or owned by one tenant (a customer’s branded domain).
DNS and TLS for the hostname are the host’s responsibility.
Properties
Section titled “Properties”| Property | Type | Description | Defined in |
|---|---|---|---|
apps? |
object |
Deep-link association files served from /.well-known/ (ADR 0008). |
src/schema.ts:95 |
apps.android? |
AndroidAppConfig[] |
- | src/schema.ts:95 |
apps.ios? |
IosAppConfig |
- | src/schema.ts:95 |
caseSensitive? |
boolean |
Match slugs case-sensitively. Default false (ADR 0012). |
src/schema.ts:91 |
createdAt? |
string |
- | src/schema.ts:100 |
hostname |
string |
Lowercase hostname, no scheme or port, e.g. "go.acme.com". |
src/schema.ts:83 |
isDefault? |
boolean |
Default for new links on this domain. | src/schema.ts:97 |
metadata? |
JsonObject |
Arbitrary host-defined metadata. | src/schema.ts:99 |
notFoundUrl? |
string |
Where unknown slugs redirect. Unset = 404 page / fall through. | src/schema.ts:89 |
rootUrl? |
string |
Where the bare domain (/) redirects. Unset = fall through / 404. |
src/schema.ts:87 |
slugLength? |
number |
Length of generated slugs on this domain. Default 7. | src/schema.ts:93 |
tenant? |
string |
Owning tenant; unset = shared domain any tenant may use. | src/schema.ts:85 |
updatedAt? |
string |
- | src/schema.ts:101 |