minca
ApiCoreInterfaces

Interface: CreateSpaceParams

Defined in: packages/core/src/space/space-manager.ts:74

Properties

PropertyModifierTypeDescriptionDefined in
assigned?readonlyReadonly<Record<string, readonly string[]>>Roles the constitution assigns, account → role names: under top: none, the creator's at leastpackages/core/src/space/space-manager.ts:89
cofounders?readonlyreadonly string[]Under top: founders, who founds it with the creatorpackages/core/src/space/space-manager.ts:87
creatorreadonlystring-packages/core/src/space/space-manager.ts:77
namereadonlystring-packages/core/src/space/space-manager.ts:75
roles?readonlyreadonly SpaceRole[]The roles it is founded with, and their grants. Default: none, so the founders alone (presets.solo).packages/core/src/space/space-manager.ts:79
succeeds?readonlystringThe space this one succeeds: name it there too, with spaces.succeedpackages/core/src/space/space-manager.ts:91
top?readonly"none" | "founders"founders (the default): the creator, and any cofounders, hold every command and can't be removed by anyone else. none: no one is above the roles, and the creator holds only what assigned gives it.packages/core/src/space/space-manager.ts:85
visibilityreadonlySpaceVisibility-packages/core/src/space/space-manager.ts:76

On this page