mirror of
https://github.com/LukeHagar/dub-node.git
synced 2025-12-09 20:37:49 +00:00
25 lines
5.5 KiB
Markdown
25 lines
5.5 KiB
Markdown
# WorkspaceSchema
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description |
|
|
| ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ | ------------------------------------------------------------------ |
|
|
| `id` | *string* | :heavy_check_mark: | The unique ID of the workspace. |
|
|
| `name` | *string* | :heavy_check_mark: | The name of the workspace. |
|
|
| `slug` | *string* | :heavy_check_mark: | The slug of the workspace. |
|
|
| `logo` | *string* | :heavy_minus_sign: | The logo of the workspace. |
|
|
| `usage` | *number* | :heavy_check_mark: | The usage of the workspace. |
|
|
| `usageLimit` | *number* | :heavy_check_mark: | The usage limit of the workspace. |
|
|
| `linksUsage` | *number* | :heavy_check_mark: | The links usage of the workspace. |
|
|
| `linksLimit` | *number* | :heavy_check_mark: | The links limit of the workspace. |
|
|
| `domainsLimit` | *number* | :heavy_check_mark: | The domains limit of the workspace. |
|
|
| `tagsLimit` | *number* | :heavy_check_mark: | The tags limit of the workspace. |
|
|
| `usersLimit` | *number* | :heavy_check_mark: | The users limit of the workspace. |
|
|
| `plan` | [components.Plan](../../models/components/plan.md) | :heavy_check_mark: | The plan of the workspace. |
|
|
| `stripeId` | *string* | :heavy_check_mark: | The Stripe ID of the workspace. |
|
|
| `billingCycleStart` | *number* | :heavy_check_mark: | The date and time when the billing cycle starts for the workspace. |
|
|
| `createdAt` | *string* | :heavy_check_mark: | The date and time when the workspace was created. |
|
|
| `users` | [components.Users](../../models/components/users.md)[] | :heavy_check_mark: | The role of the authenticated user in the workspace. |
|
|
| `domains` | [components.Domains](../../models/components/domains.md)[] | :heavy_check_mark: | The domains of the workspace. |
|
|
| `inviteCode` | *string* | :heavy_check_mark: | The invite code of the workspace. | |