From d9ac8eb87674d4a3bc7886d8f05a8c61f9cb2381 Mon Sep 17 00:00:00 2001 From: "A. Craig West" Date: Thu, 19 Dec 2024 09:57:13 -0500 Subject: [PATCH] Better way to deal with code generation doing something unusual --- src/deprecations.ts | 9 +++------ src/index.ts | 1 + src/mods.ts | 3 +++ 3 files changed, 7 insertions(+), 6 deletions(-) create mode 100644 src/mods.ts diff --git a/src/deprecations.ts b/src/deprecations.ts index f6d55ba7a..8c28cd5a5 100644 --- a/src/deprecations.ts +++ b/src/deprecations.ts @@ -9,6 +9,7 @@ import { ClientOidcLogout, PostOrganizations201ResponseEnabledConnectionsInnerConnection, } from './management/__generated/models/index.js'; +import { ClientUpdateOidcLogout } from './mods.js'; /** * @deprecated Use {@link EmailProviderUpdate} instead. @@ -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. */ diff --git a/src/index.ts b/src/index.ts index a0adba413..8356fa775 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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'; diff --git a/src/mods.ts b/src/mods.ts new file mode 100644 index 000000000..c57969d03 --- /dev/null +++ b/src/mods.ts @@ -0,0 +1,3 @@ +import { ClientCreateOidcLogout } from './management/__generated/models/index.js'; + +export type ClientUpdateOidcLogout = ClientCreateOidcLogout;