mirror of https://codeberg.org/pzp/pzp-sync.git
fix protospec.md
This commit is contained in:
parent
2a2b184dd1
commit
1aac2f56a2
13
protospec.md
13
protospec.md
|
@ -86,7 +86,10 @@ interface Data4567 extends WithId {
|
||||||
|
|
||||||
interface Data8 extends WithId {
|
interface Data8 extends WithId {
|
||||||
phase: 8,
|
phase: 8,
|
||||||
payload: Array<string>,
|
payload: {
|
||||||
|
msgs: Array<Msg>,
|
||||||
|
bloom: string,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
interface Data9 extends WithId {
|
interface Data9 extends WithId {
|
||||||
|
@ -94,11 +97,5 @@ interface Data9 extends WithId {
|
||||||
payload: Array<Msg>,
|
payload: Array<Msg>,
|
||||||
}
|
}
|
||||||
|
|
||||||
type Data = {
|
type Data = Data1 | Data2 | Data3 | Data4567 | Data8 | Data9
|
||||||
id: string, // TangleID: msg hash of the tangle's root msg
|
|
||||||
phase: 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10,
|
|
||||||
payload: {
|
|
||||||
|
|
||||||
}
|
|
||||||
}
|
|
||||||
```
|
```
|
Loading…
Reference in New Issue