sumba 1.1.2 → 1.1.3

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.
@@ -76,8 +76,8 @@
76
76
  "forgotPasswordLink": "Forgot Password Link",
77
77
  "forgotPasswordChanged": "Password Successfully Changed",
78
78
  "collectingTeamGuards": "Collecting team guards:",
79
- "team%d": "- Team: %d",
80
- "negTeam%d": "- Negated Team: %d",
79
+ "teamRoutes%d": "- Team: %d",
80
+ "teamNegRoutes%d": "- Negated Team: %d",
81
81
  "moreInfoContactAdmin": "Please <c:a href='sumba:/help/contact-form'>contact</c:a> your Admin for more info, thank you!",
82
82
  "restricted": "Restricted",
83
83
  "fullscreen": "Fullscreen",
package/bajo/intl/id.json CHANGED
@@ -76,9 +76,9 @@
76
76
  "emailSent": "Sebuah surel telah dikirim ke alamat Anda",
77
77
  "forgotPasswordLink": "Tautan Lupa Kata Sandi",
78
78
  "forgotPasswordChanged": "Kata Sandi Sukses Diubah",
79
- "collectingTeamGuards": "Mengoleksi akses pertahanan:",
80
- "team%d": "- Akses: %d",
81
- "negTeam%d": "- Akses, dinegasikan: %d",
79
+ "collectingTeamGuards": "Mengoleksi pertahanan tim:",
80
+ "teamRoutes%d": "- Akses: %d",
81
+ "teamNegRoutes%d": "- Akses, dinegasikan: %d",
82
82
  "moreInfoContactAdmin": "Mohon <c:a href='sumba:/help/contact-form'>hubungi</c:a> Admin Anda untuk keterangan lebih lanjut, terima kasih!",
83
83
  "restricted": "Pembatasan",
84
84
  "fullscreen": "Layar Penuh",
@@ -2,7 +2,6 @@ export async function collect ({ type = '', handler, container, file, ns, dir })
2
2
  const { readConfig } = this.app.bajo
3
3
  const { routePath } = this.app.waibu
4
4
  const { camelCase, find, isString } = this.app.bajo.lib._
5
-
6
5
  const items = await readConfig(file, { ignoreError: true })
7
6
  const [item] = file.replace(dir, '').split('@')
8
7
  let [source, subNs] = item.split('.').map(s => camelCase(s))
@@ -37,7 +36,7 @@ async function collectRoutes (type) {
37
36
  this[`${type}NegRoutes`] = this[`${type}NegRoutes`] ?? []
38
37
  const items = []
39
38
  if (this.app.waibuStatic) items.push('waibuStatic.asset', 'waibuStatic.virtual', 'waibu-static.asset', 'waibu-static.virtual')
40
- if (this.app.waibuRestApi) items.push('waibuRestApi', 'waibu-rest-api')
39
+ if (this.app.waibuRestApi) items.push('waibuRestApi.restapi', 'waibu-rest-api.restapi')
41
40
  if (this.app.waibuMpa) items.push('waibuMpa', 'waibu-mpa')
42
41
  const pattern = `{${items.join(',')}}@${type}-routes.*`
43
42
  const me = this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sumba",
3
- "version": "1.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Bajo Framework's Biz Suite",
5
5
  "main": "index.js",
6
6
  "scripts": {