@meridianjs/types 0.1.0 → 0.1.2

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/dist/index.d.mts CHANGED
@@ -2,6 +2,7 @@ interface MeridianContainer {
2
2
  resolve<T = unknown>(token: string): T;
3
3
  register(registrations: Record<string, unknown>): void;
4
4
  createScope(): MeridianContainer;
5
+ dispose?(): Promise<void>;
5
6
  }
6
7
  interface ModuleDefinition {
7
8
  key: string;
@@ -55,6 +56,8 @@ interface PluginConfig {
55
56
  interface AdminConfig {
56
57
  disable?: boolean;
57
58
  path?: string;
59
+ /** Port for the admin dashboard static server (default: 5174) */
60
+ port?: number;
58
61
  }
59
62
  interface EventMessage<T = unknown> {
60
63
  name: string;
@@ -106,6 +109,7 @@ interface AuthenticatedUser {
106
109
  id: string;
107
110
  workspaceId: string;
108
111
  roles: string[];
112
+ permissions: string[];
109
113
  }
110
114
  interface MeridianRequestBase {
111
115
  scope: MeridianContainer;
package/dist/index.d.ts CHANGED
@@ -2,6 +2,7 @@ interface MeridianContainer {
2
2
  resolve<T = unknown>(token: string): T;
3
3
  register(registrations: Record<string, unknown>): void;
4
4
  createScope(): MeridianContainer;
5
+ dispose?(): Promise<void>;
5
6
  }
6
7
  interface ModuleDefinition {
7
8
  key: string;
@@ -55,6 +56,8 @@ interface PluginConfig {
55
56
  interface AdminConfig {
56
57
  disable?: boolean;
57
58
  path?: string;
59
+ /** Port for the admin dashboard static server (default: 5174) */
60
+ port?: number;
58
61
  }
59
62
  interface EventMessage<T = unknown> {
60
63
  name: string;
@@ -106,6 +109,7 @@ interface AuthenticatedUser {
106
109
  id: string;
107
110
  workspaceId: string;
108
111
  roles: string[];
112
+ permissions: string[];
109
113
  }
110
114
  interface MeridianRequestBase {
111
115
  scope: MeridianContainer;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meridianjs/types",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "Shared TypeScript types and interfaces for Meridian",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",