Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 | 1x 1x | /* eslint-disable max-classes-per-file */ export type AuthFlagType = 'codeRequired'; export type AuthAccessType = | 'workspaceAdmin' | 'superAdmin' | 'test' | 'workspaceMonitor' | 'testGroupMonitor' | 'attachmentManager' | 'studyMonitor' | 'sysCheck'; export interface AccessObject { label: string; id: string; type: string; flags: { locked?: boolean; running?: boolean; scheduled?: number; expired?: number; profile?: string; mode?: 'RW' | 'RO'; subLabel?: string; }; workspaceId: string; description: string; } export interface AuthData { token: string; displayName: string; id?: number; pwSetByAdmin?: boolean; customTexts: KeyValuePairs; flags: AuthFlagType[]; claims: { [key in AuthAccessType]: AccessObject[] }; groupToken: string | null; } export interface KeyValuePairs { [K: string]: string; } export type AppErrorType = 'session' | 'general' | 'backend' | 'network' | 'script' | 'warning' | 'fatal' | 'network_temporally' | 'xml' | 'verona_player_runtime_error'; export const TestModeNames = ['prepare', 'api', 'integration', 'prepare-integration'] as const; export type TestModeName = typeof TestModeNames[number]; export const isTestModeName = (str: string): str is TestModeName => (TestModeNames as readonly string[]).includes(str); export interface AppErrorInterface { label: string; description: string; type?: AppErrorType; code?: number; testMode?: TestModeName | null; details?: string; errorId?: string | null; } export class AppError extends Error implements AppErrorInterface { label: string = ''; description: string = ''; type: AppErrorType = 'general'; code?: number; testMode?: TestModeName | null; details?: string; errorId?: string; constructor(p: AppErrorInterface) { super(); Object.assign(this, p); } } export class WrappedError extends Error { promise: Promise<never> | null = null; rejection: Error | null = null; } export interface SysCheckInfo { workspaceId: string; name: string; label: string; description: string; } export type HttpRetryPolicyNames = 'none' | 'test'; export interface HttpRetryPolicy { excludedStatusCodes: number[]; retryPattern: number[]; } export interface AppModuleSettings { httpRetryPolicy: HttpRetryPolicyNames; disableGlobalErrorDisplay?: true; } |