@komune-io/im-space-domain 0.15.0 → 0.16.0-alpha.5987f90
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.
|
@@ -165,6 +165,10 @@ export declare namespace f2.client.ktor.http.plugin.model {
|
|
|
165
165
|
get clientId(): string;
|
|
166
166
|
get username(): string;
|
|
167
167
|
get password(): string;
|
|
168
|
+
copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string): f2.client.ktor.http.plugin.model.AuthRealmPassword;
|
|
169
|
+
toString(): string;
|
|
170
|
+
hashCode(): number;
|
|
171
|
+
equals(other?: any): boolean;
|
|
168
172
|
}
|
|
169
173
|
class AuthRealmClientSecret extends f2.client.ktor.http.plugin.model.AuthRealm {
|
|
170
174
|
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string, clientSecret: string, isPublic?: boolean);
|
|
@@ -174,12 +178,16 @@ export declare namespace f2.client.ktor.http.plugin.model {
|
|
|
174
178
|
get redirectUrl(): Nullable<string>;
|
|
175
179
|
get clientSecret(): string;
|
|
176
180
|
get isPublic(): boolean;
|
|
181
|
+
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, isPublic?: boolean): f2.client.ktor.http.plugin.model.AuthRealmClientSecret;
|
|
182
|
+
toString(): string;
|
|
183
|
+
hashCode(): number;
|
|
184
|
+
equals(other?: any): boolean;
|
|
177
185
|
}
|
|
178
186
|
}
|
|
179
187
|
export declare namespace f2.client.ktor.http {
|
|
180
188
|
class HttpClientBuilder {
|
|
181
189
|
constructor(json?: kotlinx.serialization.json.Json);
|
|
182
|
-
build(urlBase: string):
|
|
190
|
+
build(urlBase: string): f2.client.F2Client/* f2.client.ktor.http.HttpF2Client */;
|
|
183
191
|
static httpClient$default($this: f2.client.ktor.http.HttpClientBuilder, json?: kotlinx.serialization.json.Json): io.ktor.client.HttpClient;
|
|
184
192
|
}
|
|
185
193
|
}
|
|
@@ -232,55 +240,12 @@ export declare namespace io.komune.im.commons.model {
|
|
|
232
240
|
|
|
233
241
|
}
|
|
234
242
|
}
|
|
235
|
-
export declare namespace io.komune.im.commons.model {
|
|
236
|
-
abstract class AuthRealm {
|
|
237
|
-
protected constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string, space: string);
|
|
238
|
-
get serverUrl(): string;
|
|
239
|
-
get realmId(): string;
|
|
240
|
-
get clientId(): string;
|
|
241
|
-
get redirectUrl(): Nullable<string>;
|
|
242
|
-
get space(): string;
|
|
243
|
-
}
|
|
244
|
-
class AuthRealmPassword extends io.komune.im.commons.model.AuthRealm {
|
|
245
|
-
constructor(serverUrl: string, realmId: string, redirectUrl: string, clientId: string, username: string, password: string, space: string);
|
|
246
|
-
get serverUrl(): string;
|
|
247
|
-
get realmId(): string;
|
|
248
|
-
get redirectUrl(): string;
|
|
249
|
-
get clientId(): string;
|
|
250
|
-
get username(): string;
|
|
251
|
-
get password(): string;
|
|
252
|
-
get space(): string;
|
|
253
|
-
copy(serverUrl?: string, realmId?: string, redirectUrl?: string, clientId?: string, username?: string, password?: string, space?: string): io.komune.im.commons.model.AuthRealmPassword;
|
|
254
|
-
toString(): string;
|
|
255
|
-
hashCode(): number;
|
|
256
|
-
equals(other?: any): boolean;
|
|
257
|
-
}
|
|
258
|
-
class AuthRealmClientSecret extends io.komune.im.commons.model.AuthRealm {
|
|
259
|
-
constructor(serverUrl: string, realmId: string, clientId: string, redirectUrl?: string, clientSecret: string, space: string);
|
|
260
|
-
get serverUrl(): string;
|
|
261
|
-
get realmId(): string;
|
|
262
|
-
get clientId(): string;
|
|
263
|
-
get redirectUrl(): Nullable<string>;
|
|
264
|
-
get clientSecret(): string;
|
|
265
|
-
get space(): string;
|
|
266
|
-
copy(serverUrl?: string, realmId?: string, clientId?: string, redirectUrl?: string, clientSecret?: string, space?: string): io.komune.im.commons.model.AuthRealmClientSecret;
|
|
267
|
-
toString(): string;
|
|
268
|
-
hashCode(): number;
|
|
269
|
-
equals(other?: any): boolean;
|
|
270
|
-
}
|
|
271
|
-
}
|
|
272
|
-
export declare namespace io.komune.im.commons.http {
|
|
273
|
-
class ClientJs {
|
|
274
|
-
constructor();
|
|
275
|
-
protected doCall<T>(fnc: any /*Suspend functions are not supported*/): Promise<T>;
|
|
276
|
-
}
|
|
277
|
-
}
|
|
278
243
|
export declare namespace io.komune.im.f2.space.domain.command {
|
|
279
244
|
interface SpaceDefineCommandDTO extends f2.dsl.cqrs.Command {
|
|
280
245
|
readonly identifier: string;
|
|
281
246
|
readonly theme?: string;
|
|
282
|
-
readonly smtp?:
|
|
283
|
-
readonly locales?:
|
|
247
|
+
readonly smtp?: Record<string, string>;
|
|
248
|
+
readonly locales?: string[];
|
|
284
249
|
|
|
285
250
|
}
|
|
286
251
|
interface SpaceDefinedEventDTO extends f2.dsl.cqrs.Event {
|
|
@@ -301,9 +266,9 @@ export declare namespace io.komune.im.f2.space.domain.command {
|
|
|
301
266
|
export declare namespace io.komune.im.f2.space.domain.model {
|
|
302
267
|
interface SpaceDTO {
|
|
303
268
|
readonly identifier?: string;
|
|
304
|
-
readonly smtp?:
|
|
269
|
+
readonly smtp?: Record<string, string>;
|
|
305
270
|
readonly theme?: string;
|
|
306
|
-
readonly locales?:
|
|
271
|
+
readonly locales?: string[];
|
|
307
272
|
|
|
308
273
|
}
|
|
309
274
|
}
|