Skip to main content

Interface: SubspacesV3Extension

Subspaces.v3.SubspacesV3Extension

Properties

subspacesV3

Readonly subspacesV3: Object

Type declaration

NameTypeDescription
subspace(id: Long) => Promise<QuerySubspaceResponse>Queries all the information about the subspace with the given id
subspaces(pagination?: PageRequest) => Promise<QuerySubspacesResponse>Queries all the subspaces inside Desmos
userGroup(subspaceId: Long, groupId: number) => Promise<QueryUserGroupResponse>Queries the user group having the given id inside the specific subspace
userGroupMembers(subspaceId: Long, groupId: number, pagination?: PageRequest) => Promise<QueryUserGroupMembersResponse>Queries all the members of a given user group
userGroups(subspaceId: Long, sectionId: number, pagination?: PageRequest) => Promise<QueryUserGroupsResponse>Queries all the groups that are present inside the subspace with the given id
userPermissions(subspaceId: Long, sectionId: number, user: string) => Promise<QueryUserPermissionsResponse>Queries the permissions for the given user

Defined in

packages/core/src/modules/subspaces/v3/query.ts:15