Explore this module further in the Mover Registry: @sage/admin
Structs
ChannelConfig
Holds the Channel type for runtime type checks.
ChannelWitnessConfig
Holds the ChannelWitness type for runtime type checks.
GroupWitnessConfig
Holds the GroupWitness type for runtime type checks.
UserOwnedConfig
Holds the UserOwned type for runtime type checks.
UserSharedConfig
Holds the UserShared type for runtime type checks.
UserWitnessConfig
Holds the UserWitness type for runtime type checks.
Constants
Runtime type checking failed for the struct type.
Runtime type checking failed for the witness.
Functions
assert_channel
Aborts with ETypeMismatch if the channel is not of the configured ChannelType.
assert_channel_witness
Aborts with EWitnessMismatch if the channel_witness is not of the configured ChannelWitnessType.
assert_group_witness
Aborts with EWitnessMismatch if the group_witness is not of the configured GroupWitnessType.
assert_owned_user
Aborts with ETypeMismatch if the owned_user is not of the configured UserOwnedType.
assert_shared_user
Aborts with ETypeMismatch if the shared_user is not of the configured UserSharedType.
assert_user_witness
Aborts with with EWitnessMismatch if the user_witness is not of the configured UserWitnessType.
verify_channel
Returns true if the channel is the configured ChannelType, and false otherwise.
verify_channel_witness
Returns true if the channel_witness is the configured ChannelWitnessType, and false otherwise.
verify_group_witness
Returns true if the group_witness is the configured GroupWitnessType, and false otherwise.
verify_owned_user
Returns true if the owned_user is the configured UserOwnedType, and false otherwise.
verify_shared_user
Returns true if the shared_user is the configured UserSharedType, and false otherwise.
verify_user_witness
Returns true if the user_witness is the configured UserWitnessType, and false otherwise.