Skip to content

Commit 6a0080f

Browse files
authored
chore: Update Core SDK in preparation for 1.11.8 (#1707)
1 parent 3e07a62 commit 6a0080f

File tree

10 files changed

+125
-81
lines changed

10 files changed

+125
-81
lines changed

.github/workflows/ci.yml

+2
Original file line numberDiff line numberDiff line change
@@ -322,3 +322,5 @@ jobs:
322322
secrets:
323323
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
324324
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
325+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
326+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

.github/workflows/docs.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ on:
1515
VERCEL_TOKEN:
1616
required: false
1717
description: The Vercel token. Required if 'publish_target' is set.
18-
18+
VERCEL_ORG_ID:
19+
required: false
20+
description: The Vercel token. Required if 'publish_target' is set.
21+
VERCEL_PROJECT_ID:
22+
required: false
23+
description: The Vercel token. Required if 'publish_target' is set.
1924
env:
2025
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2126

@@ -62,10 +67,11 @@ jobs:
6267

6368
- name: Publish docs
6469
if: ${{ inputs.publish_target }}
70+
env:
71+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
72+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
6573
run: |
6674
npx vercel deploy packages/docs/build \
6775
-t '${{ secrets.VERCEL_TOKEN }}' \
68-
--name typescript \
69-
--scope temporal \
7076
--yes \
7177
${{ inputs.publish_target == 'prod' && '--prod' || '' }}

packages/common/src/internal-non-workflow/codec-types.ts

+10-8
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ export type ReplaceNested<T, ToReplace, ReplaceWith> = T extends (...args: any[]
2323
? T
2424
: [keyof T] extends [never]
2525
? T
26-
: T extends { [k: string]: ToReplace }
27-
? {
28-
[P in keyof T]: ReplaceNested<T[P], ToReplace, ReplaceWith>;
29-
}
30-
: T extends ToReplace
31-
? ReplaceWith | Exclude<T, ToReplace>
32-
: {
26+
: T extends Record<string, string> // Special exception for nexusHeader.
27+
? T
28+
: T extends { [k: string]: ToReplace }
29+
? {
3330
[P in keyof T]: ReplaceNested<T[P], ToReplace, ReplaceWith>;
34-
};
31+
}
32+
: T extends ToReplace
33+
? ReplaceWith | Exclude<T, ToReplace>
34+
: {
35+
[P in keyof T]: ReplaceNested<T[P], ToReplace, ReplaceWith>;
36+
};

packages/core-bridge/Cargo.lock

+66-61
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/core-bridge/sdk-core

Submodule sdk-core updated 182 files

0 commit comments

Comments
 (0)