mirror of
https://gitlab.com/mobicoop/v3/service/auth.git
synced 2026-01-12 05:52:39 +00:00
update tests
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import { ContextItem } from '../domain/dtos/context-item';
|
||||
import { Action } from '../domain/dtos/action.enum';
|
||||
import { Domain } from '../domain/dtos/domain.enum';
|
||||
|
||||
@@ -5,13 +6,13 @@ export class DecisionQuery {
|
||||
readonly uuid: string;
|
||||
readonly domain: Domain;
|
||||
readonly action: Action;
|
||||
readonly context: Array<{ name: string; value: string }>;
|
||||
readonly context: Array<ContextItem>;
|
||||
|
||||
constructor(
|
||||
uuid: string,
|
||||
domain: Domain,
|
||||
action: Action,
|
||||
context?: Array<{ name: string; value: string }>,
|
||||
context?: Array<ContextItem>,
|
||||
) {
|
||||
this.uuid = uuid;
|
||||
this.domain = domain;
|
||||
|
||||
Reference in New Issue
Block a user