sumba 1.2.12 → 1.2.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -107,6 +107,7 @@
107
107
  "currentApiKey": "Current API Key",
108
108
  "downloadList": "Download List",
109
109
  "manageDownload": "Manage Download",
110
+ "userSession": "User Session",
110
111
  "field": {
111
112
  "currentPassword": "Current Password",
112
113
  "newPassword": "New Password",
package/bajo/intl/id.json CHANGED
@@ -108,6 +108,7 @@
108
108
  "currentApiKey": "Kunci API Saat Ini",
109
109
  "downloadList": "Daftar Unduh",
110
110
  "manageDownload": "Kelola Unduhan",
111
+ "userSession": "Sesi Pengguna",
111
112
  "field": {
112
113
  "currentPassword": "Kata Sandi Saat Ini",
113
114
  "newPassword": "Kata Sandi Baru",
package/index.js CHANGED
@@ -172,6 +172,11 @@ async function factory (pkgName) {
172
172
  { title: 'manageDownload', href: `waibuAdmin:/${prefix}/download/list` },
173
173
  { title: 'resetUserPassword', href: `waibuAdmin:/${prefix}/reset-user-password` }
174
174
  ]
175
+ }, {
176
+ title: 'misc',
177
+ children: [
178
+ { title: 'userSession', href: `waibuAdmin:/${prefix}/session/list` }
179
+ ]
175
180
  }]
176
181
  }
177
182
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sumba",
3
- "version": "1.2.12",
3
+ "version": "1.2.13",
4
4
  "description": "Bajo Framework's Biz Suite",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -22,6 +22,7 @@
22
22
  "stat": {
23
23
  "aggregate": [
24
24
  { "fields": ["status"], "group": "status", "aggregate": ["count"] },
25
+ { "fields": ["provider"], "group": "provider", "aggregate": ["count"] },
25
26
  { "fields": ["country"], "group": "country", "aggregate": ["count"] }
26
27
  ]
27
28
  }
@@ -0,0 +1,11 @@
1
+ const action = {
2
+ method: ['GET', 'POST'],
3
+ title: 'userSession',
4
+ handler: async function (req, reply) {
5
+ const { importModule } = this.app.bajo
6
+ const crudSkel = await importModule('waibuAdmin:/lib/crud-skel.js')
7
+ return await crudSkel.call(this, 'WmpaSession', req, reply)
8
+ }
9
+ }
10
+
11
+ export default action