Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added SkipFilters to SDK #86

Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
]
},
"dependencies": {
"@adzerk/api-decision-js": "^1.0.9",
"debug": "^4.1.1",
"form-data": "^2.5.1",
"isomorphic-unfetch": "^3.1.0"
Expand Down
6 changes: 3 additions & 3 deletions src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ import {
RequestContext,
ResponseContext,
Placement,
} from './generated';
RequiredError,
UserdbApi
} from '@adzerk/api-decision-js';

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy that you removed the generated code from the repo! Much cleaner and less confusing.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you

import { DecisionRequest, DecisionResponse } from './models';
import { removeUndefinedAndBlocklisted } from './utils';
import { UserdbApi } from './generated/apis/UserdbApi';
import { RequiredError } from './generated/runtime';
import { LoggerFunc } from '.';

(global as any).FormData = (global as any).FormData || FormData;
Expand Down
25 changes: 0 additions & 25 deletions src/generated/.openapi-generator-ignore

This file was deleted.

16 changes: 0 additions & 16 deletions src/generated/.openapi-generator/FILES

This file was deleted.

1 change: 0 additions & 1 deletion src/generated/.openapi-generator/VERSION

This file was deleted.

64 changes: 0 additions & 64 deletions src/generated/apis/DecisionApi.ts

This file was deleted.

Loading
Loading