Skip to content

Commit

Permalink
chore: initial-client-fixes
Browse files Browse the repository at this point in the history
WIP
  • Loading branch information
ryanbas21 committed Dec 6, 2024
1 parent 69adee7 commit ae0c074
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion e2e/davinci-app/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@
"moduleResolution": "Bundler"
},
"exclude": ["src/**/*.spec.ts", "src/**/*.test.ts"],
"include": ["src/**/*.ts", "src/interceptor.ts"]
"include": ["src/**/*.ts"]
}
8 changes: 4 additions & 4 deletions e2e/davinci-app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,7 @@
"compilerOptions": {
"target": "ESNext",
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ESNext", "DOM"],
"moduleResolution": "Node16",
"strict": true,
"resolveJsonModule": true,
"isolatedModules": true,
Expand All @@ -16,6 +14,8 @@
"noImplicitReturns": true,
"skipLibCheck": true
},
"include": ["src"],
"references": []
"references": [
{ "path": "./tsconfig.app.json" },
{ "path": "./tsconfig.spec.json" }
]
}
2 changes: 1 addition & 1 deletion packages/davinci-client/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
4 changes: 2 additions & 2 deletions packages/davinci-client/src/lib/config.types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
3 changes: 3 additions & 0 deletions packages/davinci-client/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit ae0c074

Please sign in to comment.