org.atsui.List

Scrollable vertical list with paginated data source.

Repository @atsui.org did:plc:e4fjueijznwqm2yxvt7q4mba namespace authority
Details · procedure
Kindprocedure
Authorityatsui.org
Indexed
cid bafyreidpnxlgpgzonkjfzgywnwqp3qyx63k56k5vyd6m63m3lqnqwmavca

Checks

Valid Lint pass
JSONDownload
{
  "$type": "com.atproto.lexicon.schema",
  "defs": {
    "main": {
      "description": "Scrollable vertical list with paginated data source.",
      "input": {
        "encoding": "application/json",
        "schema": {
          "properties": {
            "input": {
              "description": "Parameters to pass to the query.",
              "type": "unknown"
            },
            "query": {
              "description": "XRPC query to call for pages of items. Resolved through the import stack via at.inlay.endpoint records.",
              "format": "nsid",
              "type": "string"
            }
          },
          "required": [
            "query"
          ],
          "type": "object"
        }
      },
      "output": {
        "encoding": "application/json",
        "schema": {
          "ref": "at.inlay.defs#response",
          "type": "ref"
        }
      },
      "type": "procedure"
    },
    "page": {
      "description": "Response shape from a List data source query.",
      "properties": {
        "cursor": {
          "description": "Opaque pagination token. Absent means no more items.",
          "maxLength": 512,
          "type": "string"
        },
        "items": {
          "description": "Elements to render as list rows.",
          "items": {
            "ref": "at.inlay.defs#element",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "items"
      ],
      "type": "object"
    }
  },
  "id": "org.atsui.List",
  "lexicon": 1
}