@komune-io/im-privilege-domain 0.20.0 → 0.21.0-alpha.059f3a3
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.
|
@@ -24,7 +24,7 @@ export declare namespace f2.dsl.cqrs {
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export declare namespace f2.dsl.cqrs.envelope {
|
|
27
|
-
interface EnvelopeDTO<T>
|
|
27
|
+
interface EnvelopeDTO<T> extends f2.dsl.cqrs.Message/*, f2.dsl.cqrs.envelope.WithEnvelopeId, f2.dsl.cqrs.envelope.WithEnvelopeData<T> */ {
|
|
28
28
|
readonly type: string;
|
|
29
29
|
readonly datacontenttype?: string;
|
|
30
30
|
readonly specversion?: string;
|
|
@@ -191,12 +191,13 @@ export declare namespace io.komune.im.commons.auth {
|
|
|
191
191
|
readonly id: string;
|
|
192
192
|
readonly identifier?: string;
|
|
193
193
|
readonly memberOf?: string;
|
|
194
|
-
readonly roles
|
|
194
|
+
readonly roles?: Array<string>;
|
|
195
|
+
readonly acr?: string;
|
|
195
196
|
|
|
196
197
|
}
|
|
197
198
|
}
|
|
198
199
|
export declare namespace io.komune.im.commons.auth {
|
|
199
|
-
type
|
|
200
|
+
type ImPermission = "IM_FORCE_MFA_OTP" | "IM_USER_READ" | "IM_USER_ROLE_READ" | "IM_USER_WRITE" | "IM_ORGANIZATION_READ" | "IM_ORGANIZATION_WRITE" | "IM_MY_ORGANIZATION_WRITE" | "IM_ORGANIZATION_API_KEY_READ" | "IM_ORGANIZATION_STATUS_WRITE" | "IM_APIKEY_READ" | "IM_APIKEY_WRITE" | "IM_SPACE_READ" | "IM_SPACE_WRITE" | "IM_ROLE_READ" | "IM_ROLE_WRITE";
|
|
200
201
|
}
|
|
201
202
|
export declare namespace io.komune.im.commons.exception {
|
|
202
203
|
const ExceptionCodes: {
|
|
@@ -211,6 +212,18 @@ export declare namespace io.komune.im.commons.model {
|
|
|
211
212
|
|
|
212
213
|
}
|
|
213
214
|
}
|
|
215
|
+
export declare namespace f2.dsl.fnc.operators {
|
|
216
|
+
class Batch {
|
|
217
|
+
constructor(size?: number, concurrency?: number);
|
|
218
|
+
get size(): number;
|
|
219
|
+
get concurrency(): number;
|
|
220
|
+
copy(size?: number, concurrency?: number): f2.dsl.fnc.operators.Batch;
|
|
221
|
+
toString(): string;
|
|
222
|
+
hashCode(): number;
|
|
223
|
+
equals(other?: any): boolean;
|
|
224
|
+
|
|
225
|
+
}
|
|
226
|
+
}
|
|
214
227
|
export declare namespace f2.dsl.fnc {
|
|
215
228
|
interface F2Function<T, R> {
|
|
216
229
|
invokePromise(cmds: Array<T>): Promise<Array<R>>;
|