-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Welcome to the Documentation wiki!
- Insert links
- Edit links
- Query links
- Login
Choose one of the variants. Right now we recommend you to use gitpod
- gitpod
- Local. instruction
Deepcase is located on 3007 port. Note: For local deep it is localhost:3007, in gitpod you can see ports on the ports panel
By default you see links contained in your space, you can see more by using queries.
Press right mouse button and choose insert
in context menu - insertion window will appear. Write query
in search panel located in insertion window and choose list view by using one of the two buttons on the top-right corner of the insertion window and then choose query link and create it by using mark button near to the bottom-right corner.
Press right mouse button on query link and choose editor from the context menu.
Query all the users. Literally we are going to query all links where type link is contained as User
in @deep-foundation/core
space
{
type_id: {
_id: ["@deep-foundation/core", "User"]
}
}
Press right mouse button and choose insert
in context menu - insertion window will appear. Write active
in search panel located in insertion window and choose list view by using one of the two buttons on the top-right corner of the insertion window and then choose active link and create it by using mark button near to the bottom-right corner.
Press right mouse button on the user with name admin
and press on the login
button in context menu
See that you are authenticated as admin user and see admin space (space link + links contained in the space)
Congratulations! 🎉🎉🎉
You have completed First steps
and now you can
- Insert links
- Edit links
- Query links
- Login
You have learned how to insert links in the First steps. Feel free to refresh your memory by re-reading it again, it is not scary, our mind is not ideal!
Edit value of Package link (not contain link) to set name of the package
You see links contained in the space. When you insert links they are contained in the space. We are going to see and contain new links in your new package so we have to switch to its space
Press right mouse button on the package link and press space
in the context menu
Do you remember query
and active
links? They are links of type Type
that is contained in the @deep-foundation/core
and they by the way contained in the same package. Let us create our own type! 🔨
Note: when we were inserting query
and active
links types of those links were Query
and Active
types that are contained in the @deep-foundation/core
package. Do not be scared! Types are links too and you use can use links as type, from, to for another link.
Insert Type
link by using right mouse button and insertion window. If you have forgot how to do that refresh your memory by reading Insert query step
Edit value of the Contain
link which points from your package to the Type
link
In short - to give a name to your type - you have edit Contain
link which goes from your Package link to the Type link
In detail - Query
link contained in the @deep-foundation/core
package is just a Type
link. A "meaning" is in the string value of the Contain
link that points from the package to the type with specific string value.
Literally we say our package treats this type as ...(anything you have written in the value of the contain link)
- Go to the space of your user by clicking X near to the space button.
- Insert link Token from the
@deep-foundation/npm-packager
package (package name is written below type name) - Set your npm token as value of Token link
- Press left mouse button on the Package link
- Write package name and version in the appeared window
- Click
publish
button
SyncTextFile contains code of handler. Each type of handler expects different types of code. For example supportsDockerJs handlers expect async arrow function inside your SyncTextFile while plv8SupportsJs expects arrow function
Handler points from supports
link to SyncTextFile.
Supports
links present which environment your code will be executed in
dockerSupportsJs
plv8SupportsJs
- TODO...
Handle points
from link-type which links-instances will trigger handler
to Handler