refactor: dev optimizations + improvements
This commit is contained in:
45
server/graph/schemas/system.graphql
Normal file
45
server/graph/schemas/system.graphql
Normal file
@@ -0,0 +1,45 @@
|
||||
# ===============================================
|
||||
# SYSTEM
|
||||
# ===============================================
|
||||
|
||||
extend type Query {
|
||||
system: SystemQuery
|
||||
}
|
||||
|
||||
extend type Mutation {
|
||||
system: SystemMutation
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
# QUERIES
|
||||
# -----------------------------------------------
|
||||
|
||||
type SystemQuery {
|
||||
info: SystemInfo
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
# MUTATIONS
|
||||
# -----------------------------------------------
|
||||
|
||||
type SystemMutation {
|
||||
todo: String
|
||||
}
|
||||
|
||||
# -----------------------------------------------
|
||||
# TYPES
|
||||
# -----------------------------------------------
|
||||
|
||||
type SystemInfo {
|
||||
currentVersion: String
|
||||
latestVersion: String
|
||||
latestVersionReleaseDate: Date
|
||||
operatingSystem: String
|
||||
hostname: String
|
||||
cpuCores: Int
|
||||
ramTotal: Int
|
||||
workingDirectory: String
|
||||
nodeVersion: String
|
||||
redisVersion: String
|
||||
postgreVersion: String
|
||||
}
|
@@ -1,7 +1,5 @@
|
||||
extends ../master.pug
|
||||
|
||||
block body
|
||||
body
|
||||
#app.is-fullscreen
|
||||
login
|
||||
navigator
|
||||
#app.is-fullscreen
|
||||
login
|
||||
|
@@ -1,11 +1,10 @@
|
||||
extends ../master.pug
|
||||
|
||||
block body
|
||||
body
|
||||
#app.is-fullscreen
|
||||
v-app
|
||||
.onboarding
|
||||
img(src='/svg/logo-wikijs.svg', alt='Wiki.js')
|
||||
h1= t('welcome.title')
|
||||
h2= t('welcome.subtitle')
|
||||
v-btn(color='primary', href='/e/home')= t('welcome.createhome')
|
||||
#app.is-fullscreen
|
||||
v-app
|
||||
.onboarding
|
||||
img(src='/svg/logo-wikijs.svg', alt='Wiki.js')
|
||||
h1= t('welcome.title')
|
||||
h2= t('welcome.subtitle')
|
||||
v-btn(color='primary', href='/e/home')= t('welcome.createhome')
|
||||
|
@@ -27,8 +27,8 @@ html
|
||||
|
||||
block head
|
||||
|
||||
link(href="/css/client.css?89183d15bb0e30aac49f" rel="stylesheet")
|
||||
script(type="text/javascript" src="/js/runtime.js?89183d15bb0e30aac49f")
|
||||
script(type="text/javascript" src="/js/client.js?89183d15bb0e30aac49f" async)
|
||||
link(href="/css/client.css?c473342a20546c545ebc" rel="stylesheet")
|
||||
script(type="text/javascript" src="/js/runtime.js?c473342a20546c545ebc")
|
||||
script(type="text/javascript" src="/js/client.js?c473342a20546c545ebc" async)
|
||||
body
|
||||
block body
|
||||
|
Reference in New Issue
Block a user