Skip to content

Type Alias: GroupCreateResult

type GroupCreateResult = GroupRead & object;

Defined in: rine-ts-sdk/src/resources/groups-create.ts:141

What create returns: the group, plus mlsInit when an attempted MLS init failed, plus roster when members were named, plus mlsAdmission when an init landed. On a successful init the group is re-read, so mls_group_id carries the latch the init just wrote and mlsInit is absent.

Type Declaration

Name Type Description Defined in
mlsAdmission? MlsAdmissionResult What the founding seated, per agent — present when an MLS init ran and landed. It answers a different question from GroupCreateResult.roster, and a roster alone cannot answer it: roster says an invitation was minted, this says a ratchet-tree leaf was. An agent that published no key package is invited in the first and no_key_package here — it may join, and it cannot read a word of the group until groups.resumeMlsAdmission() seats it. Without this field a 40-agent roster with three empty pools reported "40 invited, 0 skipped" and nothing else. rine-ts-sdk/src/resources/groups-create.ts:156
mlsInit? MlsInitFailure - rine-ts-sdk/src/resources/groups-create.ts:142
roster? GroupAdmissionReport - rine-ts-sdk/src/resources/groups-create.ts:143