@komune-io/im-space-domain 0.19.0-alpha.f340596 → 0.19.0-alpha.ff40a71
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.
|
@@ -1,94 +1,72 @@
|
|
|
1
|
-
type Nullable<T> = T | null | undefined
|
|
2
1
|
export declare namespace f2.dsl.cqrs {
|
|
3
2
|
interface Command extends f2.dsl.cqrs.Message {
|
|
4
|
-
|
|
5
|
-
readonly "f2.dsl.cqrs.Command": unique symbol;
|
|
6
|
-
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
3
|
+
|
|
7
4
|
}
|
|
8
5
|
}
|
|
9
6
|
export declare namespace f2.dsl.cqrs {
|
|
10
7
|
interface Event extends f2.dsl.cqrs.Message {
|
|
11
|
-
|
|
12
|
-
readonly "f2.dsl.cqrs.Event": unique symbol;
|
|
13
|
-
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
8
|
+
|
|
14
9
|
}
|
|
15
10
|
}
|
|
16
11
|
export declare namespace f2.dsl.cqrs {
|
|
17
12
|
interface Message {
|
|
18
|
-
|
|
19
|
-
readonly "f2.dsl.cqrs.Message": unique symbol;
|
|
20
|
-
};
|
|
13
|
+
|
|
21
14
|
}
|
|
22
15
|
}
|
|
23
16
|
export declare namespace f2.dsl.cqrs {
|
|
24
17
|
interface Problem extends f2.dsl.cqrs.Message {
|
|
25
|
-
|
|
26
|
-
readonly "f2.dsl.cqrs.Problem": unique symbol;
|
|
27
|
-
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
18
|
+
|
|
28
19
|
}
|
|
29
20
|
}
|
|
30
21
|
export declare namespace f2.dsl.cqrs {
|
|
31
22
|
interface Query extends f2.dsl.cqrs.Message {
|
|
32
|
-
|
|
33
|
-
readonly "f2.dsl.cqrs.Query": unique symbol;
|
|
34
|
-
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
23
|
+
|
|
35
24
|
}
|
|
36
25
|
}
|
|
37
26
|
export declare namespace f2.dsl.cqrs.envelope {
|
|
38
27
|
interface EnvelopeDTO<T> /* extends f2.dsl.cqrs.envelope.WithEnvelopeId, f2.dsl.cqrs.envelope.WithEnvelopeData<T> */ {
|
|
39
28
|
readonly type: string;
|
|
40
|
-
readonly datacontenttype
|
|
41
|
-
readonly specversion
|
|
42
|
-
readonly source
|
|
43
|
-
readonly time
|
|
44
|
-
|
|
45
|
-
readonly "f2.dsl.cqrs.envelope.EnvelopeDTO": unique symbol;
|
|
46
|
-
};
|
|
29
|
+
readonly datacontenttype?: string;
|
|
30
|
+
readonly specversion?: string;
|
|
31
|
+
readonly source?: string;
|
|
32
|
+
readonly time?: string;
|
|
33
|
+
|
|
47
34
|
}
|
|
48
35
|
class Envelope<T> implements f2.dsl.cqrs.envelope.EnvelopeDTO<T> {
|
|
49
|
-
constructor(id: string, data: T, type: string, datacontenttype?:
|
|
36
|
+
constructor(id: string, data: T, type: string, datacontenttype?: string, specversion?: string, source?: string, time?: string);
|
|
50
37
|
get type(): string;
|
|
51
38
|
get datacontenttype(): Nullable<string>;
|
|
52
39
|
get specversion(): Nullable<string>;
|
|
53
40
|
get source(): Nullable<string>;
|
|
54
41
|
get time(): Nullable<string>;
|
|
55
|
-
|
|
56
|
-
static get Companion(): {
|
|
57
|
-
get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
|
|
58
|
-
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
42
|
+
|
|
59
43
|
}
|
|
60
44
|
}
|
|
61
45
|
export declare namespace f2.dsl.cqrs.error {
|
|
62
46
|
interface F2ErrorDTO extends f2.dsl.cqrs.Problem {
|
|
63
|
-
readonly id
|
|
47
|
+
readonly id?: string;
|
|
64
48
|
readonly timestamp: string;
|
|
65
49
|
readonly code: number;
|
|
66
|
-
readonly requestId
|
|
50
|
+
readonly requestId?: string;
|
|
67
51
|
readonly message: string;
|
|
68
|
-
|
|
69
|
-
readonly "f2.dsl.cqrs.error.F2ErrorDTO": unique symbol;
|
|
70
|
-
} & f2.dsl.cqrs.Problem["__doNotUseOrImplementIt"];
|
|
52
|
+
|
|
71
53
|
}
|
|
72
54
|
class F2Error implements f2.dsl.cqrs.error.F2ErrorDTO {
|
|
73
|
-
constructor(message: string, id?:
|
|
55
|
+
constructor(message: string, id?: string, timestamp?: string, code?: number, requestId?: string);
|
|
74
56
|
get message(): string;
|
|
75
57
|
get id(): Nullable<string>;
|
|
76
58
|
get timestamp(): string;
|
|
77
59
|
get code(): number;
|
|
78
60
|
get requestId(): Nullable<string>;
|
|
79
61
|
toString(): string;
|
|
80
|
-
|
|
81
|
-
static get Companion(): {
|
|
82
|
-
};
|
|
62
|
+
|
|
83
63
|
}
|
|
84
64
|
}
|
|
85
65
|
export declare namespace f2.dsl.cqrs.exception {
|
|
86
66
|
class F2Exception /* extends kotlin.RuntimeException */ {
|
|
87
|
-
constructor(error: f2.dsl.cqrs.error.F2ErrorDTO, cause?:
|
|
67
|
+
constructor(error: f2.dsl.cqrs.error.F2ErrorDTO, cause?: Error);
|
|
88
68
|
get error(): f2.dsl.cqrs.error.F2ErrorDTO;
|
|
89
|
-
|
|
90
|
-
invoke(message: string, id?: string, requestId?: string, code?: number, cause?: Nullable<Error>): f2.dsl.cqrs.exception.F2Exception;
|
|
91
|
-
};
|
|
69
|
+
|
|
92
70
|
}
|
|
93
71
|
}
|
|
94
72
|
export declare namespace f2.dsl.cqrs.filter {
|
|
@@ -98,112 +76,84 @@ export declare namespace f2.dsl.cqrs.filter {
|
|
|
98
76
|
not(): f2.dsl.cqrs.filter.Match<T>;
|
|
99
77
|
and(match: f2.dsl.cqrs.filter.Match<T>): f2.dsl.cqrs.filter.Match<T>;
|
|
100
78
|
or(match: f2.dsl.cqrs.filter.Match<T>): f2.dsl.cqrs.filter.Match<T>;
|
|
101
|
-
|
|
102
|
-
readonly "f2.dsl.cqrs.filter.Match": unique symbol;
|
|
103
|
-
};
|
|
79
|
+
|
|
104
80
|
}
|
|
105
81
|
}
|
|
106
82
|
export declare namespace f2.dsl.cqrs.filter {
|
|
107
83
|
interface SortDTO {
|
|
108
84
|
readonly property: string;
|
|
109
85
|
readonly ascending: boolean;
|
|
110
|
-
readonly nullsFirst
|
|
111
|
-
|
|
112
|
-
readonly "f2.dsl.cqrs.filter.SortDTO": unique symbol;
|
|
113
|
-
};
|
|
86
|
+
readonly nullsFirst?: boolean;
|
|
87
|
+
|
|
114
88
|
}
|
|
115
89
|
}
|
|
116
90
|
export declare namespace f2.dsl.cqrs.page {
|
|
117
91
|
interface PageDTO<OBJECT> {
|
|
118
92
|
readonly total: number;
|
|
119
|
-
readonly items:
|
|
120
|
-
|
|
121
|
-
readonly "f2.dsl.cqrs.page.PageDTO": unique symbol;
|
|
122
|
-
};
|
|
93
|
+
readonly items: OBJECT[];
|
|
94
|
+
|
|
123
95
|
}
|
|
124
96
|
class Page<OBJECT> implements f2.dsl.cqrs.page.PageDTO<OBJECT> {
|
|
125
|
-
constructor(total: number, items:
|
|
97
|
+
constructor(total: number, items: OBJECT[]);
|
|
126
98
|
get total(): number;
|
|
127
|
-
get items():
|
|
128
|
-
|
|
129
|
-
static get Companion(): {
|
|
130
|
-
get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
|
|
131
|
-
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
99
|
+
get items(): OBJECT[];
|
|
100
|
+
|
|
132
101
|
}
|
|
133
102
|
}
|
|
134
103
|
export declare namespace f2.dsl.cqrs.page {
|
|
135
104
|
interface PageQueryDTO extends f2.dsl.cqrs.Query {
|
|
136
|
-
readonly pagination
|
|
137
|
-
|
|
138
|
-
readonly "f2.dsl.cqrs.page.PageQueryDTO": unique symbol;
|
|
139
|
-
} & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
|
|
105
|
+
readonly pagination?: f2.dsl.cqrs.page.OffsetPaginationDTO;
|
|
106
|
+
|
|
140
107
|
}
|
|
141
108
|
interface PageQueryResultDTO<OBJECT> extends f2.dsl.cqrs.Event, f2.dsl.cqrs.page.PageDTO<OBJECT> {
|
|
142
109
|
readonly total: number;
|
|
143
|
-
readonly items:
|
|
144
|
-
readonly pagination
|
|
145
|
-
|
|
146
|
-
readonly "f2.dsl.cqrs.page.PageQueryResultDTO": unique symbol;
|
|
147
|
-
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"] & f2.dsl.cqrs.page.PageDTO<OBJECT>["__doNotUseOrImplementIt"];
|
|
110
|
+
readonly items: OBJECT[];
|
|
111
|
+
readonly pagination?: f2.dsl.cqrs.page.OffsetPaginationDTO;
|
|
112
|
+
|
|
148
113
|
}
|
|
149
114
|
class PageQuery implements f2.dsl.cqrs.page.PageQueryDTO {
|
|
150
|
-
constructor(pagination
|
|
115
|
+
constructor(pagination?: f2.dsl.cqrs.page.OffsetPaginationDTO);
|
|
151
116
|
get pagination(): Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>;
|
|
152
|
-
|
|
153
|
-
static get Companion(): {
|
|
154
|
-
};
|
|
117
|
+
|
|
155
118
|
}
|
|
156
119
|
class PageQueryResult<OBJECT> implements f2.dsl.cqrs.page.PageQueryResultDTO<OBJECT> {
|
|
157
|
-
constructor(pagination
|
|
120
|
+
constructor(pagination?: f2.dsl.cqrs.page.OffsetPagination, total: number, items: OBJECT[]);
|
|
158
121
|
get pagination(): Nullable<f2.dsl.cqrs.page.OffsetPagination>;
|
|
159
122
|
get total(): number;
|
|
160
|
-
get items():
|
|
161
|
-
|
|
162
|
-
static get Companion(): {
|
|
163
|
-
get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
|
|
164
|
-
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
123
|
+
get items(): OBJECT[];
|
|
124
|
+
|
|
165
125
|
}
|
|
166
126
|
}
|
|
167
127
|
export declare namespace f2.dsl.cqrs.page {
|
|
168
128
|
interface Pagination {
|
|
169
|
-
|
|
170
|
-
readonly "f2.dsl.cqrs.page.Pagination": unique symbol;
|
|
171
|
-
};
|
|
129
|
+
|
|
172
130
|
}
|
|
173
131
|
interface OffsetPaginationDTO extends f2.dsl.cqrs.page.Pagination {
|
|
174
132
|
readonly offset: number;
|
|
175
133
|
readonly limit: number;
|
|
176
|
-
|
|
177
|
-
readonly "f2.dsl.cqrs.page.OffsetPaginationDTO": unique symbol;
|
|
178
|
-
} & f2.dsl.cqrs.page.Pagination["__doNotUseOrImplementIt"];
|
|
134
|
+
|
|
179
135
|
}
|
|
180
136
|
interface PagePaginationDTO extends f2.dsl.cqrs.page.Pagination {
|
|
181
|
-
readonly page
|
|
182
|
-
readonly size
|
|
183
|
-
|
|
184
|
-
readonly "f2.dsl.cqrs.page.PagePaginationDTO": unique symbol;
|
|
185
|
-
} & f2.dsl.cqrs.page.Pagination["__doNotUseOrImplementIt"];
|
|
137
|
+
readonly page?: number;
|
|
138
|
+
readonly size?: number;
|
|
139
|
+
|
|
186
140
|
}
|
|
187
141
|
class OffsetPagination implements f2.dsl.cqrs.page.OffsetPaginationDTO {
|
|
188
142
|
constructor(offset: number, limit: number);
|
|
189
143
|
get offset(): number;
|
|
190
144
|
get limit(): number;
|
|
191
|
-
|
|
192
|
-
static get Companion(): {
|
|
193
|
-
};
|
|
145
|
+
|
|
194
146
|
}
|
|
195
147
|
class PagePagination implements f2.dsl.cqrs.page.PagePaginationDTO {
|
|
196
|
-
constructor(page
|
|
148
|
+
constructor(page?: number, size?: number);
|
|
197
149
|
get page(): Nullable<number>;
|
|
198
150
|
get size(): Nullable<number>;
|
|
199
|
-
|
|
200
|
-
static get Companion(): {
|
|
201
|
-
};
|
|
151
|
+
|
|
202
152
|
}
|
|
203
153
|
}
|
|
204
154
|
export declare namespace f2.client.domain {
|
|
205
155
|
abstract class AuthRealm {
|
|
206
|
-
protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl
|
|
156
|
+
protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string);
|
|
207
157
|
get serverUrl(): string;
|
|
208
158
|
get realmId(): string;
|
|
209
159
|
get clientId(): string;
|
|
@@ -220,98 +170,33 @@ export declare namespace f2.client.domain {
|
|
|
220
170
|
copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string): f2.client.domain.AuthRealmPassword;
|
|
221
171
|
toString(): string;
|
|
222
172
|
hashCode(): number;
|
|
223
|
-
equals(other
|
|
173
|
+
equals(other?: any): boolean;
|
|
224
174
|
}
|
|
225
175
|
class AuthRealmClientSecret extends f2.client.domain.AuthRealm {
|
|
226
|
-
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl
|
|
176
|
+
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string | undefined, clientSecret: string, isPublic?: boolean);
|
|
227
177
|
get serverUrl(): string;
|
|
228
178
|
get realmId(): string;
|
|
229
179
|
get clientId(): string;
|
|
230
180
|
get redirectUrl(): Nullable<string>;
|
|
231
181
|
get clientSecret(): string;
|
|
232
182
|
get isPublic(): boolean;
|
|
233
|
-
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?:
|
|
183
|
+
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, isPublic?: boolean): f2.client.domain.AuthRealmClientSecret;
|
|
234
184
|
toString(): string;
|
|
235
185
|
hashCode(): number;
|
|
236
|
-
equals(other
|
|
186
|
+
equals(other?: any): boolean;
|
|
237
187
|
}
|
|
238
188
|
}
|
|
239
189
|
export declare namespace io.komune.im.commons.auth {
|
|
240
190
|
interface AuthedUserDTO {
|
|
241
191
|
readonly id: string;
|
|
242
|
-
readonly identifier
|
|
243
|
-
readonly memberOf
|
|
192
|
+
readonly identifier?: string;
|
|
193
|
+
readonly memberOf?: string;
|
|
244
194
|
readonly roles: Array<string>;
|
|
245
|
-
|
|
246
|
-
readonly "io.komune.im.commons.auth.AuthedUserDTO": unique symbol;
|
|
247
|
-
};
|
|
195
|
+
|
|
248
196
|
}
|
|
249
197
|
}
|
|
250
198
|
export declare namespace io.komune.im.commons.auth {
|
|
251
|
-
|
|
252
|
-
private constructor();
|
|
253
|
-
get identifier(): string;
|
|
254
|
-
static get ORCHESTRATOR(): io.komune.im.commons.auth.ImRole & {
|
|
255
|
-
get name(): "ORCHESTRATOR";
|
|
256
|
-
get ordinal(): 0;
|
|
257
|
-
};
|
|
258
|
-
static get ORCHESTRATOR_ADMIN(): io.komune.im.commons.auth.ImRole & {
|
|
259
|
-
get name(): "ORCHESTRATOR_ADMIN";
|
|
260
|
-
get ordinal(): 1;
|
|
261
|
-
};
|
|
262
|
-
static get ORCHESTRATOR_USER(): io.komune.im.commons.auth.ImRole & {
|
|
263
|
-
get name(): "ORCHESTRATOR_USER";
|
|
264
|
-
get ordinal(): 2;
|
|
265
|
-
};
|
|
266
|
-
static get IM_USER_READ(): io.komune.im.commons.auth.ImRole & {
|
|
267
|
-
get name(): "IM_USER_READ";
|
|
268
|
-
get ordinal(): 3;
|
|
269
|
-
};
|
|
270
|
-
static get IM_USER_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
271
|
-
get name(): "IM_USER_WRITE";
|
|
272
|
-
get ordinal(): 4;
|
|
273
|
-
};
|
|
274
|
-
static get IM_ORGANIZATION_READ(): io.komune.im.commons.auth.ImRole & {
|
|
275
|
-
get name(): "IM_ORGANIZATION_READ";
|
|
276
|
-
get ordinal(): 5;
|
|
277
|
-
};
|
|
278
|
-
static get IM_ORGANIZATION_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
279
|
-
get name(): "IM_ORGANIZATION_WRITE";
|
|
280
|
-
get ordinal(): 6;
|
|
281
|
-
};
|
|
282
|
-
static get IM_MY_ORGANIZATION_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
283
|
-
get name(): "IM_MY_ORGANIZATION_WRITE";
|
|
284
|
-
get ordinal(): 7;
|
|
285
|
-
};
|
|
286
|
-
static get IM_APIKEY_READ(): io.komune.im.commons.auth.ImRole & {
|
|
287
|
-
get name(): "IM_APIKEY_READ";
|
|
288
|
-
get ordinal(): 8;
|
|
289
|
-
};
|
|
290
|
-
static get IM_APIKEY_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
291
|
-
get name(): "IM_APIKEY_WRITE";
|
|
292
|
-
get ordinal(): 9;
|
|
293
|
-
};
|
|
294
|
-
static get IM_SPACE_READ(): io.komune.im.commons.auth.ImRole & {
|
|
295
|
-
get name(): "IM_SPACE_READ";
|
|
296
|
-
get ordinal(): 10;
|
|
297
|
-
};
|
|
298
|
-
static get IM_SPACE_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
299
|
-
get name(): "IM_SPACE_WRITE";
|
|
300
|
-
get ordinal(): 11;
|
|
301
|
-
};
|
|
302
|
-
static get IM_ROLE_READ(): io.komune.im.commons.auth.ImRole & {
|
|
303
|
-
get name(): "IM_ROLE_READ";
|
|
304
|
-
get ordinal(): 12;
|
|
305
|
-
};
|
|
306
|
-
static get IM_ROLE_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
307
|
-
get name(): "IM_ROLE_WRITE";
|
|
308
|
-
get ordinal(): 13;
|
|
309
|
-
};
|
|
310
|
-
static values(): Array<io.komune.im.commons.auth.ImRole>;
|
|
311
|
-
static valueOf(value: string): io.komune.im.commons.auth.ImRole;
|
|
312
|
-
get name(): "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";
|
|
313
|
-
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13;
|
|
314
|
-
}
|
|
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";
|
|
315
200
|
}
|
|
316
201
|
export declare namespace io.komune.im.commons.exception {
|
|
317
202
|
const ExceptionCodes: {
|
|
@@ -323,77 +208,57 @@ export declare namespace io.komune.im.commons.model {
|
|
|
323
208
|
readonly street: string;
|
|
324
209
|
readonly postalCode: string;
|
|
325
210
|
readonly city: string;
|
|
326
|
-
|
|
327
|
-
readonly "io.komune.im.commons.model.AddressDTO": unique symbol;
|
|
328
|
-
};
|
|
211
|
+
|
|
329
212
|
}
|
|
330
213
|
}
|
|
331
214
|
export declare namespace f2.dsl.fnc {
|
|
332
215
|
interface F2Function<T, R> {
|
|
333
216
|
invokePromise(cmds: Array<T>): Promise<Array<R>>;
|
|
334
|
-
|
|
335
|
-
readonly "f2.dsl.fnc.F2Function": unique symbol;
|
|
336
|
-
};
|
|
217
|
+
|
|
337
218
|
}
|
|
338
219
|
interface F2Consumer<T> {
|
|
339
220
|
invokePromise(cmds: Array<T>): Promise<void>;
|
|
340
|
-
|
|
341
|
-
readonly "f2.dsl.fnc.F2Consumer": unique symbol;
|
|
342
|
-
};
|
|
221
|
+
|
|
343
222
|
}
|
|
344
223
|
interface F2Supplier<R> {
|
|
345
224
|
invokePromise(): Promise<Array<R>>;
|
|
346
|
-
|
|
347
|
-
readonly "f2.dsl.fnc.F2Supplier": unique symbol;
|
|
348
|
-
};
|
|
225
|
+
|
|
349
226
|
}
|
|
350
227
|
interface F2SupplierSingle<R> {
|
|
351
228
|
invokePromise(): Promise<R>;
|
|
352
|
-
|
|
353
|
-
readonly "f2.dsl.fnc.F2SupplierSingle": unique symbol;
|
|
354
|
-
};
|
|
229
|
+
|
|
355
230
|
}
|
|
356
231
|
}
|
|
357
232
|
export declare namespace io.komune.im.f2.space.domain.command {
|
|
358
233
|
interface SpaceDefineCommandDTO extends f2.dsl.cqrs.Command {
|
|
359
234
|
readonly identifier: string;
|
|
360
|
-
readonly theme
|
|
361
|
-
readonly smtp
|
|
362
|
-
readonly locales
|
|
363
|
-
|
|
364
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDefineCommandDTO": unique symbol;
|
|
365
|
-
} & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
|
|
235
|
+
readonly theme?: string;
|
|
236
|
+
readonly smtp?: Record<string, string>;
|
|
237
|
+
readonly locales?: string[];
|
|
238
|
+
|
|
366
239
|
}
|
|
367
240
|
interface SpaceDefinedEventDTO extends f2.dsl.cqrs.Event {
|
|
368
241
|
readonly identifier: string;
|
|
369
|
-
|
|
370
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDefinedEventDTO": unique symbol;
|
|
371
|
-
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
|
|
242
|
+
|
|
372
243
|
}
|
|
373
244
|
}
|
|
374
245
|
export declare namespace io.komune.im.f2.space.domain.command {
|
|
375
246
|
interface SpaceDeleteCommandDTO extends f2.dsl.cqrs.Command {
|
|
376
247
|
readonly id: string;
|
|
377
|
-
|
|
378
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDeleteCommandDTO": unique symbol;
|
|
379
|
-
} & f2.dsl.cqrs.Command["__doNotUseOrImplementIt"];
|
|
248
|
+
|
|
380
249
|
}
|
|
381
250
|
interface SpaceDeletedEventDTO extends f2.dsl.cqrs.Event {
|
|
382
251
|
readonly id: string;
|
|
383
|
-
|
|
384
|
-
readonly "io.komune.im.f2.space.domain.command.SpaceDeletedEventDTO": unique symbol;
|
|
385
|
-
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
|
|
252
|
+
|
|
386
253
|
}
|
|
387
254
|
}
|
|
388
255
|
export declare namespace io.komune.im.f2.space.domain.model {
|
|
389
256
|
interface SpaceDTO {
|
|
390
|
-
readonly identifier
|
|
391
|
-
readonly smtp
|
|
392
|
-
readonly theme
|
|
393
|
-
readonly locales
|
|
394
|
-
|
|
395
|
-
readonly "io.komune.im.f2.space.domain.model.SpaceDTO": unique symbol;
|
|
396
|
-
};
|
|
257
|
+
readonly identifier?: string;
|
|
258
|
+
readonly smtp?: Record<string, string>;
|
|
259
|
+
readonly theme?: string;
|
|
260
|
+
readonly locales?: string[];
|
|
261
|
+
|
|
397
262
|
}
|
|
398
263
|
}
|
|
399
264
|
export declare namespace io.komune.im.f2.space.domain.policies {
|
|
@@ -407,32 +272,24 @@ export declare namespace io.komune.im.f2.space.domain.policies {
|
|
|
407
272
|
export declare namespace io.komune.im.f2.space.domain.query {
|
|
408
273
|
interface SpaceGetQueryDTO extends f2.dsl.cqrs.Query {
|
|
409
274
|
readonly id: string;
|
|
410
|
-
|
|
411
|
-
readonly "io.komune.im.f2.space.domain.query.SpaceGetQueryDTO": unique symbol;
|
|
412
|
-
} & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
|
|
275
|
+
|
|
413
276
|
}
|
|
414
277
|
interface SpaceGetResultDTO extends f2.dsl.cqrs.Event {
|
|
415
|
-
readonly item
|
|
416
|
-
|
|
417
|
-
readonly "io.komune.im.f2.space.domain.query.SpaceGetResultDTO": unique symbol;
|
|
418
|
-
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
|
|
278
|
+
readonly item?: io.komune.im.f2.space.domain.model.SpaceDTO;
|
|
279
|
+
|
|
419
280
|
}
|
|
420
281
|
}
|
|
421
282
|
export declare namespace io.komune.im.f2.space.domain.query {
|
|
422
283
|
interface SpacePageQueryDTO extends f2.dsl.cqrs.Query {
|
|
423
|
-
readonly search
|
|
424
|
-
readonly page
|
|
425
|
-
readonly size
|
|
426
|
-
|
|
427
|
-
readonly "io.komune.im.f2.space.domain.query.SpacePageQueryDTO": unique symbol;
|
|
428
|
-
} & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
|
|
284
|
+
readonly search?: string;
|
|
285
|
+
readonly page?: number;
|
|
286
|
+
readonly size?: number;
|
|
287
|
+
|
|
429
288
|
}
|
|
430
289
|
interface SpacePageResultDTO extends f2.dsl.cqrs.page.PageDTO<io.komune.im.f2.space.domain.model.SpaceDTO> {
|
|
431
290
|
readonly total: number;
|
|
432
|
-
readonly items:
|
|
433
|
-
|
|
434
|
-
readonly "io.komune.im.f2.space.domain.query.SpacePageResultDTO": unique symbol;
|
|
435
|
-
} & f2.dsl.cqrs.page.PageDTO<io.komune.im.f2.space.domain.model.SpaceDTO>["__doNotUseOrImplementIt"];
|
|
291
|
+
readonly items: io.komune.im.f2.space.domain.model.SpaceDTO[];
|
|
292
|
+
|
|
436
293
|
}
|
|
437
294
|
}
|
|
438
295
|
export as namespace io_komune_im_im_space_domain;
|
|
@@ -80,21 +80,21 @@ if (typeof Math.imul === 'undefined') {
|
|
|
80
80
|
setMetadataFor(AbstractMutableCollection, 'AbstractMutableCollection', classMeta, AbstractCollection, [AbstractCollection, Collection]);
|
|
81
81
|
setMetadataFor(IteratorImpl, 'IteratorImpl', classMeta);
|
|
82
82
|
setMetadataFor(List, 'List', interfaceMeta, VOID, [Collection]);
|
|
83
|
-
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection,
|
|
83
|
+
setMetadataFor(AbstractMutableList, 'AbstractMutableList', classMeta, AbstractMutableCollection, [AbstractMutableCollection, List, Collection]);
|
|
84
84
|
setMetadataFor(Map_0, 'Map', interfaceMeta);
|
|
85
85
|
setMetadataFor(AbstractMap, 'AbstractMap', classMeta, VOID, [Map_0]);
|
|
86
86
|
setMetadataFor(AbstractMutableMap, 'AbstractMutableMap', classMeta, AbstractMap, [AbstractMap, Map_0]);
|
|
87
87
|
setMetadataFor(Set, 'Set', interfaceMeta, VOID, [Collection]);
|
|
88
|
-
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection,
|
|
88
|
+
setMetadataFor(AbstractMutableSet, 'AbstractMutableSet', classMeta, AbstractMutableCollection, [AbstractMutableCollection, Set, Collection]);
|
|
89
89
|
setMetadataFor(Companion, 'Companion', objectMeta);
|
|
90
|
-
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList,
|
|
90
|
+
setMetadataFor(ArrayList, 'ArrayList', classMeta, AbstractMutableList, [AbstractMutableList, List, Collection], ArrayList_init_$Create$);
|
|
91
91
|
setMetadataFor(HashMap, 'HashMap', classMeta, AbstractMutableMap, [AbstractMutableMap, Map_0], HashMap_init_$Create$);
|
|
92
|
-
setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [
|
|
93
|
-
setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [
|
|
92
|
+
setMetadataFor(HashMapKeys, 'HashMapKeys', classMeta, AbstractMutableSet, [Set, Collection, AbstractMutableSet]);
|
|
93
|
+
setMetadataFor(HashMapEntrySetBase, 'HashMapEntrySetBase', classMeta, AbstractMutableSet, [Set, Collection, AbstractMutableSet]);
|
|
94
94
|
setMetadataFor(HashMapEntrySet, 'HashMapEntrySet', classMeta, HashMapEntrySetBase);
|
|
95
95
|
setMetadataFor(HashMapKeysDefault$iterator$1, VOID, classMeta);
|
|
96
96
|
setMetadataFor(HashMapKeysDefault, 'HashMapKeysDefault', classMeta, AbstractMutableSet);
|
|
97
|
-
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet,
|
|
97
|
+
setMetadataFor(HashSet, 'HashSet', classMeta, AbstractMutableSet, [AbstractMutableSet, Set, Collection], HashSet_init_$Create$);
|
|
98
98
|
setMetadataFor(Companion_0, 'Companion', objectMeta);
|
|
99
99
|
setMetadataFor(Itr, 'Itr', classMeta);
|
|
100
100
|
setMetadataFor(KeysItr, 'KeysItr', classMeta, Itr);
|
|
@@ -140,7 +140,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
140
140
|
setMetadataFor(InternalMap, 'InternalMap', interfaceMeta);
|
|
141
141
|
setMetadataFor(InternalHashMap, 'InternalHashMap', classMeta, VOID, [InternalMap], InternalHashMap_init_$Create$);
|
|
142
142
|
setMetadataFor(LinkedHashMap, 'LinkedHashMap', classMeta, HashMap, [HashMap, Map_0], LinkedHashMap_init_$Create$);
|
|
143
|
-
setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet,
|
|
143
|
+
setMetadataFor(LinkedHashSet, 'LinkedHashSet', classMeta, HashSet, [HashSet, Set, Collection], LinkedHashSet_init_$Create$);
|
|
144
144
|
setMetadataFor(Exception, 'Exception', classMeta, Error, VOID, Exception_init_$Create$);
|
|
145
145
|
setMetadataFor(RuntimeException, 'RuntimeException', classMeta, Exception, VOID, RuntimeException_init_$Create$);
|
|
146
146
|
setMetadataFor(IllegalStateException, 'IllegalStateException', classMeta, RuntimeException, VOID, IllegalStateException_init_$Create$);
|
|
@@ -382,7 +382,7 @@ if (typeof Math.imul === 'undefined') {
|
|
|
382
382
|
setMetadataFor(Symbol_0, 'Symbol', classMeta);
|
|
383
383
|
setMetadataFor(SetTimeoutBasedDispatcher, 'SetTimeoutBasedDispatcher', classMeta, CoroutineDispatcher, VOID, VOID, VOID, VOID, [1]);
|
|
384
384
|
setMetadataFor(NodeDispatcher, 'NodeDispatcher', objectMeta, SetTimeoutBasedDispatcher, VOID, VOID, VOID, VOID, [1]);
|
|
385
|
-
setMetadataFor(MessageQueue, 'MessageQueue', classMeta, VOID, [
|
|
385
|
+
setMetadataFor(MessageQueue, 'MessageQueue', classMeta, VOID, [List, Collection]);
|
|
386
386
|
setMetadataFor(ScheduledMessageQueue, 'ScheduledMessageQueue', classMeta, MessageQueue);
|
|
387
387
|
setMetadataFor(WindowMessageQueue, 'WindowMessageQueue', classMeta, MessageQueue);
|
|
388
388
|
setMetadataFor(Dispatchers, 'Dispatchers', objectMeta);
|