Spatio.Model.Sheet (spatio_sdk v0.0.2)

A spreadsheet. Sheets belong to exactly one connected account (accountId + provider). The native provider stores sheets in the Spatio database; external providers (Google Sheets, Excel Online, etc.) round-trip through Spatio. data is a free-form bag for provider-specific blobs (cell matrices, formulas, formatting). Clients that walk rows / cells should use the dedicated row + cell endpoints; data is only meaningful when round-tripping with an external provider that embeds its native format here.

Summary

Types

t()

@type t() :: %Spatio.Model.Sheet{
  accountId: String.t() | nil,
  columnCount: integer(),
  createdAt: DateTime.t(),
  data: %{optional(String.t()) => any()} | nil,
  description: String.t() | nil,
  fileSize: integer() | nil,
  id: String.t(),
  isPublic: boolean(),
  isReadOnly: boolean(),
  lastAccessedAt: DateTime.t() | nil,
  name: String.t(),
  ownerUserId: String.t() | nil,
  provider: String.t() | nil,
  rowCount: integer(),
  sheetCount: integer(),
  updatedAt: DateTime.t()
}

Functions

decode(value)