This repository has been archived by the owner on Oct 31, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
48 changed files
with
148 additions
and
184 deletions.
There are no files selected for viewing
File renamed without changes.
File renamed without changes.
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,6 +1,49 @@ | ||
// // codegen:start {preset: barrel, include: "./{*.{ts,tsx},*/index.{ts,tsx}}", exclude: "./**/*.{d,spec,test,fixture,gen,node}.{ts,tsx}"} | ||
// export * from './new-mapper' | ||
// // codegen:end | ||
import type { | ||
HttpMethod, | ||
JSONLike, | ||
PathsWithMethod, | ||
SuccessResponse, | ||
} from 'openapi-typescript-helpers' | ||
|
||
// export * from '@openint/zod' | ||
export * from '@openint/vdk2' | ||
export * from './mapper' | ||
export * from './pagination' | ||
export * from './provider' | ||
export * from './trpc' | ||
export * from './type-utils/PathsOf' | ||
export * from './type-utils/StrictObj' | ||
|
||
export * from '@opensdks/fetch-links' | ||
export * from '@opensdks/util-zod' | ||
|
||
export type { | ||
OperationRequestBodyContent, | ||
PathsWithMethod, | ||
} from 'openapi-typescript-helpers' | ||
|
||
export type ResponseFrom< | ||
Paths extends {}, | ||
M extends HttpMethod, | ||
P extends PathsWithMethod<Paths, M>, | ||
> = JSONLike< | ||
SuccessResponse< | ||
M extends keyof Paths[P] | ||
? 'responses' extends keyof Paths[P][M] | ||
? Paths[P][M]['responses'] | ||
: never | ||
: never | ||
> | ||
> | ||
|
||
export * from './errors' | ||
|
||
// re-exporting utiltities | ||
|
||
export {mapKeys, mapValues, pick, uniq, uniqBy} from 'remeda' | ||
|
||
// TODO: Remove me | ||
export { | ||
RouterMap, | ||
VerticalRouterOpts, | ||
proxyCallRemote, | ||
proxyListRemoteRedux, | ||
} from './deprecated' |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,11 +1,21 @@ | ||
{ | ||
"name": "@openint/vdk", | ||
"description": "Vertical Development Kit", | ||
"description": "Unified API Vertical Development Kit", | ||
"dependencies": { | ||
"@openint/types": "workspace:*", | ||
"@openint/vdk2": "workspace:*", | ||
"@openint/zod": "workspace:*", | ||
"@jsonurl/jsonurl": "^1.1.7", | ||
"@openint/env": "workspace:*", | ||
"@opensdks/fetch-links": "0.0.18", | ||
"@opensdks/sdk-nango": "0.0.4", | ||
"@opensdks/sdk-supaglue": "0.0.3", | ||
"@opensdks/util-zod": "0.0.15", | ||
"@trpc/server": "10.40.0", | ||
"remeda": "1.6.1" | ||
}, | ||
"devDependencies": { | ||
"@lilyrose2798/trpc-openapi": "1.3.10", | ||
"@opensdks/runtime": "0.0.19", | ||
"@opensdks/sdk-apollo": "0.0.21", | ||
"@opensdks/sdk-outreach": "0.0.16", | ||
"openapi-typescript-helpers": "^0.0.6" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
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 was deleted.
Oops, something went wrong.
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
Oops, something went wrong.