@redeemid/emdash 0.0.29 → 0.0.30

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.
@@ -56,7 +56,7 @@ Under `/_emdash/api/auth/redeemid/`. Same-origin only: EmDash checks `Origin` on
56
56
  - `api/state` (GET): the visitor's own state.
57
57
 
58
58
  ```json
59
- { "apiVersion": "1.5.0", "version": "0.0.29", "signedIn": true, "linked": true,
59
+ { "apiVersion": "1.5.0", "version": "0.0.30", "signedIn": true, "linked": true,
60
60
  "levels": ["gold"], "features": ["ad-free"], "cart": { "count": 2 },
61
61
  "meter": { "used": 1, "limit": 3, "period": "month" } }
62
62
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@redeemid/emdash",
3
- "version": "0.0.29",
3
+ "version": "0.0.30",
4
4
  "description": "Shopify commerce for EmDash sites: storefront, cart, checkout, customer accounts, memberships and paywalls. Shopify runs commerce; EmDash runs content.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/descriptor.ts CHANGED
@@ -8,16 +8,22 @@ import type { PluginDescriptor } from "emdash";
8
8
  import type { RedeemIDConfig } from "./config.js";
9
9
  import { VERSION } from "./version.js";
10
10
 
11
+ /**
12
+ * Every page shares one sidebar folder, so RedeemID shows as a single
13
+ * RedeemID entry under Plugins (opening to these pages) instead of nine
14
+ * loose items mixed in with other plugins' pages.
15
+ */
16
+ const GROUP = "RedeemID";
11
17
  export const PAGES = [
12
- { path: "/", label: "Members", icon: "users" },
13
- { path: "/access", label: "Access", icon: "lock" },
14
- { path: "/webhooks", label: "Webhooks", icon: "pulse" },
15
- { path: "/events", label: "App events", icon: "list" },
16
- { path: "/reports", label: "Reports", icon: "chart" },
17
- { path: "/status", label: "Status", icon: "pulse" },
18
- { path: "/setup", label: "Setup", icon: "settings" },
19
- { path: "/test", label: "Access test", icon: "search" },
20
- { path: "/privacy", label: "Privacy", icon: "lock" },
18
+ { path: "/", label: "Members", icon: "users", group: GROUP },
19
+ { path: "/access", label: "Access", icon: "lock", group: GROUP },
20
+ { path: "/test", label: "Access test", icon: "search", group: GROUP },
21
+ { path: "/reports", label: "Reports", icon: "chart", group: GROUP },
22
+ { path: "/webhooks", label: "Webhooks", icon: "pulse", group: GROUP },
23
+ { path: "/events", label: "App events", icon: "list", group: GROUP },
24
+ { path: "/privacy", label: "Privacy", icon: "lock", group: GROUP },
25
+ { path: "/status", label: "Status", icon: "pulse", group: GROUP },
26
+ { path: "/setup", label: "Setup", icon: "settings", group: GROUP },
21
27
  ];
22
28
  /** The Access panel on every saved entry, in every collection (new ones too). */
23
29
  export const EDITOR_PANELS = [{ id: "access", title: "Access", route: "access-panel", order: 10 }];
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = "0.0.29";
1
+ export const VERSION = "0.0.30";