-
Notifications
You must be signed in to change notification settings - Fork 202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(config): add multi-namespace support #2993
Conversation
|
docs/pages/config.mdx
Outdated
|
||
- `src/namespaces/app/codegen/tables/Tasks.sol` - the generated code for `app__Tasks` table. | ||
- `src/namespaces/app/codegen/index.sol` - a single file that imports all the table definitions of the namespace (in this case, only `Tasks.sol`). | ||
- `src/codegen/world/I*System.sol` - interfaces for all the `System`s. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `src/codegen/world/I*System.sol` - interfaces for all the `System`s. | |
- `src/codegen/world/I*System.sol` - interfaces for all the system functions registered in the world. |
docs/pages/config.mdx
Outdated
- The tables in your project in the `tables` object of your configuration. | ||
- The [namespace](/world/namespaces-access-control) that [systems](/world/systems) and tables will be deployed in. | ||
- The tables in your project. | ||
- The [namespace(s)](/world/namespaces-access-control) that [`System`s](/world/systems) and tables will be deployed in. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- The [namespace(s)](/world/namespaces-access-control) that [`System`s](/world/systems) and tables will be deployed in. | |
- The [namespace(s)](/world/namespaces-access-control) that [systems](/world/systems) and tables will be deployed in. |
let's use a regular noun for systems throughout rather than a proper noun or code snippet (to match "tables", etc)
docs/pages/config.mdx
Outdated
@@ -35,7 +82,7 @@ export default defineWorld({ | |||
}, | |||
}, | |||
systems: { | |||
TestSystem: { | |||
RootSystem: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we think of another example? I don't think should promote "root" things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed it. But in general, you often have to have some code with admin powers, and that code needs to be of limited availability.
d386ec1
to
67abe67
Compare
Closing: #2994