Skip to main content

Workspace

type Workspace = {
createdAt: string;
creatorId: string;
id: string;
inviteCode: string;
isGuestAllowed: boolean;
isLinkSharingEnabled: boolean;
limits: {
[key: string]: any;
current: Record<string, any> | null;
next: Record<string, any> | null;
};
logoBig?: string | null;
logoMedium?: string | null;
logoS640?: string | null;
logoSmall?: string | null;
name: string;
plan: "STARTER" | "BUSINESS";
properties: Record<string, unknown>;
role: "ADMIN" | "MEMBER" | "GUEST";
};

Represents a workspace in Todoist.

Type Declaration

NameTypeDefault value
createdAtstring-
creatorIdstring-
idstring-
inviteCodestring-
isGuestAllowedboolean-
isLinkSharingEnabledboolean-
limits{ [key: string]: any; current: Record<string, any> | null; next: Record<string, any> | null; }WorkspaceLimitsSchema
limits.currentRecord<string, any> | null-
limits.nextRecord<string, any> | null-
logoBig?string | null-
logoMedium?string | null-
logoS640?string | null-
logoSmall?string | null-
namestring-
plan"STARTER" | "BUSINESS"WorkspacePlanSchema
propertiesRecord<string, unknown>WorkspacePropertiesSchema
role"ADMIN" | "MEMBER" | "GUEST"WorkspaceRoleSchema