arcaTenancynamespacenamespace arcaTenancyThe typed tables of the arcaTenancy model, generated by IFC Data from the model. Do not edit: change the model and run bun tools/typed.ts --write.
The boundaries that separate one customer's data from another's, and their hierarchy
arcaTenancynamespacenamespace arcaTenancyarcaTenancy.TenantRowinterfaceno test imports itinterface TenantRowA boundary that separates one customer's data from another's, in a hierarchy of boundaries
| Member | Type | What it is |
|---|---|---|
tenantId | string | What identifies the tenant, made by the application when it is created |
kind | "business" | "consumer_pool" | "platform" | "reseller" | What the tenant is in the hierarchy |
slug | string | The short name the tenant is addressed by, unique among tenants |
displayName | string | The name the tenant is shown by |
ancestry | string | The path of the tenant's parents from the root, kept by the operation that moves a tenant, so that a subtree is one query |
status | "active" | "closed" | "suspended" | Where the tenant is in its life |
isolation | "dedicated" | "shared" | How much of the platform the tenant has to itself |
createdAt | Timestamp | When the tenant was made |
organizationPartyId | string | null | The organization the tenant is for; a pool of consumers has none |
parentTenantId | string | null | The tenant this one is under; the root has none |
arcaTenancy.TenantInsertinterfaceno test imports itinterface TenantInsertWhat an insert into tenant takes: what the database fills may be left out.
| Member | Type | What it is |
|---|---|---|
tenantId | string | |
kind | "business" | "consumer_pool" | "platform" | "reseller" | |
slug | string | |
displayName | string | |
ancestry | string | |
status | "active" | "closed" | "suspended" | |
isolation | "dedicated" | "shared" | |
createdAt | Timestamp | |
organizationPartyId? | string | null | |
parentTenantId? | string | null |
arcaTenancy.TenantKeytypeno test imports ittype TenantKey = { readonly tenantId: string };The key of a row of tenant.
arcaTenancy.tenantconstno test imports itconst tenant: Table<TenantRow, TenantInsert, "tenant">A boundary that separates one customer's data from another's, in a hierarchy of boundaries