@bobfrankston/miscassists 1.0.20 → 1.0.21
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.
- package/jserve.js +7 -1
- package/jserve.js.map +1 -1
- package/jserve.ts +6 -1
- package/package.json +1 -1
package/jserve.js
CHANGED
|
@@ -3,5 +3,11 @@
|
|
|
3
3
|
// Note that a client entry is
|
|
4
4
|
// name or pfx:name so you can say "ui:useful"
|
|
5
5
|
// * means deafult so you can /subpapp rather than /subapp/name
|
|
6
|
-
export const jprivs = [
|
|
6
|
+
export const jprivs = [
|
|
7
|
+
"admin",
|
|
8
|
+
"user",
|
|
9
|
+
"guest",
|
|
10
|
+
"home",
|
|
11
|
+
"bbs"
|
|
12
|
+
]; // bbs (bbt) app
|
|
7
13
|
//# sourceMappingURL=jserve.js.map
|
package/jserve.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"jserve.js","sourceRoot":"","sources":["jserve.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,uEAAuE;AAEvE,8BAA8B;AAC9B,gDAAgD;AAChD,iEAAiE;AAEjE,MAAM,CAAC,MAAM,MAAM,GAAG,
|
|
1
|
+
{"version":3,"file":"jserve.js","sourceRoot":"","sources":["jserve.ts"],"names":[],"mappings":"AAAA,qCAAqC;AAErC,uEAAuE;AAEvE,8BAA8B;AAC9B,gDAAgD;AAChD,iEAAiE;AAEjE,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,OAAO;IACP,MAAM;IACN,OAAO;IACP,MAAM;IACN,KAAK;CAAC,CAAC,CAAa,gBAAgB"}
|
package/jserve.ts
CHANGED
|
@@ -6,7 +6,12 @@
|
|
|
6
6
|
// name or pfx:name so you can say "ui:useful"
|
|
7
7
|
// * means deafult so you can /subpapp rather than /subapp/name
|
|
8
8
|
|
|
9
|
-
export const jprivs = [
|
|
9
|
+
export const jprivs = [
|
|
10
|
+
"admin", // Uber privilege
|
|
11
|
+
"user", // Normal user
|
|
12
|
+
"guest", // Low privilege guest
|
|
13
|
+
"home", // Home control
|
|
14
|
+
"bbs"]; // bbs (bbt) app
|
|
10
15
|
export type jpriv = typeof jprivs[number];
|
|
11
16
|
|
|
12
17
|
// export type jpriv = "admin" | "user" | "guest";
|