@meridianjs/types 0.1.1 → 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 +2 -0
- package/dist/index.d.ts +2 -0
- package/package.json +1 -1
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;
|
|
@@ -108,6 +109,7 @@ interface AuthenticatedUser {
|
|
|
108
109
|
id: string;
|
|
109
110
|
workspaceId: string;
|
|
110
111
|
roles: string[];
|
|
112
|
+
permissions: string[];
|
|
111
113
|
}
|
|
112
114
|
interface MeridianRequestBase {
|
|
113
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;
|
|
@@ -108,6 +109,7 @@ interface AuthenticatedUser {
|
|
|
108
109
|
id: string;
|
|
109
110
|
workspaceId: string;
|
|
110
111
|
roles: string[];
|
|
112
|
+
permissions: string[];
|
|
111
113
|
}
|
|
112
114
|
interface MeridianRequestBase {
|
|
113
115
|
scope: MeridianContainer;
|