This repository has been archived by the owner on Aug 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make different client implemntation exist at the same time
- Loading branch information
Showing
19 changed files
with
33 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export const FAKE_API_KIOTA_SERVICE_TOKEN = Symbol('FAKE_API_KIOTA_SERVICE'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { ConfigurableModuleBuilder } from '@nestjs/common'; | ||
import { type FakeApiModuleOptions } from './interfaces/fake-api-kiota-module-options.interface.ts'; | ||
|
||
export const { ConfigurableModuleClass, OPTIONS_TYPE } = | ||
new ConfigurableModuleBuilder<FakeApiModuleOptions>().build(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ake-api/src/fake-api.module-definition.ts → ...i-kiota/src/fake-api.module-definition.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
import { ConfigurableModuleBuilder } from '@nestjs/common'; | ||
import { type FakeApiModuleOptions } from './interfaces/fake-api-module-options.interface.ts'; | ||
import { type FakeApiModuleOptions } from './interfaces/fake-api-kiota-module-options.interface.ts'; | ||
|
||
export const { ConfigurableModuleClass, OPTIONS_TYPE } = | ||
new ConfigurableModuleBuilder<FakeApiModuleOptions>().build(); |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions
4
libs/fake-api/src/index.ts → libs/fake-api-kiota/src/index.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
export { type RequestAdapter } from '@microsoft/kiota-abstractions'; | ||
export * from './fake-api.constants.ts'; | ||
export * from './fake-api.module.ts'; | ||
export * from './fake-api-kiota.constants.ts'; | ||
export * from './fake-api-kiota.module.ts'; | ||
export { type ApiClient as FakeApiService } from './generated/apiClient.ts'; | ||
export { type Post, type User } from './generated/models/index.ts'; |
File renamed without changes.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters