Skip to content
Merged
Show file tree
Hide file tree
Changes from all 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
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,3 +322,5 @@ jobs:
secrets:
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
12 changes: 9 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ on:
VERCEL_TOKEN:
required: false
description: The Vercel token. Required if 'publish_target' is set.

VERCEL_ORG_ID:
required: false
description: The Vercel token. Required if 'publish_target' is set.
VERCEL_PROJECT_ID:
required: false
description: The Vercel token. Required if 'publish_target' is set.
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down Expand Up @@ -62,10 +67,11 @@ jobs:

- name: Publish docs
if: ${{ inputs.publish_target }}
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
run: |
npx vercel deploy packages/docs/build \
-t '${{ secrets.VERCEL_TOKEN }}' \
--name typescript \
--scope temporal \
--yes \
${{ inputs.publish_target == 'prod' && '--prod' || '' }}
18 changes: 10 additions & 8 deletions packages/common/src/internal-non-workflow/codec-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,14 @@ export type ReplaceNested<T, ToReplace, ReplaceWith> = T extends (...args: any[]
? T
: [keyof T] extends [never]
? T
: T extends { [k: string]: ToReplace }
? {
[P in keyof T]: ReplaceNested<T[P], ToReplace, ReplaceWith>;
}
: T extends ToReplace
? ReplaceWith | Exclude<T, ToReplace>
: {
: T extends Record<string, string> // Special exception for nexusHeader.
? T
: T extends { [k: string]: ToReplace }
? {
[P in keyof T]: ReplaceNested<T[P], ToReplace, ReplaceWith>;
};
}
: T extends ToReplace
? ReplaceWith | Exclude<T, ToReplace>
: {
[P in keyof T]: ReplaceNested<T[P], ToReplace, ReplaceWith>;
};
127 changes: 66 additions & 61 deletions packages/core-bridge/Cargo.lock

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

2 changes: 1 addition & 1 deletion packages/core-bridge/sdk-core
Submodule sdk-core updated 182 files
Loading
Loading