Skip to main content

Space

A governance container. Personal spaces are owned by one wallet; DAO spaces are member-governed via proposal/vote. Every entity is published into one or more spaces, and the space determines who can publish further edits and how votes are counted.

type Space implements Node {
nodeId: ID!
id: UUID!
type: SpaceTypes!
address: String!
topicId: UUID
proposalVotesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ProposalVotesOrderBy!] = [PRIMARY_KEY_ASC]
condition: ProposalVoteCondition
filter: ProposalVoteFilter
): ProposalVotesConnection!
proposalVotes(
first: Int
offset: Int
orderBy: [ProposalVotesOrderBy!]
condition: ProposalVoteCondition
filter: ProposalVoteFilter
): [ProposalVote!]!
proposalsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ProposalsOrderBy!] = [PRIMARY_KEY_ASC]
condition: ProposalCondition
filter: ProposalFilter
): ProposalsConnection!
proposals(
first: Int
offset: Int
orderBy: [ProposalsOrderBy!]
condition: ProposalCondition
filter: ProposalFilter
): [Proposal!]!
editors(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [EditorsOrderBy!] = [PRIMARY_KEY_ASC]
condition: EditorCondition
filter: EditorFilter
): EditorsConnection!
editorsList(
first: Int
offset: Int
orderBy: [EditorsOrderBy!]
condition: EditorCondition
filter: EditorFilter
): [Editor!]!
members(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [MembersOrderBy!] = [PRIMARY_KEY_ASC]
condition: MemberCondition
filter: MemberFilter
): MembersConnection!
membersList(
first: Int
offset: Int
orderBy: [MembersOrderBy!]
condition: MemberCondition
filter: MemberFilter
): [Member!]!
relationsConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [RelationsOrderBy!] = [PRIMARY_KEY_ASC]
condition: RelationCondition
filter: RelationFilter
): RelationsConnection!
relations(
first: Int
offset: Int
orderBy: [RelationsOrderBy!]
condition: RelationCondition
filter: RelationFilter
): [Relation!]!
relationsByFromSpaceIdConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [RelationsOrderBy!] = [PRIMARY_KEY_ASC]
condition: RelationCondition
filter: RelationFilter
): RelationsConnection!
relationsByFromSpaceId(
first: Int
offset: Int
orderBy: [RelationsOrderBy!]
condition: RelationCondition
filter: RelationFilter
): [Relation!]!
relationsByToSpaceIdConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [RelationsOrderBy!] = [PRIMARY_KEY_ASC]
condition: RelationCondition
filter: RelationFilter
): RelationsConnection!
relationsByToSpaceId(
first: Int
offset: Int
orderBy: [RelationsOrderBy!]
condition: RelationCondition
filter: RelationFilter
): [Relation!]!
valuesConnection(
first: Int
last: Int
offset: Int
before: Cursor
after: Cursor
orderBy: [ValuesOrderBy!] = [PRIMARY_KEY_ASC]
condition: ValueCondition
filter: ValueFilter
): ValuesConnection!
values(
first: Int
offset: Int
orderBy: [ValuesOrderBy!]
condition: ValueCondition
filter: ValueFilter
): [Value!]!
page: Entity
}

Fields

Space.nodeId ● ID! non-null scalar

A globally unique identifier. Can be used in various places throughout the system to identify this single value.

Space.id ● UUID! non-null scalar

The space's UUID. Stored as bytes16 hex on chain.

Space.type ● SpaceTypes! non-null enum

Either PERSONAL (single-wallet ownership) or DAO (community-governed). Determines the publish flow — personalSpace.publishEdit vs daoSpace.proposeEdit in the SDK.

Space.address ● String! non-null scalar

The space's on-chain contract address. Different from the spaceId.

Space.topicId ● UUID scalar

If this space is associated with a Topic entity, the Topic's UUID. Otherwise null.

Space.proposalVotesConnection ● ProposalVotesConnection! non-null object

Reads and enables pagination through a set of ProposalVote.

Space.proposalVotesConnection.first ● Int scalar

Only read the first n values of the set.

Space.proposalVotesConnection.last ● Int scalar

Only read the last n values of the set.

Space.proposalVotesConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.proposalVotesConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.proposalVotesConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.proposalVotesConnection.orderBy ● [ProposalVotesOrderBy!] list enum

The method to use when ordering ProposalVote.

Space.proposalVotesConnection.condition ● ProposalVoteCondition input

A condition to be used in determining which values should be returned by the collection.

Space.proposalVotesConnection.filter ● ProposalVoteFilter input

A filter to be used in determining which values should be returned by the collection.

Space.proposalVotes ● [ProposalVote!]! non-null object

Reads and enables pagination through a set of ProposalVote.

Space.proposalVotes.first ● Int scalar

Only read the first n values of the set.

Space.proposalVotes.offset ● Int scalar

Skip the first n values.

Space.proposalVotes.orderBy ● [ProposalVotesOrderBy!] list enum

The method to use when ordering ProposalVote.

Space.proposalVotes.condition ● ProposalVoteCondition input

A condition to be used in determining which values should be returned by the collection.

Space.proposalVotes.filter ● ProposalVoteFilter input

A filter to be used in determining which values should be returned by the collection.

Space.proposalsConnection ● ProposalsConnection! non-null object

Reads and enables pagination through a set of Proposal.

Space.proposalsConnection.first ● Int scalar

Only read the first n values of the set.

Space.proposalsConnection.last ● Int scalar

Only read the last n values of the set.

Space.proposalsConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.proposalsConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.proposalsConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.proposalsConnection.orderBy ● [ProposalsOrderBy!] list enum

The method to use when ordering Proposal.

Space.proposalsConnection.condition ● ProposalCondition input

A condition to be used in determining which values should be returned by the collection.

Space.proposalsConnection.filter ● ProposalFilter input

A filter to be used in determining which values should be returned by the collection.

Space.proposals ● [Proposal!]! non-null object

Reads and enables pagination through a set of Proposal.

Space.proposals.first ● Int scalar

Only read the first n values of the set.

Space.proposals.offset ● Int scalar

Skip the first n values.

Space.proposals.orderBy ● [ProposalsOrderBy!] list enum

The method to use when ordering Proposal.

Space.proposals.condition ● ProposalCondition input

A condition to be used in determining which values should be returned by the collection.

Space.proposals.filter ● ProposalFilter input

A filter to be used in determining which values should be returned by the collection.

Space.editors ● EditorsConnection! non-null object

Reads and enables pagination through a set of Editor.

Space.editors.first ● Int scalar

Only read the first n values of the set.

Space.editors.last ● Int scalar

Only read the last n values of the set.

Space.editors.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.editors.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.editors.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.editors.orderBy ● [EditorsOrderBy!] list enum

The method to use when ordering Editor.

Space.editors.condition ● EditorCondition input

A condition to be used in determining which values should be returned by the collection.

Space.editors.filter ● EditorFilter input

A filter to be used in determining which values should be returned by the collection.

Space.editorsList ● [Editor!]! non-null object

Reads and enables pagination through a set of Editor.

Space.editorsList.first ● Int scalar

Only read the first n values of the set.

Space.editorsList.offset ● Int scalar

Skip the first n values.

Space.editorsList.orderBy ● [EditorsOrderBy!] list enum

The method to use when ordering Editor.

Space.editorsList.condition ● EditorCondition input

A condition to be used in determining which values should be returned by the collection.

Space.editorsList.filter ● EditorFilter input

A filter to be used in determining which values should be returned by the collection.

Space.members ● MembersConnection! non-null object

Reads and enables pagination through a set of Member.

Space.members.first ● Int scalar

Only read the first n values of the set.

Space.members.last ● Int scalar

Only read the last n values of the set.

Space.members.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.members.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.members.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.members.orderBy ● [MembersOrderBy!] list enum

The method to use when ordering Member.

Space.members.condition ● MemberCondition input

A condition to be used in determining which values should be returned by the collection.

Space.members.filter ● MemberFilter input

A filter to be used in determining which values should be returned by the collection.

Space.membersList ● [Member!]! non-null object

Reads and enables pagination through a set of Member.

Space.membersList.first ● Int scalar

Only read the first n values of the set.

Space.membersList.offset ● Int scalar

Skip the first n values.

Space.membersList.orderBy ● [MembersOrderBy!] list enum

The method to use when ordering Member.

Space.membersList.condition ● MemberCondition input

A condition to be used in determining which values should be returned by the collection.

Space.membersList.filter ● MemberFilter input

A filter to be used in determining which values should be returned by the collection.

Space.relationsConnection ● RelationsConnection! non-null object

Reads and enables pagination through a set of Relation.

Space.relationsConnection.first ● Int scalar

Only read the first n values of the set.

Space.relationsConnection.last ● Int scalar

Only read the last n values of the set.

Space.relationsConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.relationsConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.relationsConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.relationsConnection.orderBy ● [RelationsOrderBy!] list enum

The method to use when ordering Relation.

Space.relationsConnection.condition ● RelationCondition input

A condition to be used in determining which values should be returned by the collection.

Space.relationsConnection.filter ● RelationFilter input

A filter to be used in determining which values should be returned by the collection.

Space.relations ● [Relation!]! non-null object

Reads and enables pagination through a set of Relation.

Space.relations.first ● Int scalar

Only read the first n values of the set.

Space.relations.offset ● Int scalar

Skip the first n values.

Space.relations.orderBy ● [RelationsOrderBy!] list enum

The method to use when ordering Relation.

Space.relations.condition ● RelationCondition input

A condition to be used in determining which values should be returned by the collection.

Space.relations.filter ● RelationFilter input

A filter to be used in determining which values should be returned by the collection.

Space.relationsByFromSpaceIdConnection ● RelationsConnection! non-null object

Reads and enables pagination through a set of Relation.

Space.relationsByFromSpaceIdConnection.first ● Int scalar

Only read the first n values of the set.

Space.relationsByFromSpaceIdConnection.last ● Int scalar

Only read the last n values of the set.

Space.relationsByFromSpaceIdConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.relationsByFromSpaceIdConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.relationsByFromSpaceIdConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.relationsByFromSpaceIdConnection.orderBy ● [RelationsOrderBy!] list enum

The method to use when ordering Relation.

Space.relationsByFromSpaceIdConnection.condition ● RelationCondition input

A condition to be used in determining which values should be returned by the collection.

Space.relationsByFromSpaceIdConnection.filter ● RelationFilter input

A filter to be used in determining which values should be returned by the collection.

Space.relationsByFromSpaceId ● [Relation!]! non-null object

Reads and enables pagination through a set of Relation.

Space.relationsByFromSpaceId.first ● Int scalar

Only read the first n values of the set.

Space.relationsByFromSpaceId.offset ● Int scalar

Skip the first n values.

Space.relationsByFromSpaceId.orderBy ● [RelationsOrderBy!] list enum

The method to use when ordering Relation.

Space.relationsByFromSpaceId.condition ● RelationCondition input

A condition to be used in determining which values should be returned by the collection.

Space.relationsByFromSpaceId.filter ● RelationFilter input

A filter to be used in determining which values should be returned by the collection.

Space.relationsByToSpaceIdConnection ● RelationsConnection! non-null object

Reads and enables pagination through a set of Relation.

Space.relationsByToSpaceIdConnection.first ● Int scalar

Only read the first n values of the set.

Space.relationsByToSpaceIdConnection.last ● Int scalar

Only read the last n values of the set.

Space.relationsByToSpaceIdConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.relationsByToSpaceIdConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.relationsByToSpaceIdConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.relationsByToSpaceIdConnection.orderBy ● [RelationsOrderBy!] list enum

The method to use when ordering Relation.

Space.relationsByToSpaceIdConnection.condition ● RelationCondition input

A condition to be used in determining which values should be returned by the collection.

Space.relationsByToSpaceIdConnection.filter ● RelationFilter input

A filter to be used in determining which values should be returned by the collection.

Space.relationsByToSpaceId ● [Relation!]! non-null object

Reads and enables pagination through a set of Relation.

Space.relationsByToSpaceId.first ● Int scalar

Only read the first n values of the set.

Space.relationsByToSpaceId.offset ● Int scalar

Skip the first n values.

Space.relationsByToSpaceId.orderBy ● [RelationsOrderBy!] list enum

The method to use when ordering Relation.

Space.relationsByToSpaceId.condition ● RelationCondition input

A condition to be used in determining which values should be returned by the collection.

Space.relationsByToSpaceId.filter ● RelationFilter input

A filter to be used in determining which values should be returned by the collection.

Space.valuesConnection ● ValuesConnection! non-null object

Reads and enables pagination through a set of Value.

Space.valuesConnection.first ● Int scalar

Only read the first n values of the set.

Space.valuesConnection.last ● Int scalar

Only read the last n values of the set.

Space.valuesConnection.offset ● Int scalar

Skip the first n values from our after cursor, an alternative to cursor based pagination. May not be used with last.

Space.valuesConnection.before ● Cursor scalar

Read all values in the set before (above) this cursor.

Space.valuesConnection.after ● Cursor scalar

Read all values in the set after (below) this cursor.

Space.valuesConnection.orderBy ● [ValuesOrderBy!] list enum

The method to use when ordering Value.

Space.valuesConnection.condition ● ValueCondition input

A condition to be used in determining which values should be returned by the collection.

Space.valuesConnection.filter ● ValueFilter input

A filter to be used in determining which values should be returned by the collection.

Space.values ● [Value!]! non-null object

Reads and enables pagination through a set of Value.

Space.values.first ● Int scalar

Only read the first n values of the set.

Space.values.offset ● Int scalar

Skip the first n values.

Space.values.orderBy ● [ValuesOrderBy!] list enum

The method to use when ordering Value.

Space.values.condition ● ValueCondition input

A condition to be used in determining which values should be returned by the collection.

Space.values.filter ● ValueFilter input

A filter to be used in determining which values should be returned by the collection.

Space.page ● Entity object

The space's front-door entity. Convention: holds the space's Name, Description, cover image, and any displayed blocks. Equivalent to the homepage of the space.

Interfaces

Node interface

An object with a globally unique ID.

Returned By

space query ● spaceByNodeId query ● spaces query

Member Of

Editor object ● Entity object ● Member object ● Proposal object ● ProposalVote object ● Relation object ● SpacesConnection object ● SpacesEdge object ● Value object

:::tip See also

Cookbook recipes that use this:

:::