Skip to content

Commit

Permalink
Better way to deal with code generation doing something unusual
Browse files Browse the repository at this point in the history
  • Loading branch information
acwest committed Dec 19, 2024
1 parent 0aa4a59 commit d9ac8eb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/deprecations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import {
ClientOidcLogout,
PostOrganizations201ResponseEnabledConnectionsInnerConnection,
} from './management/__generated/models/index.js';
import { ClientUpdateOidcLogout } from './mods.js';

/**
* @deprecated Use {@link EmailProviderUpdate} instead.
Expand Down Expand Up @@ -39,13 +40,9 @@ export type ClientCreateOidcBackchannelLogout = ClientCreateOidcLogout;
*/
export type ClientOidcBackchannelLogout = ClientOidcLogout;
/**
* @deprecated Use {@link ClientCreateOidcLogout} instead.
*/
export type ClientUpdateOidcBackchannelLogout = ClientCreateOidcLogout;
/**
* @deprecated Use {@link ClientCreateOidcLogout} instead.
* @deprecated Use {@link ClientUpdateOidcLogout} instead.
*/
export type ClientUpdateOidcLogout = ClientCreateOidcLogout;
export type ClientUpdateOidcBackchannelLogout = ClientUpdateOidcLogout;
/**
* @deprecated use {@link PostOrganizations201ResponseEnabledConnectionsInnerConnection} instead.
*/
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export * from './auth/index.js';
export * from './userinfo/index.js';
export * from './lib/errors.js';
export * from './lib/models.js';
export * from './mods.js';
export * from './deprecations.js';
3 changes: 3 additions & 0 deletions src/mods.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { ClientCreateOidcLogout } from './management/__generated/models/index.js';

export type ClientUpdateOidcLogout = ClientCreateOidcLogout;

0 comments on commit d9ac8eb

Please sign in to comment.