@komune-io/im-space-domain 0.15.0-alpha.2ff4be0 → 0.15.0-alpha.5db91c2
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.
|
@@ -217,70 +217,7 @@ export declare namespace io.komune.im.commons.auth {
|
|
|
217
217
|
}
|
|
218
218
|
}
|
|
219
219
|
export declare namespace io.komune.im.commons.auth {
|
|
220
|
-
|
|
221
|
-
private constructor();
|
|
222
|
-
get identifier(): string;
|
|
223
|
-
static get ORCHESTRATOR(): io.komune.im.commons.auth.ImRole & {
|
|
224
|
-
get name(): "ORCHESTRATOR";
|
|
225
|
-
get ordinal(): 0;
|
|
226
|
-
};
|
|
227
|
-
static get ORCHESTRATOR_ADMIN(): io.komune.im.commons.auth.ImRole & {
|
|
228
|
-
get name(): "ORCHESTRATOR_ADMIN";
|
|
229
|
-
get ordinal(): 1;
|
|
230
|
-
};
|
|
231
|
-
static get ORCHESTRATOR_USER(): io.komune.im.commons.auth.ImRole & {
|
|
232
|
-
get name(): "ORCHESTRATOR_USER";
|
|
233
|
-
get ordinal(): 2;
|
|
234
|
-
};
|
|
235
|
-
static get IM_USER_READ(): io.komune.im.commons.auth.ImRole & {
|
|
236
|
-
get name(): "IM_USER_READ";
|
|
237
|
-
get ordinal(): 3;
|
|
238
|
-
};
|
|
239
|
-
static get IM_USER_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
240
|
-
get name(): "IM_USER_WRITE";
|
|
241
|
-
get ordinal(): 4;
|
|
242
|
-
};
|
|
243
|
-
static get IM_ORGANIZATION_READ(): io.komune.im.commons.auth.ImRole & {
|
|
244
|
-
get name(): "IM_ORGANIZATION_READ";
|
|
245
|
-
get ordinal(): 5;
|
|
246
|
-
};
|
|
247
|
-
static get IM_ORGANIZATION_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
248
|
-
get name(): "IM_ORGANIZATION_WRITE";
|
|
249
|
-
get ordinal(): 6;
|
|
250
|
-
};
|
|
251
|
-
static get IM_MY_ORGANIZATION_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
252
|
-
get name(): "IM_MY_ORGANIZATION_WRITE";
|
|
253
|
-
get ordinal(): 7;
|
|
254
|
-
};
|
|
255
|
-
static get IM_APIKEY_READ(): io.komune.im.commons.auth.ImRole & {
|
|
256
|
-
get name(): "IM_APIKEY_READ";
|
|
257
|
-
get ordinal(): 8;
|
|
258
|
-
};
|
|
259
|
-
static get IM_APIKEY_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
260
|
-
get name(): "IM_APIKEY_WRITE";
|
|
261
|
-
get ordinal(): 9;
|
|
262
|
-
};
|
|
263
|
-
static get IM_SPACE_READ(): io.komune.im.commons.auth.ImRole & {
|
|
264
|
-
get name(): "IM_SPACE_READ";
|
|
265
|
-
get ordinal(): 10;
|
|
266
|
-
};
|
|
267
|
-
static get IM_SPACE_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
268
|
-
get name(): "IM_SPACE_WRITE";
|
|
269
|
-
get ordinal(): 11;
|
|
270
|
-
};
|
|
271
|
-
static get IM_ROLE_READ(): io.komune.im.commons.auth.ImRole & {
|
|
272
|
-
get name(): "IM_ROLE_READ";
|
|
273
|
-
get ordinal(): 12;
|
|
274
|
-
};
|
|
275
|
-
static get IM_ROLE_WRITE(): io.komune.im.commons.auth.ImRole & {
|
|
276
|
-
get name(): "IM_ROLE_WRITE";
|
|
277
|
-
get ordinal(): 13;
|
|
278
|
-
};
|
|
279
|
-
static values(): Array<io.komune.im.commons.auth.ImRole>;
|
|
280
|
-
static valueOf(value: string): io.komune.im.commons.auth.ImRole;
|
|
281
|
-
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";
|
|
282
|
-
get ordinal(): 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13;
|
|
283
|
-
}
|
|
220
|
+
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";
|
|
284
221
|
}
|
|
285
222
|
export declare namespace io.komune.im.commons.exception {
|
|
286
223
|
const ExceptionCodes: {
|