ApiCoreInterfaces
Interface: CreateSpaceParams
Defined in: packages/core/src/space/space-manager.ts:74
Properties
| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
assigned? | readonly | Readonly<Record<string, readonly string[]>> | Roles the constitution assigns, account → role names: under top: none, the creator's at least | packages/core/src/space/space-manager.ts:89 |
cofounders? | readonly | readonly string[] | Under top: founders, who founds it with the creator | packages/core/src/space/space-manager.ts:87 |
creator | readonly | string | - | packages/core/src/space/space-manager.ts:77 |
name | readonly | string | - | packages/core/src/space/space-manager.ts:75 |
roles? | readonly | readonly 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? | readonly | string | The space this one succeeds: name it there too, with spaces.succeed | packages/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 |
visibility | readonly | SpaceVisibility | - | packages/core/src/space/space-manager.ts:76 |