@komune-io/im-privilege-domain 0.19.0-alpha.ddb2e67 → 0.19.0-alpha.f340596
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,72 +1,94 @@
|
|
|
1
|
+
type Nullable<T> = T | null | undefined
|
|
1
2
|
export declare namespace f2.dsl.cqrs {
|
|
2
3
|
interface Command extends f2.dsl.cqrs.Message {
|
|
3
|
-
|
|
4
|
+
readonly __doNotUseOrImplementIt: {
|
|
5
|
+
readonly "f2.dsl.cqrs.Command": unique symbol;
|
|
6
|
+
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
4
7
|
}
|
|
5
8
|
}
|
|
6
9
|
export declare namespace f2.dsl.cqrs {
|
|
7
10
|
interface Event extends f2.dsl.cqrs.Message {
|
|
8
|
-
|
|
11
|
+
readonly __doNotUseOrImplementIt: {
|
|
12
|
+
readonly "f2.dsl.cqrs.Event": unique symbol;
|
|
13
|
+
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
9
14
|
}
|
|
10
15
|
}
|
|
11
16
|
export declare namespace f2.dsl.cqrs {
|
|
12
17
|
interface Message {
|
|
13
|
-
|
|
18
|
+
readonly __doNotUseOrImplementIt: {
|
|
19
|
+
readonly "f2.dsl.cqrs.Message": unique symbol;
|
|
20
|
+
};
|
|
14
21
|
}
|
|
15
22
|
}
|
|
16
23
|
export declare namespace f2.dsl.cqrs {
|
|
17
24
|
interface Problem extends f2.dsl.cqrs.Message {
|
|
18
|
-
|
|
25
|
+
readonly __doNotUseOrImplementIt: {
|
|
26
|
+
readonly "f2.dsl.cqrs.Problem": unique symbol;
|
|
27
|
+
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
19
28
|
}
|
|
20
29
|
}
|
|
21
30
|
export declare namespace f2.dsl.cqrs {
|
|
22
31
|
interface Query extends f2.dsl.cqrs.Message {
|
|
23
|
-
|
|
32
|
+
readonly __doNotUseOrImplementIt: {
|
|
33
|
+
readonly "f2.dsl.cqrs.Query": unique symbol;
|
|
34
|
+
} & f2.dsl.cqrs.Message["__doNotUseOrImplementIt"];
|
|
24
35
|
}
|
|
25
36
|
}
|
|
26
37
|
export declare namespace f2.dsl.cqrs.envelope {
|
|
27
38
|
interface EnvelopeDTO<T> /* extends f2.dsl.cqrs.envelope.WithEnvelopeId, f2.dsl.cqrs.envelope.WithEnvelopeData<T> */ {
|
|
28
39
|
readonly type: string;
|
|
29
|
-
readonly datacontenttype
|
|
30
|
-
readonly specversion
|
|
31
|
-
readonly source
|
|
32
|
-
readonly time
|
|
33
|
-
|
|
40
|
+
readonly datacontenttype: Nullable<string>;
|
|
41
|
+
readonly specversion: Nullable<string>;
|
|
42
|
+
readonly source: Nullable<string>;
|
|
43
|
+
readonly time: Nullable<string>;
|
|
44
|
+
readonly __doNotUseOrImplementIt: {
|
|
45
|
+
readonly "f2.dsl.cqrs.envelope.EnvelopeDTO": unique symbol;
|
|
46
|
+
};
|
|
34
47
|
}
|
|
35
48
|
class Envelope<T> implements f2.dsl.cqrs.envelope.EnvelopeDTO<T> {
|
|
36
|
-
constructor(id: string, data: T, type: string, datacontenttype?: string
|
|
49
|
+
constructor(id: string, data: T, type: string, datacontenttype?: Nullable<string>, specversion?: Nullable<string>, source?: Nullable<string>, time?: Nullable<string>);
|
|
37
50
|
get type(): string;
|
|
38
51
|
get datacontenttype(): Nullable<string>;
|
|
39
52
|
get specversion(): Nullable<string>;
|
|
40
53
|
get source(): Nullable<string>;
|
|
41
54
|
get time(): Nullable<string>;
|
|
42
|
-
|
|
55
|
+
readonly __doNotUseOrImplementIt: f2.dsl.cqrs.envelope.EnvelopeDTO<T>["__doNotUseOrImplementIt"];
|
|
56
|
+
static get Companion(): {
|
|
57
|
+
get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
|
|
58
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
43
59
|
}
|
|
44
60
|
}
|
|
45
61
|
export declare namespace f2.dsl.cqrs.error {
|
|
46
62
|
interface F2ErrorDTO extends f2.dsl.cqrs.Problem {
|
|
47
|
-
readonly id
|
|
63
|
+
readonly id: Nullable<string>;
|
|
48
64
|
readonly timestamp: string;
|
|
49
65
|
readonly code: number;
|
|
50
|
-
readonly requestId
|
|
66
|
+
readonly requestId: Nullable<string>;
|
|
51
67
|
readonly message: string;
|
|
52
|
-
|
|
68
|
+
readonly __doNotUseOrImplementIt: {
|
|
69
|
+
readonly "f2.dsl.cqrs.error.F2ErrorDTO": unique symbol;
|
|
70
|
+
} & f2.dsl.cqrs.Problem["__doNotUseOrImplementIt"];
|
|
53
71
|
}
|
|
54
72
|
class F2Error implements f2.dsl.cqrs.error.F2ErrorDTO {
|
|
55
|
-
constructor(message: string, id?: string
|
|
73
|
+
constructor(message: string, id?: Nullable<string>, timestamp?: string, code?: number, requestId?: Nullable<string>);
|
|
56
74
|
get message(): string;
|
|
57
75
|
get id(): Nullable<string>;
|
|
58
76
|
get timestamp(): string;
|
|
59
77
|
get code(): number;
|
|
60
78
|
get requestId(): Nullable<string>;
|
|
61
79
|
toString(): string;
|
|
62
|
-
|
|
80
|
+
readonly __doNotUseOrImplementIt: f2.dsl.cqrs.error.F2ErrorDTO["__doNotUseOrImplementIt"];
|
|
81
|
+
static get Companion(): {
|
|
82
|
+
};
|
|
63
83
|
}
|
|
64
84
|
}
|
|
65
85
|
export declare namespace f2.dsl.cqrs.exception {
|
|
66
86
|
class F2Exception /* extends kotlin.RuntimeException */ {
|
|
67
|
-
constructor(error: f2.dsl.cqrs.error.F2ErrorDTO, cause?: Error);
|
|
87
|
+
constructor(error: f2.dsl.cqrs.error.F2ErrorDTO, cause?: Nullable<Error>);
|
|
68
88
|
get error(): f2.dsl.cqrs.error.F2ErrorDTO;
|
|
69
|
-
|
|
89
|
+
static get Companion(): {
|
|
90
|
+
invoke(message: string, id?: string, requestId?: string, code?: number, cause?: Nullable<Error>): f2.dsl.cqrs.exception.F2Exception;
|
|
91
|
+
};
|
|
70
92
|
}
|
|
71
93
|
}
|
|
72
94
|
export declare namespace f2.dsl.cqrs.filter {
|
|
@@ -76,84 +98,112 @@ export declare namespace f2.dsl.cqrs.filter {
|
|
|
76
98
|
not(): f2.dsl.cqrs.filter.Match<T>;
|
|
77
99
|
and(match: f2.dsl.cqrs.filter.Match<T>): f2.dsl.cqrs.filter.Match<T>;
|
|
78
100
|
or(match: f2.dsl.cqrs.filter.Match<T>): f2.dsl.cqrs.filter.Match<T>;
|
|
79
|
-
|
|
101
|
+
readonly __doNotUseOrImplementIt: {
|
|
102
|
+
readonly "f2.dsl.cqrs.filter.Match": unique symbol;
|
|
103
|
+
};
|
|
80
104
|
}
|
|
81
105
|
}
|
|
82
106
|
export declare namespace f2.dsl.cqrs.filter {
|
|
83
107
|
interface SortDTO {
|
|
84
108
|
readonly property: string;
|
|
85
109
|
readonly ascending: boolean;
|
|
86
|
-
readonly nullsFirst
|
|
87
|
-
|
|
110
|
+
readonly nullsFirst: Nullable<boolean>;
|
|
111
|
+
readonly __doNotUseOrImplementIt: {
|
|
112
|
+
readonly "f2.dsl.cqrs.filter.SortDTO": unique symbol;
|
|
113
|
+
};
|
|
88
114
|
}
|
|
89
115
|
}
|
|
90
116
|
export declare namespace f2.dsl.cqrs.page {
|
|
91
117
|
interface PageDTO<OBJECT> {
|
|
92
118
|
readonly total: number;
|
|
93
|
-
readonly items: OBJECT
|
|
94
|
-
|
|
119
|
+
readonly items: any/* kotlin.collections.List<OBJECT> */;
|
|
120
|
+
readonly __doNotUseOrImplementIt: {
|
|
121
|
+
readonly "f2.dsl.cqrs.page.PageDTO": unique symbol;
|
|
122
|
+
};
|
|
95
123
|
}
|
|
96
124
|
class Page<OBJECT> implements f2.dsl.cqrs.page.PageDTO<OBJECT> {
|
|
97
|
-
constructor(total: number, items: OBJECT
|
|
125
|
+
constructor(total: number, items: any/* kotlin.collections.List<OBJECT> */);
|
|
98
126
|
get total(): number;
|
|
99
|
-
get items(): OBJECT
|
|
100
|
-
|
|
127
|
+
get items(): any/* kotlin.collections.List<OBJECT> */;
|
|
128
|
+
readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PageDTO<OBJECT>["__doNotUseOrImplementIt"];
|
|
129
|
+
static get Companion(): {
|
|
130
|
+
get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
|
|
131
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
101
132
|
}
|
|
102
133
|
}
|
|
103
134
|
export declare namespace f2.dsl.cqrs.page {
|
|
104
135
|
interface PageQueryDTO extends f2.dsl.cqrs.Query {
|
|
105
|
-
readonly pagination
|
|
106
|
-
|
|
136
|
+
readonly pagination: Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>;
|
|
137
|
+
readonly __doNotUseOrImplementIt: {
|
|
138
|
+
readonly "f2.dsl.cqrs.page.PageQueryDTO": unique symbol;
|
|
139
|
+
} & f2.dsl.cqrs.Query["__doNotUseOrImplementIt"];
|
|
107
140
|
}
|
|
108
141
|
interface PageQueryResultDTO<OBJECT> extends f2.dsl.cqrs.Event, f2.dsl.cqrs.page.PageDTO<OBJECT> {
|
|
109
142
|
readonly total: number;
|
|
110
|
-
readonly items: OBJECT
|
|
111
|
-
readonly pagination
|
|
112
|
-
|
|
143
|
+
readonly items: any/* kotlin.collections.List<OBJECT> */;
|
|
144
|
+
readonly pagination: Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>;
|
|
145
|
+
readonly __doNotUseOrImplementIt: {
|
|
146
|
+
readonly "f2.dsl.cqrs.page.PageQueryResultDTO": unique symbol;
|
|
147
|
+
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"] & f2.dsl.cqrs.page.PageDTO<OBJECT>["__doNotUseOrImplementIt"];
|
|
113
148
|
}
|
|
114
149
|
class PageQuery implements f2.dsl.cqrs.page.PageQueryDTO {
|
|
115
|
-
constructor(pagination
|
|
150
|
+
constructor(pagination: Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>);
|
|
116
151
|
get pagination(): Nullable<f2.dsl.cqrs.page.OffsetPaginationDTO>;
|
|
117
|
-
|
|
152
|
+
readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PageQueryDTO["__doNotUseOrImplementIt"];
|
|
153
|
+
static get Companion(): {
|
|
154
|
+
};
|
|
118
155
|
}
|
|
119
156
|
class PageQueryResult<OBJECT> implements f2.dsl.cqrs.page.PageQueryResultDTO<OBJECT> {
|
|
120
|
-
constructor(pagination
|
|
157
|
+
constructor(pagination: Nullable<f2.dsl.cqrs.page.OffsetPagination>, total: number, items: any/* kotlin.collections.List<OBJECT> */);
|
|
121
158
|
get pagination(): Nullable<f2.dsl.cqrs.page.OffsetPagination>;
|
|
122
159
|
get total(): number;
|
|
123
|
-
get items(): OBJECT
|
|
124
|
-
|
|
160
|
+
get items(): any/* kotlin.collections.List<OBJECT> */;
|
|
161
|
+
readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PageQueryResultDTO<OBJECT>["__doNotUseOrImplementIt"];
|
|
162
|
+
static get Companion(): {
|
|
163
|
+
get $cachedDescriptor(): any/* kotlinx.serialization.descriptors.SerialDescriptor */;
|
|
164
|
+
} & any/* kotlinx.serialization.internal.SerializerFactory */;
|
|
125
165
|
}
|
|
126
166
|
}
|
|
127
167
|
export declare namespace f2.dsl.cqrs.page {
|
|
128
168
|
interface Pagination {
|
|
129
|
-
|
|
169
|
+
readonly __doNotUseOrImplementIt: {
|
|
170
|
+
readonly "f2.dsl.cqrs.page.Pagination": unique symbol;
|
|
171
|
+
};
|
|
130
172
|
}
|
|
131
173
|
interface OffsetPaginationDTO extends f2.dsl.cqrs.page.Pagination {
|
|
132
174
|
readonly offset: number;
|
|
133
175
|
readonly limit: number;
|
|
134
|
-
|
|
176
|
+
readonly __doNotUseOrImplementIt: {
|
|
177
|
+
readonly "f2.dsl.cqrs.page.OffsetPaginationDTO": unique symbol;
|
|
178
|
+
} & f2.dsl.cqrs.page.Pagination["__doNotUseOrImplementIt"];
|
|
135
179
|
}
|
|
136
180
|
interface PagePaginationDTO extends f2.dsl.cqrs.page.Pagination {
|
|
137
|
-
readonly page
|
|
138
|
-
readonly size
|
|
139
|
-
|
|
181
|
+
readonly page: Nullable<number>;
|
|
182
|
+
readonly size: Nullable<number>;
|
|
183
|
+
readonly __doNotUseOrImplementIt: {
|
|
184
|
+
readonly "f2.dsl.cqrs.page.PagePaginationDTO": unique symbol;
|
|
185
|
+
} & f2.dsl.cqrs.page.Pagination["__doNotUseOrImplementIt"];
|
|
140
186
|
}
|
|
141
187
|
class OffsetPagination implements f2.dsl.cqrs.page.OffsetPaginationDTO {
|
|
142
188
|
constructor(offset: number, limit: number);
|
|
143
189
|
get offset(): number;
|
|
144
190
|
get limit(): number;
|
|
145
|
-
|
|
191
|
+
readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.OffsetPaginationDTO["__doNotUseOrImplementIt"];
|
|
192
|
+
static get Companion(): {
|
|
193
|
+
};
|
|
146
194
|
}
|
|
147
195
|
class PagePagination implements f2.dsl.cqrs.page.PagePaginationDTO {
|
|
148
|
-
constructor(page
|
|
196
|
+
constructor(page: Nullable<number>, size: Nullable<number>);
|
|
149
197
|
get page(): Nullable<number>;
|
|
150
198
|
get size(): Nullable<number>;
|
|
151
|
-
|
|
199
|
+
readonly __doNotUseOrImplementIt: f2.dsl.cqrs.page.PagePaginationDTO["__doNotUseOrImplementIt"];
|
|
200
|
+
static get Companion(): {
|
|
201
|
+
};
|
|
152
202
|
}
|
|
153
203
|
}
|
|
154
204
|
export declare namespace f2.client.domain {
|
|
155
205
|
abstract class AuthRealm {
|
|
156
|
-
protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl
|
|
206
|
+
protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl: Nullable<string>);
|
|
157
207
|
get serverUrl(): string;
|
|
158
208
|
get realmId(): string;
|
|
159
209
|
get clientId(): string;
|
|
@@ -170,33 +220,98 @@ export declare namespace f2.client.domain {
|
|
|
170
220
|
copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string): f2.client.domain.AuthRealmPassword;
|
|
171
221
|
toString(): string;
|
|
172
222
|
hashCode(): number;
|
|
173
|
-
equals(other
|
|
223
|
+
equals(other: Nullable<any>): boolean;
|
|
174
224
|
}
|
|
175
225
|
class AuthRealmClientSecret extends f2.client.domain.AuthRealm {
|
|
176
|
-
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl
|
|
226
|
+
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl: Nullable<string> | undefined, clientSecret: string, isPublic?: boolean);
|
|
177
227
|
get serverUrl(): string;
|
|
178
228
|
get realmId(): string;
|
|
179
229
|
get clientId(): string;
|
|
180
230
|
get redirectUrl(): Nullable<string>;
|
|
181
231
|
get clientSecret(): string;
|
|
182
232
|
get isPublic(): boolean;
|
|
183
|
-
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string
|
|
233
|
+
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: Nullable<string>, clientSecret?: string, isPublic?: boolean): f2.client.domain.AuthRealmClientSecret;
|
|
184
234
|
toString(): string;
|
|
185
235
|
hashCode(): number;
|
|
186
|
-
equals(other
|
|
236
|
+
equals(other: Nullable<any>): boolean;
|
|
187
237
|
}
|
|
188
238
|
}
|
|
189
239
|
export declare namespace io.komune.im.commons.auth {
|
|
190
240
|
interface AuthedUserDTO {
|
|
191
241
|
readonly id: string;
|
|
192
|
-
readonly identifier
|
|
193
|
-
readonly memberOf
|
|
242
|
+
readonly identifier: Nullable<string>;
|
|
243
|
+
readonly memberOf: Nullable<string>;
|
|
194
244
|
readonly roles: Array<string>;
|
|
195
|
-
|
|
245
|
+
readonly __doNotUseOrImplementIt: {
|
|
246
|
+
readonly "io.komune.im.commons.auth.AuthedUserDTO": unique symbol;
|
|
247
|
+
};
|
|
196
248
|
}
|
|
197
249
|
}
|
|
198
250
|
export declare namespace io.komune.im.commons.auth {
|
|
199
|
-
|
|
251
|
+
abstract class ImRole {
|
|
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
|
+
}
|
|
200
315
|
}
|
|
201
316
|
export declare namespace io.komune.im.commons.exception {
|
|
202
317
|
const ExceptionCodes: {
|
|
@@ -208,25 +323,35 @@ export declare namespace io.komune.im.commons.model {
|
|
|
208
323
|
readonly street: string;
|
|
209
324
|
readonly postalCode: string;
|
|
210
325
|
readonly city: string;
|
|
211
|
-
|
|
326
|
+
readonly __doNotUseOrImplementIt: {
|
|
327
|
+
readonly "io.komune.im.commons.model.AddressDTO": unique symbol;
|
|
328
|
+
};
|
|
212
329
|
}
|
|
213
330
|
}
|
|
214
331
|
export declare namespace f2.dsl.fnc {
|
|
215
332
|
interface F2Function<T, R> {
|
|
216
333
|
invokePromise(cmds: Array<T>): Promise<Array<R>>;
|
|
217
|
-
|
|
334
|
+
readonly __doNotUseOrImplementIt: {
|
|
335
|
+
readonly "f2.dsl.fnc.F2Function": unique symbol;
|
|
336
|
+
};
|
|
218
337
|
}
|
|
219
338
|
interface F2Consumer<T> {
|
|
220
339
|
invokePromise(cmds: Array<T>): Promise<void>;
|
|
221
|
-
|
|
340
|
+
readonly __doNotUseOrImplementIt: {
|
|
341
|
+
readonly "f2.dsl.fnc.F2Consumer": unique symbol;
|
|
342
|
+
};
|
|
222
343
|
}
|
|
223
344
|
interface F2Supplier<R> {
|
|
224
345
|
invokePromise(): Promise<Array<R>>;
|
|
225
|
-
|
|
346
|
+
readonly __doNotUseOrImplementIt: {
|
|
347
|
+
readonly "f2.dsl.fnc.F2Supplier": unique symbol;
|
|
348
|
+
};
|
|
226
349
|
}
|
|
227
350
|
interface F2SupplierSingle<R> {
|
|
228
351
|
invokePromise(): Promise<R>;
|
|
229
|
-
|
|
352
|
+
readonly __doNotUseOrImplementIt: {
|
|
353
|
+
readonly "f2.dsl.fnc.F2SupplierSingle": unique symbol;
|
|
354
|
+
};
|
|
230
355
|
}
|
|
231
356
|
}
|
|
232
357
|
export declare namespace io.komune.im.f2.privilege.domain {
|
|
@@ -240,11 +365,15 @@ export declare namespace io.komune.im.f2.privilege.domain.feature.command {
|
|
|
240
365
|
interface FeatureDefineCommandDTO {
|
|
241
366
|
readonly identifier: string;
|
|
242
367
|
readonly description: string;
|
|
243
|
-
|
|
368
|
+
readonly __doNotUseOrImplementIt: {
|
|
369
|
+
readonly "io.komune.im.f2.privilege.domain.feature.command.FeatureDefineCommandDTO": unique symbol;
|
|
370
|
+
};
|
|
244
371
|
}
|
|
245
372
|
interface FeatureDefinedEventDTO extends f2.dsl.cqrs.Event {
|
|
246
373
|
readonly identifier: string;
|
|
247
|
-
|
|
374
|
+
readonly __doNotUseOrImplementIt: {
|
|
375
|
+
readonly "io.komune.im.f2.privilege.domain.feature.command.FeatureDefinedEventDTO": unique symbol;
|
|
376
|
+
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
|
|
248
377
|
}
|
|
249
378
|
}
|
|
250
379
|
export declare namespace io.komune.im.f2.privilege.domain.feature.model {
|
|
@@ -253,26 +382,36 @@ export declare namespace io.komune.im.f2.privilege.domain.feature.model {
|
|
|
253
382
|
readonly type: string;
|
|
254
383
|
readonly identifier: string;
|
|
255
384
|
readonly description: string;
|
|
256
|
-
|
|
385
|
+
readonly __doNotUseOrImplementIt: {
|
|
386
|
+
readonly "io.komune.im.f2.privilege.domain.feature.model.FeatureDTO": unique symbol;
|
|
387
|
+
} & io.komune.im.f2.privilege.domain.model.PrivilegeDTO["__doNotUseOrImplementIt"];
|
|
257
388
|
}
|
|
258
389
|
}
|
|
259
390
|
export declare namespace io.komune.im.f2.privilege.domain.feature.query {
|
|
260
391
|
interface FeatureGetQueryDTO {
|
|
261
392
|
readonly identifier: string;
|
|
262
|
-
|
|
393
|
+
readonly __doNotUseOrImplementIt: {
|
|
394
|
+
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureGetQueryDTO": unique symbol;
|
|
395
|
+
};
|
|
263
396
|
}
|
|
264
397
|
interface FeatureGetResultDTO {
|
|
265
|
-
readonly item
|
|
266
|
-
|
|
398
|
+
readonly item: Nullable<io.komune.im.f2.privilege.domain.feature.model.FeatureDTO>;
|
|
399
|
+
readonly __doNotUseOrImplementIt: {
|
|
400
|
+
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureGetResultDTO": unique symbol;
|
|
401
|
+
};
|
|
267
402
|
}
|
|
268
403
|
}
|
|
269
404
|
export declare namespace io.komune.im.f2.privilege.domain.feature.query {
|
|
270
405
|
interface FeatureListQueryDTO {
|
|
271
|
-
|
|
406
|
+
readonly __doNotUseOrImplementIt: {
|
|
407
|
+
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureListQueryDTO": unique symbol;
|
|
408
|
+
};
|
|
272
409
|
}
|
|
273
410
|
interface FeatureListResultDTO {
|
|
274
|
-
readonly items: io.komune.im.f2.privilege.domain.feature.model.FeatureDTO
|
|
275
|
-
|
|
411
|
+
readonly items: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.feature.model.FeatureDTO> */;
|
|
412
|
+
readonly __doNotUseOrImplementIt: {
|
|
413
|
+
readonly "io.komune.im.f2.privilege.domain.feature.query.FeatureListResultDTO": unique symbol;
|
|
414
|
+
};
|
|
276
415
|
}
|
|
277
416
|
}
|
|
278
417
|
export declare namespace io.komune.im.f2.privilege.domain.model {
|
|
@@ -281,19 +420,25 @@ export declare namespace io.komune.im.f2.privilege.domain.model {
|
|
|
281
420
|
readonly identifier: string;
|
|
282
421
|
readonly description: string;
|
|
283
422
|
readonly type: string;
|
|
284
|
-
|
|
423
|
+
readonly __doNotUseOrImplementIt: {
|
|
424
|
+
readonly "io.komune.im.f2.privilege.domain.model.PrivilegeDTO": unique symbol;
|
|
425
|
+
};
|
|
285
426
|
}
|
|
286
427
|
}
|
|
287
428
|
export declare namespace io.komune.im.f2.privilege.domain.permission.command {
|
|
288
429
|
interface PermissionDefineCommandDTO {
|
|
289
430
|
readonly identifier: string;
|
|
290
431
|
readonly description: string;
|
|
291
|
-
readonly features
|
|
292
|
-
|
|
432
|
+
readonly features: Nullable<any>/* Nullable<kotlin.collections.List<kotlin.collections.List<string>>> */;
|
|
433
|
+
readonly __doNotUseOrImplementIt: {
|
|
434
|
+
readonly "io.komune.im.f2.privilege.domain.permission.command.PermissionDefineCommandDTO": unique symbol;
|
|
435
|
+
};
|
|
293
436
|
}
|
|
294
437
|
interface PermissionDefinedEventDTO extends f2.dsl.cqrs.Event {
|
|
295
438
|
readonly identifier: string;
|
|
296
|
-
|
|
439
|
+
readonly __doNotUseOrImplementIt: {
|
|
440
|
+
readonly "io.komune.im.f2.privilege.domain.permission.command.PermissionDefinedEventDTO": unique symbol;
|
|
441
|
+
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
|
|
297
442
|
}
|
|
298
443
|
}
|
|
299
444
|
export declare namespace io.komune.im.f2.privilege.domain.permission.model {
|
|
@@ -302,42 +447,56 @@ export declare namespace io.komune.im.f2.privilege.domain.permission.model {
|
|
|
302
447
|
readonly type: string;
|
|
303
448
|
readonly identifier: string;
|
|
304
449
|
readonly description: string;
|
|
305
|
-
readonly features
|
|
306
|
-
|
|
450
|
+
readonly features: Nullable<any>/* Nullable<kotlin.collections.List<kotlin.collections.List<string>>> */;
|
|
451
|
+
readonly __doNotUseOrImplementIt: {
|
|
452
|
+
readonly "io.komune.im.f2.privilege.domain.permission.model.PermissionDTO": unique symbol;
|
|
453
|
+
} & io.komune.im.f2.privilege.domain.model.PrivilegeDTO["__doNotUseOrImplementIt"];
|
|
307
454
|
}
|
|
308
455
|
}
|
|
309
456
|
export declare namespace io.komune.im.f2.privilege.domain.permission.query {
|
|
310
457
|
interface PermissionGetQueryDTO {
|
|
311
458
|
readonly identifier: string;
|
|
312
|
-
|
|
459
|
+
readonly __doNotUseOrImplementIt: {
|
|
460
|
+
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionGetQueryDTO": unique symbol;
|
|
461
|
+
};
|
|
313
462
|
}
|
|
314
463
|
interface PermissionGetResultDTO {
|
|
315
|
-
readonly item
|
|
316
|
-
|
|
464
|
+
readonly item: Nullable<io.komune.im.f2.privilege.domain.permission.model.PermissionDTO>;
|
|
465
|
+
readonly __doNotUseOrImplementIt: {
|
|
466
|
+
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionGetResultDTO": unique symbol;
|
|
467
|
+
};
|
|
317
468
|
}
|
|
318
469
|
}
|
|
319
470
|
export declare namespace io.komune.im.f2.privilege.domain.permission.query {
|
|
320
471
|
interface PermissionListQueryDTO {
|
|
321
|
-
|
|
472
|
+
readonly __doNotUseOrImplementIt: {
|
|
473
|
+
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionListQueryDTO": unique symbol;
|
|
474
|
+
};
|
|
322
475
|
}
|
|
323
476
|
interface PermissionListResultDTO {
|
|
324
|
-
readonly items: io.komune.im.f2.privilege.domain.permission.model.PermissionDTO
|
|
325
|
-
|
|
477
|
+
readonly items: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.permission.model.PermissionDTO> */;
|
|
478
|
+
readonly __doNotUseOrImplementIt: {
|
|
479
|
+
readonly "io.komune.im.f2.privilege.domain.permission.query.PermissionListResultDTO": unique symbol;
|
|
480
|
+
};
|
|
326
481
|
}
|
|
327
482
|
}
|
|
328
483
|
export declare namespace io.komune.im.f2.privilege.domain.role.command {
|
|
329
484
|
interface RoleDefineCommandDTO {
|
|
330
485
|
readonly identifier: string;
|
|
331
486
|
readonly description: string;
|
|
332
|
-
readonly targets: string
|
|
333
|
-
readonly locale:
|
|
334
|
-
readonly bindings
|
|
335
|
-
readonly permissions
|
|
336
|
-
|
|
487
|
+
readonly targets: any/* kotlin.collections.List<string> */;
|
|
488
|
+
readonly locale: any/* kotlin.collections.Map<string, string> */;
|
|
489
|
+
readonly bindings: Nullable<any>/* Nullable<kotlin.collections.Map<string, kotlin.collections.List<string>>> */;
|
|
490
|
+
readonly permissions: Nullable<any>/* Nullable<kotlin.collections.List<string>> */;
|
|
491
|
+
readonly __doNotUseOrImplementIt: {
|
|
492
|
+
readonly "io.komune.im.f2.privilege.domain.role.command.RoleDefineCommandDTO": unique symbol;
|
|
493
|
+
};
|
|
337
494
|
}
|
|
338
495
|
interface RoleDefinedEventDTO extends f2.dsl.cqrs.Event {
|
|
339
496
|
readonly identifier: string;
|
|
340
|
-
|
|
497
|
+
readonly __doNotUseOrImplementIt: {
|
|
498
|
+
readonly "io.komune.im.f2.privilege.domain.role.command.RoleDefinedEventDTO": unique symbol;
|
|
499
|
+
} & f2.dsl.cqrs.Event["__doNotUseOrImplementIt"];
|
|
341
500
|
}
|
|
342
501
|
}
|
|
343
502
|
export declare namespace io.komune.im.f2.privilege.domain.role.model {
|
|
@@ -346,11 +505,13 @@ export declare namespace io.komune.im.f2.privilege.domain.role.model {
|
|
|
346
505
|
readonly type: string;
|
|
347
506
|
readonly identifier: string;
|
|
348
507
|
readonly description: string;
|
|
349
|
-
readonly targets: string
|
|
350
|
-
readonly locale:
|
|
351
|
-
readonly bindings:
|
|
352
|
-
readonly permissions: string
|
|
353
|
-
|
|
508
|
+
readonly targets: any/* kotlin.collections.List<string> */;
|
|
509
|
+
readonly locale: any/* kotlin.collections.Map<string, string> */;
|
|
510
|
+
readonly bindings: any/* kotlin.collections.Map<string, kotlin.collections.List<io.komune.im.f2.privilege.domain.role.model.RoleDTO>> */;
|
|
511
|
+
readonly permissions: any/* kotlin.collections.List<string> */;
|
|
512
|
+
readonly __doNotUseOrImplementIt: {
|
|
513
|
+
readonly "io.komune.im.f2.privilege.domain.role.model.RoleDTO": unique symbol;
|
|
514
|
+
} & io.komune.im.f2.privilege.domain.model.PrivilegeDTO["__doNotUseOrImplementIt"];
|
|
354
515
|
}
|
|
355
516
|
}
|
|
356
517
|
export declare namespace io.komune.im.f2.privilege.domain.role.model {
|
|
@@ -363,21 +524,29 @@ export declare namespace io.komune.im.f2.privilege.domain.role.model {
|
|
|
363
524
|
export declare namespace io.komune.im.f2.privilege.domain.role.query {
|
|
364
525
|
interface RoleGetQueryDTO {
|
|
365
526
|
readonly identifier: string;
|
|
366
|
-
|
|
527
|
+
readonly __doNotUseOrImplementIt: {
|
|
528
|
+
readonly "io.komune.im.f2.privilege.domain.role.query.RoleGetQueryDTO": unique symbol;
|
|
529
|
+
};
|
|
367
530
|
}
|
|
368
531
|
interface RoleGetResultDTO {
|
|
369
|
-
readonly item
|
|
370
|
-
|
|
532
|
+
readonly item: Nullable<io.komune.im.f2.privilege.domain.role.model.RoleDTO>;
|
|
533
|
+
readonly __doNotUseOrImplementIt: {
|
|
534
|
+
readonly "io.komune.im.f2.privilege.domain.role.query.RoleGetResultDTO": unique symbol;
|
|
535
|
+
};
|
|
371
536
|
}
|
|
372
537
|
}
|
|
373
538
|
export declare namespace io.komune.im.f2.privilege.domain.role.query {
|
|
374
539
|
interface RoleListQueryDTO {
|
|
375
|
-
readonly target
|
|
376
|
-
|
|
540
|
+
readonly target: Nullable<string>;
|
|
541
|
+
readonly __doNotUseOrImplementIt: {
|
|
542
|
+
readonly "io.komune.im.f2.privilege.domain.role.query.RoleListQueryDTO": unique symbol;
|
|
543
|
+
};
|
|
377
544
|
}
|
|
378
545
|
interface RoleListResultDTO {
|
|
379
|
-
readonly items: io.komune.im.f2.privilege.domain.role.model.RoleDTO
|
|
380
|
-
|
|
546
|
+
readonly items: any/* kotlin.collections.List<io.komune.im.f2.privilege.domain.role.model.RoleDTO> */;
|
|
547
|
+
readonly __doNotUseOrImplementIt: {
|
|
548
|
+
readonly "io.komune.im.f2.privilege.domain.role.query.RoleListResultDTO": unique symbol;
|
|
549
|
+
};
|
|
381
550
|
}
|
|
382
551
|
}
|
|
383
552
|
export as namespace io_komune_im_im_privilege_domain;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"main": "connect-im-im-f2-privilege-im-privilege-domain.js",
|
|
3
3
|
"types": "connect-im-im-f2-privilege-im-privilege-domain.d.ts",
|
|
4
|
-
"version": "0.19.0-alpha.
|
|
4
|
+
"version": "0.19.0-alpha.f340596",
|
|
5
5
|
"name": "@komune-io/im-privilege-domain",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@js-joda/core": "3.2.0",
|