adds order of sheets

This commit is contained in:
Vitor Pamplona 2024-04-22 18:51:16 -04:00
parent 096b9adc20
commit 3e764cdd65

5
73.md
View File

@ -15,12 +15,13 @@ Event kind `35337` describes a workbook with `data` tags that contain the value
"kind": 35337, "kind": 35337,
"tags": [ "tags": [
["d", "<unique identifier>"], ["d", "<unique identifier>"],
["title", "Name of this spreadsheet"] // private title
["data", "<sheet name>", "<column letter>", "<row number>", "<value>"] ["data", "<sheet name>", "<column letter>", "<row number>", "<value>"]
["data", "<sheet name>", "<column letter>", "<row number>", "<value>", "<style>"] ["data", "<sheet name>", "<column letter>", "<row number>", "<value>", "<style>"]
["style", "<TBD>"] // Need to specify all options here. ["style", "<TBD>"] // Need to specify all options here.
], ],
"content": nip44Encrypt([ "content": nip44Encrypt([
["title", "Name of this topic"] // private title ["title", "Name of this spreadsheet"] // private title
["data", "<sheet name>", "<column letter>", "<row number>", "<value>"] // private data ["data", "<sheet name>", "<column letter>", "<row number>", "<value>"] // private data
// ... other tags // ... other tags
]), ]),
@ -28,6 +29,8 @@ Event kind `35337` describes a workbook with `data` tags that contain the value
} }
``` ```
Sheets MUST be rendered in the order of their tags.
## Example ## Example
```json ```json