diff --git a/e2e/davinci-app/tsconfig.app.json b/e2e/davinci-app/tsconfig.app.json index bc0210cff..4284d5430 100644 --- a/e2e/davinci-app/tsconfig.app.json +++ b/e2e/davinci-app/tsconfig.app.json @@ -5,5 +5,5 @@ "moduleResolution": "Bundler" }, "exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"], - "include": ["src/**/*.ts", "src/interceptor.ts"] + "include": ["src/**/*.ts"] } diff --git a/e2e/davinci-app/tsconfig.json b/e2e/davinci-app/tsconfig.json index df78cdd4e..2a4c942ce 100644 --- a/e2e/davinci-app/tsconfig.json +++ b/e2e/davinci-app/tsconfig.json @@ -4,9 +4,7 @@ "compilerOptions": { "target": "ESNext", "useDefineForClassFields": true, - "module": "ESNext", "lib": ["ESNext", "DOM"], - "moduleResolution": "Node16", "strict": true, "resolveJsonModule": true, "isolatedModules": true, @@ -16,6 +14,8 @@ "noImplicitReturns": true, "skipLibCheck": true }, - "include": ["src"], - "references": [] + "references": [ + { "path": "./tsconfig.app.json" }, + { "path": "./tsconfig.spec.json" } + ] } diff --git a/packages/davinci-client/package.json b/packages/davinci-client/package.json index 4cc5a4ae2..301e4d9b0 100644 --- a/packages/davinci-client/package.json +++ b/packages/davinci-client/package.json @@ -1,6 +1,6 @@ { "name": "@forgerock/davinci-client", - "version": "0.0.1-davinci.1", + "version": "0.0.1-davinci.6", "main": "./dist/index.js", "module": "./dist/index.js", "typings": "./dist/index.d.ts", diff --git a/packages/davinci-client/src/lib/config.types.ts b/packages/davinci-client/src/lib/config.types.ts index 8bb66cc3f..7abded6fc 100644 --- a/packages/davinci-client/src/lib/config.types.ts +++ b/packages/davinci-client/src/lib/config.types.ts @@ -16,7 +16,7 @@ export interface InternalDaVinciConfig extends DaVinciConfig { * DaVinci configuration options that extends the Forgerock SDK configuration options */ // export type InternalDaVinciConfig = -// | ((DavinciConfigWithResponseType | AsyncConfigOptions) & { +// | ((DaVinciConfigWithResponseType | AsyncConfigOptions) & { // openIdConfiguration: OpenIdResponse; // }) -// | (DavinciConfigWithResponseType | AsyncConfigOptions); +// | (DaVinciConfigWithResponseType | AsyncConfigOptions); diff --git a/packages/davinci-client/src/types.ts b/packages/davinci-client/src/types.ts index b34d40424..2bb6122b6 100644 --- a/packages/davinci-client/src/types.ts +++ b/packages/davinci-client/src/types.ts @@ -14,6 +14,9 @@ export type StartNode = nodes.StartNode; export type ContinueNode = nodes.ContinueNode; export type ErrorNode = nodes.ErrorNode; export type SuccessNode = nodes.SuccessNode; +export type FailureNode = nodes.FailureNode; + +export type NodeStates = StartNode | ContinueNode | ErrorNode | SuccessNode | FailureNode; export type Collectors = nodes.Collectors; export type DaVinciValidationError = nodes.DaVinciError;