mirror of https://codeberg.org/pzp/pzp-db.git
Update protospec.md
This commit is contained in:
parent
53d8c44da8
commit
9356b9b3d9
|
@ -20,7 +20,7 @@ JSON
|
||||||
|
|
||||||
```typescript
|
```typescript
|
||||||
interface Msg {
|
interface Msg {
|
||||||
data: any | null // any object, or null
|
data: Record<string, any> | string | null // a plaintext object, or ciphertext string, or null
|
||||||
metadata: {
|
metadata: {
|
||||||
account: string | 'self' | 'any' // blake3 hash of an account tangle root msg, or the string 'self', or 'any'
|
account: string | 'self' | 'any' // blake3 hash of an account tangle root msg, or the string 'self', or 'any'
|
||||||
accountTips: Array<string> | null // list of blake3 hashes of account tangle tips, or null
|
accountTips: Array<string> | null // list of blake3 hashes of account tangle tips, or null
|
||||||
|
|
Loading…
Reference in New Issue