@komune-io/im-space-domain 0.20.0 → 0.21.0-alpha.06af93f

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> /* extends f2.dsl.cqrs.envelope.WithEnvelopeId, f2.dsl.cqrs.envelope.WithEnvelopeData<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,12 @@ 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: Array<string>;
194
+ readonly roles?: Array<string>;
195
195
 
196
196
  }
197
197
  }
198
198
  export declare namespace io.komune.im.commons.auth {
199
- type ImRole = "ORCHESTRATOR" | "ORCHESTRATOR_ADMIN" | "ORCHESTRATOR_USER" | "IM_USER_READ" | "IM_USER_WRITE" | "IM_ORGANIZATION_READ" | "IM_ORGANIZATION_WRITE" | "IM_MY_ORGANIZATION_WRITE" | "IM_APIKEY_READ" | "IM_APIKEY_WRITE" | "IM_SPACE_READ" | "IM_SPACE_WRITE" | "IM_ROLE_READ" | "IM_ROLE_WRITE";
199
+ type ImRole = "ORCHESTRATOR" | "ORCHESTRATOR_ADMIN" | "ORCHESTRATOR_USER" | "IM_USER_READ" | "IM_USER_ROLE_READ" | "IM_USER_WRITE" | "IM_ORGANIZATION_READ" | "IM_ORGANIZATION_WRITE" | "IM_MY_ORGANIZATION_WRITE" | "IM_APIKEY_READ" | "IM_APIKEY_WRITE" | "IM_SPACE_READ" | "IM_SPACE_WRITE" | "IM_ROLE_READ" | "IM_ROLE_WRITE";
200
200
  }
201
201
  export declare namespace io.komune.im.commons.exception {
202
202
  const ExceptionCodes: {
@@ -211,6 +211,18 @@ export declare namespace io.komune.im.commons.model {
211
211
 
212
212
  }
213
213
  }
214
+ export declare namespace f2.dsl.fnc.operators {
215
+ class Batch {
216
+ constructor(size?: number, concurrency?: number);
217
+ get size(): number;
218
+ get concurrency(): number;
219
+ copy(size?: number, concurrency?: number): f2.dsl.fnc.operators.Batch;
220
+ toString(): string;
221
+ hashCode(): number;
222
+ equals(other?: any): boolean;
223
+
224
+ }
225
+ }
214
226
  export declare namespace f2.dsl.fnc {
215
227
  interface F2Function<T, R> {
216
228
  invokePromise(cmds: Array<T>): Promise<Array<R>>;
@@ -235,6 +247,13 @@ export declare namespace io.komune.im.f2.space.domain.command {
235
247
  readonly theme?: string;
236
248
  readonly smtp?: Record<string, string>;
237
249
  readonly locales?: string[];
250
+ readonly settings?: io.komune.im.f2.space.domain.command.SpaceSettingsDTO;
251
+
252
+ }
253
+ interface SpaceSettingsDTO {
254
+ readonly registrationAllowed?: boolean;
255
+ readonly rememberMe?: boolean;
256
+ readonly resetPasswordAllowed?: boolean;
238
257
 
239
258
  }
240
259
  interface SpaceDefinedEventDTO extends f2.dsl.cqrs.Event {