Skip to Content
Notion UI

Settings Objects

Settings Store

The core object for settings panel.

Properties

Prop

Type

Account Store

Properties

Prop

Type

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  name: "Steve",
  email: "steve@example.com",
  avatarUrl: "https://secure.notion-static.com/e6a352a8-8381-44d0-a1dc-9ed80e62b53d.jpg"
  preferredName: "Steeeee",
  language: "de"
}

Workspace Store

Properties

Prop

Type

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  name: "Workspace",
  icon: { type: "text", src: "W" },
  domain: "notion.so",
  inviteLink: "notion.so/e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  plan: "free",
  role: "owner"
}

Passkey

Properties

Prop

Type

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  name: "My Passkey",
  createdAt: 1738368000000
}

Session Row

The row data of the sessions table.

Properties

Prop

Type

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  device: "MacBook Pro",
  type: "laptop",
  token: "abc123xyz456",
  lastActive: 1738368000000,
  location: "New York, USA"
}

Connection

The row data of the connections table.

Properties

Prop

Type

Example

{
  id: "be633bf1-dfa0-436d-b259-571129a590e5",
  connection: {
    type: "github",
    account: "steeeee0223",
    accountId: "abc123xyz456"
  },
  scopes: ["can view"]
}

Emoji Row

The row data of the emojis table.

Properties

Prop

Type

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  name: "party-parrot",
  src: "https://storage.example.com/emojis/party-parrot.gif",
  createdBy: "Steve",
  createdAt: 1738368000000
}

Member Row

The row data of the members table.

Properties

Prop

Type

See schema definitions for:

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  user: {
    id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
    name: "Steve",
    email: "steve@example.com",
    avatarUrl: "https://secure.notion-static.com/e6a352a8-8381-44d0-a1dc-9ed80e62b53d.jpg"
  },
  role: "owner",
  teamspaces: {
    current: "t1",
    options: [
      { id: "t1", name: "Teamspace 1", memberCount: 25 },
      { id: "t2", name: "Teamspace 2", memberCount: 10 },
      { id: "t3", name: "Teamspace 3", memberCount: 32 },
    ]
  },
  groups: {
    current: "g1",
    options: [
      { id: "g1", name: "Group 1", memberCount: 2 },
      { id: "g2", name: "Group 2", memberCount: 1 },
      { id: "g3", name: "Group 3", memberCount: 3 },
    ]
  }
}

Guest Row

The row data of the guests table.

Properties

Prop

Type

See schema definitions for:

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  user: {
    id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
    name: "Steve",
    email: "steve@example.com",
    avatarUrl: "https://secure.notion-static.com/e6a352a8-8381-44d0-a1dc-9ed80e62b53d.jpg"
  },
  role: "owner",
  teamspaces: {
    current: "t1",
    options: [
      { id: "t1", name: "Teamspace 1", memberCount: 25 },
      { id: "t2", name: "Teamspace 2", memberCount: 10 },
      { id: "t3", name: "Teamspace 3", memberCount: 32 },
    ]
  },
  groups: {
    current: "g1",
    options: [
      { id: "g1", name: "Group 1", memberCount: 2 },
      { id: "g2", name: "Group 2", memberCount: 1 },
      { id: "g3", name: "Group 3", memberCount: 3 },
    ]
  }
}

Invitation Row

The row data of the invitations table.

Properties

Prop

Type

See schema definitions for:

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  email: "steve@example.com",
  role: "guest"
  status: "pending",
  invitedBy: {
    id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
    name: "Steve",
    email: "steve@example.com",
    avatarUrl: "https://secure.notion-static.com/e6a352a8-8381-44d0-a1dc-9ed80e62b53d.jpg"
  },
}

Teamspace Row

The row data of the teamspaces table.

Properties

Prop

Type

See schema definitions for:

Example

{
  id: "t1",
  name: "Acme Lab",
  icon: { type: "emoji", value: "🚀" },
  permission: "closed",
  memberCount: 25,
  ownedBy: {
    name: "Steve",
    avatarUrl: "https://secure.notion-static.com/e6a352a8-8381-44d0-a1dc-9ed80e62b53d.jpg"
  },
  ownerCount: 3,
  updatedAt: 1738368000000,
}

Group Option

Properties

Prop

Type

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  name: "Group name",
  memberCount: 3
}

Cell Options

A CellOptions is a generic type CellOptions<T>, where T extends { id: string }.

Properties

Prop

Type

Example

An example for CellOptions<{ id: string, title: string }>

{
  current: "a",
  options: [
    { id: "a", title: "A" },
    { id: "b", title: "B" },
    { id: "c", title: "C" },
  ]
}

Page Access

Properties

Prop

Type

Example

{
  id: "e79a0b74-3aba-4149-9f74-0bb5791a6ee6",
  name: "Page 1",
  scope: 'can edit'
}

Billing Store

Properties

Prop

Type

Example

{
  paymentMethod: "Visa ending in 4242",
  billedTo: "Acme Labs",
  billingEmail: "billing@acme.com",
  invoiceEmails: true,
  vatNumber: "DE123456789",
  upcomingInvoice: "Plus plan"
}

Billing Address

Properties

Prop

Type

Address Fields

Prop

Type

Example

{
  name: "Steve",
  address: {
    line1: "123 Main St",
    line2: null,
    city: "San Francisco",
    state: "CA",
    postal_code: "94105",
    country: "US"
  }
}

On this page